r5104 - in packages/trunk/3dchess: . debian debian/patches
Barry deFreese
bddebian-guest at alioth.debian.org
Sun Dec 30 05:21:06 UTC 2007
Author: bddebian-guest
Date: 2007-12-30 05:21:06 +0000 (Sun, 30 Dec 2007)
New Revision: 5104
Added:
packages/trunk/3dchess/debian/
packages/trunk/3dchess/debian/3Dc.6
packages/trunk/3dchess/debian/3dchess.desktop
packages/trunk/3dchess/debian/changelog
packages/trunk/3dchess/debian/compat
packages/trunk/3dchess/debian/control
packages/trunk/3dchess/debian/copyright
packages/trunk/3dchess/debian/dirs
packages/trunk/3dchess/debian/docs
packages/trunk/3dchess/debian/menu
packages/trunk/3dchess/debian/patches/
packages/trunk/3dchess/debian/patches/00list
packages/trunk/3dchess/debian/patches/01_piece.c.dpatch
packages/trunk/3dchess/debian/patches/02_engine.c.dpatch
packages/trunk/3dchess/debian/patches/03_init.c.dpatch
packages/trunk/3dchess/debian/patches/04_main.c.dpatch
packages/trunk/3dchess/debian/patches/05_Makefile.dpatch
packages/trunk/3dchess/debian/patches/06_stack.c.dpatch
packages/trunk/3dchess/debian/patches/07_DrawingA.c.dpatch
packages/trunk/3dchess/debian/patches/08_xif.c.dpatch
packages/trunk/3dchess/debian/patches/09_xnet.c.dpatch
packages/trunk/3dchess/debian/patches/10_callbaks.c.dpatch
packages/trunk/3dchess/debian/patches/11_ai.c.dpatch
packages/trunk/3dchess/debian/patches/12_3Dc-rules.html.dpatch
packages/trunk/3dchess/debian/patches/13_machine.h.dpatch
packages/trunk/3dchess/debian/rules
Log:
[svn-inject] Applying Debian modifications to trunk
Property changes on: packages/trunk/3dchess/debian
___________________________________________________________________
Name: mergeWithUpstream
+ 1
Added: packages/trunk/3dchess/debian/3Dc.6
===================================================================
--- packages/trunk/3dchess/debian/3Dc.6 (rev 0)
+++ packages/trunk/3dchess/debian/3Dc.6 2007-12-30 05:21:06 UTC (rev 5104)
@@ -0,0 +1,30 @@
+.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 <bagpuss at debian.org>, for
+the Debian GNU/Linux system (but may be used by others).
Added: packages/trunk/3dchess/debian/3dchess.desktop
===================================================================
--- packages/trunk/3dchess/debian/3dchess.desktop (rev 0)
+++ packages/trunk/3dchess/debian/3dchess.desktop 2007-12-30 05:21:06 UTC (rev 5104)
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Type=Application
+Version=1.0
+Name=3D Chess
+Comment=3D chess for X11
+Exec=/usr/games/3Dc
+Terminal=false
+Categories=Game;BoardGame;
Added: packages/trunk/3dchess/debian/changelog
===================================================================
--- packages/trunk/3dchess/debian/changelog (rev 0)
+++ packages/trunk/3dchess/debian/changelog 2007-12-30 05:21:06 UTC (rev 5104)
@@ -0,0 +1,145 @@
+3dchess (0.8.1-14) UNRELEASED; urgency=low
+
+ [ Barry deFreese ]
+ * New maintainer (Closes: #363498)
+ + Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
+ * 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 <bddebian at comcast.net> 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 <palma-salvatore at ubuntu.com>
+ which has been slightly modified. (closes: #455499)
+
+ -- Frank S. Thomas <fst at debian.org> 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 <abi at debian.org> 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 <linuxmaniac at torreviejawireless.org> Tue, 10 Jan 2006 15:11:00 +0100
+
+3dchess (0.8.1-11) unstable; urgency=low
+
+ * Beef up long description (Closes: #209420)
+
+ -- <bagpuss at debian.org> 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 <bagpuss at debian.org> 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 <bagpuss at debian.org> 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 <schepler at debian.org> 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 <bagpuss at debian.org> 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 <bagpuss at debian.org> 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 <weasel at debian.org> 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 <stu at novare.net> Mon, 16 Oct 2000 21:21:46 +0000
+
+3dchess (0.8.1-5) unstable; urgency=low
+
+ * Recompiled with latest libraries.
+
+ -- Robert S. Edmonds <stu at novare.net> Mon, 11 Sep 2000 16:58:07 -0400
+
+3dchess (0.8.1-4) frozen unstable; urgency=low
+
+ * Recompiled with latest libraries.
+
+ -- Robert S. Edmonds <stu at novare.net> 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 <edmonds at freewwweb.com> 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 <edmonds at freewwweb.com> Thu, 12 Mar 1998 07:22:25 -0500
+
+3dchess (0.8.1-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Robert S. Edmonds <edmonds at freewwweb.com> Thu, 5 Mar 1998 20:30:01 -0500
+
Added: packages/trunk/3dchess/debian/compat
===================================================================
--- packages/trunk/3dchess/debian/compat (rev 0)
+++ packages/trunk/3dchess/debian/compat 2007-12-30 05:21:06 UTC (rev 5104)
@@ -0,0 +1 @@
+5
Added: packages/trunk/3dchess/debian/control
===================================================================
--- packages/trunk/3dchess/debian/control (rev 0)
+++ packages/trunk/3dchess/debian/control 2007-12-30 05:21:06 UTC (rev 5104)
@@ -0,0 +1,19 @@
+Source: 3dchess
+Section: games
+Priority: optional
+Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
+Uploaders: Barry deFreese <bddebian at comcast.net>
+Standards-Version: 3.7.3
+Build-Depends: debhelper (>= 5), xaw3dg-dev, libx11-dev, libxpm-dev, libxt-dev, x-dev, libxaw-headers, dpatch
+Vcs-Svn: ssh://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}
+Description: 3D chess for X11
+ 3 dimensional Chess game for X11R6. 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. The
+ AI isn't wonderful, but provides a challenging enough game to all but the
+ most highly skilled players.
Added: packages/trunk/3dchess/debian/copyright
===================================================================
--- packages/trunk/3dchess/debian/copyright (rev 0)
+++ packages/trunk/3dchess/debian/copyright 2007-12-30 05:21:06 UTC (rev 5104)
@@ -0,0 +1,13 @@
+This package was debianized by Robert S. Edmonds <stu at novare.net> 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 <paulh at euristix.ie>
+
+Copyright:
+GPL (GNU GPL license v2 included in source code)
+The GNU GPL may be viewed on Debian GNU/Linux systems in
+/usr/share/common-licenses/GPL
Added: packages/trunk/3dchess/debian/dirs
===================================================================
--- packages/trunk/3dchess/debian/dirs (rev 0)
+++ packages/trunk/3dchess/debian/dirs 2007-12-30 05:21:06 UTC (rev 5104)
@@ -0,0 +1 @@
+usr/games
Added: packages/trunk/3dchess/debian/docs
===================================================================
--- packages/trunk/3dchess/debian/docs (rev 0)
+++ packages/trunk/3dchess/debian/docs 2007-12-30 05:21:06 UTC (rev 5104)
@@ -0,0 +1,4 @@
+README
+TODO
+ACKNOWLEDGEMENTS
+3Dc-rules.html
Added: packages/trunk/3dchess/debian/menu
===================================================================
--- packages/trunk/3dchess/debian/menu (rev 0)
+++ packages/trunk/3dchess/debian/menu 2007-12-30 05:21:06 UTC (rev 5104)
@@ -0,0 +1,2 @@
+?package(3dchess):needs="X11" section="Games/Board" \
+ title="3D Chess" command="/usr/games/3Dc"
Added: packages/trunk/3dchess/debian/patches/00list
===================================================================
--- packages/trunk/3dchess/debian/patches/00list (rev 0)
+++ packages/trunk/3dchess/debian/patches/00list 2007-12-30 05:21:06 UTC (rev 5104)
@@ -0,0 +1,13 @@
+01_piece.c.dpatch
+02_engine.c.dpatch
+03_init.c.dpatch
+04_main.c.dpatch
+05_Makefile.dpatch
+06_stack.c.dpatch
+07_DrawingA.c.dpatch
+08_xif.c.dpatch
+09_xnet.c.dpatch
+10_callbaks.c.dpatch
+11_ai.c.dpatch
+12_3Dc-rules.html.dpatch
+13_machine.h.dpatch
Added: packages/trunk/3dchess/debian/patches/01_piece.c.dpatch
===================================================================
--- packages/trunk/3dchess/debian/patches/01_piece.c.dpatch (rev 0)
+++ packages/trunk/3dchess/debian/patches/01_piece.c.dpatch 2007-12-30 05:21:06 UTC (rev 5104)
@@ -0,0 +1,18 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## DP: Fix path for include files
+
+ at DPATCH@
+
+--- 3dchess-0.8.1.orig/src/piece.c
++++ 3dchess-0.8.1/src/piece.c
+@@ -26,8 +26,8 @@
+ */
+
+ #include <malloc.h>
+-#include "machine.h"
+-#include "3Dc.h"
++#include "../include/machine.h"
++#include "../include/3Dc.h"
+
+ #define PARAMS (Piece *, File, Rank, Level)
+
Property changes on: packages/trunk/3dchess/debian/patches/01_piece.c.dpatch
___________________________________________________________________
Name: svn:executable
+ *
Added: packages/trunk/3dchess/debian/patches/02_engine.c.dpatch
===================================================================
--- packages/trunk/3dchess/debian/patches/02_engine.c.dpatch (rev 0)
+++ packages/trunk/3dchess/debian/patches/02_engine.c.dpatch 2007-12-30 05:21:06 UTC (rev 5104)
@@ -0,0 +1,18 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## DP: Fix path for include files
+
+ at DPATCH@
+
+--- 3dchess-0.8.1.orig/src/engine.c
++++ 3dchess-0.8.1/src/engine.c
+@@ -28,8 +28,8 @@
+ #include <stdlib.h>
+ #include <limits.h>
+
+-#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
Property changes on: packages/trunk/3dchess/debian/patches/02_engine.c.dpatch
___________________________________________________________________
Name: svn:executable
+ *
Added: packages/trunk/3dchess/debian/patches/03_init.c.dpatch
===================================================================
--- packages/trunk/3dchess/debian/patches/03_init.c.dpatch (rev 0)
+++ packages/trunk/3dchess/debian/patches/03_init.c.dpatch 2007-12-30 05:21:06 UTC (rev 5104)
@@ -0,0 +1,18 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## DP: Fix path for include files
+
+ at DPATCH@
+
+--- 3dchess-0.8.1.orig/src/init.c
++++ 3dchess-0.8.1/src/init.c
+@@ -29,8 +29,8 @@
+ #include <stdlib.h>
+ #include <malloc.h>
+ #include <sys/time.h>
+-#include "machine.h"
+-#include "3Dc.h"
++#include "../include/machine.h"
++#include "../include/3Dc.h"
+
+ int n3DcErr;
+ Piece *SQUARE_EMPTY, *SQUARE_INVALID;
Property changes on: packages/trunk/3dchess/debian/patches/03_init.c.dpatch
___________________________________________________________________
Name: svn:executable
+ *
Added: packages/trunk/3dchess/debian/patches/04_main.c.dpatch
===================================================================
--- packages/trunk/3dchess/debian/patches/04_main.c.dpatch (rev 0)
+++ packages/trunk/3dchess/debian/patches/04_main.c.dpatch 2007-12-30 05:21:06 UTC (rev 5104)
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## DP: Fix path for include files
+
+ at DPATCH@
+
+--- 3dchess-0.8.1.orig/src/main.c
++++ 3dchess-0.8.1/src/main.c
+@@ -28,9 +28,9 @@
+ #include <X11/X.h>
+ #include <X11/Intrinsic.h>
+
+-#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 */
+
Property changes on: packages/trunk/3dchess/debian/patches/04_main.c.dpatch
___________________________________________________________________
Name: svn:executable
+ *
Added: packages/trunk/3dchess/debian/patches/05_Makefile.dpatch
===================================================================
--- packages/trunk/3dchess/debian/patches/05_Makefile.dpatch (rev 0)
+++ packages/trunk/3dchess/debian/patches/05_Makefile.dpatch 2007-12-30 05:21:06 UTC (rev 5104)
@@ -0,0 +1,24 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## DP: Fix bindir to /usr/games and remove 3Dc dir on clean
+
+ at DPATCH@
+
+--- 3dchess-0.8.1.orig/src/Makefile
++++ 3dchess-0.8.1/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
+@@ -73,6 +73,7 @@
+ ${RM} *.o *~ TAGS
+ ${RM} ../*~
+ ${RM} ../include/*~
++ ${RM} 3Dc
+
+ tags:
+ ${RM} TAGS
Property changes on: packages/trunk/3dchess/debian/patches/05_Makefile.dpatch
___________________________________________________________________
Name: svn:executable
+ *
Added: packages/trunk/3dchess/debian/patches/06_stack.c.dpatch
===================================================================
--- packages/trunk/3dchess/debian/patches/06_stack.c.dpatch (rev 0)
+++ packages/trunk/3dchess/debian/patches/06_stack.c.dpatch 2007-12-30 05:21:06 UTC (rev 5104)
@@ -0,0 +1,20 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## DP: Fix path for include files
+
+ at DPATCH@
+
+--- 3dchess-0.8.1.orig/src/stack.c
++++ 3dchess-0.8.1/src/stack.c
+@@ -28,9 +28,9 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+
+-#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)
Property changes on: packages/trunk/3dchess/debian/patches/06_stack.c.dpatch
___________________________________________________________________
Name: svn:executable
+ *
Added: packages/trunk/3dchess/debian/patches/07_DrawingA.c.dpatch
===================================================================
--- packages/trunk/3dchess/debian/patches/07_DrawingA.c.dpatch (rev 0)
+++ packages/trunk/3dchess/debian/patches/07_DrawingA.c.dpatch 2007-12-30 05:21:06 UTC (rev 5104)
@@ -0,0 +1,16 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## DP: Fix path for include files
+
+ at DPATCH@
+
+--- 3dchess-0.8.1.orig/src/DrawingA.c
++++ 3dchess-0.8.1/src/DrawingA.c
+@@ -12,7 +12,7 @@
+ #include <X11/StringDefs.h>
+ #include <X11/CoreP.h>
+ #include <X11/Xaw/SimpleP.h>
+-#include "DrawingAP.h"
++#include "../include/DrawingAP.h"
+
+ static void Initialize();
+ static void Destroy();
Property changes on: packages/trunk/3dchess/debian/patches/07_DrawingA.c.dpatch
___________________________________________________________________
Name: svn:executable
+ *
Added: packages/trunk/3dchess/debian/patches/08_xif.c.dpatch
===================================================================
--- packages/trunk/3dchess/debian/patches/08_xif.c.dpatch (rev 0)
+++ packages/trunk/3dchess/debian/patches/08_xif.c.dpatch 2007-12-30 05:21:06 UTC (rev 5104)
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## DP: Fix path for include files
+
+ at DPATCH@
+
+--- 3dchess-0.8.1.orig/src/xif.c
++++ 3dchess-0.8.1/src/xif.c
+@@ -42,9 +42,9 @@
+ #include "DrawingA.h"
+
+ #include <X11/xpm.h>
+-#include "pieces.xpm"
++#include "../include/pieces.xpm"
+
+-#include "3Dc.h"
++#include "../include/3Dc.h"
+
+ Local GfxInfo GFX1;
+ GfxInfo *firstGFX, *secondGFX;
Property changes on: packages/trunk/3dchess/debian/patches/08_xif.c.dpatch
___________________________________________________________________
Name: svn:executable
+ *
Added: packages/trunk/3dchess/debian/patches/09_xnet.c.dpatch
===================================================================
--- packages/trunk/3dchess/debian/patches/09_xnet.c.dpatch (rev 0)
+++ packages/trunk/3dchess/debian/patches/09_xnet.c.dpatch 2007-12-30 05:21:06 UTC (rev 5104)
@@ -0,0 +1,20 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## DP: Fix path for include files
+
+ at DPATCH@
+
+--- 3dchess-0.8.1.orig/src/xnet.c
++++ 3dchess-0.8.1/src/xnet.c
+@@ -28,10 +28,10 @@
+ #include <sys/types.h>
+ #include <sys/time.h>
+
+-#include "machine.h"
++#include "../include/machine.h"
+
+ /* AutoInclude all necessary files */
+-#include "3Dc.h"
++#include "../include/3Dc.h"
+ #include <X11/Shell.h>
+
+ Local GfxInfo GFX2;
Property changes on: packages/trunk/3dchess/debian/patches/09_xnet.c.dpatch
___________________________________________________________________
Name: svn:executable
+ *
Added: packages/trunk/3dchess/debian/patches/10_callbaks.c.dpatch
===================================================================
--- packages/trunk/3dchess/debian/patches/10_callbaks.c.dpatch (rev 0)
+++ packages/trunk/3dchess/debian/patches/10_callbaks.c.dpatch 2007-12-30 05:21:06 UTC (rev 5104)
@@ -0,0 +1,20 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## DP: Fix path for include files
+
+ at DPATCH@
+
+--- 3dchess-0.8.1.orig/src/callbaks.c
++++ 3dchess-0.8.1/src/callbaks.c
+@@ -41,9 +41,9 @@
+
+ #include <X11/xpm.h>
+
+-#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)
Property changes on: packages/trunk/3dchess/debian/patches/10_callbaks.c.dpatch
___________________________________________________________________
Name: svn:executable
+ *
Added: packages/trunk/3dchess/debian/patches/11_ai.c.dpatch
===================================================================
--- packages/trunk/3dchess/debian/patches/11_ai.c.dpatch (rev 0)
+++ packages/trunk/3dchess/debian/patches/11_ai.c.dpatch 2007-12-30 05:21:06 UTC (rev 5104)
@@ -0,0 +1,18 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## DP: Fix path for include files
+
+ at DPATCH@
+
+--- 3dchess-0.8.1.orig/src/ai.c
++++ 3dchess-0.8.1/src/ai.c
+@@ -32,8 +32,8 @@
+ #include <limits.h>
+ #include <sys/time.h>
+
+-#include "machine.h"
+-#include "3Dc.h"
++#include "../include/machine.h"
++#include "../include/3Dc.h"
+
+ #ifndef MAX
+ #define MAX(a,b) ((a) < (b) ? (b) : (a))
Property changes on: packages/trunk/3dchess/debian/patches/11_ai.c.dpatch
___________________________________________________________________
Name: svn:executable
+ *
Added: packages/trunk/3dchess/debian/patches/12_3Dc-rules.html.dpatch
===================================================================
--- packages/trunk/3dchess/debian/patches/12_3Dc-rules.html.dpatch (rev 0)
+++ packages/trunk/3dchess/debian/patches/12_3Dc-rules.html.dpatch 2007-12-30 05:21:06 UTC (rev 5104)
@@ -0,0 +1,16 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## DP: Add closing bold tag
+
+ at DPATCH@
+
+--- 3dchess-0.8.1.orig/3Dc-rules.html
++++ 3dchess-0.8.1/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 <b>Yd4</b> is adjacent to <b>Xd4</b>,
+-<b>Xd5, <b>Ze3</b>, <b>Zc4</b> and
++<b>Xd5</b>, <b>Ze3</b>, <b>Zc4</b> and
+ lots others.
+ <p>
+
Property changes on: packages/trunk/3dchess/debian/patches/12_3Dc-rules.html.dpatch
___________________________________________________________________
Name: svn:executable
+ *
Added: packages/trunk/3dchess/debian/patches/13_machine.h.dpatch
===================================================================
--- packages/trunk/3dchess/debian/patches/13_machine.h.dpatch (rev 0)
+++ packages/trunk/3dchess/debian/patches/13_machine.h.dpatch 2007-12-30 05:21:06 UTC (rev 5104)
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## DP: Remove check for ULIMIT and don't include
+
+ at DPATCH@
+
+--- 3dchess-0.8.1.orig/include/machine.h
++++ 3dchess-0.8.1/include/machine.h
+@@ -31,9 +31,11 @@
+ #include <unistd.h>
+ #endif
+
++/*
+ #ifdef HAVE_ULIMIT_H
+ #include <ulimit.h>
+ #endif
++*/
+
+ #ifdef __alpha__
+ #include <alloca.h>
Property changes on: packages/trunk/3dchess/debian/patches/13_machine.h.dpatch
___________________________________________________________________
Name: svn:executable
+ *
Added: packages/trunk/3dchess/debian/rules
===================================================================
--- packages/trunk/3dchess/debian/rules (rev 0)
+++ packages/trunk/3dchess/debian/rules 2007-12-30 05:21:06 UTC (rev 5104)
@@ -0,0 +1,76 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+include /usr/share/dpatch/dpatch.make
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+
+
+build: build-stamp
+build-stamp: patch-stamp
+ dh_testdir
+
+ $(MAKE) -C `pwd`/src
+
+ touch build-stamp
+
+clean: clean1 unpatch
+clean1:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+
+ # Add here commands to clean up after the build process.
+ [ ! -f "`pwd`/src/Makefile" ] || $(MAKE) -C `pwd`/src clean
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+ dh_install debian/3dchess.desktop usr/share/applications
+
+ $(MAKE) -C `pwd`/src install BINDIR=`pwd`/debian/3dchess/usr/games
+
+# 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_installchangelogs CHANGES
+ dh_installdocs
+ dh_installexamples
+ dh_installmenu
+ dh_desktop
+ dh_installman debian/3Dc.6
+ 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 clean1 patch unpatch
Property changes on: packages/trunk/3dchess/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
More information about the Pkg-games-commits
mailing list