--- tourney-manager-20070820.orig/tourney.pl +++ tourney-manager-20070820/tourney.pl @@ -27,6 +27,8 @@ use Getopt::Std; use Term::ReadLine; +# Added for debian distr by ok@xynyx.de +use lib '/usr/share/tourney-manager/'; use Tourney; use Crosstable; --- tourney-manager-20070820.orig/debian/control +++ tourney-manager-20070820/debian/control @@ -0,0 +1,20 @@ +Source: tourney-manager +Section: games +Priority: optional +Maintainer: Oliver Korff +Build-Depends: debhelper (>= 4.0.0) +Standards-Version: 3.7.2 + +Package: tourney-manager +Architecture: all +Depends: xboard, libyaml-perl, ${perl:Depends} +Description: perl interface to run chess engine tournaments + Let your chess engines play tournaments against each other. + This program manages setup and automatic running engine vs. + engine matchers, it has an interactive commandline and can + start and stop the tournament, show current state and a + crosstable. Every game will be displayed in a xboard session + and can be observed. All games are stored in portable chess + game notation, pgn. + . + http://www.hoicher.de/hoichess/tourney_manager/index.html --- tourney-manager-20070820.orig/debian/crosstable.6 +++ tourney-manager-20070820/debian/crosstable.6 @@ -0,0 +1,35 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.TH "CROSSTABLE" "6" "July 12, 2006" "Oliver Korff" "games(6)" +.SH "NAME" +crosstable \- Utility script to print a crosstable from a set of .pgn files +.SH "SYNOPSIS" +.B crosstable +.RI "[.pgn files]" + +.SH "DESCRIPTION" +\fBcrosstable\fP prints a crosstable of .pgn files + +If you have a bunch of files in Portable Game Notification Format PGN, eg. after a tourney or a session with tourney-manager crosstable can produce a nice formatted crosstable + +.SH "SEE ALSO" +.BR tourney\-manager(6) +.SH "AUTHOR" +crosstable was written by Holger Ruckdeschel . +.PP +This manual page was written by Oliver Korff , +for the Debian project (but may be used by others). --- tourney-manager-20070820.orig/debian/dirs +++ tourney-manager-20070820/debian/dirs @@ -0,0 +1,3 @@ +usr/share/tourney-manager +usr/share/doc/tourney-manager +usr/games --- tourney-manager-20070820.orig/debian/rules +++ tourney-manager-20070820/debian/rules @@ -0,0 +1,51 @@ +#!/usr/bin/make -f +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +clean: + dh_testdir + dh_testroot + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/tourney-manager. + cp $(CURDIR)/tourney.pl $(CURDIR)/debian/tourney-manager/usr/games/tourney-manager + cp $(CURDIR)/crosstable.pl $(CURDIR)/debian/tourney-manager/usr/games/crosstable + cp $(CURDIR)/Crosstable.pm $(CURDIR)/debian/tourney-manager/usr/share/tourney-manager/Crosstable.pm + cp $(CURDIR)/Tourney.pm $(CURDIR)/debian/tourney-manager/usr/share/tourney-manager/Tourney.pm + cp $(CURDIR)/ChangeLog $(CURDIR)/debian/tourney-manager/usr/share/doc/tourney-manager/changelog + cp $(CURDIR)/engine-engine-match.pl $(CURDIR)/debian/tourney-manager/usr/games/engine-engine-match + +# Noting to d here +binary-arch: build install + + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples + dh_install + dh_installman $(CURDIR)/debian/tourney-manager.6 $(CURDIR)/debian/crosstable.6 $(CURDIR)/debian/engine-engine-match.6 + dh_link + dh_strip +# dh_compress $(CURDIR)/debian/tourney-manager/usr/share/doc/tourney-manager/changelog $(CURDIR)/debian/tourney-manager/usr/share/doc/tourney-manager/changelog.Debian + dh_compress + dh_fixperms + dh_perl +# dh_makeshlibs + dh_installdeb +# dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- tourney-manager-20070820.orig/debian/changelog +++ tourney-manager-20070820/debian/changelog @@ -0,0 +1,31 @@ +tourney-manager (20070820-3) unstable; urgency=low + + * Perl dependency fixed ${perl:Depends} + * control: long description changed + * control: Added two "spaces" to URL + * added binary-arch target again, thanks Peter... + * Debian Release Closes: #440652 + + -- Oliver Korff Mon, 03 Sep 2007 14:12:30 +0200 + +tourney-manager (20070820-2) unstable; urgency=low + + * wrote additional infos to manpage + * solved a small bug within the module + + -- Oliver Korff Wed, 29 Aug 2007 18:02:30 +0200 + +tourney-manager (20070820-1) unstable; urgency=low + + * New Upstream release + * added library path for .pm modules + + -- Oliver Korff Mon, 27 Aug 2007 09:36:10 +0200 + +tourney-manager (20060615-1) unstable; urgency=low + + * Initial release + * Wrote proper copyright file, with copyright dates + + -- Oliver Korff Wed, 7 Jun 2006 16:49:11 +0200 + --- tourney-manager-20070820.orig/debian/engine-engine-match.6 +++ tourney-manager-20070820/debian/engine-engine-match.6 @@ -0,0 +1,31 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.TH "ENGINE-ENGINE-MATCH" "6" "July 12, 2006" "Oliver Korff" "games(6)" +.SH "NAME" +engine\-engine\-matcch \- Utility script to act as xboard replacement +.SH "SYNOPSIS" +.B engine\-engine\-match + +.SH "DESCRIPTION" +\fBengine\-engine\-match\fP will be documeted when I find out how it really works and what it s good for. +.SH "SEE ALSO" +.BR tourney\-manager(6) +.SH "AUTHOR" +engine\-engine\-match was written by Holger Ruckdeschel . +.PP +This manual page was written by Oliver Korff , +for the Debian project (but may be used by others). --- tourney-manager-20070820.orig/debian/compat +++ tourney-manager-20070820/debian/compat @@ -0,0 +1 @@ +4 --- tourney-manager-20070820.orig/debian/tourney-manager.6 +++ tourney-manager-20070820/debian/tourney-manager.6 @@ -0,0 +1,88 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.TH "TOURNEY-MANAGER" "6" "July 12, 2006" "Oliver Korff" "games(6)" +.SH "NAME" +tourney\-manager \- perl interface to run chess engine tourneys +.SH "SYNOPSIS" +.B tourney\-manager +.RI "configfiles" + +.SH "DESCRIPTION" +\fBtourney\-manager\fP helps you to run chess engine tournaments easyly. + +Running Tournaments: + +1. Create a directory in which the tourneymanager can put all his temporary files, configuration and results. + +2. Then create the configuration files. Look at /usr/share/doc/tourney\-manager/example.conf which is supplied along with the tourney manager. Copy this to the tourney directory,it is rather well commented. + +More tuning has to be done to specify non standard chess engines. The example\-engine.conf has some standard engines set. The settings have to be tuned according your system. + +Example for an UCI engine: + +\fBexample\-engines.conf:\fP + +engine = Glaurung2 +bin = /home/username/chess/tourney/glau.sh + +\fBglau.sh:\fP + +#!/bin/bash +/usr/games/polyglot /home/username/chess/tourney/glaurung.ini + +\fBglaurung.ini:\fP + +[PolyGlot] + +EngineDir = . +EngineCommand = /usr/games/glaurung + +Log = false +LogFile = glaurung.log + +Resign = true +ResignScore = 600 + +[Engine] + +Hash = 64 +OwnBook = false +Threads = 1 + + +3. Start the tourney manager +\fBtourney\-manager\fR +The tourney manager uses an interactive command shell. To start up quickly,the following sequence of commands should be enough: + + create + print + start + + Help about commands is available by 'help' and 'help '. + + +.SH "OPTIONS" +This program just takes the configfile as an option. +.SH "SEE ALSO" +.BR /usr/share/doc/tourney\-manager/example.conf, +and +.BR /usr/share/doc/tourney\-manager/example\-engines.conf. +.SH "AUTHOR" +tourney\-manager was written by Holger Ruckdeschel . +.PP +This manual page was written by Oliver Korff , +for the Debian project (but may be used by others). --- tourney-manager-20070820.orig/debian/copyright +++ tourney-manager-20070820/debian/copyright @@ -0,0 +1,32 @@ +This package was debianized by Oliver Korff on +Tue, 8 Aug 2006 19:59:43 +0200. + +It was downloaded from: +http://www.hoicher.de/hoichess/tourney_manager/index.html + +Upstream Author: Holger Ruckdeschel + +Copyright: 2005-2007 Holger Ruckdeschel + +License: + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + +The Debian packaging is (C) 2006, Oliver Korff and +is licensed under the GPL, see above. + --- tourney-manager-20070820.orig/debian/docs +++ tourney-manager-20070820/debian/docs @@ -0,0 +1,4 @@ +README +example.conf +example-engines.conf +TODO