Author: goneri-guest
Date: 2007-07-11 13:53:17 +0000 (Wed, 11 Jul 2007)
New Revision: 3334

Added:
   packages/attic/netpanzer-data/
   packages/trunk/netpanzer/debian/netpanzer-data.install
   packages/trunk/netpanzer/debian/netpanzer.install
   packages/trunk/netpanzer/debian/patches/gcc-4.3.diff
   packages/trunk/netpanzer/debian/patches/series
Removed:
   packages/trunk/netpanzer-data/
   packages/trunk/netpanzer/debian/patches/01_gcc4.1.patch
   packages/trunk/netpanzer/debian/patches/02_setframe_denial_of_service.patch
Modified:
   packages/trunk/netpanzer/debian/changelog
   packages/trunk/netpanzer/debian/control
   packages/trunk/netpanzer/debian/copyright
   packages/trunk/netpanzer/debian/rules
Log:
+   - remove merged patches:
+    * 01_gcc4.1.patch
+    * 02_setframe_denial_of_service.patch
+  * 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)


Copied: packages/attic/netpanzer-data (from rev 3332, 
packages/trunk/netpanzer-data)

Modified: packages/trunk/netpanzer/debian/changelog
===================================================================
--- packages/trunk/netpanzer/debian/changelog   2007-07-11 12:26:53 UTC (rev 
3333)
+++ packages/trunk/netpanzer/debian/changelog   2007-07-11 13:53:17 UTC (rev 
3334)
@@ -1,11 +1,18 @@
-netpanzer (0.8.2-1) UNRELEASED; urgency=low
+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
-   - i removed this entry from 0.8+svn20060319-2 the changelog
+   - 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) 
 
  -- Gonéri Le Bouder <[EMAIL PROTECTED]>  Thu,  7 Dec 2006 18:09:04 +0100
 

Modified: packages/trunk/netpanzer/debian/control
===================================================================
--- packages/trunk/netpanzer/debian/control     2007-07-11 12:26:53 UTC (rev 
3333)
+++ packages/trunk/netpanzer/debian/control     2007-07-11 13:53:17 UTC (rev 
3334)
@@ -3,12 +3,12 @@
 Priority: optional
 Maintainer: Debian Games Team <[EMAIL PROTECTED]>
 Uploaders: Gonéri Le Bouder <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 5.0.0), jam, pkg-config (>= 0.15.0), 
libsdl1.2-dev, libsdl-mixer1.2-dev, libsdl-image1.2-dev, libphysfs-dev, cdbs
+Build-Depends: debhelper (>= 5.0.0), jam, pkg-config (>= 0.15.0), 
libsdl1.2-dev, libsdl-mixer1.2-dev, libsdl-image1.2-dev, libphysfs-dev, quilt
 Standards-Version: 3.7.2
 
 Package: netpanzer
 Architecture: any
-Depends: ${shlibs:Depends}, netpanzer-data (>= 0.8-1)
+Depends: ${shlibs:Depends}, netpanzer-data (= ${Source-Version})
 Suggests: xqf
 Description: online multiplayer tactical warfare game
  netPanzer is an isometric view real-time tactical game designed for

Modified: packages/trunk/netpanzer/debian/copyright
===================================================================
--- packages/trunk/netpanzer/debian/copyright   2007-07-11 12:26:53 UTC (rev 
3333)
+++ packages/trunk/netpanzer/debian/copyright   2007-07-11 13:53:17 UTC (rev 
3334)
@@ -16,6 +16,7 @@
 
 Copyright 1998 Pyrosoft Inc. (www.pyrosoftgames.com), Matthew Bogue
 Copyright 2003-2005 Matthias Braun <[EMAIL PROTECTED]> and others
+Copyright 2007 Aaron Perez <[EMAIL PROTECTED]>
 
 License:
 

Added: packages/trunk/netpanzer/debian/netpanzer-data.install
===================================================================
--- packages/trunk/netpanzer/debian/netpanzer-data.install                      
        (rev 0)
+++ packages/trunk/netpanzer/debian/netpanzer-data.install      2007-07-11 
13:53:17 UTC (rev 3334)
@@ -0,0 +1 @@
+/usr/share/games/netpanzer

Added: packages/trunk/netpanzer/debian/netpanzer.install
===================================================================
--- packages/trunk/netpanzer/debian/netpanzer.install                           
(rev 0)
+++ packages/trunk/netpanzer/debian/netpanzer.install   2007-07-11 13:53:17 UTC 
(rev 3334)
@@ -0,0 +1,2 @@
+/usr/games
+/usr/share/pixmaps

Deleted: packages/trunk/netpanzer/debian/patches/01_gcc4.1.patch
===================================================================
--- packages/trunk/netpanzer/debian/patches/01_gcc4.1.patch     2007-07-11 
12:26:53 UTC (rev 3333)
+++ packages/trunk/netpanzer/debian/patches/01_gcc4.1.patch     2007-07-11 
13:53:17 UTC (rev 3334)
@@ -1,40 +0,0 @@
-## DP: author: Martin Michlmayr
-## DP: fix build on gcc4.1
-diff -ru netpanzer-0.8+svn20060319.orig/src/Lib/Network/Address.hpp 
netpanzer-0.8+svn20060319/src/Lib/Network/Address.hpp
---- netpanzer-0.8+svn20060319.orig/src/Lib/Network/Address.hpp 2006-03-20 
17:44:11.000000000 +0100
-+++ netpanzer-0.8+svn20060319/src/Lib/Network/Address.hpp      2006-03-20 
17:46:10.000000000 +0100
-@@ -34,7 +34,7 @@
-     /** resolves a hostname or IP-Number together with a port and returns a
-      * new Address object.
-      */
--    static Address Address::resolve(const std::string& name, uint16_t port);
-+    static Address resolve(const std::string& name, uint16_t port);
- 
-     /** returns the ip address of this Address as string */
-     std::string getIP() const;
-diff -ru netpanzer-0.8+svn20060319.orig/src/NetPanzer/Classes/PlayerState.hpp 
netpanzer-0.8+svn20060319/src/NetPanzer/Classes/PlayerState.hpp
---- netpanzer-0.8+svn20060319.orig/src/NetPanzer/Classes/PlayerState.hpp       
2006-03-20 17:44:11.000000000 +0100
-+++ netpanzer-0.8+svn20060319/src/NetPanzer/Classes/PlayerState.hpp    
2006-03-20 17:45:32.000000000 +0100
-@@ -81,8 +81,8 @@
- public:
-     PlayerUnitConfig unit_config;
- 
--    PlayerState::PlayerState();
--    PlayerState::PlayerState(const PlayerState& other);
-+    PlayerState();
-+    PlayerState(const PlayerState& other);
- 
-     void operator= (const PlayerState& other);
- 
-diff -ru netpanzer-0.8+svn20060319.orig/src/NetPanzer/Interfaces/Console.cpp 
netpanzer-0.8+svn20060319/src/NetPanzer/Interfaces/Console.cpp
---- netpanzer-0.8+svn20060319.orig/src/NetPanzer/Interfaces/Console.cpp        
2006-03-20 17:44:11.000000000 +0100
-+++ netpanzer-0.8+svn20060319/src/NetPanzer/Interfaces/Console.cpp     
2006-03-20 17:45:08.000000000 +0100
-@@ -46,7 +46,7 @@
-         setp(buf, buf+sizeof(buf));
-     }
- 
--    FileStampStreamBuf::~FileStampStreamBuf()
-+    ~FileStampStreamBuf()
-     {
-         sync();
-         if(file)

Deleted: 
packages/trunk/netpanzer/debian/patches/02_setframe_denial_of_service.patch
===================================================================
--- packages/trunk/netpanzer/debian/patches/02_setframe_denial_of_service.patch 
2007-07-11 12:26:53 UTC (rev 3333)
+++ packages/trunk/netpanzer/debian/patches/02_setframe_denial_of_service.patch 
2007-07-11 13:53:17 UTC (rev 3334)
@@ -1,15 +0,0 @@
-# use an exception instead of an assert since assert do an exit
---- src/Lib/2D/Surface.hpp.orig        2006-06-04 14:16:29.000000000 +0200
-+++ src/Lib/2D/Surface.hpp     2006-06-04 14:09:17.000000000 +0200
-@@ -366,8 +366,9 @@
- 
-     void setFrame(const float &frameNum)
-     {
--        assert(frameNum >= 0.0);
--        assert(frameNum < frameCount);
-+        if (frameNum < 0.0 || frameNum >= frameCount)
-+            return;
-+        
-         mem = frame0 + (pix.y * stride) * int(frameNum);
-     }
- 

Added: packages/trunk/netpanzer/debian/patches/gcc-4.3.diff
===================================================================
--- packages/trunk/netpanzer/debian/patches/gcc-4.3.diff                        
        (rev 0)
+++ packages/trunk/netpanzer/debian/patches/gcc-4.3.diff        2007-07-11 
13:53:17 UTC (rev 3334)
@@ -0,0 +1,49 @@
+Index: netpanzer-0.8.2/src/Lib/2D/ColorTable.cpp
+===================================================================
+--- netpanzer-0.8.2.orig/src/Lib/2D/ColorTable.cpp     2007-07-11 
12:59:02.000000000 +0000
++++ netpanzer-0.8.2/src/Lib/2D/ColorTable.cpp  2007-07-11 12:59:12.000000000 
+0000
+@@ -17,6 +17,8 @@
+ */
+ #include <config.h>
+ 
++#include <memory>
++
+ #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        2007-07-11 
12:58:40.000000000 +0000
++++ netpanzer-0.8.2/src/Lib/2D/Palette.cpp     2007-07-11 12:58:52.000000000 
+0000
+@@ -18,6 +18,7 @@
+ #include <config.h>
+ 
+ #include <math.h>
++#include <memory>
+ 
+ #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 2007-07-11 
12:59:19.000000000 +0000
++++ netpanzer-0.8.2/src/NetPanzer/Network/ProxyServer.cpp      2007-07-11 
12:59:34.000000000 +0000
+@@ -17,6 +17,7 @@
+ */
+ #include <config.h>
+ 
++#include <cstdlib>
+ #include <string>
+ #include <stdexcept>
+ #include <ctype.h>
+Index: netpanzer-0.8.2/src/NetPanzer/Views/MainMenu/Multi/MapSelectionView.cpp
+===================================================================
+--- 
netpanzer-0.8.2.orig/src/NetPanzer/Views/MainMenu/Multi/MapSelectionView.cpp    
   2007-07-11 12:59:44.000000000 +0000
++++ netpanzer-0.8.2/src/NetPanzer/Views/MainMenu/Multi/MapSelectionView.cpp    
2007-07-11 12:59:52.000000000 +0000
+@@ -17,6 +17,7 @@
+ */
+ #include <config.h>
+ 
++#include <memory>
+ #include <vector>
+ #include <string>
+ #include "MapSelectionView.hpp"

Added: packages/trunk/netpanzer/debian/patches/series
===================================================================
--- packages/trunk/netpanzer/debian/patches/series                              
(rev 0)
+++ packages/trunk/netpanzer/debian/patches/series      2007-07-11 13:53:17 UTC 
(rev 3334)
@@ -0,0 +1 @@
+gcc-4.3.diff

Modified: packages/trunk/netpanzer/debian/rules
===================================================================
--- packages/trunk/netpanzer/debian/rules       2007-07-11 12:26:53 UTC (rev 
3333)
+++ packages/trunk/netpanzer/debian/rules       2007-07-11 13:53:17 UTC (rev 
3334)
@@ -3,7 +3,6 @@
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
 
 # These are used for cross-compiling and for saving the configure script
 # from having to guess our platform (since we know it already)
@@ -23,6 +22,7 @@
 
 config.status: configure
        dh_testdir
+       QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2
        CFLAGS="$(CFLAGS)" ./configure --without-wx-config 
--host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr 
--bindir=\$${prefix}/games --mandir=\$${prefix}/share/man 
--infodir=\$${prefix}/share/info --datadir=\$${prefix}/share/games
 
 build: build-stamp
@@ -33,13 +33,13 @@
 
        touch build-stamp
 
-clean::
+clean:
        dh_testdir
        dh_testroot
        rm -f build-stamp 
-
+       
        if test -f $(CURDIR)/Jamconfig; then jam distclean; fi
-
+       QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2
        dh_clean 
 
 install: build
@@ -48,10 +48,10 @@
        dh_clean -k 
        dh_installdirs
 
-       jam -sprefix=$(CURDIR)/debian/netpanzer/usr \
-       -sapplicationsdir=$(CURDIR)/debian/netpanzer/usr/share/applications \
-       -sNO_DATA=1 install
-       -rm -fR debian/netpanzer/usr/share/games/
+       jam -sprefix=$(CURDIR)/debian/tmp/usr \
+       -sapplicationsdir=$(CURDIR)/debian/netpanzer/usr/share/applications 
install
+       rm -Rf debian/tmp/usr/share/games/doc
+       [ ! -d debian/tmp/usr/share/games/pixmaps ] || mv 
debian/tmp/usr/share/games/pixmaps debian/tmp/usr/share/pixmaps
 
 binary-indep: build install
 
@@ -59,16 +59,16 @@
        dh_testdir
        dh_testroot
        dh_installchangelogs ChangeLog
-       dh_installdocs
+       dh_installdocs docs/tipofday.txt docs/serverhowto.html
        dh_installman docs/netpanzer.6
        dh_installmenu
-       dh_install 
+       dh_install --fail-missing --sourcedir=debian/tmp
        dh_link
-       dh_strip
+       dh_strip --dbg-package=netpanzer-dbg
        dh_compress
        dh_fixperms
        dh_installdeb
-       dh_shlibdeps --dbg-package=netpanzer-dbg
+       dh_shlibdeps
        dh_gencontrol
        dh_md5sums
        dh_builddeb


_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits

Reply via email to