debian/0000755000000000000000000000000012150121420007152 5ustar debian/postrm0000644000000000000000000000162211535003332010431 0ustar #! /bin/sh # postrm script for #PACKAGE# # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `remove' # * `purge' # * `upgrade' # * `failed-upgrade' # * `abort-install' # * `abort-install' # * `abort-upgrade' # * `disappear' overwrit>r> # for details, see /usr/share/doc/packaging-manual/ case "$1" in purge) rm -rf /var/games/toppler ;; remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) ;; *) echo "postrm called with unknown argument \`$1'" >&2 exit 0 esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# debian/README.debian0000644000000000000000000000147711756173201011303 0ustar Toppler for Debian ------------------ Highscores ---------- Toppler allows one to use either a per-user highscore file or a system-wide highscore file. Toppler in Etch default to a per-user highscore file Toppler in Lenny default to a system-wide highscore file, but only for new installation, so Etch users do not see their highscore to be reset when upgrading to Lenny. To migrate Etch systems to a system-wide highscore file, please simply uninstall and reinstall toppler. Afterward, you can copy your per-user highscore file to the system-wide highscore file by issuing cp /home//.toppler/toppler.hsc /var/games/toppler/toppler.hsc The permission of /var/games/toppler/toppler.hsc should be -rw-rw-r-- root games. May you get to the top! Bill Allombert Thu, 20 Sep 2007 08:21:10 +0200 debian/preinst0000644000000000000000000000053111535003332010567 0ustar #! /bin/sh # postrm script for toppler set -e case "$1" in install) GAMES="/var/games/" DIR="$GAMES/toppler" FILE="$DIR/toppler.hsc" install -d -m 0755 $GAMES install -d -m 0775 $DIR chown root:games $DIR touch $FILE chown root:games $FILE chmod 0664 $FILE esac #DEBHELPER# debian/menu0000644000000000000000000000034711535003332010054 0ustar ?package(toppler):needs="X11" section="Games/Action" \ title="Toppler" command="/usr/games/toppler" \ icon="/usr/share/pixmaps/toppler.xpm" \ longtitle="A clone of the 'Nebulus' game on old 8 and 16 bit machines." debian/watch0000644000000000000000000000016111535003332010210 0ustar # Site Directory Pattern Version Script version=2 http://sf.net/toppler/toppler-(.*)\.tar\.gz debian uupdate debian/source/0000755000000000000000000000000011756137671010504 5ustar debian/source/format0000644000000000000000000000001411756137671011712 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000404612142005251010242 0ustar #!/usr/bin/make -f # toppler rules file adapted from: # Sample debian/rules that uses debhelper. # GNU copyright 1997 to 1999 by Joey Hess. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 export DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) CXXFLAGS=-g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-z,relro ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CXXFLAGS += -O0 else CXXFLAGS += -O2 endif export CXXFLAGS CPPFLAGS LDFLAGS configure: configure-stamp configure-stamp: ./configure --prefix=/usr --bindir=/usr/games --mandir=/usr/share/man --localstatedir=/var/games --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) dh_testdir touch configure-stamp build: configure-stamp build-stamp build-stamp: dh_testdir $(MAKE) pkgdatadir=/usr/share/games/toppler touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp configure-stamp config.log # Add here commands to clean up after the build process. -rm -f po/*.gmo if [ -f Makefile ]; then $(MAKE) distclean; fi dh_clean install: build dh_testdir dh_testroot dh_clean -k dh_installdirs # Add here commands to install the package into debian/toppler. $(MAKE) install DESTDIR=$(CURDIR)/debian/toppler pkgdatadir=/usr/share/games/toppler rm -r debian/toppler/usr/share/doc/ rm -r debian/toppler/var/ dh_install dh_installdocs dh_installmenu dh_installchangelogs ChangeLog dh_link # 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_strip dh_compress dh_fixperms chown -R root.games debian/toppler/usr/games/toppler chmod g+s debian/toppler/usr/games/toppler dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install configure debian/docs0000644000000000000000000000001711535003332010032 0ustar README AUTHORS debian/compat0000644000000000000000000000000211535003332010357 0ustar 5 debian/copyright0000644000000000000000000000134711535003332011121 0ustar This package was debianized by Ben Bell on Mon, 16 Jul 2001 20:14:46 +0100. It is maintained by Bill Allombert since Sun, 3 Mar 2002 00:55:28 +0100. It was downloaded from http://toppler.sourceforge.net/ Upstream Author: Andreas Röver Copyright: Copyright (C) 2000-2006 Andreas Röver 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. On Debian GNU/Linux systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL'. debian/dirs0000644000000000000000000000010611535003332010042 0ustar usr/games usr/share/games/toppler usr/share/pixmaps var/games/toppler debian/patches/0000755000000000000000000000000012145710734010621 5ustar debian/patches/use-autotools-dev0000644000000000000000000000272312142000277014136 0ustar Description: Tweak config.guess/sub to use the autotools-dev version Tweak config.guess/sub to use the autotools-dev version if available. Author: Bill Allombert Origin: Debian Forwarded: not-needed Last-Update: 2012-05-20 Index: toppler-1.1.6/config.sub =================================================================== --- toppler-1.1.6.orig/config.sub 2012-10-07 15:31:59.000000000 +0200 +++ toppler-1.1.6/config.sub 2013-05-06 21:12:52.000000000 +0200 @@ -1,4 +1,9 @@ #! /bin/sh +# autotools-dev hack (, Wed, 14 Nov 2001 10:13:10 +0100) +if [ -x /usr/share/misc/config.sub ]; then + exec /usr/share/misc/config.sub "$@" +fi + # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, Index: toppler-1.1.6/config.guess =================================================================== --- toppler-1.1.6.orig/config.guess 2012-10-07 15:31:59.000000000 +0200 +++ toppler-1.1.6/config.guess 2013-05-06 21:12:52.000000000 +0200 @@ -1,4 +1,9 @@ #! /bin/sh +# autotools-dev hack (, Wed, 14 Nov 2001 10:13:10 +0100) +if [ -x /usr/share/misc/config.guess ]; then + exec /usr/share/misc/config.guess "$@" +fi + # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, debian/patches/fix-locale0000644000000000000000000000126412142005100012547 0ustar Description: fix l10n toppler l10n was disabled in upstream 1.1.5 for no reason. Author: Bill Allombert Last-Update: 2012-05-23 Bug-Debian: http://bugs.debian.org/674133 Index: toppler-1.1.6/main.cc =================================================================== --- toppler-1.1.6.orig/main.cc 2013-05-06 21:52:49.000000000 +0200 +++ toppler-1.1.6/main.cc 2013-05-06 21:53:16.000000000 +0200 @@ -94,9 +94,7 @@ setlocale(LC_MESSAGES, ""); setlocale(LC_CTYPE, ""); - DIR *dir = opendir("locale"); - bindtextdomain("toppler", dir == NULL ? LOCALEDIR : "locale"); - closedir(dir); + bindtextdomain("toppler", LOCALEDIR); textdomain("toppler"); #endif debian/patches/snprintf-format0000644000000000000000000000077712142000613013671 0ustar Description: Fix snprintf usage Add explicit "%s". Author: Bill Allombert Origin: Debian Last-Update: 2012-05-20 Index: toppler-1.1.6/decl.cc =================================================================== --- toppler-1.1.6.orig/decl.cc 2012-12-22 12:02:06.000000000 +0100 +++ toppler-1.1.6/decl.cc 2013-05-06 21:14:45.000000000 +0200 @@ -187,7 +187,7 @@ #else if (dcl_fileexists(name)) { - snprintf(f, len, name); + snprintf(f, len, "%s", name); return true; } debian/patches/series0000644000000000000000000000007512142013461012026 0ustar use-autotools-dev snprintf-format fix-locale toppler-desktop debian/patches/toppler-desktop0000644000000000000000000000125712145710734013705 0ustar Index: toppler-1.1.6/toppler.desktop.in =================================================================== --- toppler-1.1.6.orig/toppler.desktop.in 2013-05-18 15:18:06.000000000 +0200 +++ toppler-1.1.6/toppler.desktop.in 2013-05-18 16:35:59.000000000 +0200 @@ -5,8 +5,8 @@ Name=@FULLNAME@ Comment=A clone of the 'Nebulus' game on old 8 and 16 bit machines. Comment[de]=Klon des alten Spiels 'Nebulus' -Comment[cs]=Klon hry 'Nebulus' z dob 8 a 16 bitovÜch počítačů. -Icon=@prefix@/pixmaps/@PACKAGE@.xpm -Exec=@prefix@/bin/toppler +Comment[cs]=Klon hry 'Nebulus' z dob 8 a 16 bitových počítačů. +Icon=@PACKAGE@ +Exec=@bindir@/toppler Terminal=0 Type=Application debian/changelog0000644000000000000000000002313112145676274011056 0ustar toppler (1.1.6-2) unstable; urgency=low * patch toppler-desktop: + Fix pixmap path. Closes: #707728. Thanks again, Ronny Standtke. -- Bill Allombert Sat, 18 May 2013 15:01:25 +0200 toppler (1.1.6-1) unstable; urgency=low * New upstream release. Patches: - toppler-manpage removed: merged upstream - fix-locale updated - toppler-desktop updated * debian/control: + Bump Standard-Version to 3.9.4. -- Bill Allombert Mon, 06 May 2013 22:56:59 +0200 toppler (1.1.5-2) unstable; urgency=low * Fix l10n: add patch fix-locale. Closes: #674133. Thanks Ronny Standtke. -- Bill Allombert Wed, 23 May 2012 15:05:08 +0200 toppler (1.1.5-1) unstable; urgency=low * New upstream release + Fix various issue related to the input system. Closes: #612127 + Fix Czech po file name. Closes: #624134 * Move to new source format 3.0 (quilt). Patches applied: - use-autotools-dev: Use autotools-dev version of config.sub/.guess. - toppler-manpage: use trigraph instead of 8bit chars. - toppler-desktop: fix toppler path. - snprintf-format: use "%s" explicitly in call to snprintf. * debian/rules: + Use hardenning compiler flags (toppler is sgid games). * debian/control: + Bump Standard-Version to 3.9.3. -- Bill Allombert Mon, 21 May 2012 23:19:15 +0200 toppler (1.1.4-2) unstable; urgency=high * Fix uninitialized variable that cause toppler to abort when selecting the first mission. Closes: #610513 * Fix segfault in ~configuration destructor when writing the configuration file fail. Closes: #608979. -- Bill Allombert Thu, 20 Jan 2011 23:58:33 +0100 toppler (1.1.4-1) unstable; urgency=low * New upstream release * debian/control: + Bump Standard-Version to 3.8.3. + Move Homepage outside the description and to the source section. * debian/copyright: + Add full copyright notices. -- Bill Allombert Sat, 24 Oct 2009 11:14:09 +0200 toppler (1.1.3-1) unstable; urgency=low * New upstream release - include translations for Basque, Czech and Romanian. Closes: #379236. * This release include a nicer 32x32 icon: - debian/rules: do not install toppler18x18.xpm - debian/toppler18x18.xpm: removed. * debian/menu: update menu section. * debian/rules: fix clean rule. * po/fr.po: update translation. Closes: #418682. * Fix Categories in toppler .desktop file. * config.sub/config.guess: add 'exec'. * Reinstate system-wide highscores (only for new installations). - debian/rules: install toppler sgid 'games' again. - README.Debian: document the change. - preinst install: create /var/games/toppler/toppler.hsc. -- Bill Allombert Thu, 20 Sep 2007 08:37:02 +0200 toppler (1.1.2a-3) unstable; urgency=low * Fix upstream testing left-over that cause toppler to look for translation in /usr/share/locale rather than in current directory. Thanks Ronny Standtke. Closes: #366154 * debian/control: Bump Standards-Version to 3.7.2. -- Bill Allombert Fri, 5 May 2006 23:06:17 +0200 toppler (1.1.2a-2) unstable; urgency=low * Fix toppler path in .desktop file. Thanks Sebastien Montagne. Closes: #356091 * Fix inaccurate comments in debian/rules. -- Bill Allombert Mon, 20 Mar 2006 11:45:10 +0100 toppler (1.1.2a-1) unstable; urgency=low * New upstream release - This release include the Swedish translation by Daniel Nylander. and the glyph for "å". Closes: #345179. - This release include a .desktop file. * Improve upstream .desktop file using advice from Ronny Standtke. * debian/control: Bump Standards-Version to 3.6.2. + Remove Ben Bell from Uploaders. * debian/watch: switch to use the qa.debian.org redirector. * debian/postrm: clean up. * Switch to debhelper v4. -- Bill Allombert Tue, 28 Feb 2006 14:35:11 +0100 toppler (1.1.1-1) unstable; urgency=low * New upstream release. Closes: #286354 * Install locales in /usr/share/locale, not /usr/share/games/locale. Closes: #287510. Thanks Bartosz Fenski. * Uncapitalize the synopsis. -- Bill Allombert Mon, 20 Dec 2004 15:28:28 +0100 toppler (1.0.6-1) unstable; urgency=low * New upstream release -- Bill Allombert Sun, 8 Feb 2004 12:04:34 +0100 toppler (1.0.5-1) unstable; urgency=low * New upstream release * Use Homepage instead of Web page in description. * Update debian/watch to new format. -- Bill Allombert Sun, 18 Jan 2004 16:41:17 +0100 toppler (1.0.3-1) unstable; urgency=low * New upstream release * Encode this file in UTF-8. * Bump standard version to 3.6.1.0. * Use config.sub/.guess from autotools-dev. * Use configure --build/--host instead of config.guess. -- Bill Allombert Sun, 12 Oct 2003 22:35:29 +0200 toppler (1.0.2-1) unstable; urgency=low * New upstream release * sound.cc patch has been merged upstream, thanks Andreas. * Bump standard version to 3.5.10.0. * Remove conflict with old suidmanager. * Rescale menu icon to 18x18. * s/Nebulous/Nebulus/ in menu longtitle. -- Bill Allombert Wed, 11 Jun 2003 18:00:30 +0200 toppler (1.0.1-1) unstable; urgency=low * New upstream release * Apply patch from Dylan Thurston to fix segfault when when firing torpedoes with sound off. Closes: #184907. Thanks! * Original name was Nebulus not Nebulous. Thanks Zdik Kudrle. -- Bill Allombert Wed, 16 Apr 2003 18:10:34 +0200 toppler (1.0.0-1) unstable; urgency=low * New upstream release. Closes: #184101 -- Bill Allombert Sun, 9 Mar 2003 20:43:32 +0100 toppler (0.99.1-1) unstable; urgency=low * New upstream release. Closes: #174460 * This version use login as default highscore name. Closes: #177317 (The full name would be too long to fit on the screen) * debian/watch: use osdn mirror else I cannot catch up with Andreas :) * Set localstatedir to /var/games. (Not used but cleaner.) * Icon and manpage has been merged upstream (thanks Andreas). * Implement DEB_BUILD_OPTIONS nostrip and noopt as per 3.5.7. * Remove debian/postinst.disable files. * Remove 'A' and '.' from short description. * Add URL to long description. -- Bill Allombert Mon, 24 Feb 2003 16:51:27 +0100 toppler (0.97.2-1) unstable; urgency=low * New upstream release. * Really change the debian/watch file. * Reformat description to 76 characters. Closes: #164879 * Debian fixes have been merged upstream (thanks Andreas). * Fix manpage again. * Bump version in main.cc. * Add an icon to the menu. -- Bill Allombert Wed, 6 Nov 2002 10:36:40 +0100 toppler (0.97.1-1) unstable; urgency=low * New upstream release with much improoved level editor. * Use upstream AUTHORS file. * Remove autokludges (thanks Andreas Röver). * Make `debian/rules install' really install. * Fix debian/watch file to accomodate SourceForge redirection. * Fix typo in README.Debian. * Build-Depends on zlib1g-dev. * Bump standard version to 3.5.7 -- Bill Allombert Mon, 7 Oct 2002 21:25:05 +0200 toppler (0.96-1) unstable; urgency=low * New upstream release (closes: #133834). * Fix debian/watch file. * Disable hiscore file for now, add a note in README.Debian. * Remove some autokludges that are no needed anymore, add some others... * Convert AUTHORS file and add it to docs. * Update Standards-Version to 3.5.6. -- Bill Allombert Mon, 11 Mar 2002 21:28:54 +0100 toppler (0.71-3) unstable; urgency=low * New Maintainer. * Add previous maintainer as Uploader. * Install data in /usr/share/games/toppler. (closes: #115563) * Use new manpage from Dylan Thurston . (closes: #126078) * Correct description accordingly. * Remove obsolete README.Debian. * Add a debian/watch file. * Rebuild against new SDL on powerpc . (closes: #134873) * Aknowledge previous NMU. Thanks, Robert ! (closes: #116523) -- Bill Allombert Sun, 3 Mar 2002 00:55:28 +0100 toppler (0.71-2.1) unstable; urgency=low * Non-maintainer upload. * Build-depend on newest libsdl*-dev packages to pick up correct libsdl1.2 dependency. (Closes: #116523) * Call distclean instead of clean to get rid of configure droppings (lintian). -- Robert Bihlmeyer Sun, 21 Oct 2001 15:37:04 +0200 toppler (0.71-2) unstable; urgency=low * Fix typo in configure(.in) with SDL libs (closes: #111101) * Add menu entry (closes: #107617) -- Ben Bell Mon, 24 Sep 2001 21:52:06 +0100 toppler (0.71-1) unstable; urgency=low * New upstream (closes: #106450). -- Ben Bell Mon, 27 Aug 2001 17:07:24 +0100 toppler (0.60-4) unstable; urgency=low * Modify makefile to use `sdl-config` (closes: #109983) -- Ben Bell Mon, 27 Aug 2001 16:48:56 +0100 toppler (0.60-3) unstable; urgency=low * Hardcode paths into the source code (closes: #107069) * Better description (closes: #106128) -- Ben Bell Fri, 24 Aug 2001 11:57:29 +0100 toppler (0.60-2) unstable; urgency=low * Move a whole bunch of stuff around. * Make setgid, not setuid. -- Ben Bell Thu, 19 Jul 2001 21:59:24 +0100 toppler (0.60-1) unstable; urgency=low * Initial Release (closes: #105533) -- Ben Bell Mon, 16 Jul 2001 20:14:46 +0100 Local variables: mode: debian-changelog End: debian/control0000644000000000000000000000177212142013542010572 0ustar Source: toppler Section: games Priority: optional Maintainer: Bill Allombert Build-Depends: debhelper (>= 5.0.0), libsdl1.2-dev (>= 1.2.2-3.1), libsdl-mixer1.2-dev (>= 1.2.0-1.1), zlib1g-dev, autotools-dev Standards-Version: 3.9.4 Homepage: http://toppler.sourceforge.net/ Package: toppler Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: clone of the "Nebulus" game on old 8 and 16 bit machines Toppler is an almost complete reimplementation of the old game known as Tower Toppler or Nebulus. . The target of the game is to reach the target door of each of the 8 towers in currently 2 missions with this little green animal. This door is usually at the very top of the tower. . But finding the way by using elevators and walking through a maze of doors and platforms is not the only problem you have to solve. There are a bunch of other creatures living on the tower that will hinder you to reach your target by pushing you over the edge of the platforms.