--- gnushogi-1.4.1.orig/debian/changelog +++ gnushogi-1.4.1/debian/changelog @@ -0,0 +1,340 @@ +gnushogi (1.4.1-2) unstable; urgency=low + + * Set LIBDIR and friends at compile-time, so we look for opening book in + the location we install it to. + * Move opening book location into /usr/lib/games/gnushogi/. + + -- Yann Dirson Thu, 06 Feb 2014 22:51:04 +0100 + +gnushogi (1.4.1-1) unstable; urgency=low + + * New upstream release. + + -- Yann Dirson Thu, 16 Jan 2014 21:59:11 +0100 + +gnushogi (1.4.1~rc1-1) unstable; urgency=low + + * New upstream prerelease. + * No need for texi2hml any more, adjust packaging for new html filenames. + * Fixes most "implicit declarations" caught by build log scanner. + * Fix debian/watch to declare version=3, so version mangling works as + expected. + + -- Yann Dirson Wed, 18 Dec 2013 22:15:57 +0100 + +gnushogi (1.4.1~rc0-1) unstable; urgency=low + + * New upstream prerelease. + * All patches integrated upstream, dropped. + * Adjusted rules for building minishogi, now selectable using configure + flag. + * Activate --enable-xshogi (disabled by default in 1.4.0) and + --with-curses (just to be sure). + * No need to override paths to pattern files any more. + * Explicitly build HTML docs, not in upstream tarball any more. + Build-depend on texi2hml for this. + * Update debian/watch to see prerelease snapshots. + + -- Yann Dirson Wed, 04 Dec 2013 22:48:45 +0100 + +gnushogi (1.3.2-10) unstable; urgency=low + + * Fix mini-Shogi out-of-bounds access (H.G. Muller). + * Add a patch to honor LDFLAGS, so ld can be told to use relro. + * Bumped Standards-Version to 3.9.4, no change. + * Switched to debhelper 9. + + -- Yann Dirson Mon, 30 Sep 2013 00:36:48 +0200 + +gnushogi (1.3.2-9) unstable; urgency=low + + * Add the single new patch of interest to us that 1.4.0 brings upstream, + fixing a buffer overflow in InputCommand. + * Fix command for building info file (Closes: #645864) + * Add a debian/watch to prevent the "-latest" symlink from hiding the real + latest version. + + -- Yann Dirson Tue, 15 May 2012 23:16:13 +0200 + +gnushogi (1.3.2-8) unstable; urgency=low + + * Fixed Homepage field in debian/control, to point to the caltech site + which appears to be more reliable. + * Improve package short descriptions (lintian). + * New patch to deal with -Wformat-security (Closes: #643572): + 22-format-string.patch. + * New set of patches to improve MiniShogi player and fix it with + some (read) buffer overflows which surely did not make it stronger. + Buffer overflow detected by hardening flags and induced all this work. + * Explicitly declare source format 1.0. + * Bumped Standards-Version to 3.9.2, no change. + + -- Yann Dirson Thu, 29 Sep 2011 00:15:34 +0200 + +gnushogi (1.3.2-7) unstable; urgency=low + + * Reworked extended descriptions. + * Wrapped long lines in debian/rules for clarity. + * Build gnushogi in its own BUILD-std subdir. + * Activate build of the gnuminishogi binary, ship it in its own package. + * Added myself to the debian/copyright*. + * Dropped leftover .pc/ from source package. + * Bumped Standards-Version to 3.8.3, no change. + + -- Yann Dirson Sat, 05 Sep 2009 17:52:17 +0200 + +gnushogi (1.3.2-6) unstable; urgency=low + + * New maintainer. + * Switch packaging to cdbs + simple-patchsys. + * Dropped special handling of config.*, now handled by cdbs. + * Factorize common install options. + * Include my fixes+minishogi patch series (do not activate minishogi + build yet): + * 04-errno-fix.patch - Errno mis-redifinition. + * 03-proto-fix.patch - Fix a function prototype. + * 05-ai-overflow.patch - Integer overflow possibly handicaping the AI. + * 06-fix-runnaway.patch - Avoid eating 100% CPU on Ctrl-C. + * 10-out-of-tree.patch - Allow building out of source tree + * 11-refactor-enums.patch - Use enums. + * 12-refactor-constants.patch - Parametrize more hardcoded contants. + * 13-refactor-statify.patch - Statify functions when possible. + * 14-internals-doc.patch - Document some internal APIs. + * 20-minishogi.patch - Initial minishogi support. + * 21-gen-patterns.patch - Generate patterns.inc at build time. + * Adjust 21-gen-patterns.patch not to cause removal of patterns.inc, + since that confuses the patch system at clean-time. + * Save patterns.inc before building and resture it on clean, to avoid + spurious diffs. + * Build-depend on x11-utils instead of the obsolete xutils (lintian). + * Fixed "X Windows" typo in xshogi extended description. + * Make gnushogi suggest tagua as an alternative frontend. + * Reword gnushogi extended description to emphasize that the preferred + way to use it is through a graphical frontend. + * Remove mention to the Internet Shogi Server in xshogi description, + since that support was removed long ago upstream. + + -- Yann Dirson Thu, 20 Aug 2009 01:52:26 +0200 + +gnushogi (1.3.2-5) unstable; urgency=low + + * Removing vcs fields. + * Orphaning package. + + -- Daniel Baumann Sun, 09 Aug 2009 01:21:52 +0200 + +gnushogi (1.3.2-4) unstable; urgency=low + + * Reverting config.guess and config.sub to upstream. + * Upgrading package to debhelper 7. + * Upgrading package to standards 3.8.0. + * Adding vcs fields in control file. + * Removing watch file. + * Updating vcs fields in control file. + * Using patch-stamp rather than patch in rules file. + * Replacing obsolete dh_clean -k with dh_prep. + * Using correct rfc-2822 date formats in changelog. + * Updating package to standards 3.8.2. + * Sorting depends. + * Rewriting copyright file in machine-interpretable format. + * Adding longtitle and description fields in menu files. + * Using quilt rather than dpatch. + * Minimizing rules file. + * Wrapping build-depends. + + -- Daniel Baumann Mon, 03 Aug 2009 08:34:18 +0200 + +gnushogi (1.3.2-3) unstable; urgency=low + + * Bumped policy version. + * Using new homepage field in control. + * Fixed typo in abstract of doc-base. + * Don't hide make errors in clean target of rules. + * Added patch from Stijn van Drongelen to fix + segfault in gnushogi when asking for help (Closes: #434139). + + -- Daniel Baumann Sun, 23 Dec 2007 15:34:00 +0100 + +gnushogi (1.3.2-2) unstable; urgency=medium + + * Added patch from Rene Mayorga to add missing + header entries to the info file (Closes: #422032). + + -- Daniel Baumann Thu, 05 Jul 2007 14:50:00 +0200 + +gnushogi (1.3.2-1) unstable; urgency=low + + * New upstream release. + * Minor cleanups. + * Bumped package to debhelper 5. + + -- Daniel Baumann Tue, 01 May 2007 12:46:00 +0200 + +gnushogi (1.3-9) unstable; urgency=medium + + * really using -O0 on alpha to workaround FTBFS (Closes: #393075). + + -- Daniel Baumann Sun, 29 Oct 2006 14:31:00 +0200 + +gnushogi (1.3-8) unstable; urgency=medium + + * using -O0 on alpha to workaround FTBFS (Closes: #393075). + + -- Daniel Baumann Sat, 28 Oct 2006 19:58:00 +0200 + +gnushogi (1.3-7) unstable; urgency=low + + * New maintainer (Closes: #321334). + * Redone debian directory based on current debhelper templates. + * Using dpatch for upstream modifications now. + * Added .desktop from ubuntu. + + -- Daniel Baumann Mon, 11 Sep 2006 09:41:00 +0200 + +gnushogi (1.3-6) unstable; urgency=low + + * QA upload + * Change build-depends on libxaw8 to 7 to comply with XSF plans + + -- David Nusinow Sun, 26 Mar 2006 19:48:09 -0500 + +gnushogi (1.3-5) unstable; urgency=low + + * QA upload. + * Versions 1.3-3.1 and earlier used non-standard code for the /usr/doc + transition that didn't remove the symlink on upgrades; remove it in + the preinst. Closes: #338060. + * debian/copyright: Update FSF address. + + -- Matej Vela Mon, 23 Jan 2006 08:42:16 +0100 + +gnushogi (1.3-4) unstable; urgency=high + + * QA upload. + * Package is orphaned (see #321334); set maintainer to Debian QA Group. + * gnushogi/genmove.c: Fix conflicting declarations for gcc 4.0; thanks to + Andreas Jochens for the patch. Closes: #286876. + * Update X11 build dependencies. + * Switch to debhelper. + * doc/gnushogi.texinfo: Add directory entry for dh_installinfo. + * gnushogi/Makefile.in, xshogi/Makefile.in: Leave stripping to dh_strip + (which honors DEB_BUILD_OPTIONS=nostrip). + * debian/rules: + - Add support for DEB_BUILD_OPTIONS=noopt. + - Remove support for DEB_BUILD_OPTIONS=debug. + - Leave HTML files uncompressed. + * debian/copyright: Update upstream URL. + * debian/doc-base: Add. + * debian/watch: Add. + * Conforms to Standards version 3.6.2. + + -- Matej Vela Mon, 22 Aug 2005 10:16:33 +0200 + +gnushogi (1.3-3.1) unstable; urgency=low + + * NMU + - Minimal testing done and looks quite OK (even if I don't know + how to play the game...) + - Build-Depends move from libxaw-dev to libxaw6-dev (Closes: #169975) + - Included errno.h in gnushogi which makes the binary build properly + now (and is usable with xshogi) (Closes: #226319) + + -- Javier Fernandez-Sanguino Pen~a Fri, 09 Jan 2004 16:06:59 +0100 + +gnushogi (1.3-3) unstable; urgency=high + + * Added build dependency on xutils, flex, and bison. + (Closes: Bug#147134) + + -- Brian Mays Thu, 16 May 2002 06:16:58 -0400 + +gnushogi (1.3-1) unstable; urgency=high + + * New upstream version. (Closes: Bug#139722) + + -- Brian Mays Wed, 15 May 2002 15:12:32 -0400 + +gnushogi (1.2p03-14) unstable; urgency=medium + + * Modified postinst to ignore an existing /usr/doc/$package directory. + + -- Brian Mays Wed, 20 Mar 2002 11:16:42 -0500 + +gnushogi (1.2p03-13) unstable; urgency=low + + * Fixed symlink /usr/doc -> ../share/doc. + * Fixed reference to GPL. + * Improved stripping of binaries. + * Removed icon="none" from menu file. + * Improved the package description. + + -- Brian Mays Sun, 03 Feb 2002 13:23:19 -0500 + +gnushogi (1.2p03-12) unstable; urgency=low + + * Removed "-g" gcc option as per policy. + + -- Brian Mays Mon, 16 Jul 2001 19:38:15 -0400 + +gnushogi (1.2p03-11) unstable; urgency=low + + * Fixed typo in the debian/rules file causing the changelog file to + be suid root. (Closes: Bug#74461) + + -- Brian Mays Tue, 17 Oct 2000 13:07:48 -0400 + +gnushogi (1.2p03-10) frozen unstable; urgency=low + + * Added build-time dependencies. + + -- Brian Mays Mon, 17 Jan 2000 13:42:43 -0500 + +gnushogi (1.2p03-9) unstable; urgency=low + + * Fixed FHS /usr/doc -> /usr/share/doc transition scheme. + + -- Brian Mays Fri, 01 Oct 1999 13:06:12 -0400 + +gnushogi (1.2p03-8) unstable; urgency=low + + * Moved the doc and man data directories to under /usr/share as per + the FHS. + + -- Brian Mays Thu, 16 Sep 1999 15:53:03 -0400 + +gnushogi (1.2p03-7) unstable; urgency=low + + * Rebuilt to account for name change in package libncurses4. + + -- Brian Mays Sun, 01 Nov 1998 13:53:58 -0500 + +gnushogi (1.2p03-6) unstable; urgency=low + + * Libc6 release. + + -- Brian Mays Tue, 05 Aug 1997 17:05:18 -0400 + +gnushogi (1.2p03-5) frozen unstable; urgency=low + + * Fixed Debian menu support. + + -- Brian Mays Wed, 28 May 1997 15:36:13 -0400 + +gnushogi (1.2p03-4) unstable; urgency=low + + * Added Debian menu support. + + -- Brian Mays Sat, 19 Apr 1997 19:24:09 -0400 + +gnushogi (1.2p03-3) unstable; urgency=low + + * Renamed /usr/doc/gnushogi/CHANGES to changelog. + * Slightly modified the package description (Bug #6883). + + -- Brian Mays Tue, 28 Jan 1997 10:58:55 -0500 + +gnushogi (1.2p03-2) unstable; urgency=low + + * First release with the new source format. + + -- Brian Mays Fri, 23 Aug 1996 23:28:22 -0400 --- gnushogi-1.4.1.orig/debian/compat +++ gnushogi-1.4.1/debian/compat @@ -0,0 +1 @@ +9 --- gnushogi-1.4.1.orig/debian/control +++ gnushogi-1.4.1/debian/control @@ -0,0 +1,43 @@ +Source: gnushogi +Section: games +Priority: optional +Maintainer: Yann Dirson +Build-Depends: + debhelper (>= 9), cdbs, autotools-dev, bison, flex, libncurses-dev, + libxaw7-dev, texinfo, x11-utils +Standards-Version: 3.9.4 +Homepage: http://www.cs.caltech.edu/~mvanier/hacking/gnushogi/gnushogi.html + +Package: gnushogi +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Suggests: xshogi, tagua +Description: program to play shogi, the Japanese version of chess + Gnushogi is a computer player for Shogi (Japanese chess). + . + Gnushogi is a modified version of the gnuchess program. It can be + used through xshogi, tagua, kaya, or other graphical frontends, but + also has a simple alpha-numeric board display. + +Package: gnuminishogi +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Suggests: tagua +Description: program to play minishogi, a shogi variant on a 5x5 board + Gnuminishogi is a computer player for the MiniShogi variant of shogi + (Japanese chess). + . + Gnuminishogi is a modified version of the gnushogi program. It can be + used through tagua, kaya, or other graphical frontends, but also has a + simple alpha-numeric board display. + +Package: xshogi +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Recommends: gnushogi +Description: X11 frontend to gnushogi + Gnushogi is a computer player for Shogi (Japanese chess). + . + XShogi provides an X Window interface to play Shogi against gnushogi, + and can also be used as an interface for a game between two humans on + the same computer. --- gnushogi-1.4.1.orig/debian/copyright +++ gnushogi-1.4.1/debian/copyright @@ -0,0 +1,117 @@ +Author: Mike Vanier +Download: http://ftp.gnu.org/pub/gnu/gnushogi/ + +Files: * +Copyright: + (C) 1992 Free Software Foundation + (C) 1988-1990 John Stanback +License: GPL-1+ + 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 1 + 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 program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, 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 file. + +Files: gnushogi/* +Copyright: + (C) 2008-2009 Yann Dirson + (C) 1999 Michael Vanier + (C) 1999 Free Software Foundation + (C) 1993-1995 Matthias Mutz +License: GPL-1+ + 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 1 + 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 program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, 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 file. + +Files: xshogi/* +Copyright: + (C) Dan Sears + (C) Chris Sears + (C) Tim Mann + (C) Matthias Mutz +License: GPL-1+ + 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 1 + 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 program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, 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 file. + +Files: xshogi/*bitmaps/* +Copyright: + (C) 1999 Michael Vanier + (C) 1992-1999 Free Software Foundation + (C) 1993-1995 Matthias Mutz + (C) 1991 Digital Equipment Corporation, Maynard, Massachusetts +License: MIT + Permission to use, copy, modify, and distribute this software and its + documentation for any purpose and without fee is hereby granted, + provided that the above copyright notice appear in all copies and that + both that copyright notice and this permission notice appear in + supporting documentation, and that the name of Digital not be + used in advertising or publicity pertaining to distribution of the + software without specific, written prior permission. + + DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING + ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL + DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR + ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, + WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, + ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS + SOFTWARE. + +Files: debian/* +Copyright: (C) 2006-2009 Daniel Baumann + (C) 2009 Yann Dirson +License: MIT + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. --- gnushogi-1.4.1.orig/debian/desktop/xshogi.desktop +++ gnushogi-1.4.1/debian/desktop/xshogi.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Encoding=UTF-8 +Type=Application +Name=Xshogi +Comment=Play Shogi Game +Exec=xshogi +Icon=grisbi.png +Terminal=false +Categories=Application;Game; --- gnushogi-1.4.1.orig/debian/gnuminishogi.copyright +++ gnushogi-1.4.1/debian/gnuminishogi.copyright @@ -0,0 +1,72 @@ +Authors: + Mike Vanier + Yann Dirson +Download: http://ftp.gnu.org/pub/gnu/gnushogi/ + +Files: * +Copyright: + (C) 1992 Free Software Foundation + (C) 1988-1990 John Stanback +License: GPL-1+ + 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 1 + 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 program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, 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 file. + +Files: gnushogi/* +Copyright: + (C) 2008-2009 Yann Dirson + (C) 1999 Michael Vanier + (C) 1999 Free Software Foundation + (C) 1993-1995 Matthias Mutz +License: GPL-1+ + 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 1 + 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 program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, 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 file. + +Files: debian/* +Copyright: (C) 2006-2009 Daniel Baumann + (C) 2009 Yann Dirson +License: MIT + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. --- gnushogi-1.4.1.orig/debian/gnuminishogi.menu +++ gnushogi-1.4.1/debian/gnuminishogi.menu @@ -0,0 +1,4 @@ +?package(gnuminishogi):needs="text" section="Games/Board"\ + title="GNU MiniShogi" longtitle="A program to play minishogi, a variant of shogi on a 5x5 board."\ + description="Gnuminishogi plays a game of MiniShogi against the user or it plays against itself."\ + command="/usr/games/gnuminishogi" --- gnushogi-1.4.1.orig/debian/gnushogi.doc-base +++ gnushogi-1.4.1/debian/gnushogi.doc-base @@ -0,0 +1,14 @@ +Document: gnushogi +Title: GNU Shogi manual +Author: Michael C. Vanier +Abstract: This document describes GNU Shogi, a program which plays Japanese + chess (shogi) against a human opponent. +Section: Games/Board + +Format: info +Index: /usr/share/info/gnushogi.info.gz +Files: /usr/share/info/gnushogi.info*.gz + +Format: HTML +Index: /usr/share/doc/gnushogi/html/index.html +Files: /usr/share/doc/gnushogi/html/*.html --- gnushogi-1.4.1.orig/debian/gnushogi.docs +++ gnushogi-1.4.1/debian/gnushogi.docs @@ -0,0 +1,6 @@ +NEWS +README +doc/BOOKFILES +doc/shogi.rules +doc/tutorial*.gam +TODO --- gnushogi-1.4.1.orig/debian/gnushogi.info +++ gnushogi-1.4.1/debian/gnushogi.info @@ -0,0 +1 @@ +doc/gnushogi.info* --- gnushogi-1.4.1.orig/debian/gnushogi.install +++ gnushogi-1.4.1/debian/gnushogi.install @@ -0,0 +1 @@ +BUILD-std/doc/gnushogi/*.html /usr/share/doc/gnushogi/html --- gnushogi-1.4.1.orig/debian/gnushogi.menu +++ gnushogi-1.4.1/debian/gnushogi.menu @@ -0,0 +1,4 @@ +?package(gnushogi):needs="text" section="Games/Board"\ + title="GNU Shogi" longtitle="A program to play shogi, the Japanese version of chess."\ + description="Gnushogi plays a game of Shogi (Japanese chess) against the user or it plays against itself."\ + command="/usr/games/gnushogi" --- gnushogi-1.4.1.orig/debian/rules +++ gnushogi-1.4.1/debian/rules @@ -0,0 +1,95 @@ +#!/usr/bin/make -f + +# WARNING: +# This debian/rules uses black magic to warp cdbs into building 2 binaries +# from the same autotools-style source package. This was done with cdbs 0.4.61 +# and may need updating as the cdbs internals evolve. Hopefully their +# evolution will in the end allow to wipe the magic :) + + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk +include /usr/share/cdbs/1/class/autotools.mk + +## configure stage + +DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH) + +ifeq ($(DEB_BUILD_ARCH),alpha) + CFLAGS += -O0 +endif + +DEB_BUILDDIR_gnushogi=BUILD-std +DEB_BUILDDIR_gnuminishogi=BUILD-mini + +# counter-magic to avoid --srcdir=. +DEB_BUILDDIR=BUILD-dummy + +# ignore standard configure invocation ... +DEB_CONFIGURE_INVOKE= + +# ... instead we cause tow runs in two subdirs +.PHONY: $(DEB_BUILDDIR)/config.status +$(DEB_BUILDDIR)/config.status: \ + $(DEB_BUILDDIR_gnushogi)/config.status \ + $(DEB_BUILDDIR_gnuminishogi)/config.status + +# we have to change slightly how configure is called: +#DEB_CONFIGURE_SCRIPT=../configure +GS_CONFIGURE_INVOKE=$(DEB_CONFIGURE_SCRIPT) $(DEB_CONFIGURE_SCRIPT_ENV) $(DEB_CONFIGURE_NORMAL_ARGS) --enable-xshogi --with-curses + +$(DEB_BUILDDIR_gnushogi)/config.status:: + mkdir -p $(DEB_BUILDDIR_gnushogi) + cd $(DEB_BUILDDIR_gnushogi) && $(GS_CONFIGURE_INVOKE) + +$(DEB_BUILDDIR_gnuminishogi)/config.status:: + mkdir -p $(DEB_BUILDDIR_gnuminishogi) + cd $(DEB_BUILDDIR_gnuminishogi) && $(GS_CONFIGURE_INVOKE) --enable-minishogi + + +## build stage + +# standard rule does not support multi-dir +debian/stamp-makefile-build: + true + touch $@ + +GS_MAKE_INVOKE=$(DEB_MAKE_ENVVARS) $(MAKE) -C $(DEB_BUILDDIR) $(DEB_MAKE_EXTRA_ARGS) \ + $(COMMON_INSTALL_OPTS) + +build/gnushogi build/xshogi:: DEB_BUILDDIR=$(DEB_BUILDDIR_gnushogi) +build/gnushogi build/xshogi:: $(DEB_BUILDDIR_gnushogi)/config.status + $(GS_MAKE_INVOKE) + $(DEB_MAKE_ENVVARS) $(MAKE) -C $(DEB_BUILDDIR)/doc $(DEB_MAKE_EXTRA_ARGS) html + +build/gnuminishogi:: DEB_BUILDDIR=$(DEB_BUILDDIR_gnuminishogi)/gnushogi +build/gnuminishogi:: $(DEB_BUILDDIR_gnuminishogi)/config.status + $(GS_MAKE_INVOKE) gnuminishogi + +binary-arch/gnushogi:: + $(MAKE) -C doc + +clean:: + rm -rf $(DEB_BUILDDIR_gnushogi) $(DEB_BUILDDIR_gnuminishogi) + +## install stage + +# do not out-guess debian/*.docs +DEB_INSTALL_DOCS_ALL= + +# ignore standard "make install", we do it per-package +DEB_MAKE_INSTALL_TARGET= + +COMMON_INSTALL_OPTS= \ + BINDIR=\$${prefix}/games \ + LIBDIR=\$${prefix}/lib/games/gnushogi \ + MANDIR=\$${prefix}/share/man/man6 \ + INFODIR=\$${prefix}/share/info + +install/gnushogi:: + $(MAKE) $(COMMON_INSTALL_OPTS) -C BUILD-std/gnushogi prefix=$(CURDIR)/debian/gnushogi/usr install +install/xshogi:: + $(MAKE) $(COMMON_INSTALL_OPTS) -C BUILD-std/xshogi prefix=$(CURDIR)/debian/xshogi/usr install +install/gnushogi:: + install -D -m755 BUILD-mini/gnushogi/gnuminishogi \ + debian/gnuminishogi/usr/games/gnuminishogi --- gnushogi-1.4.1.orig/debian/source/format +++ gnushogi-1.4.1/debian/source/format @@ -0,0 +1 @@ +1.0 --- gnushogi-1.4.1.orig/debian/watch +++ gnushogi-1.4.1/debian/watch @@ -0,0 +1,5 @@ +version=3 +http://ftp.gnu.org/pub/gnu/gnushogi/gnushogi-([0-9].*).tar.(?:gz|bz2|xz) + +opts=uversionmangle=s/-rc/~rc/ \ + http://alpha.gnu.org/gnu/gnushogi/gnushogi-([0-9].*-rc[0-9]*).tar.(?:gz|bz2|xz) --- gnushogi-1.4.1.orig/debian/xshogi.docs +++ gnushogi-1.4.1/debian/xshogi.docs @@ -0,0 +1,2 @@ +NEWS +README --- gnushogi-1.4.1.orig/debian/xshogi.install +++ gnushogi-1.4.1/debian/xshogi.install @@ -0,0 +1 @@ +debian/desktop/* /usr/share/applications --- gnushogi-1.4.1.orig/debian/xshogi.menu +++ gnushogi-1.4.1/debian/xshogi.menu @@ -0,0 +1,4 @@ +?package(xshogi):needs="x11" section="Games/Board"\ + title="XShogi" longtitle="An X Window System Japanese Chess (Shogi) Board."\ + description="Gnushogi plays a game of Japanese chess (shogi) against the user or it plays against itself."\ + command="/usr/games/xshogi"