--- xgammon-0.99.1128.orig/debian/manpages +++ xgammon-0.99.1128/debian/manpages @@ -0,0 +1 @@ +doc/xgammon.6 --- xgammon-0.99.1128.orig/debian/copyright +++ xgammon-0.99.1128/debian/copyright @@ -0,0 +1,25 @@ +This package was originally debianized by Luis Francisco Gonzalez + on Tue, 11 Nov 1997 18:11:56 +0000, and is now +maintained by Joe Nahmias . + +It was downloaded from +http://fawn.unibw-hamburg.de/steuer/xgammon/xgammon.html + +Upstream Authors: Detlef Steuer + Lambert Klasen + + Copyright (C) 1994 Lambert Klasen & Detlef Steuer + klasen@asterix.uni-muenster.de + steuer@amadeus.statistik.uni-dortmund.de + + This file is free source code; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation. + + This program 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 + COPYING for more details. + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. --- xgammon-0.99.1128.orig/debian/install +++ xgammon-0.99.1128/debian/install @@ -0,0 +1,3 @@ +src/xgammon usr/games +lib/xgammon.db usr/lib/xgammon +debian/mini-xgammon.xpm usr/share/pixmaps --- xgammon-0.99.1128.orig/debian/mini-xgammon.xpm +++ xgammon-0.99.1128/debian/mini-xgammon.xpm @@ -0,0 +1,26 @@ +/* XPM */ +static char *xgammon[] = { +/* width height num_colors chars_per_pixel */ +" 16 14 5 1", +/* colors */ +". c #000000", +"a c #ffffff", +"e c #d3b68e", +"f c #ffa64d", +"g c #cf863c", +/* pixels */ +".aaaaa.f.eeeee.f", +".gaaag.f.eeeee.f", +".fgag.ff.eeeee.f", +"f.gag.fff.eee.ff", +"f.aaa.fff.eee.ff", +"faaaaafff.eee.ff", +"ffaaafffff.e.fff", +"ff.a.fffff.e.fff", +"ff.g.fffff.e.fff", +"fff.fffffff.ffff", +"fff.fffffff.ffff", +"fff.fffffff.ffff", +"fff.fffffff.ffff", +"ffffffffffffffff", +}; --- xgammon-0.99.1128.orig/debian/docs +++ xgammon-0.99.1128/debian/docs @@ -0,0 +1,2 @@ +doc/README +TODO --- xgammon-0.99.1128.orig/debian/control +++ xgammon-0.99.1128/debian/control @@ -0,0 +1,18 @@ +Source: xgammon +Section: games +Priority: optional +Maintainer: Joe Nahmias +Standards-Version: 3.8.0 +Build-Depends: debhelper (>=6), flex-old, libxaw7-dev, xutils-dev + +Package: xgammon +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Implementation of backgammon under X + This a nicely implemented backgammon with the following features: + - X11/Xaw interface, + - a simple file selector and saving dialog, + - You can edit positions and perform rollouts. + - Position dump to a mail file in the format used in backgammon newsgroups. + - Easier movement of stones, by simple button clicks. + - You can play against an opponent on a remote X-Terminal. (experimental). --- xgammon-0.99.1128.orig/debian/menu +++ xgammon-0.99.1128/debian/menu @@ -0,0 +1,6 @@ +?package(xgammon):needs="x11" \ + section="Games/Board" \ + icon="/usr/share/pixmaps/mini-xgammon.xpm" \ + title="XGammon" \ + hints="Backgammon" \ + command="/usr/games/xgammon" --- xgammon-0.99.1128.orig/debian/rules +++ xgammon-0.99.1128/debian/rules @@ -0,0 +1,54 @@ +#!/usr/bin/make -f +# Made with the aid of debmake, by Christoph Lameter, +# based on the sample debian/rules file for GNU hello by Ian Jackson. + +INSTALL = install +INSTALL_FILE = $(INSTALL) -p -o root -g root -m 644 + +build: build-stamp +build-stamp: + dh_testdir + cd src && imake -I/usr/lib/X11/config + cd src && $(MAKE) + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + [ ! -f src/Makefile ] || ( cd src && $(MAKE) clean ) + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + $(INSTALL_FILE) src/xgammon.ad $(CURDIR)/debian/xgammon/etc/X11/app-defaults/XGammon + dh_install + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installdirs + dh_installdocs + dh_installmenu + dh_installman + dh_installchangelogs + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- xgammon-0.99.1128.orig/debian/dirs +++ xgammon-0.99.1128/debian/dirs @@ -0,0 +1 @@ +etc/X11/app-defaults --- xgammon-0.99.1128.orig/debian/compat +++ xgammon-0.99.1128/debian/compat @@ -0,0 +1 @@ +6 --- xgammon-0.99.1128.orig/debian/changelog +++ xgammon-0.99.1128/debian/changelog @@ -0,0 +1,139 @@ +xgammon (0.99.1128-3) unstable; urgency=low + + * Ack NMU, closes: #403932. + * imake has moved to xutils-dev, updated build-deps; closes: #485548. + * debian/changelog: per lintian, added copyright statement. + * Bump std-ver to 3.8.0: + + wrap build-deps + * Bump debhelper compat to 6. + + -- Joe Nahmias Mon, 16 Jun 2008 23:40:02 -0400 + +xgammon (0.99.1128-2.1) unstable; urgency=low + + * Non-maintainer upload. + * Moved the menu's .xpm from /usr/X11R6/include/X11/ into + /usr/share/pixmap (Closes: #403932) + + -- Gunnar Wolf Wed, 20 Dec 2006 20:05:49 -0600 + +xgammon (0.99.1128-2) unstable; urgency=low + + * debian/control: xlibs-dev transition (closes: #346818). + * debian/control: bump Standards-Version, no changes. + * debian/menu: quoted all strings to satisfy lintian + + -- Joe Nahmias Fri, 13 Jan 2006 03:22:28 +0000 + +xgammon (0.99.1128-1) unstable; urgency=low + + * New upstream version. + * New maintainer (closes: #194036). + * Acknowledge NMUs (closes: #132198, #95107). + * debian/copyright: update download location. + * doc/xgammon.1: fix bare hyphens. + * Really distribute README.gz (closes: #179492). + + -- Joe Nahmias Mon, 27 Oct 2003 13:19:26 -0500 + +xgammon (0.98a-5.3) unstable; urgency=low + + * NMU + * Fixed an error in debian/rules. + * Changed priority to optional to fit with override. + + -- Sebastien Bacher Thu, 21 Aug 2003 00:21:55 +0200 + +xgammon (0.98a-5.2) unstable; urgency=low + + * NMU + * Apply patch from BTS to close FTBFS (Closes: #196320). + * debian/changelog + + Removed add-log-mailing-address variable. + * debian/conffiles + + Removed since /etc files are auto-added by debhelper. + * debian/control + + Added Build-Depends on debhelper. + + Removed "." on the end of short description. + + Set maintainer to QA since the package is orphan. + + Updated Standards-Version to 3.6.1.0. + * debian/copyright + + Update copyright path. + * debian/menu + + Added backgammon hints (Closes: #121016). + + Changed doc path to /usr/share/doc (Closes: #179492). + * debian/postinst removal + + /usr/share/doc transition is over. + + Used dh_installmenu. + * debian/postrm + + Used dh_installmenu. + * debian/prerm removal + + /usr/share/doc transition is over. + * debian/rules + + Rewrite to usr debhelper + * + + -- Sebastien Bacher Sat, 16 Aug 2003 14:44:29 +0200 + +xgammon (0.98a-5.1) unstable; urgency=low + + * Non-maintainer upload. + * Make /etc/X11/app-defaults/XGammon a conffile (closes: #132198). + * Add build-dependencies (closes: #95107). + * Remove bashisms in debian/rules. + * Symlink /usr/doc/xgammon to /usr/share/doc/xgammon in the usual way. + * Clean xgammon.man - the symlink interferes with dpkg-source. + + -- Colin Watson Sat, 9 Feb 2002 13:44:10 +0000 + +xgammon (0.98a-5) unstable; urgency=low + + * Applied patch to get compilation to work under Sparc (Thanks to Colin + Watson) Closes: #89882 + * FHS conformant structure for docs and man pages. Closes: #91712, #91250 + + -- Luis Francisco Gonzalez Wed, 18 Feb 2001 23:55:23 +0000 + +xgammon (0.98a-4) unstable; urgency=low + + * Recompiled/Fixed the app-defaults to be in the new directory + Closes: #86310 + + -- Luis Francisco Gonzalez Tue, 18 Feb 2001 19:58:47 +0000 + +xgammon (0.98a-3) unstable; urgency=low + + * Changed permissions of directories to standard values (reported by lintian) + * Modified the rules file to work without deb-make scripts. + * Got rid of the dots in the extended description. + + -- Luis Francisco Gonzalez Tue, 17 Feb 1998 15:22:47 +0000 + +xgammon (0.98a-2) unstable; urgency=low + + * Changed maintainer address to luisgh@debian.org + * Added some info to the extended description section. + * Changed permissions on some files to satisfy lintian. + + -- Luis Francisco Gonzalez Mon, 9 Feb 1998 14:28:40 +0000 + +xgammon (0.98a-1) unstable; urgency=low + + * New upstream release + * Corrected a stupid dependency error. (Depended on both xlib6 and xlib6g) + + -- Luis Francisco Gonzalez Tue, 11 Nov 1997 18:09:14 +0000 + +xgammon (0.98-2) unstable; urgency=low + + * Recompiled with xlib6g (Bug#12815) + * Added support for dhelp and improved the support for menu and dwww + * Moved icon to /usr/X11R6/include/X11/pixmap (as per menu instructions) + + -- Luis Francisco Gonzalez Thu, 23 Oct 1997 16:51:10 +0100 + +xgammon (0.98-1) unstable; urgency=low + + * Initial Release. + + -- Luis Francisco Gonzalez Tue, 8 Jul 1997 00:17:46 +0100 --- xgammon-0.99.1128.orig/src/xgammon.ad +++ xgammon-0.99.1128/src/xgammon.ad @@ -67,4 +67,4 @@ xgammon.buttonmove: false xgammon.stonesteps: 5 xgammon.delaytime: 5 -xgammon.database: ../lib/xgammon.db +xgammon.database: /usr/lib/xgammon/xgammon.db --- xgammon-0.99.1128.orig/src/Imakefile +++ xgammon-0.99.1128/src/Imakefile @@ -1,4 +1,12 @@ -LOCAL_LIBRARIES = $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB) $(LEXLIB) -lm +#LOCAL_LIBRARIES = $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB) $(LEXLIB) -lm +LOCAL_LIBRARIES = $(XAWLIB) $(XTOOLLIB) $(XLIB) $(LEXLIB) -lm +EXTRA_LDOPTIONS = -L/usr/X11R6/lib +XCOMM CFLAGS = -O2 -pipe +GROUP= games +BINDIR=/usr/games +INSTPGMFLAGS=-g $(GROUP) -s +CCOPTIONS= + XCOMM CFLAGS = -O2 -pipe @@ -25,25 +33,25 @@ ../lib/xgammon.db: @echo "compile database creating program" - $(CC) lib/db.c -o lib/db + $(CC) ../lib/db.c -o ../lib/db @echo "done.." @echo "starting it" @echo "creating the database needed about 3 - 5 hours" @echo "on the old 386sx it had its first start :-)" @echo "I will tell you when the database is complete" - cd ../lib; db; cd ../src + cd ../lib; ./db; cd ../src @echo "database now complete " XGammon.ad: xgammon.ad $(LN) xgammon.ad XGammon.ad -xgammon.man: xgammon.6 - $(LN) xgammon.6 xgammon.man +xgammon.man: ../doc/xgammon.6 + $(LN) ../doc/xgammon.6 xgammon.man -all:: lib/xgammon.db +all:: ../lib/xgammon.db -install:: lib/xgammon.db +install:: ../lib/xgammon.db clean:: - $(RM) lib/db.o lib/db + $(RM) ../lib/db.o ../lib/db ../lib/xgammon.db load.c Makefile xgammon.man XGammon.ad --- xgammon-0.99.1128.orig/src/xgammon.c +++ xgammon-0.99.1128/src/xgammon.c @@ -944,30 +944,30 @@ for (option=1; option -Play a game with a player on some remote X-Terminal. +Play a game with a player on some remote X\-Terminal. A second `xgammon' will be displayed -there. (example: xgammon -otherdisplay somehost:0.0) +there. (example: xgammon \-otherdisplay somehost:0.0) .TP .B \fB\-boardgeometry\fP -Defines the size of the board widget. `Geometry_string' must be an XtGeometry-string +Defines the size of the board widget. `Geometry_string' must be an XtGeometry\-string (example: 450x350). By default the relation of width/height of the board is 12/15. is rounded to this relation. .TP @@ -89,7 +89,7 @@ .B \fB\-whitecolor, \-blackcolor\fP Sets the color of the stones. .TP -.B \fB\-humancolor, -h\fP (black|white) +.B \fB\-humancolor, \-h\fP (black|white) Sets the color of the human player's stones. Implies a game between `xgammon' and a human being. (The default). .TP @@ -134,7 +134,7 @@ .TP .B \fB\-rollout, +rollout\fP `Xgammon' will rollout a position. This rank is read from a file. -(See -f option below.) This file is automatically generated +(See \-f option below.) This file is automatically generated from the current game, if not specified otherwise. .TP .B \fB\-nr\fP @@ -206,7 +206,7 @@ .B [\fBrollout\fP] To rollout a position use this option. The number of games rolled out are set with the `numrollouts' resource -or the -nr command line option. (see RESOURCES or OPTIONS.) +or the \-nr command line option. (see RESOURCES or OPTIONS.) Invoked from the game `xgammon' will fork itself and start a second, third ... process, so you can continue playing. There will be a popup to inform you about the current state and the result. @@ -235,7 +235,7 @@ You may set these keys in your .Xdefaults file. .SH TEXT WINDOWS -There are two text windows in the `XGammon-Buttons' window, where the current +There are two text windows in the `XGammon\-Buttons' window, where the current tournament, moves, doubler actions etc. are printed. You can also add comments there. The text in the lower window will be saved if you invoke any save command. @@ -260,7 +260,7 @@ line option. An example would be .br -`xgammon -rollout -nr 1000 -doubling -f rollout.save', +`xgammon \-rollout \-nr 1000 \-doubling \-f rollout.save', .br which would rollout a 1000 times the position saved in `rollout.save'. It should be rather easy to modify the save file slightly, and make @@ -273,9 +273,9 @@ .SH X RESOURCES .TP .B .otherdisplay: -Play a game with a player on some remote X-Terminal. +Play a game with a player on some remote X\-Terminal. A second `xgammon' will be displayed -there. (example: xgammon -otherdisplay somehost:0.0) +there. (example: xgammon \-otherdisplay somehost:0.0) .TP .B .boardColor: Specifies the background color of the board. @@ -331,7 +331,7 @@ the result to a position file. Any unsigned integer value should be all right. .TP .B .positionfile: -The file, where `xgammon' shall save and load all informations to-and-fro. +The file, where `xgammon' shall save and load all informations to\-and\-fro. .SH DIAGNOSTICS `Xgammon' uses the function usleep() for delaytime. @@ -362,5 +362,5 @@ .br email: .br -klasen@asterix.uni-muenster.de -steuer@amadeus.statistik.uni-dortmund.de +klasen@asterix.uni\-muenster.de +steuer@amadeus.statistik.uni\-dortmund.de