r4919 - in packages/trunk: . xbattle xbattle/debian xbattle/debian/patches
Barry deFreese
bddebian-guest at alioth.debian.org
Thu Dec 13 19:47:39 UTC 2007
Author: bddebian-guest
Date: 2007-12-13 19:47:39 +0000 (Thu, 13 Dec 2007)
New Revision: 4919
Added:
packages/trunk/xbattle/
packages/trunk/xbattle/debian/
packages/trunk/xbattle/debian/README.Debian
packages/trunk/xbattle/debian/changelog
packages/trunk/xbattle/debian/compat
packages/trunk/xbattle/debian/control
packages/trunk/xbattle/debian/copyright
packages/trunk/xbattle/debian/docs
packages/trunk/xbattle/debian/examples
packages/trunk/xbattle/debian/install
packages/trunk/xbattle/debian/menu
packages/trunk/xbattle/debian/patches/
packages/trunk/xbattle/debian/patches/01_pseudo_color.patch
packages/trunk/xbattle/debian/patches/series
packages/trunk/xbattle/debian/rules
Log:
Inject new package: xbattle
Added: packages/trunk/xbattle/debian/README.Debian
===================================================================
--- packages/trunk/xbattle/debian/README.Debian (rev 0)
+++ packages/trunk/xbattle/debian/README.Debian 2007-12-13 19:47:39 UTC (rev 4919)
@@ -0,0 +1,58 @@
+Starting xbattle
+----------------
+
+xbattle does not start without parameters defining at least one
+player. The parameters can be given on the commandline or in a file
+.xbattle in the home-directory. This implies that xbattle can only be
+started by a menu if .xbattle is created appropriately. See the
+man-page for details.
+
+examples/tutorial1.gz and examples/tutorial2.gz are two shellscripts to
+demonstrate the possible parameters for xbattle. Unpack them by:
+
+cp /usr/share/doc/xbattle/examples/tutorial?.gz /tmp
+cd /tmp
+gunzip tutorial1.gz tutorial2.gz
+chmod +x tutorial1 tutorial2
+
+and then start the tutorials by:
+
+./tutorial1
+
+and
+
+./tutorial2
+
+
+Transition to XBattleAI
+-----------------------
+
+From the XBattle-Homepage:
+
+ ***IMPORTANT NOTICE***
+ There has been no work done on xbattle since 9/1/96
+
+xbattle seems to be bug free or unused, at least noone filed a bug for
+a long time... Anyway, I'll package XBattleAI
+(http://www.lysator.liu.se/~mbrx/XBattleAI) in the near future which
+is an unofficial continuation of XBattle. So stay tuned!
+
+
+X-Problems
+----------
+
+If your X-server is running with more than 16 bpp (bits per pixel aka
+color depth), you'll most probably get the following error message:
+
+WARNING: No PseudoColor visual available
+ Try changing display to <= 16 bits
+
+This is yet another sign that the xbattle development stopped some
+while ago... XBattleAI seems to cope with recent X colordepths which
+is one more reason for me to abandon this xbattle-package and use
+XBattleAI instead.
+
+
+
+-- Thimo Neubauer <thimo at debian.org>
+
Added: packages/trunk/xbattle/debian/changelog
===================================================================
--- packages/trunk/xbattle/debian/changelog (rev 0)
+++ packages/trunk/xbattle/debian/changelog 2007-12-13 19:47:39 UTC (rev 4919)
@@ -0,0 +1,134 @@
+xbattle (5.4.1-14) unstable; urgency=low
+
+ [ Barry deFreese ]
+ * New maintainer (Closes: #357751)
+ + Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
+ * Add quilt patching system
+ * New patch 01_pseudo_color.patch (Closes: #241334)
+ + Remove checks for PseudoColor and color depth
+ + Thanks to Peter De Wachter for the patch
+ * Add VCS fields to control
+ * Bump standards version to 3.7.3
+
+ -- Barry deFreese <bddebian at comcast.net> Wed, 12 Dec 2007 16:57:44 -0500
+
+xbattle (5.4.1-13) unstable; urgency=low
+
+ * QA upload.
+ * Package is orphaned (#357751); set maintainer to Debian QA Group.
+ * Acknowledge NMU. Closes: #346776.
+ * Switch to debhelper 5.
+ * debian/menu: Add quotes to placate Lintian.
+ * Conforms to Standards version 3.6.2.
+
+ -- Matej Vela <vela at debian.org> Wed, 5 Apr 2006 12:13:47 +0200
+
+xbattle (5.4.1-12.1) unstable; urgency=high
+
+ * Non-maintainer upload.
+ * High-urgency upload for RC bugfix.
+ * Build-depend on libx11-dev and x-dev instead of on the obsolete
+ xlibs-dev; thanks to Justin Pryzby <justinpryzby at users.sf.net> for
+ testing. Closes: #346776.
+
+ -- Steve Langasek <vorlon at debian.org> Fri, 20 Jan 2006 10:53:30 -0800
+
+xbattle (5.4.1-12) unstable; urgency=low
+
+ * xbattle.man: added "DESCRIPTION" to get formatting right
+ (closes: #159663)
+ * debian/rules: changed CFLAGS to comply to new policy
+ * upgraded to standards version 3.5.7
+ * README.Debian: added passage about xbattle not working on > 16bpp
+ displays :-(
+
+ -- Thimo Neubauer <thimo at debian.org> Fri, 6 Sep 2002 15:21:39 +0200
+
+xbattle (5.4.1-11) unstable; urgency=low
+
+ * Imakefile: correctly defined DEFAULT_*_DIR (closes: #149950)
+ * debian/rules: don't use CFLAGS when invoking make, it kills all the
+ imake-defines
+
+ -- Thimo Neubauer <thimo at debian.org> Fri, 21 Jun 2002 10:24:44 +0200
+
+xbattle (5.4.1-10) unstable; urgency=low
+
+ * nothing at all happened with this package (no bugs filed!!), but I'm
+ updating the packaging anyway...
+ * debian/rules: added support for "debug" in DEB_BUILD_OPTIONS,
+ "nostrip" should also work (dh_strip knows the option)
+ * corrected header of manpage
+ * debian/rules: use dh_installman to install manpage
+ * debian/rules: cleaned up a bit
+ * debian/control: added Build-Depends
+ * upgraded to standards version 3.5.6.0
+ * debian/menu: moved menu-entry to Games/Strategy
+ * README.Debian: talk about abandoned sources :-( More explanation on
+ how to start the tutorials
+
+ -- Thimo Neubauer <thimo at debian.org> Sun, 24 Mar 2002 14:28:26 +0100
+
+xbattle (5.4.1-9) unstable; urgency=low
+
+ * included glibc 2.1 patch by Christian Meder, closes: #32241
+ * moved tutorials to examples-directory
+ * upgraded to standards version 3.0.0
+
+ -- Thimo Neubauer <thimo at debian.org> Sat, 30 Oct 1999 16:07:26 +0200
+
+xbattle (5.4.1-8) unstable; urgency=low
+
+ * updated policy to 2.4.1.0
+
+ -- Thimo Neubauer <thimo at debian.org> Sun, 13 Sep 1998 23:03:04 +0200
+
+xbattle (5.4.1-7.1) frozen unstable; urgency=low
+
+ * non maintainer, sparc only upload
+ * fix string function declarations for glibc2.1
+
+ -- Christian Meder <meder at isr.uni-stuttgart.de> Thu, 7 Jan 1999 10:47:05 +0100
+
+xbattle (5.4.1-7) unstable; urgency=low
+
+ * Added README.Debian to explain why xbattle can't be started by the
+ menu without ~/.xbattle
+ * Changed menu-entry from Apps/Games/Board to Games/Board
+ * Changed debian/rules to debhelper
+ * New maintainer
+
+ -- Thimo Neubauer <thimo at debian.org> Tue, 4 Aug 1998 17:11:09 +0200
+
+xbattle (5.4.1-6) unstable; urgency=low
+
+ * Removed INSTALL file from binary package docs (#13209).
+
+ -- Joey Hess <joeyh at master.debian.org> Tue, 23 Jun 1998 23:44:28 -0700
+
+xbattle (5.4.1-5) unstable; urgency=low
+
+ * Rebuilt to fix mixed dependancies.
+ * Listed maintainer as qa group as package is orphaned.
+
+ -- Joey Hess <joeyh at master.debian.org> Sat, 6 Dec 1997 16:10:35 -0500
+
+xbattle (5.4.1-4) unstable; urgency=low
+
+ * Recompiled for libc6.
+
+ -- Karl Sackett <krs at debian.org> Wed, 18 Jun 1997 10:10:11 -0500
+
+xbattle (5.4.1-3) unstable; urgency=low
+
+ * Converted to new package standards.
+
+ -- Karl Sackett <krs at debian.org> Mon, 28 Oct 1996 07:54:06 -0600
+
+5.4.1-2
+ * support files now architecture-independent
+5.4.1-1
+ * Added Debian support files.
+ * Imakefile: library files go to /usr/lib/games/xbattle.
+
+
Added: packages/trunk/xbattle/debian/compat
===================================================================
--- packages/trunk/xbattle/debian/compat (rev 0)
+++ packages/trunk/xbattle/debian/compat 2007-12-13 19:47:39 UTC (rev 4919)
@@ -0,0 +1 @@
+5
Added: packages/trunk/xbattle/debian/control
===================================================================
--- packages/trunk/xbattle/debian/control (rev 0)
+++ packages/trunk/xbattle/debian/control 2007-12-13 19:47:39 UTC (rev 4919)
@@ -0,0 +1,25 @@
+Source: xbattle
+Section: games
+Priority: optional
+Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
+Uploaders: Barry deFreese <bddebian at comcast.net>
+Build-Depends: debhelper (>= 5), quilt, libx11-dev, x-dev, xutils
+Standards-Version: 3.7.3
+Vcs-Svn: ssh://svn.debian.org/svn/pkg-games/packages/trunk/xbattle/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/packages/trunk/xbattle/?op=log
+
+Package: xbattle
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: Concurrent multi-player battle strategy game
+ xbattle is a concurrent multi-player game which combines elements of
+ strategy with arcade-like action to capture a wide range of military
+ scenarios. Opponents play from separate displays, with commands being
+ executed concurrently -- the players do not take "turns", but rather they
+ all issue their commands simultaneously. There can be any number of
+ players, with each player assigned to a specific team, indicated by marker
+ colors. The game board is a matrix of cells (square, hexes, etc.) that can
+ be occupied by colored troops, with the goal of the game being to eliminate
+ the enemy from the board by attacking cells occupied by enemy troops. A
+ wide variety of command line options (and previously configured game files)
+ provide an abundance of different scenarios and gaming environments.
Added: packages/trunk/xbattle/debian/copyright
===================================================================
--- packages/trunk/xbattle/debian/copyright (rev 0)
+++ packages/trunk/xbattle/debian/copyright 2007-12-13 19:47:39 UTC (rev 4919)
@@ -0,0 +1,102 @@
+This is the Debian GNU/Linux prepackaged version of xbattle.
+
+This package was originally put together by Karl Sackett <krs at debian.org>,
+right now the maintainer is Thimo Neubauer <thimo at debian.org>.
+
+Package maintenance moved to Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
+on Wed, 12-Dec-2007
+
+The sources were obtained from:
+
+ ftp://cns-ftp.bu.edu/pub/xbattle/xbattle-5.4.1.tar.gz
+
+More information can be found at
+
+ http://cns-web.bu.edu/pub/xpip/html/xbattle.html
+
+
+License:
+
+ COPYRIGHT: COPYING POLICIES
+
+1. You may copy and distribute verbatim copies of xbattle source
+code as you receive it, in any medium, provided that you conspicuously
+and appropriately publish on each copy a valid copyright notice
+"Copyright (C) 1995 Steve Lehar and Greg Lesher" (or with whatever year
+is appropriate); keep intact the notices on all files that refer to this
+License Agreement and to the absence of any warranty; and give any
+other recipients of the xbattle program a copy of this License
+Agreement along with the program. You may charge a distribution fee
+for the physical act of transferring a copy.
+
+2. You may modify your copy or copies of xbattle source code or any
+portion of it, and copy and distribute such modifications under the
+terms of Paragraph 1 above, provided that you also do the following:
+
+ a) cause the modified files to carry prominent notices stating
+ that you changed the files and the date of any change; and
+
+ b) cause the whole of any work that you distribute or publish,
+ that in whole or in part contains or is a derivative of xbattle
+ or any part thereof, to be licensed at no charge to all third
+ parties on terms identical to those contained in this License
+ Agreement (except that you may choose to grant more extensive
+ warranty protection to some or all third parties, at your option).
+
+ c) You may charge a distribution fee for the physical act of
+ transferring a copy, and you may at your option offer warranty
+ protection in exchange for a fee.
+
+Mere aggregation of another unrelated program with this program (or its
+derivative) on a volume of a storage or distribution medium does not bring
+the other program under the scope of these terms.
+
+3. You may copy and distribute xbattle (or a portion or derivative of it,
+under Paragraph 2) in object code or executable form under the terms of
+Paragraphs 1 and 2 above provided that you also do one of the following:
+
+ a) accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of
+ Paragraphs 1 and 2 above; or,
+
+ b) accompany it with a written offer, valid for at least three
+ years, to give any third party free (except for a nominal
+ shipping charge) a complete machine-readable copy of the
+ corresponding source code, to be distributed under the terms of
+ Paragraphs 1 and 2 above; or,
+
+ c) accompany it with the information you received as to where the
+ corresponding source code may be obtained. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form alone.)
+
+For an executable file, complete source code means all the source code for
+all modules it contains; but, as a special exception, it need not include
+source code for modules which are standard libraries that accompany the
+operating system on which the executable file runs.
+
+4. You may not copy, sublicense, distribute or transfer xbattle
+except as expressly provided under this License Agreement. Any attempt
+otherwise to copy, sublicense, distribute or transfer xbattle is void and
+your rights to use xbattle under this License agreement shall be
+automatically terminated. However, parties who have received computer
+software programs from you with this License Agreement will not have
+their licenses terminated so long as such parties remain in full compliance.
+
+ NO WARRANTY
+
+BECAUSE XBATTLE IS LICENSED FREE OF CHARGE, WE PROVIDE ABSOLUTELY NO
+WARRANTY, TO THE EXTENT PERMITTED BY APPLICABLE STATE LAW. THE ENTIRE
+RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.
+SHOULD THE XBATTLE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
+NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW WILL STEVE LEHAR, GREG
+LESHER, OR ANY OTHER PARTY WHO MAY MODIFY AND REDISTRIBUTE XBATTLE AS
+PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY LOST PROFITS,
+LOST MONIES, OR OTHER SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY THIRD PARTIES
+OR A FAILURE OF THE PROGRAM TO OPERATE WITH PROGRAMS NOT DISTRIBUTED BY STEVE
+LEHAR OR GREG LESHER) THE PROGRAM, EVEN IF YOU HAVE BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES, OR FOR ANY CLAIM BY ANY OTHER PARTY.
Added: packages/trunk/xbattle/debian/docs
===================================================================
--- packages/trunk/xbattle/debian/docs (rev 0)
+++ packages/trunk/xbattle/debian/docs 2007-12-13 19:47:39 UTC (rev 4919)
@@ -0,0 +1,2 @@
+README
+xbattle.dot
Added: packages/trunk/xbattle/debian/examples
===================================================================
--- packages/trunk/xbattle/debian/examples (rev 0)
+++ packages/trunk/xbattle/debian/examples 2007-12-13 19:47:39 UTC (rev 4919)
@@ -0,0 +1,2 @@
+tutorial1
+tutorial2
Added: packages/trunk/xbattle/debian/install
===================================================================
--- packages/trunk/xbattle/debian/install (rev 0)
+++ packages/trunk/xbattle/debian/install 2007-12-13 19:47:39 UTC (rev 4919)
@@ -0,0 +1,2 @@
+xbattle usr/games
+xbas xbos xbts usr/lib/games/xbattle
Added: packages/trunk/xbattle/debian/menu
===================================================================
--- packages/trunk/xbattle/debian/menu (rev 0)
+++ packages/trunk/xbattle/debian/menu 2007-12-13 19:47:39 UTC (rev 4919)
@@ -0,0 +1,2 @@
+?package(xbattle):needs="x11" section="Games/Strategy" title="Xbattle" \
+ command="/usr/games/xbattle"
Added: packages/trunk/xbattle/debian/patches/01_pseudo_color.patch
===================================================================
--- packages/trunk/xbattle/debian/patches/01_pseudo_color.patch (rev 0)
+++ packages/trunk/xbattle/debian/patches/01_pseudo_color.patch 2007-12-13 19:47:39 UTC (rev 4919)
@@ -0,0 +1,73 @@
+Index: xbattle-5.4.1/window.c
+===================================================================
+--- xbattle-5.4.1.orig/window.c 2007-12-12 00:43:42.000000000 +0100
++++ xbattle-5.4.1/window.c 2007-12-12 00:44:35.000000000 +0100
+@@ -708,8 +708,7 @@
+ unsigned long valuemask;
+ XSetWindowAttributes attrib;
+ XVisualInfo vinfo;
+- long event_mask,
+- full_depth;
++ long event_mask;
+ Atom wm_delete_window;
+
+ /** Open display and screen **/
+@@ -742,36 +741,11 @@
+ /** Set bitplane depth to default **/
+
+ xwindow->depth = DefaultDepth (xwindow->display, xwindow->screen);
+- full_depth = xwindow->depth;
+
+ /** Get a visual **/
+
+ visual = DefaultVisual (xwindow->display, xwindow->screen);
+
+- /** Try to force the display to 8 planes **/
+-
+- if (xwindow->depth != 8)
+- {
+- if (XMatchVisualInfo
+- (xwindow->display, xwindow->screen, 8, PseudoColor, &vinfo))
+- {
+- visual = vinfo.visual;
+- xwindow->depth = 8;
+- }
+- }
+-
+- /** If couldn't find an 8 bit visual, try a 16 bit visual **/
+-
+- if (xwindow->depth != 8)
+- {
+- if (XMatchVisualInfo
+- (xwindow->display, xwindow->screen, 16, PseudoColor, &vinfo))
+- {
+- visual = vinfo.visual;
+- xwindow->depth = 16;
+- }
+- }
+-
+ /** If have less than 8 planes, just use a single plane **/
+
+ if (xwindow->depth < 8)
+@@ -790,20 +764,8 @@
+ #else
+ /** Allocate existing colormap **/
+
+- if (full_depth > 8)
++ if (xwindow->depth > 8)
+ {
+- /** XBattle won't work for 24 bit displays with no optional **/
+- /** visuals with 8 or 16 bits. This may be the case on some PCs. **/
+- /** In these cases, it may be possible to reconfigure the display **/
+- /** to 8 or 16 bits. **/
+-
+- if (xwindow->depth > 16)
+- {
+- throw_warning ("No PseudoColor visual available\n%s",
+- " Try changing display to <= 16 bits");
+- throw_error ("Unable to continue without colormap", NULL);
+- }
+-
+ /** If display is 24 bit, have to create a dedicated colormap **/
+
+ xwindow->cmap = XCreateColormap (xwindow->display,
Added: packages/trunk/xbattle/debian/patches/series
===================================================================
--- packages/trunk/xbattle/debian/patches/series (rev 0)
+++ packages/trunk/xbattle/debian/patches/series 2007-12-13 19:47:39 UTC (rev 4919)
@@ -0,0 +1 @@
+01_pseudo_color.patch
Added: packages/trunk/xbattle/debian/rules
===================================================================
--- packages/trunk/xbattle/debian/rules (rev 0)
+++ packages/trunk/xbattle/debian/rules 2007-12-13 19:47:39 UTC (rev 4919)
@@ -0,0 +1,64 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+include /usr/share/quilt/quilt.make
+
+CDEBUGFLAGS = -Wall -g
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CDEBUGFLAGS += -O0
+else
+ CDEBUGFLAGS += -O2
+endif
+
+build: build-stamp
+build-stamp:
+ dh_testdir
+
+ xmkmf
+ $(MAKE) CDEBUGFLAGS="$(CDEBUGFLAGS)"
+
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+
+ [ ! -f Makefile ] || $(MAKE) distclean
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ dh_install
+
+# Build architecture-independent files here.
+binary-indep: build install
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs
+ dh_installdocs
+ dh_installexamples
+ dh_installmenu
+ dh_installman xbattle.man
+ 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
Property changes on: packages/trunk/xbattle/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
More information about the Pkg-games-commits
mailing list