debian/0000755000000000000000000000000011527450323007170 5ustar debian/doc-base0000644000000000000000000000034711442646046010601 0ustar Document: 3dchess Title: 3Dc rules Author: Paul Hicks Abstract: This manual describes rules of the game. Section: Games/Board Format: html Index: /usr/share/doc/3dchess/3Dc-rules.html Files: /usr/share/doc/3dchess/3Dc-rules.html debian/control0000644000000000000000000000151311442644156010600 0ustar Source: 3dchess Section: games Priority: optional Maintainer: Debian Games Team Uploaders: Barry deFreese Standards-Version: 3.9.1 Build-Depends: debhelper (>= 7.0.50~), xaw3dg-dev, libx11-dev, libxpm-dev, libxt-dev, x11proto-core-dev, libxaw7-dev Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/3dchess/ Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/packages/trunk/3dchess/?op=log Package: 3dchess Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Play chess across 3 boards! There are three boards, stacked vertically; 96 pieces of which most are the traditional chess pieces with just a couple of additions; 26 possible directions in which to move. Provides a challenging enough game to all but the most highly skilled players. debian/watch0000644000000000000000000000011711152411260010207 0ustar version=3 ftp://sunsite.unc.edu/pub/Linux/games/strategy/3Dc-([0-9.]+).tar.gz debian/changelog0000644000000000000000000001351011527447752011056 0ustar 3dchess (0.8.1-17) unstable; urgency=low * Team upload. * Update package description to be more accurate (LP: #602662) * Use new quilt format instead of dpatch and merge inc patches * Bump Standards-Version, no changes needed * Switch to debhelper 7 minimal rules file * Fix path to GPLv2 in the copyright file * Include a doc-base file pointing at the rules * Don't link with libraries that are not used (Xmu Xext) -- Paul Wise Fri, 18 Feb 2011 18:54:30 +0800 3dchess (0.8.1-16) unstable; urgency=low [ Barry deFreese ] * Bump Standards Version to 3.8.0. (No changes needed). * Update my e-mail address. [ Peter De Wachter ] * Added watch file. [ Christoph Egger ] * updating build-depends on replaced packages (Closes: #515353) -- Barry deFreese Mon, 16 Feb 2009 10:22:43 -0500 3dchess (0.8.1-15) unstable; urgency=low [ Eddy Petrișor ] * fix Vcs-Svn URL to point to svn://, not ssh:// (Closes: #481780) [ Barry deFreese ] * Build-depend on libxaw7-dev instead of libxaw-headers. (Closes: #484203). * Add proper copyright holders to debian/copyright. -- Barry deFreese Mon, 02 Jun 2008 21:38:19 -0400 3dchess (0.8.1-14) unstable; urgency=low [ Barry deFreese ] * New maintainer (Closes: #363498) + Debian Games Team * Move 02-05 patches back in to get out of diff * Change VCS tags to Games Team repo * Add myself to uploaders * Add descriptions for all dpatch files -- Barry deFreese Sat, 29 Dec 2007 18:22:14 -0500 3dchess (0.8.1-13) unstable; urgency=low * QA upload. * debian/control: - Added Vcs-{Svn,Browser} fields to the source stanza, since the package has been imported into the "orphaned" branch of collab-maint's Subversion repository. - Bumped Standards-Version from 3.7.2 to 3.7.3, no changes were required. * debian/rules: Do not ignore "make clean" errors, instead test if the Makefile is available before calling "$(MAKE) clean". * Updated debhelper compatibility level to V5, which is the current recommended level and raised the build dependency to "debhelper (>= 5)". * Added .desktop file from Salvatore Palma which has been slightly modified. (closes: #455499) -- Frank S. Thomas Tue, 11 Dec 2007 15:13:23 +0100 3dchess (0.8.1-12) unstable; urgency=low * QA Upload * Orphaned, set Maintainter to QA Group (#363498) * Conforms with new Standards Version * Refactor debian/rules * Fix menu file (Closes: #341372) * Add Build-Dependency on libxaw-headers * Remove 3dchessbuild file. * Remove typescript file. * Add debian/docs * Build-Depend on dpatch: + split all patches from the .diff.gz into single dpatch files. -- Michael Ablassmeier Fri, 5 May 2006 09:43:16 +0200 3dchess (0.8.1-11.1) unstable; urgency=low * Non-maintainer upload. * xlibs-dev trasition. Closes: #346609 -- Victor Seva Tue, 10 Jan 2006 15:11:00 +0100 3dchess (0.8.1-11) unstable; urgency=low * Beef up long description (Closes: #209420) -- Mon, 12 Jan 2004 13:06:33 +0000 3dchess (0.8.1-10testXaw3dg) unstable; urgency=low * unreleased, only to test for Xaw3dg changes. -- Stephen Stafford Thu, 7 Aug 2003 14:35:53 +0000 3dchess (0.8.1-10) unstable; urgency=low * Ack NMU (Closes: #170144) * Bumped policy version to 3.5.9.0 -- Stephen Stafford Fri, 9 May 2003 12:11:10 +0000 3dchess (0.8.1-9.1) unstable; urgency=low * NMU * Removed the obsolote build-dependency on xlib6g-dev. Closes: #170114. -- Daniel Schepler Fri, 14 Mar 2003 21:20:12 -0800 3dchess (0.8.1-9) unstable; urgency=low * Changed the menu section from Games/Strategy to Games/Board. This is a somewhat grey area, Strategy is not really actually incorrect, but I fully agree with the bug submitter that Board is a somewhat more intuitive location. (Closes: #128750) * tweaked and tidied the rules makefile a little. Added dh_clean to the clean target. * Added the section field (6) to the .TH section of the manpage. (Closes: 96045) -- Stephen Stafford Sun, 13 Jan 2002 23:08:46 +0000 3dchess (0.8.1-8) unstable; urgency=low * New Maintainer (closes: #87154) * added simple manpage * changed priority to optional (closes: #87480) -- Stephen Stafford Tue, 24 Apr 2001 02:47:54 +0100 3dchess (0.8.1-7) unstable; urgency=low * Added Build-Depends (closes: #70057). * Recompile (xpm4g is provided by xlibs; closes: #67979). * Set maintainer to Debian QA Group (relates: #87154). -- Peter Palfrader Fri, 23 Feb 2001 23:14:00 +0000 3dchess (0.8.1-6) unstable; urgency=low * Recompiled with latest libraries. * Upgraded Standards-Version. -- Robert S. Edmonds Mon, 16 Oct 2000 21:21:46 +0000 3dchess (0.8.1-5) unstable; urgency=low * Recompiled with latest libraries. -- Robert S. Edmonds Mon, 11 Sep 2000 16:58:07 -0400 3dchess (0.8.1-4) frozen unstable; urgency=low * Recompiled with latest libraries. -- Robert S. Edmonds Mon, 5 Apr 1999 21:34:31 -0400 3dchess (0.8.1-3) frozen unstable; urgency=low * 3Dc's manpage has been linked to the undocumented man page. -- Robert S. Edmonds Mon, 30 Mar 1998 20:04:40 -0500 3dchess (0.8.1-2) unstable; urgency=low * Fixed Depends line in the control file. This should fix quite a few bugs. -- Robert S. Edmonds Thu, 12 Mar 1998 07:22:25 -0500 3dchess (0.8.1-1) unstable; urgency=low * Initial Release. -- Robert S. Edmonds Thu, 5 Mar 1998 20:30:01 -0500 debian/manpages0000644000000000000000000000001511442643462010706 0ustar debian/3Dc.6 debian/source/0000755000000000000000000000000011527450164010473 5ustar debian/source/format0000644000000000000000000000001411442637543011705 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000000231611442644604011130 0ustar This package was debianized by Robert S. Edmonds on Fri, 20 Feb 1998 20:58:02 -0500. It was downloaded from: ftp://sunsite.unc.edu/pub/Linux/games/strategy/3Dc-0.8.1.tar.gz Author: Paul Hicks Copyright: (C) 1995,1996 Paul Hicks include/DrawingA.h: (C) 1990 David Nedde src/DrawingA.c: (C) 1990 David Nedde This program 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 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 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 GNU/Linux systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. debian/docs0000644000000000000000000000005411004520020010020 0ustar README TODO ACKNOWLEDGEMENTS 3Dc-rules.html debian/compat0000644000000000000000000000000211442643146010371 0ustar 7 debian/patches/0000755000000000000000000000000011527450164010622 5ustar debian/patches/05_Makefile.patch0000755000000000000000000000155611442646746013707 0ustar Description: Fix bindir to /usr/games and remove 3Dc dir on clean --- a/src/Makefile +++ b/src/Makefile @@ -3,7 +3,7 @@ # put it in /usr/games or equivalent but I think that the lastability # of 3Dc is too small without proper AI. Until the computer can # play properly, 3Dc remains a local installation. -BINDIR=.. +BINDIR=/usr/games # The principle system configuration area. # Define -DHAVE_UNISTD_H if /usr/include/unistd.h exists @@ -39,7 +39,7 @@ # and I definitely recommend getting Xaw3d. The extra appearance doesn't # appear much but it looks much better when it does. # Linux -LDLIBS=-L/usr/X11R6/lib -lXpm -lXaw3d -lXmu -lXext -lXt -lX11 +LDLIBS=-L/usr/X11R6/lib -lXpm -lXaw3d -lXt -lX11 # Sun #LDLIBS=-lXpm -lXaw -lXmu -lXext -lXt -lX11 -lm @@ -73,6 +73,7 @@ ${RM} *.o *~ TAGS ${RM} ../*~ ${RM} ../include/*~ + ${RM} 3Dc tags: ${RM} TAGS debian/patches/series0000644000000000000000000000012311527450004012024 0ustar 01_fix_includes.patch 05_Makefile.patch 12_3Dc-rules.html.patch 13_machine.h.patch debian/patches/01_fix_includes.patch0000644000000000000000000000526211442637215014624 0ustar Description: Fix path for include files --- a/src/piece.c +++ b/src/piece.c @@ -26,8 +26,8 @@ */ #include -#include "machine.h" -#include "3Dc.h" +#include "../include/machine.h" +#include "../include/3Dc.h" #define PARAMS (Piece *, File, Rank, Level) --- a/src/engine.c +++ b/src/engine.c @@ -28,8 +28,8 @@ #include #include -#include "machine.h" -#include "3Dc.h" +#include "../include/machine.h" +#include "../include/3Dc.h" /* * Returns a pointer to any one piece of the specified colour threatening --- a/src/init.c +++ b/src/init.c @@ -29,8 +29,8 @@ #include #include #include -#include "machine.h" -#include "3Dc.h" +#include "../include/machine.h" +#include "../include/3Dc.h" int n3DcErr; Piece *SQUARE_EMPTY, *SQUARE_INVALID; --- a/src/main.c +++ b/src/main.c @@ -28,9 +28,9 @@ #include #include -#include "machine.h" +#include "../include/machine.h" -#include "3Dc.h" +#include "../include/3Dc.h" #define MAX_RETRIES 100 /* Number of times to guess a tricky move */ --- a/src/stack.c +++ b/src/stack.c @@ -28,9 +28,9 @@ #include #include -#include "machine.h" -#include "3Dc.h" -#include "3DcErr.h" +#include "../include/machine.h" +#include "../include/3Dc.h" +#include "../include/3DcErr.h" Global stack * StackNew(void) --- a/src/DrawingA.c +++ b/src/DrawingA.c @@ -12,7 +12,7 @@ #include #include #include -#include "DrawingAP.h" +#include "../include/DrawingAP.h" static void Initialize(); static void Destroy(); --- a/src/xif.c +++ b/src/xif.c @@ -42,9 +42,9 @@ #include "DrawingA.h" #include -#include "pieces.xpm" +#include "../include/pieces.xpm" -#include "3Dc.h" +#include "../include/3Dc.h" Local GfxInfo GFX1; GfxInfo *firstGFX, *secondGFX; --- a/src/xnet.c +++ b/src/xnet.c @@ -28,10 +28,10 @@ #include #include -#include "machine.h" +#include "../include/machine.h" /* AutoInclude all necessary files */ -#include "3Dc.h" +#include "../include/3Dc.h" #include Local GfxInfo GFX2; --- a/src/callbaks.c +++ b/src/callbaks.c @@ -41,9 +41,9 @@ #include -#include "local.h" -#include "machine.h" -#include "3Dc.h" +#include "../include/local.h" +#include "../include/machine.h" +#include "../include/3Dc.h" Local GfxInfo * Widget2GfxInfo(Widget w) --- a/src/ai.c +++ b/src/ai.c @@ -32,8 +32,8 @@ #include #include -#include "machine.h" -#include "3Dc.h" +#include "../include/machine.h" +#include "../include/3Dc.h" #ifndef MAX #define MAX(a,b) ((a) < (b) ? (b) : (a)) debian/patches/12_3Dc-rules.html.patch0000755000000000000000000000062711442636430014657 0ustar Description: Add closing bold tag --- a/3Dc-rules.html +++ b/3Dc-rules.html @@ -37,7 +37,7 @@ It's easier to imagine if you draw the boards, or if you hold one (real) chess board above another. If you've got a head for coordinates, then you should realise that square Yd4 is adjacent to Xd4, -Xd5, Ze3, Zc4 and +Xd5, Ze3, Zc4 and lots others.

debian/patches/13_machine.h.patch0000755000000000000000000000037511442636460014011 0ustar Description: Remove check for ULIMIT and don't include --- a/include/machine.h +++ b/include/machine.h @@ -31,9 +31,11 @@ #include #endif +/* #ifdef HAVE_ULIMIT_H #include #endif +*/ #ifdef __alpha__ #include debian/menu0000644000000000000000000000014211004520020010032 0ustar ?package(3dchess):needs="X11" section="Games/Board" \ title="3D Chess" command="/usr/games/3Dc" debian/3Dc.60000644000000000000000000000213311004520020007645 0ustar .TH 3DC 6 "January 2002" .SH NAME 3Dc \- Program to play 3D chess for X .SH SYNOPSIS .BR 3Dc " [" -play: .IR " white" | black "] " .RB [ -altdisplay: | -ad: .IR display ] .SH DESCRIPTION This manual page documents briefly the .B 3Dc command. This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page. The Rules of 3Dchess as played by this program can be found in /usr/share/doc/3dchess/3dc-rules.html on Debian GNU/Linux systems. .SH OPTIONS .TP .BI -play: white \fR| \fIblack Tells the computer to play. Requires a following parameter, either \fIblack \fRor \fIwhite\fR, which tells the computer which colour to play. .TP .BI -altdisplay: display, -ad: display Tells the computer that you are playing as the white player in a network game. It requires one additional parameter---the \fIdisplay\fR to pop the black player's windows up on. The other display must allow connections, via xhost or xauth. .SH AUTHOR This manual page was written by Stephen Stafford , for the Debian GNU/Linux system (but may be used by others). debian/install0000644000000000000000000000005611442643407010565 0ustar debian/3dchess.desktop usr/share/applications debian/3dchess.desktop0000644000000000000000000000020711164374071012120 0ustar [Desktop Entry] Type=Application Version=1.0 Name=3D Chess Comment=3D chess for X11 Exec=3Dc Terminal=false Categories=Game;BoardGame; debian/rules0000755000000000000000000000051311442643634010254 0ustar #!/usr/bin/make -f %: dh $@ --parallel override_dh_auto_build: $(MAKE) -C `pwd`/src override_dh_auto_clean: [ ! -f "`pwd`/src/Makefile" ] || $(MAKE) -C `pwd`/src clean override_dh_auto_install: $(MAKE) -C `pwd`/src install BINDIR=`pwd`/debian/3dchess/usr/games override_dh_installchangelogs: dh_installchangelogs CHANGES debian/dirs0000644000000000000000000000001211004520020010023 0ustar usr/games