xblast-tnt (2.10.4-3) debian-dir only changes

Summary

 debian/changelog |   93 ++++++++++++++++++++++++++++++++++++
 debian/control   |   48 ++++++++++++++++++
 debian/copyright |   32 ++++++++++++
 debian/menu      |   12 ++++
 debian/overrides |    1 
 debian/postinst  |   10 +++
 debian/postrm    |    6 ++
 debian/rules     |  139 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 debian/watch     |    3 +
 9 files changed, 344 insertions(+)

    
download this patch

Patch contents

--- xblast-tnt-2.10.4.orig/debian/changelog
+++ xblast-tnt-2.10.4/debian/changelog
@@ -0,0 +1,93 @@
+xblast-tnt (2.10.4-3) unstable; urgency=low
+
+  * debian/menu: Adapt to new menu policy: s/Arcade/Action/.
+  * Add dummy xblast package for transitioning to xblast-tnt, and removed
+    README.Debian because of that.
+  * Make the dummy packages Arch: all.
+  * Updated config.{guess,sub}.
+
+ -- Gerfried Fuchs <rhonda@debian.at>  Wed, 11 Jul 2007 13:28:27 +0200
+
+xblast-tnt (2.10.4-2) unstable; urgency=medium
+
+  * Made the Conflicts/Replaces to xblast-tnt-mini versioned so that the dummy
+    package can be installed, and adapted its package description accordingly
+    (closes: #377849)
+  * Added versioned depends in xblast-tnt-mini so partial upgrades won't
+    happen.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Wed, 12 Jul 2006 03:29:18 -0500
+
+xblast-tnt (2.10.4-1) unstable; urgency=low
+
+  * New upstream release.
+  * Get rid of the additional xblast-tnt-mini package, and add an SMPF binary,
+    too (closes: #366537)
+  * Run autogen.sh.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Mon, 19 Jun 2006 07:26:56 -0500
+
+xblast-tnt (2.10.2-5) unstable; urgency=low
+
+  * Applied patch from Samuel Thibault to make build work for GNU/Hurd.
+    This is the same one like in #361730 for the xblast package.
+  * Bumped standards version to 3.7.2.
+  * Updated FSF address in debian/copyright.
+  * Fixed glitch in manpage.
+  * Installed menu file into /usr/share/menu instead of /usr/lib/menu.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Sat, 20 May 2006 22:10:54 -0500
+
+xblast-tnt (2.10.2-4) unstable; urgency=low
+
+  * Fixed watch file with version 3.
+  * Bumped Standards-Version, no changes needed.
+  * Applied patch from Aurelien Jarno for fixing (k)FreeBSD support.
+    (closes: #336893)
+
+ -- Gerfried Fuchs <alfie@debian.org>  Fri, 02 Dec 2005 11:08:47 +0100
+
+xblast-tnt (2.10.2-3) unstable; urgency=high
+
+  * The "Happy Birthday, NForcer!" release
+  * Uups, let the binary packages depend on their shlibs. This is the reason
+    for the urgency, the binaries had no shlib dependencies at all....
+  * Changed Build-Depends from xlibs-dev to only libxt-dev.
+  * Added md5sums files.
+  * Added overrides files for lintian, the menu icons are in the
+    xblast-tnt-images package which we Depend on.
+  * Ship features.html in documentation (closes: #306109)
+
+ -- Gerfried Fuchs <alfie@debian.org>  Tue, 03 May 2005 10:56:00 +0200
+
+xblast-tnt (2.10.2-2) unstable; urgency=high
+
+  * Fix for rename player segfault from upstream CVS applied (closes: #306337)
+
+ -- Gerfried Fuchs <alfie@debian.org>  Wed, 27 Apr 2005 23:44:16 +0200
+
+xblast-tnt (2.10.2-1) unstable; urgency=medium
+
+  * New upstream release. This is a major bugfix release and should go into
+    sarge.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Mon, 18 Apr 2005 14:59:30 +0200
+
+xblast-tnt (2.10.0-1) unstable; urgency=low
+
+  * New upstream release, including fixes for the following bugs:
+    - program crashs (closes: #276552)
+    - Crash when searching for online games (closes: #274941)
+    - ftbfs [sparc] /usr/bin/ld: cannot find -lsocket (closes: #287605)
+  * Updated description in control file, added Suggests for xblast-tnt-musics
+    (which is in NEW currently, though).
+  * Activated watch file, though being upstream release manager eliminates
+    most of its purpose.  :)
+
+ -- Gerfried Fuchs <alfie@debian.org>  Tue, 25 Jan 2005 21:01:37 +0100
+
+xblast-tnt (2.9.22-1) unstable; urgency=low
+
+  * Initial Release (closes: #254606)
+
+ -- Gerfried Fuchs <alfie@debian.org>  Fri, 20 Aug 2004 18:40:32 +0200
--- xblast-tnt-2.10.4.orig/debian/menu
+++ xblast-tnt-2.10.4/debian/menu
@@ -0,0 +1,12 @@
+?package(xblast-tnt,xblast-tnt-images):needs="X11" command="/usr/games/xblast-tnt" \
+  section="Games/Action" title="XBlast-TNT" \
+  longtitle="Multiplayer blast-others game inspired by Dynablaster/Bomberman" \
+  icon="/usr/share/pixmaps/xblast-tnt.xpm"
+?package(xblast-tnt,xblast-tnt-images):needs="X11" command="/usr/games/xblast-tnt-mini" \
+  section="Games/Action" title="XBlast-TNT (mini)" \
+  longtitle="Multiplayer blast-others game inspired by Dynablaster/Bomberman (mini)" \
+  icon="/usr/share/pixmaps/xblast-tnt.xpm"
+?package(xblast-tnt,xblast-tnt-images):needs="X11" command="/usr/games/xblast-tnt-smpf" \
+  section="Games/Action" title="XBlast-TNT (SMPF)" \
+  longtitle="Multiplayer blast-others game inspired by Dynablaster/Bomberman (SMPF)" \
+  icon="/usr/share/pixmaps/xblast-tnt.xpm"
--- xblast-tnt-2.10.4.orig/debian/rules
+++ xblast-tnt-2.10.4/debian/rules
@@ -0,0 +1,139 @@
+#!/usr/bin/make -f
+# debian/rules for xblast-tnt
+PKG1 = xblast-tnt
+TMP1 = $(CURDIR)/debian/$(PKG1)
+PKG2 = xblast-tnt-mini
+TMP2 = $(CURDIR)/debian/$(PKG2)
+PKG3 = xblast
+TMP3 = $(CURDIR)/debian/$(PKG3)
+
+VERSION = $(shell dpkg-parsechangelog | grep "^Version:" | cut -d" " -f 2)
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+CFLAGS = -Wall -g
+INSTALL = install
+INSTALL_FILE    = $(INSTALL) -p    -oroot -groot -m644
+INSTALL_PROGRAM = $(INSTALL) -p    -oroot -groot -m755
+INSTALL_SCRIPT  = $(INSTALL) -p    -oroot -groot -m755
+INSTALL_DIR     = $(INSTALL) -p -d -oroot -groot -m755
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+	INSTALL_PROGRAM += -s
+endif
+
+
+clean:
+	$(checkdir)
+	$(checkroot)
+	-rm -rf build-stamp xblast-tnt xblast-tnt-mini xblast-tnt-smpf \
+		$(TMP1) $(TMP2) $(TMP3) autom4te.cache debian/files \
+		debian/$(PKG1).substvars po/stamp-po
+	[ ! -f Makefile ] || $(MAKE) distclean
+
+
+build: build-stamp
+build-stamp:
+	# mini binaries
+	./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
+		--prefix=/usr --mandir=\$${prefix}/share/man --with-x --disable-nls \
+		--enable-sound --with-otherdatadir=/usr/share/games/xblast-tnt \
+		CFLAGS="$(CFLAGS) -DXBLAST_SOUND_SERVER=\"\\\"/usr/lib/games/$(PKG1)/xbsndsrv\\\"\"" \
+		--enable-mini --disable-SMPF
+	$(MAKE)
+	mv xblast xblast-tnt-mini
+	# SMPF binaries
+	$(MAKE) clean
+	./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
+		--prefix=/usr --mandir=\$${prefix}/share/man --with-x --disable-nls \
+		--enable-sound --with-otherdatadir=/usr/share/games/xblast-tnt \
+		CFLAGS="$(CFLAGS) -DXBLAST_SOUND_SERVER=\"\\\"/usr/lib/games/$(PKG1)/xbsndsrv\\\"\"" \
+		--disable-mini --enable-SMPF
+	$(MAKE)
+	mv xblast xblast-tnt-smpf
+	# regular binaries
+	$(MAKE) clean
+	./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
+		--prefix=/usr --mandir=\$${prefix}/share/man --with-x --disable-nls \
+		--enable-sound --with-otherdatadir=/usr/share/games/xblast-tnt \
+		CFLAGS="$(CFLAGS) -DXBLAST_SOUND_SERVER=\"\\\"/usr/lib/games/$(PKG1)/xbsndsrv\\\"\"" \
+		--disable-mini --disable-SMPF
+	$(MAKE)
+	mv xblast xblast-tnt
+	touch build-stamp
+
+
+install: install-stamp
+install-stamp: build-stamp
+	$(checkdir)
+	$(checkroot)
+	-rm -rf $(TMP1)
+	$(INSTALL_DIR) $(TMP1)/usr
+	cd $(TMP1)/usr && $(INSTALL_DIR) games share/man/man6 \
+		lib/games/$(PKG1) share/doc/$(PKG1)
+	$(INSTALL_PROGRAM) xblast-tnt      $(TMP1)/usr/games
+	$(INSTALL_PROGRAM) xblast-tnt-mini $(TMP1)/usr/games
+	$(INSTALL_PROGRAM) xblast-tnt-smpf $(TMP1)/usr/games
+	$(INSTALL_PROGRAM) xbsndsrv $(TMP1)/usr/lib/games/$(PKG1)/xbsndsrv
+	$(INSTALL_FILE) README NEWS features.html $(TMP1)/usr/share/doc/$(PKG1)
+	$(INSTALL_FILE) ChangeLog $(TMP1)/usr/share/doc/$(PKG1)/changelog
+	$(INSTALL_FILE) xblast.man $(TMP1)/usr/share/man/man6/xblast-tnt.6x
+	gzip -9 $(TMP1)/usr/share/doc/$(PKG1)/changelog \
+		$(TMP1)/usr/share/man/man6/xblast-tnt.6x
+	cd $(TMP1)/usr/share/man/man6 && ln -s xblast-tnt.6x.gz \
+		xblast-tnt-mini.6x.gz
+	cd $(TMP1)/usr/share/man/man6 && ln -s xblast-tnt.6x.gz \
+		xblast-tnt-smpf.6x.gz
+
+
+binary: binary-arch binary-indep
+
+binary-indep:
+	$(INSTALL_DIR) $(TMP2)/DEBIAN $(TMP2)/usr/share/doc
+	$(INSTALL_DIR) $(TMP3)/DEBIAN $(TMP3)/usr/share/doc
+	cd $(TMP2)/usr/share/doc && ln -s $(PKG1) $(PKG2)
+	cd $(TMP3)/usr/share/doc && ln -s $(PKG1) $(PKG3)
+	dpkg-gencontrol -isp -p$(PKG2) -P$(TMP2)
+	dpkg-gencontrol -isp -p$(PKG3) -P$(TMP3) -v1:$(VERSION) 
+	dpkg --build $(TMP2) ..
+	dpkg --build $(TMP3) ..
+
+# Build architecture dependant packages using the common target.
+binary-arch: install-stamp
+	$(checkdir)
+	$(checkroot)
+	$(INSTALL_DIR) $(TMP1)/DEBIAN $(TMP1)/usr/share/menu \
+		$(TMP1)/usr/share/lintian/overrides
+	$(INSTALL_FILE) debian/menu         $(TMP1)/usr/share/menu/$(PKG1)
+	$(INSTALL_FILE) debian/changelog \
+		$(TMP1)/usr/share/doc/$(PKG1)/changelog.Debian
+	$(INSTALL_FILE) debian/copyright $(TMP1)/usr/share/doc/$(PKG1)
+	gzip -9 $(TMP1)/usr/share/doc/$(PKG1)/changelog.Debian
+	$(INSTALL_SCRIPT) debian/postinst debian/postrm \
+		$(TMP1)/DEBIAN
+	$(INSTALL_FILE) debian/overrides \
+		$(TMP1)/usr/share/lintian/overrides/$(PKG1)
+	dpkg-shlibdeps -Tdebian/$(PKG1).substvars -dDepends \
+		$(TMP1)/usr/games/* $(TMP1)/usr/lib/games/$(PKG1)/*
+	dpkg-gencontrol -isp -Tdebian/$(PKG1).substvars -p$(PKG1) -P$(TMP1)
+	cd $(TMP1) && find * -type f ! -regex '^DEBIAN/.*' -print0 | \
+		xargs -r0 md5sum > DEBIAN/md5sums
+	dpkg --build $(TMP1) ..
+
+
+define checkdir
+        test -f debian/rules
+endef
+
+define checkroot
+        test root = "`whoami`"
+endef
+
+.PHONY: clean build install install-indep install-arch binary binary-indep binary-arch
--- xblast-tnt-2.10.4.orig/debian/control
+++ xblast-tnt-2.10.4/debian/control
@@ -0,0 +1,48 @@
+Source: xblast-tnt
+Section: games
+Priority: optional
+Maintainer: Gerfried Fuchs <rhonda@debian.at>
+Build-Depends: libxt-dev
+Standards-Version: 3.7.2
+
+Package: xblast-tnt
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, xblast-tnt-images, xblast-tnt-models
+Recommends: xblast-tnt-levels
+Conflicts: xblast-tnt-mini (<= 2.10.2-5), xblast (<= 1:2.6.1-12)
+Provides: xblast-tnt-mini, xblast
+Replaces: xblast-tnt-mini (<= 2.10.2-5), xblast (<= 1:2.6.1-12)
+Suggests: xblast-tnt-sounds, xblast-tnt-musics
+Description: multiplayer blast-the-others game inspired by Dynablaster
+ XBlast is a multi-player arcade game inspired by the video/computer game
+ Bomberman (Dynablaster).
+ .
+ Features:
+   - 2 to 6 players
+   - 1 or 2 players per X-Server (or up to 6 with joysticks)
+   - about 1000 levels
+   - about 20 player models
+   - PoV-Ray rendered color graphics
+   - central server support with statistics
+ .
+ If you want to host games you need to install the xblast-tnt-levels package,
+ and you might want to install xblast-tnt-sounds for sound support. The
+ xblast-tnt-musics package contains background musics for the game, if you
+ like.
+
+Package: xblast-tnt-mini
+Architecture: all
+Depends: xblast-tnt (>= 2.10.4-1)
+Description: game inspired by Dynablaster (dummy upgrade package)
+ This dummy package is only there to tell you that the xblast-tnt-mini program
+ formerly included in this package got incorporated into the xblast-tnt package
+ itself and help you with an easy upgrade.  You can safely remove this package
+ after the upgrade.
+
+Package: xblast
+Architecture: all
+Depends: xblast-tnt
+Description: game inspired by Dynablaster (dummy upgrade package)
+ This dummy package is only there to tell you that the xblast package got
+ obsoleted by the xblast-tnt branch of development and help you with an easy
+ upgrade.  You can safely remove this package after the upgrade.
--- xblast-tnt-2.10.4.orig/debian/postinst
+++ xblast-tnt-2.10.4/debian/postinst
@@ -0,0 +1,10 @@
+#!/bin/sh -e
+# postinst script for xblast-tnt
+
+if [ "$1" != configure ]; then
+	exit 0
+fi
+
+if [ -x /usr/bin/update-menus ]; then
+	update-menus
+fi
--- xblast-tnt-2.10.4.orig/debian/postrm
+++ xblast-tnt-2.10.4/debian/postrm
@@ -0,0 +1,6 @@
+#!/bin/sh -e
+# postrm script for xblast-tnt
+
+if [ -x /usr/bin/update-menus ]; then
+	update-menus
+fi
--- xblast-tnt-2.10.4.orig/debian/overrides
+++ xblast-tnt-2.10.4/debian/overrides
@@ -0,0 +1 @@
+xblast-tnt: menu-icon-missing /usr/share/pixmaps/xblast-tnt.xpm
--- xblast-tnt-2.10.4.orig/debian/copyright
+++ xblast-tnt-2.10.4/debian/copyright
@@ -0,0 +1,32 @@
+This package was debianized by Gerfried Fuchs <alfie@debian.org> on
+Fri, 20 Aug 2004 18:40:32 +0200.
+
+It was downloaded from <http://sourceforge.net/projects/xblast/>
+
+Upstream Authors:
+=================
+Current maintainers:
+        Fernando Benites <iskywalker@users.sourceforge.net>
+        Kruno Sever <lodott@users.sourceforge.net>
+        Gerfried Fuchs <alfie@users.sourceforge.net>
+Original author:
+        Oliver Vogel
+
+
+Copyright:
+==========
+   This package 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; version 2 dated June, 1991.
+
+   This package 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 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".
--- xblast-tnt-2.10.4.orig/debian/watch
+++ xblast-tnt-2.10.4/debian/watch
@@ -0,0 +1,3 @@
+version=3
+http://heanet.dl.sourceforge.net/sourceforge/xblast/  xblast-([\d.]+)\.tar\.gz  debian  uupdate
+# Site/Directory                                      Pattern                   Version  Script