--- netpanzer-0.8.4.debian.1.orig/debian/README.source +++ netpanzer-0.8.4.debian.1/debian/README.source @@ -0,0 +1,15 @@ +This package uses quilt as patch management. Please see +/usr/share/doc/quilt/README.source for some explanation on how that works. + +Upstream doesn't offer a source tarball for download, there for the tarball +is created by + +* Running svn export for the desired version on + svn://svn.berlios.de/netpanzer/tags/netpanzer/ +* Removing unneeded libraries lua and physfs from src/Lib as we use the + system wide libraries +* taring and gziping the directory + +debian/rules get-orig-source should create such a tarball for you. + + --- netpanzer-0.8.4.debian.1.orig/debian/changelog +++ netpanzer-0.8.4.debian.1/debian/changelog @@ -0,0 +1,291 @@ +netpanzer (0.8.4.debian.1-1.2) unstable; urgency=medium + + * Non maintainer upload. + * Move b-d libpng12-dev to libpng-dev to ease png transition. + (Closes: #662443) + + -- Gianfranco Costamagna Thu, 21 Jan 2016 15:29:35 +0100 + +netpanzer (0.8.4.debian.1-1.1) unstable; urgency=low + + * Non maintainer upload. + * Fix build failure with GCC 4.7. Closes: #672077. + + -- Matthias Klose Mon, 21 May 2012 23:53:00 +0000 + +netpanzer (0.8.4.debian.1-1) unstable; urgency=low + + [ Eddy Petrișor ] + * fix Vcs-Svn URL to point to svn, not the incomplete ssh location + + [ Ansgar Burchardt + * Fix Watchfile + + [ Alexander Reichle-Schmehl ] + * Add myself as uploader + * New upstream release (Closes: #595024) + * Add get-orig-source to debian/rules + * The package uses now scons as build system; adapt build depends and + debian/rules accordingly + * Also adapt build-depends for embedded libs, which we would not like + to use + * Add ${misc:Depends} to all Package dependencies + * Move netpanzer-dbg into section debug + * Add recommended targets build-arch and build-indep to debian/rules + * Add debian/README.source + * Update debian/copyright + * Bump standards to 3.9.2 (no further changes needed) + * Fix Vcs-Browser URL after alioth move + + [ Paul Wise ] + * Add debian/pathces/use-system-libs.patch to use system libraries + instead of embedded ones + + -- Alexander Reichle-Schmehl Fri, 20 Jan 2012 13:27:17 +0100 + +netpanzer (0.8.2-2) unstable; urgency=low + + [ Barry deFreese ] + * Add watch file + * Add Homepage and VCS fields to control + * Add myself to uploaders + * Bump Standards Version to 3.7.3 (no changes needed) + + [ Gonéri Le Bouder ] + * dpkg-buildpackage -B doesn't create arch all package anymore + * clean quilt .pc directory and config.log + * add desktop.diff to remove the invalid category Application + * call jam with the -q flag to make it stop building as soon as an error + append + * add a missing '#include ' in patches/gcc-4.3.diff to fix the + build with gcc 4.3 (Closes: #462205) + * remove the homepage URL from the descriptions + + -- Gonéri Le Bouder Tue, 5 Feb 2008 18:34:23 +0100 + +netpanzer (0.8.2-1) unstable; urgency=low + + * new upstream release (Closes: #294213) + - merge netpanzer-data and netpanzer like upstream did + - remove merged patches: + * 01_gcc4.1.patch + * 02_setframe_denial_of_service.patch + * change from pkg-games to Debian Games Team in copyright + - removed this entry from 0.8+svn20060319-2 changelog entry + * creates netpanzer-dbg that provide debugging symbol in order to help + bugchasing (thanks Fabian Fagerholm) (Closes: #401775) + * netpanze depends on netpanzer-data (= ${source:Version}) + * cdbs simple-patchsys.ml replaced by quilt + * add Aaron Perez in the debian/copyright + * add gcc-4.3.diff Thanks again Martin Michlmayr (Closes: #417445) + * copy a fresh config.{guess,sub} during the build + + add autotools-dev in builddeps + + -- Gonéri Le Bouder Wed, 11 Jul 2007 17:02:32 +0200 + +netpanzer (0.8+svn20060319-2) unstable; urgency=low + + * fix watch file + * Standards-Version: 3.7.2 + * [CVE-2006-2575] setFrame() Denial of Service Vulnerability + Closes: #370146 + * switch from dpatch to simple-patchsys + + -- Gonéri Le Bouder Sun, 4 Jun 2006 14:27:45 +0200 + +netpanzer (0.8+svn20060319-1) unstable; urgency=low + + * New SVN snapshot. + * Fix security issue against server CAN-2005-2295 (Closes: #318329) + * Fix FTBFS with g++ 4.1 (Closes: #355739) + * New maintainer: Debian pkg-games group + + -- Gonéri Le Bouder Sun, 19 Mar 2006 18:54:02 +0100 + +netpanzer (0.8+svn20050612-1) unstable; urgency=low + + * New SVN snapshot. + - fixes crash with not full servers under PowerPC (Closes: #312918) + * Hints are not long titles. Fixed menu file (Closes: #296877) + + -- Bartosz Fenski Sun, 12 Jun 2005 13:48:12 +0200 + +netpanzer (0.8-1) unstable; urgency=low + + * New upstream version. + * s/fenio@o2.pl/fenio@debian.org/ + + -- Bartosz Fenski Wed, 26 Jan 2005 22:45:11 +0100 + +netpanzer (0.2.0rc4-1) unstable; urgency=low + + * New upstream release. + + -- Bartosz Fenski Mon, 8 Nov 2004 21:08:12 +0100 + +netpanzer (0.2.0rc3-1) unstable; urgency=low + + * New upstream release. + + -- Bartosz Fenski Wed, 3 Nov 2004 19:47:18 +0100 + +netpanzer (0.2.0rc1-1) unstable; urgency=low + + * New upstream release: + - hopefully fixes FTBFS on IA64 & Alpha (Closes: #245815, #267033) + - fixes FTBFS with gcc-3.4 (Closes: #265528) + - fixes problem with comparision of timestamps (Closes: #257918) + - fixes palette generating on powerpc (Closes: #262337) + * debian/control: + - removed SDL_net, SDL_ttf and libxml from dependencies + - removed ${misc:Depends} variable + - bumped version of needed netpanzer-data + * Removed all previous patches cause they're now included upstrem, + thus some changes in debian/rules & debian/control. + + -- Bartosz Fenski Fri, 15 Oct 2004 18:36:11 +0200 + +netpanzer (0.1.5-8) unstable; urgency=low + + * debian/control: + - we're now using libphysfs-dev instead of libphysfs0-dev. + * Applied patch for assertion errors during multiplayer games. + Thanks for Grzegorz Galazka for providing it. (Closes: #252504) + * debian/copyright: + - distinguished copyright from license + * Added debian/watch file + * Extended menu file. + + -- Bartosz Fenski Fri, 11 Jun 2004 15:30:11 +0200 + +netpanzer (0.1.5-7) unstable; urgency=low + + * debian/* + - using dpatch stuff instead of simple sed hack + + -- Bartosz Fenski Wed, 7 Apr 2004 10:18:12 +0200 + +netpanzer (0.1.5-6) unstable; urgency=low + + * patched sources instead of providing information about moved irc server + * debian/rules: + - we are now calling dh_installman only once + * debian/*: + - removed README.Debian + (thanks for suggestions to Josselin Mouette) + + -- Bartosz Fenski Tue, 6 Apr 2004 16:02:43 +0200 + +netpanzer (0.1.5-5) unstable; urgency=low + + * First Debian release (Closes: #215783) + * debian/*: + - added README.Debian file with information about irc server. + + -- Bartosz Fenski Tue, 6 Apr 2004 13:32:41 +0200 + +netpanzer (0.1.5-4) unstable; urgency=low + + * debian/control: + - bumped version of required netpanzer-data (due to modified paths) + * debian/install && debian/menu: + - changed path for icon + + -- Bartosz Fenski Sun, 7 Mar 2004 17:50:43 +0200 + +netpanzer (0.1.5-3) unstable; urgency=low + + * debian/rules: + - added --datadir=/usr/share/games switch for configure. + * debian/install && debian/menu: + - changed path for icon + * debian/control: + - added homepage + * removed icon installation from Jamfile + + -- Bartosz Fenski Sun, 7 Mar 2004 17:50:43 +0200 + +netpanzer (0.1.5-2) unstable; urgency=low + + * Silently replaced new upstream version. + + -- Bartosz Fenski Tue, 2 Mar 2004 21:12:16 +0200 + +netpanzer (0.1.5-1) unstable; urgency=low + + * New upstream release. + * debian/install: + - changed path to icon (xpm it's now included in upstream version) + + -- Bartosz Fenski Mon, 1 Mar 2004 22:50:26 +0200 + +netpanzer (0.1.4-1) unstable; urgency=low + + * New upstream release. + * Converted and rescaled icon to xpm/32x32 format + * debian/rules: + - added install to move icon to proper place + - fixed installman, manualpages are now included in upstream release + * debian/install: + - added information about icon + * debian/menu: + - fixed quotation issues + - changed name of the game to netPanzer + - added information about icon + * debian/control: + - added libsdl-ttf2.0-dev to Build-Depends + - changed required version of netpanzer-data + + -- Bartosz Fenski Fri, 27 Feb 2004 11:40:12 +0200 + +netpanzer (0.1.3-1) unstable; urgency=low + + * New upstream release + + -- Bartosz Fenski Tue, 10 Feb 2004 18:52:23 +0200 + +netpanzer (0.1.2+cvs20031230-1) unstable; urgency=low + + * CVS update + * changed homepage + * added manual page for netpanzerbrowser binary + + -- Bartosz Fenski Mon, 30 Dec 2003 13:52:13 +0200 + +netpanzer (0.1.2-1) unstable; urgency=low + + * New upstream release. + + -- Bartosz Fenski Mon, 10 Nov 2003 20:31:23 +0200 + +netpanzer (0.1.1+cvs20031110-1) unstable; urgency=low + + * CVS update + + -- Bartosz Fenski Mon, 10 Nov 2003 16:30:22 +0200 + +netpanzer (0.1.1+cvs20031108-1) unstable; urgency=low + + * CVS update + + -- Bartosz Fenski Sat, 8 Nov 2003 07:50:32 +0200 + +netpanzer (0.1.1+cvs20031107-1) unstable; urgency=low + + * CVS update + + -- Bartosz Fenski Fri, 7 Nov 2003 17:50:32 +0200 + +netpanzer (0.1.1-2) unstable; urgency=low + + * fixed path in menu entry + * added manual page + + -- Bartosz Fenski Sun, 2 Nov 2003 13:30:32 +0200 + +netpanzer (0.1.1-1) unstable; urgency=low + + * Initial Release. + + -- Bartosz Fenski Fri, 17 Oct 2003 16:48:32 +0200 + --- netpanzer-0.8.4.debian.1.orig/debian/compat +++ netpanzer-0.8.4.debian.1/debian/compat @@ -0,0 +1 @@ +5 --- netpanzer-0.8.4.debian.1.orig/debian/control +++ netpanzer-0.8.4.debian.1/debian/control @@ -0,0 +1,56 @@ +Source: netpanzer +Section: games +Priority: optional +Maintainer: Debian Games Team +Uploaders: Barry deFreese , Alexander Reichle-Schmehl +Build-Depends: debhelper (>= 5.0.0), scons, pkg-config (>= 0.15.0), libsdl1.2-dev, libsdl-mixer1.2-dev, libsdl-image1.2-dev, libphysfs-dev, quilt, zlib1g-dev, liblua5.1-0-dev, libpng-dev +Standards-Version: 3.9.2 +Homepage: http://netpanzer.berlios.de +Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/netpanzer/ +Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-games/packages/trunk/netpanzer/ + +Package: netpanzer +Architecture: any +Depends: ${shlibs:Depends}, netpanzer-data (= ${source:Version}), ${misc:Depends} +Suggests: xqf +Description: online multiplayer tactical warfare game + netPanzer is an isometric view real-time tactical game designed for + play across the Internet and over LAN systems. One on one games are + possible via direct connect or modem. + . + netPanzer is designed for FAST ACTION combat -- it is not another resource + management clone. In fact, there aren't any resources at all. Each player + will have many units of different types at their disposal. Players can fight + until their units are destroyed -- then respawn and keep on going. + . + The game is real-time, but it's based on quick tactical action and unit + management. Battles progress quickly and constantly; in fact, they never + let up. There is no stop in the action because there is no waiting for + resources to be collected and converted into weaponry. Players can join + or leave multiplayer games at any time. + +Package: netpanzer-dbg +Architecture: any +Section: debug +Priority: extra +Depends: netpanzer (= ${binary:Version}), ${misc:Depends} +Description: debugging symbols for netpanzer + netPanzer is an isometric view real-time tactical game designed for + play across the Internet and over LAN systems. One on one games are + possible via direct connect or modem. + . + This package contains the debugging symbols for netPanzer. Debugging + symbols can be useful when investigating faults and crashes in the game. + You may be asked to install this package and gather debugging information + if you encounter such a crash. + +Package: netpanzer-data +Architecture: all +Depends: ${misc:Depends} +Recommends: netpanzer +Description: data files for the netPanzer game + netPanzer is an online multiplayer tactical warfare game designed for + play across the Internet and over LAN systems. One on one games are + possible via direct connect or modem. + . + This package contains data files for netPanzer. --- netpanzer-0.8.4.debian.1.orig/debian/copyright +++ netpanzer-0.8.4.debian.1/debian/copyright @@ -0,0 +1,56 @@ +This package was debianized by Bartosz Fenski on +Tue, 30 Dec 2003 13:48:32 +0200 + +The actual maintainer is the Debian Games Team: +http://wiki.debian.org/Games/Development + +It was downloaded from svn://svn.berlios.de/netpanzer/tags/netpanzer/ (as +http://www.netpanzer.org/download/ only offers binary packages). + +The orig tarball shiped by us is created and modified as follows: +* Running svn export for the desired version +* Removing unneeded libraries lua and physfs from src/Lib as we use the + system wide libraries +* taring and gziping the directory + +Upstream Authors: Matthias Braun + Ivo Danihelka + Tyler Nielsen + Vlad Rahkoy + Ingo Ruhnke + +Copyright: + +Copyright 1998 Pyrosoft Inc. (www.pyrosoftgames.com), Matthew Bogue +Copyright 2003-2005 Matthias Braun and others +Copyright 2007 Aaron Perez + +License for everything but the exceptions bellow: + +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, or (at your option) any +later version. + +On Debian systems, the complete text of the GNU General Public License +can be found in the file `/usr/share/common-licenses/GPL'. + + +The sources shipped in src/Lib/optionmm are: + +Copyright: + +Copyright 2002 Christian Holm Christensen + +License: +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public License +as published by the Free Software Foundation; either version 2.1 +of the License, or (at your option) any later version. +This library 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 +Lesser General Public License for more details. + +On Debian systems, the complete text of GNU Lesser General Public License +can be found in the file `/usr/share/common-licenses/LGPL'. --- netpanzer-0.8.4.debian.1.orig/debian/dirs +++ netpanzer-0.8.4.debian.1/debian/dirs @@ -0,0 +1,2 @@ +usr/games +usr/share/applications --- netpanzer-0.8.4.debian.1.orig/debian/docs +++ netpanzer-0.8.4.debian.1/debian/docs @@ -0,0 +1,4 @@ +README +TODO +RELNOTES +docs/serverhowto.html --- netpanzer-0.8.4.debian.1.orig/debian/install +++ netpanzer-0.8.4.debian.1/debian/install @@ -0,0 +1 @@ +netpanzer.xpm /usr/share/pixmaps/ --- netpanzer-0.8.4.debian.1.orig/debian/menu +++ netpanzer-0.8.4.debian.1/debian/menu @@ -0,0 +1,5 @@ +?package(netpanzer):needs="X11" section="Games/Strategy"\ + title="netPanzer" command="/usr/games/netpanzer"\ + icon="/usr/share/pixmaps/netpanzer.xpm"\ + longtitle="Online multiplayer tactical warfare game" + --- netpanzer-0.8.4.debian.1.orig/debian/netpanzer-data.install +++ netpanzer-0.8.4.debian.1/debian/netpanzer-data.install @@ -0,0 +1,8 @@ +cache/ /usr/share/games/netpanzer +maps/ /usr/share/games/netpanzer +pics/ /usr/share/games/netpanzer +powerups/ /usr/share/games/netpanzer +scripts/ /usr/share/games/netpanzer +sound/ /usr/share/games/netpanzer +units/ /usr/share/games/netpanzer +wads/ /usr/share/games/netpanzer --- netpanzer-0.8.4.debian.1.orig/debian/netpanzer.install +++ netpanzer-0.8.4.debian.1/debian/netpanzer.install @@ -0,0 +1,4 @@ +netpanzer /usr/games +netpanzer.desktop /usr/share/applications +netpanzer.png /usr/share/pixmaps/ +netpanzer.xpm /usr/share/pixmaps/ --- netpanzer-0.8.4.debian.1.orig/debian/patches/desktop.diff +++ netpanzer-0.8.4.debian.1/debian/patches/desktop.diff @@ -0,0 +1,10 @@ +Index: netpanzer-0.8.2/netpanzer.desktop +=================================================================== +--- netpanzer-0.8.2.orig/netpanzer.desktop 2007-09-22 02:41:13.000000000 +0000 ++++ netpanzer-0.8.2/netpanzer.desktop 2007-09-22 02:41:23.000000000 +0000 +@@ -9,4 +9,4 @@ + Exec=netpanzer + Terminal=false + StartupNotify=false +-Categories=Application;Game;StrategyGame; ++Categories=Game;StrategyGame; --- netpanzer-0.8.4.debian.1.orig/debian/patches/gcc-4.3.diff +++ netpanzer-0.8.4.debian.1/debian/patches/gcc-4.3.diff @@ -0,0 +1,61 @@ +Index: netpanzer-0.8.2/src/Lib/2D/ColorTable.cpp +=================================================================== +--- netpanzer-0.8.2.orig/src/Lib/2D/ColorTable.cpp 2008-02-05 16:36:27.000000000 +0000 ++++ netpanzer-0.8.2/src/Lib/2D/ColorTable.cpp 2008-02-05 16:36:39.000000000 +0000 +@@ -17,6 +17,8 @@ + */ + #include + ++#include ++ + #include "Util/FileSystem.hpp" + #include "Util/Log.hpp" + #include "Util/Exception.hpp" +Index: netpanzer-0.8.2/src/Lib/2D/Palette.cpp +=================================================================== +--- netpanzer-0.8.2.orig/src/Lib/2D/Palette.cpp 2008-02-05 16:36:27.000000000 +0000 ++++ netpanzer-0.8.2/src/Lib/2D/Palette.cpp 2008-02-05 16:36:39.000000000 +0000 +@@ -18,6 +18,7 @@ + #include + + #include ++#include + + #include "Palette.hpp" + #include "Util/FileSystem.hpp" +Index: netpanzer-0.8.2/src/NetPanzer/Network/ProxyServer.cpp +=================================================================== +--- netpanzer-0.8.2.orig/src/NetPanzer/Network/ProxyServer.cpp 2008-02-05 16:36:27.000000000 +0000 ++++ netpanzer-0.8.2/src/NetPanzer/Network/ProxyServer.cpp 2008-02-05 16:36:39.000000000 +0000 +@@ -17,6 +17,7 @@ + */ + #include + ++#include + #include + #include + #include +Index: netpanzer-0.8.2/src/NetPanzer/Views/MainMenu/Multi/MapSelectionView.cpp +=================================================================== +--- netpanzer-0.8.2.orig/src/NetPanzer/Views/MainMenu/Multi/MapSelectionView.cpp 2008-02-05 16:36:27.000000000 +0000 ++++ netpanzer-0.8.2/src/NetPanzer/Views/MainMenu/Multi/MapSelectionView.cpp 2008-02-05 16:36:39.000000000 +0000 +@@ -17,6 +17,7 @@ + */ + #include + ++#include + #include + #include + #include "MapSelectionView.hpp" +Index: netpanzer-0.8.2/src/Lib/Util/Log.cpp +=================================================================== +--- netpanzer-0.8.2.orig/src/Lib/Util/Log.cpp 2008-02-05 17:13:36.000000000 +0000 ++++ netpanzer-0.8.2/src/Lib/Util/Log.cpp 2008-02-05 17:13:43.000000000 +0000 +@@ -26,6 +26,7 @@ + #include + #include + #include ++#include + + #include "Exception.hpp" + #include "FileSystem.hpp" --- netpanzer-0.8.4.debian.1.orig/debian/patches/series +++ netpanzer-0.8.4.debian.1/debian/patches/series @@ -0,0 +1,3 @@ +#gcc-4.3.diff +#desktop.diff +use-system-libs.patch --- netpanzer-0.8.4.debian.1.orig/debian/patches/use-system-libs.patch +++ netpanzer-0.8.4.debian.1/debian/patches/use-system-libs.patch @@ -0,0 +1,97 @@ +--- a/SConstruct ++++ b/SConstruct +@@ -154,16 +154,10 @@ env.BuildDir(env['FINALBUILDDIR'],'.',du + crossmingwenv.BuildDir(crossmingwenv['FINALBUILDDIR'],'.',duplicate=0) + crosslinuxenv.BuildDir(crosslinuxenv['FINALBUILDDIR'],'.',duplicate=0) + +-luaenv = env.Clone() +-physfsenv = env.Clone() + networkenv = env.Clone() + +-crossmingwluaenv = crossmingwenv.Clone() +-crossmingwphysfsenv = crossmingwenv.Clone() + crossmingwnetworkenv = crossmingwenv.Clone() + +-crosslinuxluaenv = crosslinuxenv.Clone() +-crosslinuxphysfsenv = crosslinuxenv.Clone() + crosslinuxnetworkenv = crosslinuxenv.Clone() + + ################################################################ +@@ -205,9 +199,9 @@ print 'Building version ' + NPVERSION + + # Configure Environments + ################################################################ + +-env.Append( CPPPATH = [ '.', 'src/Lib', 'src/NetPanzer', 'src/Lib/physfs', 'src/Lib/lua'] ) +-crossmingwenv.Append( CPPPATH = [ '.', 'src/Lib', 'src/NetPanzer', 'src/Lib/physfs', 'src/Lib/lua'] ) +-crosslinuxenv.Append( CPPPATH = [ '.', 'src/Lib', 'src/NetPanzer', 'src/Lib/physfs', 'src/Lib/lua'] ) ++env.Append( CPPPATH = [ '.', 'src/Lib', 'src/NetPanzer', 'src/Lib/lua'] ) ++crossmingwenv.Append( CPPPATH = [ '.', 'src/Lib', 'src/NetPanzer', 'src/Lib/lua'] ) ++crosslinuxenv.Append( CPPPATH = [ '.', 'src/Lib', 'src/NetPanzer', 'src/Lib/lua'] ) + + # for this platform + if thisplatform == 'darwin': +@@ -216,14 +210,10 @@ if thisplatform == 'darwin': + + if env['universal'] != 'false': + env.Append( CCFLAGS = [ '-arch', 'ppc', '-arch', 'i386' ] ) +- luaenv.Append( CCFLAGS = [ '-arch', 'ppc', '-arch', 'i386' ] ) +- physfsenv.Append( CCFLAGS = [ '-arch', 'ppc', '-arch', 'i386' ] ) + networkenv.Append( CCFLAGS = [ '-arch', 'ppc', '-arch', 'i386' ] ) + env.Append( LINKFLAGS = [ '-mmacosx-version-min=10.4', '-arch', 'ppc', '-arch', 'i386' ] ) + else: + env.Append( CCFLAGS = [ '-arch', 'i386' ] ) +- luaenv.Append( CCFLAGS = [ '-arch', 'i386' ] ) +- physfsenv.Append( CCFLAGS = [ '-arch', 'i386' ] ) + networkenv.Append( CCFLAGS = [ '-arch', 'i386' ] ) + env.Append( LINKFLAGS = [ '-arch', 'i386' ] ) + +@@ -265,36 +255,12 @@ MakeStaticLib( networkenv, 'npn + MakeStaticLib(crossmingwnetworkenv, 'npnetwork', 'Network', '*.cpp') + MakeStaticLib(crosslinuxnetworkenv, 'npnetwork', 'Network', '*.cpp') + +-# BUILDS LUA +-luaenv.Append( CPPPATH = [ 'src/Lib/lua'] ) +-crossmingwluaenv.Append( CPPPATH = [ 'src/Lib/lua'] ) +-crosslinuxluaenv.Append( CPPPATH = [ 'src/Lib/lua'] ) +-MakeStaticLib( luaenv, 'nplua', 'lua', '*.c') +-MakeStaticLib(crossmingwluaenv, 'nplua', 'lua', '*.c') +-MakeStaticLib(crosslinuxluaenv, 'nplua', 'lua', '*.c') +- +-# BUILDS PHYSFS +-physfsenv.Append( CFLAGS = [ '-DPHYSFS_SUPPORTS_ZIP=1', '-DZ_PREFIX=1', '-DPHYSFS_NO_CDROM_SUPPORT=1' ] ) +-physfsenv.Append( CPPPATH = [ 'src/Lib/physfs', 'src/Lib/physfs/zlib123' ] ) +-MakeStaticLib(physfsenv, 'npphysfs', 'physfs physfs/platform physfs/archivers physfs/zlib123', '*.c') +- +-crossmingwphysfsenv.Append( CFLAGS = [ '-DPHYSFS_SUPPORTS_ZIP=1', '-DZ_PREFIX=1', '-DPHYSFS_NO_CDROM_SUPPORT=1' ] ) +-crossmingwphysfsenv.Append( CPPPATH = [ 'src/Lib/physfs', 'src/Lib/physfs/zlib123' ] ) +-MakeStaticLib(crossmingwphysfsenv, 'npphysfs', 'physfs physfs/platform physfs/archivers physfs/zlib123', '*.c') +- +-crosslinuxphysfsenv.Append( CFLAGS = [ '-DPHYSFS_SUPPORTS_ZIP=1', '-DZ_PREFIX=1', '-DPHYSFS_NO_CDROM_SUPPORT=1' ] ) +-crosslinuxphysfsenv.Append( CPPPATH = [ 'src/Lib/physfs', 'src/Lib/physfs/zlib123' ] ) +-MakeStaticLib(crosslinuxphysfsenv, 'npphysfs', 'physfs physfs/platform physfs/archivers physfs/zlib123', '*.c') +- + # BUILDS 2D + env.Append( CFLAGS = [ '-DZ_PREFIX=1' ] ) +-env.Append( CPPPATH = 'src/Lib/physfs/zlib123' ) + MakeStaticLib(env, 'np2d', '2D 2D/libpng', '*.c*') + crossmingwenv.Append( CFLAGS = [ '-DZ_PREFIX=1' ] ) +-crossmingwenv.Append( CPPPATH = 'src/Lib/physfs/zlib123' ) + MakeStaticLib(crossmingwenv, 'np2d', '2D 2D/libpng', '*.c*') + crosslinuxenv.Append( CFLAGS = [ '-DZ_PREFIX=1' ] ) +-crosslinuxenv.Append( CPPPATH = 'src/Lib/physfs/zlib123' ) + MakeStaticLib(crosslinuxenv, 'np2d', '2D 2D/libpng', '*.c*') + + # BUILDS REST OF LIBRARIES +@@ -323,9 +289,9 @@ if crossmingwenv.has_key('WINICON'): + + crosslinuxenv.Append( NPSOURCES = globSources(crosslinuxenv, 'src/NetPanzer', npdirs, "*.cpp") ) + +-env.Append( NPLIBS = ['nplua','np2d','npnetwork','nplibs','npphysfs'] ) +-crossmingwenv.Append( NPLIBS = ['nplua','np2d','npnetwork','nplibs','npphysfs'] ) +-crosslinuxenv.Append( NPLIBS = ['nplua','np2d','npnetwork','nplibs','npphysfs'] ) ++env.Append( NPLIBS = ['lua5.1','np2d','npnetwork','nplibs','physfs'] ) ++crossmingwenv.Append( NPLIBS = ['lua5.1','np2d','npnetwork','nplibs','physfs'] ) ++crosslinuxenv.Append( NPLIBS = ['lua5.1','np2d','npnetwork','nplibs','physfs'] ) + + if env.has_key('LIBS'): + env.Append( NPLIBS = env['LIBS'] ) --- netpanzer-0.8.4.debian.1.orig/debian/rules +++ netpanzer-0.8.4.debian.1/debian/rules @@ -0,0 +1,96 @@ +#!/usr/bin/make -f +# rules file for netpanzer (October 2003) + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# 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) + +SRC_VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(\([0-9]\+\):\)\?\(.*\)-.*/\3/p') +UPP_VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(\([0-9]\+\):\)\?\(.*\)-.*/\3/p'| sed -e 's/\.debian\.[0-9]*//') + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +config.status: + dh_testdir + QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2 + +build: build-arch build-indep +build-arch: build-stamp +build-indep: build-stamp +build-stamp: config.status + dh_testdir + scons datadir=/usr/share/games/netpanzer + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp config.log + + [ -f SConstruct ] || scons --clean + QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2 + rm -rf .pc + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + dh_install --sourcedir=. + +binary-indep: build install + dh_testdir -i + dh_testroot -i + dh_installchangelogs ChangeLog -i + dh_installdocs -i + dh_compress -i + dh_fixperms -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +binary-arch: build install + dh_testdir -a + dh_testroot -a + dh_installchangelogs ChangeLog -a + dh_installdocs docs/tipofday.txt docs/serverhowto.html -a + dh_installman docs/netpanzer.6 -a + dh_installmenu -a + dh_link -a + dh_strip --dbg-package=netpanzer-dbg -a + dh_compress -a + dh_fixperms -a + dh_installdeb -a + dh_shlibdeps -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +get-orig-source: + rm -rf get-orig-source netpanzer_$(SRC_VERSION).orig.tar.gz + mkdir get-orig-source + svn export svn://svn.berlios.de/netpanzer/tags/netpanzer/$(UPP_VERSION) get-orig-source/netpanzer-$(SRC_VERSION) + rm -rf get-orig-source/netpanzer-$(SRC_VERSION)/src/Libs/{lua,physfs} + GZIP='--best --no-name' tar czf netpanzer_$(SRC_VERSION).orig.tar.gz -C get-orig-source netpanzer-$(SRC_VERSION) + rm -rf get-orig-source + echo " "netpanzer_$(SRC_VERSION).orig.tar.gz" created; move it to the right destination to build the package" + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- netpanzer-0.8.4.debian.1.orig/debian/watch +++ netpanzer-0.8.4.debian.1/debian/watch @@ -0,0 +1,6 @@ +version=3 + +# won't download the version, but at least report it (for now) +opts="dversionmangle=s/\.debian\.\d+$//,downloadurlmangle=s/.*//" \ + http://www.netpanzer.org/download/np/index.php?dir=Binaries/NetPanzer/Releases/ .*/Releases/([0-9][\w.]*).* + --- netpanzer-0.8.4.debian.1.orig/src/Lib/ArrayUtil/QueueTemplate.hpp +++ netpanzer-0.8.4.debian.1/src/Lib/ArrayUtil/QueueTemplate.hpp @@ -42,7 +42,7 @@ bool enqueue(const TYPE& object ) { - add( object, (rear + 1) % this->size ); + this->add( object, (rear + 1) % this->size ); rear = (rear + 1) % this->size; if ( front == rear )