--- gridlock.app-1.10.orig/osdep.h +++ gridlock.app-1.10/osdep.h @@ -192,7 +192,7 @@ #import -#elif defined(linux) +#elif defined(linux) || defined(__FreeBSD_kernel__) //--------------------------------------------------------------------------------------- // Linux --- gridlock.app-1.10.orig/NSFileHandle+Extensions.m +++ gridlock.app-1.10/NSFileHandle+Extensions.m @@ -144,7 +144,7 @@ format: @"PeekNamedPipe() NT Error # %d", GetLastError()]; return lpTotalBytesAvail; -#elif defined(__APPLE__) || defined(__FreeBSD__) || defined(linux) +#elif defined(__APPLE__) || defined(__FreeBSD__) || defined(linux) || defined(__FreeBSD_kernel__) int numBytes; if(ioctl(EDSOCKETHANDLE, FIONREAD, (char *) &numBytes) == -1) --- gridlock.app-1.10.orig/debian/dirs +++ gridlock.app-1.10/debian/dirs @@ -0,0 +1,3 @@ +usr/games +usr/share/pixmaps +usr/share/lintian/overrides --- gridlock.app-1.10.orig/debian/docs +++ gridlock.app-1.10/debian/docs @@ -0,0 +1 @@ +readme.html --- gridlock.app-1.10.orig/debian/menu +++ gridlock.app-1.10/debian/menu @@ -0,0 +1,3 @@ +?package(gridlock.app):needs="X11" section="Games/Board"\ + title="Gridlock" command="/usr/games/Gridlock" \ + icon="/usr/share/pixmaps/gridlock.xpm" --- gridlock.app-1.10.orig/debian/lintian-override +++ gridlock.app-1.10/debian/lintian-override @@ -0,0 +1 @@ +gridlock.app: image-file-in-usr-lib --- gridlock.app-1.10.orig/debian/control +++ gridlock.app-1.10/debian/control @@ -0,0 +1,19 @@ +Source: gridlock.app +Section: games +Priority: optional +Maintainer: Gürkan Sengün +Build-Depends: debhelper (>= 4), libgnustep-gui-dev (>= 0.12.0), gnustep-make +Standards-Version: 3.7.2 + +Package: gridlock.app +Architecture: any +Depends: ${shlibs:Depends} +Replaces: gridlock +Conflicts: gridlock +Description: A collection of grid-based board games for GNUstep + Gridlock is a collection of grid-based board games for GNUstep, including + Ataxx, Reversi, Gomoku, Connect Four, Breakthrough, Glass Bead, Hexapawn, + Quad Wrangle, Cats and Dogs and Moray Eels. You can play against another + person or computer opponents of varying difficulty, even over the network. + . + Homepage: http://dozingcat.com/ --- gridlock.app-1.10.orig/debian/rules +++ gridlock.app-1.10/debian/rules @@ -0,0 +1,57 @@ +#!/usr/bin/make -f +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/GNUstep/debian/config.mk +GNUSTEP_MAKEFILES=$(GS_MAKE_DIR) + +build: build-stamp + +build-stamp: + dh_testdir + gs_make + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + gs_make clean distclean + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + cp debian/gridlock.xpm $(CURDIR)/debian/gridlock.app/usr/share/pixmaps/gridlock.xpm + gs_make install DESTDIR=$(CURDIR)/debian/gridlock.app GNUSTEP_INSTALLATION_DOMAIN=SYSTEM + dh_install debian/*.desktop usr/share/applications/ + rm $(CURDIR)/debian/*.app/usr/lib/GNUstep/Applications/*.app/Resources/*.desktop + mv $(CURDIR)/debian/gridlock.app/usr/bin/Gridlock $(CURDIR)/debian/gridlock.app/usr/games + rm -rf $(CURDIR)/debian/gridlock.app/usr/bin/ + +# 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_installdocs + dh_installmenu + dh_installman + install -m 644 debian/lintian-override $(CURDIR)/debian/gridlock.app/usr/share/lintian/overrides/gridlock.app + dh_installchangelogs + 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 --- gridlock.app-1.10.orig/debian/watch +++ gridlock.app-1.10/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://dozingcat.com/Gridlock/Gridlock-GNUstep-(.*).tar.gz --- gridlock.app-1.10.orig/debian/gridlock.xpm +++ gridlock.app-1.10/debian/gridlock.xpm @@ -0,0 +1,49 @@ +/* XPM */ +static char * gridlock_xpm[] = { +"32 32 14 1", +" c None", +". c #FF0000", +"+ c #0000FF", +"@ c #CCCCCC", +"# c #B2B2B2", +"$ c #7F7F7F", +"% c #999999", +"& c #333333", +"* c #666667", +"= c #4C4C4C", +"- c #FF00FF", +"; c #E5E5E5", +"> c #7F007F", +", c #7F7F00", +"@#.*@@@..#@;$.%@@#.*@@@..#@;*+$;", +"@....#,...%$....#....;....%$+++*", +".....................*.....+++++", +"$....$....*.....*....$....-&++++", +"@...$@$...@#...@@...$@$...;%+++#", +"@#*-##@*>##@#.$@@#*-##@*=##@%&$@", +"@&++*@*+++##...##&++*@*+++@%+++%", +"=++++=++++&....-=++++*++++=+++++", +"&++++&++++&-....&++++&+++++&++++", +"#+++&#&+++$%...$%+++&#&+++%*+++*", +"@%&&##@=>%#@$.$@#%&=###=&%#@$+$@", +"@$++$@#-..@@...@@*++%@#..-@;...@", +"$++++%....$.....$++++%....,.....", +"&++++=..........&++++=..........", +"$++++%....%$...-$++++%....%$...*", +"@$&+%@@...@@$..@@$+>%@@...@@$..@", +"@%-.@#@=&%#@*&*@#%&&#@#*.#@@..%@", +"#....#++++$*+++=%++++@....%%...$", +".....=++++++++++&++++=..........", +"$....*++++=&++++=++++$....*.....", +"@...$@$++&##+++#@=++*@$...@#...@", +"@;>*##@=&%#@%&$@##-*@#@*=#@@#.$@", +"#&++=@=+++#$+++$@....;=+++#%...%", +"=++++=++++&+++++*....*++++&.....", +"&++++&+++++&++++.....=>+++&-....", +"@+++&#&+++%$+++$@...-@&+++%%...$", +"##==##@=&%#@$&*@##=.;##=&%@@$.%@", +";-..%@#-..@@-..#@$++$;%-..@@...@", +"$....$....$.....$++++$....$.....", +"................&++++=..........", +"%....#....%$...-%++++%....%$...*", +"@#..#@#*..#@*.*@@$+&#@@...@@$..@"}; --- gridlock.app-1.10.orig/debian/changelog +++ gridlock.app-1.10/debian/changelog @@ -0,0 +1,106 @@ +gridlock.app (1.10-3build2) karmic; urgency=low + + * Rebuild for the GNUstep transition. + + -- Luca Falavigna Mon, 25 May 2009 07:27:33 +0000 + +gridlock.app (1.10-3build1) intrepid; urgency=low + + * Rebuild for GNUstep transition. + + -- Luca Falavigna Sun, 06 Jul 2008 14:58:54 +0200 + +gridlock.app (1.10-3) unstable; urgency=low + + * GNUstep transition. + + Updated debian/rules. + + Updated debian/dirs. + * Applied patch to fix FTBFS on GNU/kFreeBSD, thanks to + Cyril Brulebois. (Closes: #414074) + * Added a desktop file. + + -- Gürkan Sengün Thu, 04 Oct 2007 13:42:15 +0200 + +gridlock.app (1.10-2) unstable; urgency=low + + * Rebuild against latest libgnustep-gui-dev. + * Bump standards version. + * Updated manual page. + + -- Gürkan Sengün Sun, 17 Sep 2006 23:04:26 +0200 + +gridlock.app (1.10-1) unstable; urgency=low + + * New upstream release. + * Bump standards version. + * Update of build depends for libgnustep-gui0.10-dev. + + -- Gürkan Sengün Mon, 2 Jan 2006 16:23:45 +0100 + +gridlock.app (1.9-2) unstable; urgency=low + + * Renamed source package to gridlock.app. + * Updated manual page and debian/rules. + * Updated debian/control build-depends for GNUstep 0.9.4. + * Added documentation from homepage. + + -- Gürkan Sengün Sun, 12 Dec 2004 15:29:26 +0100 + +gridlock (1.9-1) unstable; urgency=high + + * New upstream release. + + -- Gürkan Sengün Sun, 15 Aug 2004 10:56:01 +0200 + +gridlock (1.8-6) unstable; urgency=low + + * Updated debian/control. (closes: #259482) + * Renamed binary package name to gridlock.app. + * Using gnustep-app-wrapper now. + + -- Gürkan Sengün Thu, 15 Jul 2004 18:46:42 +0200 + +gridlock (1.8-5) unstable; urgency=low + + * Removed versions from build-depends. + * Updated paths for GNUstep.sh. (closes: #246970) + * Improved manual page and debian/copyright. + + -- Gürkan Sengün Tue, 30 Mar 2004 00:13:05 +0200 + +gridlock (1.8-4) unstable; urgency=low + + * Updated debian/gridlock.sh + * Changed my name to UTF-8 in debian/{changelog,copyright,control} + * Updated debian/menu to be like in the application info window (drop .app) + * Added a pointer to read up the details of the license to debian/copyright + + -- Gürkan Sengün Fri, 26 Mar 2004 10:24:53 +0100 + +gridlock (1.8-3) unstable; urgency=low + + * Changed all "Gurkan Sengun" to "Gürkan Sengün" + + -- Gürkan Sengün Thu, 13 Nov 2003 20:29:39 +0100 + +gridlock (1.8-2) unstable; urgency=low + + * Clean up debian/ directory: + - debian/rules: removed comments + - debian/compat: added + - updated policy standards version + + -- Gürkan Sengün Thu, 23 Oct 2003 22:29:13 +0200 + +gridlock (1.8-1) unstable; urgency=low + + * New upstream version. + * Added lintian/overrides to calm lintian. + + -- Gürkan Sengün Fri, 17 Oct 2003 20:15:27 +0200 + +gridlock (1.3-1) unstable; urgency=low + + * Initial Release (closes: #179094). + + -- Gürkan Sengün Fri, 21 Feb 2003 19:59:30 +0100 --- gridlock.app-1.10.orig/debian/manpages +++ gridlock.app-1.10/debian/manpages @@ -0,0 +1 @@ +debian/Gridlock.6 --- gridlock.app-1.10.orig/debian/compat +++ gridlock.app-1.10/debian/compat @@ -0,0 +1 @@ +4 --- gridlock.app-1.10.orig/debian/Gridlock.desktop +++ gridlock.app-1.10/debian/Gridlock.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Type=Application +Version=0.94 +Categories=Game;LogicGame; +Name=Gridlock +Icon=/usr/lib/GNUstep/Applications/Gridlock.app/Resources/Gridlock.tiff +Exec=Gridlock --- gridlock.app-1.10.orig/debian/copyright +++ gridlock.app-1.10/debian/copyright @@ -0,0 +1,30 @@ +This package was debianized by Gürkan Sengün on +Fri, 21 Feb 2003 19:59:30 +0100. + +It was downloaded from http://dozingcat.com/ + +Upstream Author: Brian Nenninger + +Copyright (C) 2002-2006 Brian Nenninger + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. --- gridlock.app-1.10.orig/debian/Gridlock.6 +++ gridlock.app-1.10/debian/Gridlock.6 @@ -0,0 +1,48 @@ +.TH GRIDLOCK 6 "October 17, 2003" +.SH NAME +Gridlock \- collection of grid-based board games +.SH SYNOPSIS +.B Gridlock +.br +.SH DESCRIPTION +This manual page documents briefly the +.B Gridlock +command. +.PP +Gridlock is a collection of several grid-based strategy games. The +games include Ataxx, Reversi, Gomoku, Connect Four, Breakthrough, +Glass Bead, Hexapawn, Quad Wrangle, Cats and Dogs and Moray Eels. + +After launching the application, the game window will appear. Select +the game you want to play from the "Game" popup menu in the upper +right. Some games have different starting configurations (board size, +grid layout, etc); when one of those games are selected a +"Configurations" popup menu will appear from which you can select a +configuration. + +The bottom right displays the color and status of the two players. +Each player's color is shown by a circle; the player whose turn it is +has a filled circle. For games in which players have a score (Ataxx, +Eeversi, Glass Bead), the scores are shown next to the player labels. +Popup windows underneath each player's label allow you to specify +whether each player is human or computer-controlled, and the +difficulty of computer players. (Note that "Hard" computer opponents +may take a long time to make their moves). + +The rest of the window contains the game board. To make a move, click +on the cell where you wish to place a piece. Ataxx and Breakthrough +require that you move from one cell to another; to do this first click +on the cell you wish to move from, then click on the cell you wish to +move to. For all games, cells that are legal moves will become +highlighted when you move the mouse over them. If you are unable to +make a move, you can pass by clicking the "Pass" button on the right. +The "Restart" button will restart the game, requiring confirmation if +a game is in progress. + +You can play these games over the network. It is possible to save and +load games. +.SH SEE ALSO +.BR GNUstep (7). +.SH AUTHOR +This manual page was written and updated by G\[:u]rkan Seng\[:u]n , +for the Debian GNU/Linux system (but may be used by others).