r15178 - in packages/tags/antigrav: . 0.0.3-6/debian 0.0.3-6/debian/patches
Vincent Fourmond
fourmond at moszumanska.debian.org
Tue Sep 2 20:53:55 UTC 2014
Author: fourmond
Date: 2014-09-02 20:53:55 +0000 (Tue, 02 Sep 2014)
New Revision: 15178
Added:
packages/tags/antigrav/0.0.3-6/
packages/tags/antigrav/0.0.3-6/debian/changelog
packages/tags/antigrav/0.0.3-6/debian/control
packages/tags/antigrav/0.0.3-6/debian/patches/01_fix_png_load.diff
packages/tags/antigrav/0.0.3-6/debian/patches/02_fix_sound.diff
packages/tags/antigrav/0.0.3-6/debian/patches/03_daca_fixes.diff
packages/tags/antigrav/0.0.3-6/debian/patches/04-height-selection.diff
packages/tags/antigrav/0.0.3-6/debian/patches/05-use-sys-tinyxml.diff
packages/tags/antigrav/0.0.3-6/debian/patches/series
packages/tags/antigrav/0.0.3-6/debian/rules
Removed:
packages/tags/antigrav/0.0.3-6/debian/changelog
packages/tags/antigrav/0.0.3-6/debian/control
packages/tags/antigrav/0.0.3-6/debian/patches/01_fix_png_load.diff
packages/tags/antigrav/0.0.3-6/debian/patches/02_fix_sound.diff
packages/tags/antigrav/0.0.3-6/debian/patches/03_daca_fixes.diff
packages/tags/antigrav/0.0.3-6/debian/patches/04-height-selection.diff
packages/tags/antigrav/0.0.3-6/debian/patches/series
packages/tags/antigrav/0.0.3-6/debian/rules
Log:
[svn-buildpackage] Tagging antigrav 0.0.3-6
Deleted: packages/tags/antigrav/0.0.3-6/debian/changelog
===================================================================
--- packages/trunk/antigrav/debian/changelog 2014-09-02 14:20:19 UTC (rev 15176)
+++ packages/tags/antigrav/0.0.3-6/debian/changelog 2014-09-02 20:53:55 UTC (rev 15178)
@@ -1,99 +0,0 @@
-antigrav (0.0.3-6) UNRELEASED; urgency=low
-
- * Correct Vcs-* URLs to point to anonscm.debian.org
-
- -- Evgeni Golov <evgeni at debian.org> Mon, 15 Jul 2013 22:21:04 +0200
-
-antigrav (0.0.3-5) unstable; urgency=low
-
- * Build-depends on libpng-dev (closes: #662269)
- * Conforms to standards 3.9.3
-
- -- Vincent Fourmond <fourmond at debian.org> Mon, 05 Mar 2012 21:33:21 +0100
-
-antigrav (0.0.3-4) unstable; urgency=low
-
- * Upload to unstable
-
- -- Vincent Fourmond <fourmond at debian.org> Wed, 09 Feb 2011 21:06:24 +0100
-
-antigrav (0.0.3-3) experimental; urgency=low
-
- * Switched to format 3.0 (quilt)
- * Applied patch courtesy of Mario Lang <mlang at debian.org> to fix few
- DACA-detected problems (closes: #610305) (03_daca_fixes.diff)
- * Adding ${misc:Depends} for potential dh-induced dependencies
- * Switched build system to a pure dh 7 debian/rules (and, in passing, I
- cannot help but express my gratitude to the authors of the dh sequencer)
- * Conforms to standards 3.9.1
- * Patch 04-height-selection.diff to provide a -H option to allow the
- user to change the aspect ratio (closes: #538910)
-
- -- Vincent Fourmond <fourmond at debian.org> Wed, 26 Jan 2011 22:34:32 +0100
-
-antigrav (0.0.3-2) unstable; urgency=low
-
- * Push back the 01-fix-png-load to fix segfault on (at least) AMD64
- (Closes: #457944)
- * Tidy up patches
- * Added myself to Uploaders
-
- -- Vincent Fourmond <fourmond at debian.org> Thu, 27 Dec 2007 15:11:07 +0100
-
-antigrav (0.0.3-1) unstable; urgency=low
-
- [ Barry deFreese ]
- * New maintainer (Closes: #453739)
- + Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
- * Add myself to uploaders
- * New upstream release
- * Bump standards version to 3.7.3 (No changes necessary)
- * Move Homepage field from package description to header
- * Add VCS fields to control
- * Make distclean not ignore errors
- * Remove deprecated Encoding tag from desktop file
- * Add quilt patching system and move previous changes to patches:
- + 02_fix_sound.diff - Fix sound handling
- * Add watch file
- * Change menu section from Games/Arcade to Games/Action
-
- -- Barry deFreese <bddebian at comcast.net> Tue, 11 Dec 2007 12:35:27 -0500
-
-antigrav (0.0.2-6) unstable; urgency=low
-
- * Orphaning package, setting maintainer to the Debian QA Group.
-
- -- Ana Beatriz Guerrero Lopez <ana at debian.org> Wed, 05 Dec 2007 15:49:55 +0100
-
-antigrav (0.0.2-5) unstable; urgency=low
-
- * Apply patch from Michael Daenzer <daenzer at debian.org>
- to fix sound. (Closes: #399758)
- * Added desktop file.
-
- -- Gürkan Sengün <gurkan at linuks.mine.nu> Sat, 30 Jun 2007 14:56:31 +0200
-
-antigrav (0.0.2-4) unstable; urgency=low
-
- * Applied patch from Pascal Giard <evilynux at gmail.com>
- to fix PNG image loading. (Closes: #400051)
-
- -- Gürkan Sengün <gurkan at linuks.mine.nu> Fri, 1 Dec 2006 09:19:53 +0100
-
-antigrav (0.0.2-3) unstable; urgency=low
-
- * Allow playing without sound. (Closes: #399758)
-
- -- Gürkan Sengün <gurkan at linuks.mine.nu> Thu, 30 Nov 2006 09:09:46 +0100
-
-antigrav (0.0.2-2) unstable; urgency=low
-
- * Applied patch of Andreas Jochens to fix FTBFS. (Closes: #398248)
-
- -- Gürkan Sengün <gurkan at linuks.mine.nu> Sun, 19 Nov 2006 20:46:01 +0100
-
-antigrav (0.0.2-1) unstable; urgency=low
-
- * Initial release. (Closes: #393265)
-
- -- Gürkan Sengün <gurkan at linuks.mine.nu> Sun, 15 Oct 2006 21:21:30 +0200
Copied: packages/tags/antigrav/0.0.3-6/debian/changelog (from rev 15177, packages/trunk/antigrav/debian/changelog)
===================================================================
--- packages/tags/antigrav/0.0.3-6/debian/changelog (rev 0)
+++ packages/tags/antigrav/0.0.3-6/debian/changelog 2014-09-02 20:53:55 UTC (rev 15178)
@@ -0,0 +1,107 @@
+antigrav (0.0.3-6) unstable; urgency=low
+
+ [ Evgeni Golov ]
+ * Correct Vcs-* URLs to point to anonscm.debian.org
+
+ [ Vincent Fourmond ]
+ * Use dh-autoreconf to get rid of build problems on new architectures
+ (closes: #752014)
+ * Bump to recent standards, no need for changes
+ * Now using system tinyxml (and not the embedded copy)
+ * Refreshed patches
+
+ -- Vincent Fourmond <fourmond at debian.org> Tue, 02 Sep 2014 22:49:32 +0200
+
+antigrav (0.0.3-5) unstable; urgency=low
+
+ * Build-depends on libpng-dev (closes: #662269)
+ * Conforms to standards 3.9.3
+
+ -- Vincent Fourmond <fourmond at debian.org> Mon, 05 Mar 2012 21:33:21 +0100
+
+antigrav (0.0.3-4) unstable; urgency=low
+
+ * Upload to unstable
+
+ -- Vincent Fourmond <fourmond at debian.org> Wed, 09 Feb 2011 21:06:24 +0100
+
+antigrav (0.0.3-3) experimental; urgency=low
+
+ * Switched to format 3.0 (quilt)
+ * Applied patch courtesy of Mario Lang <mlang at debian.org> to fix few
+ DACA-detected problems (closes: #610305) (03_daca_fixes.diff)
+ * Adding ${misc:Depends} for potential dh-induced dependencies
+ * Switched build system to a pure dh 7 debian/rules (and, in passing, I
+ cannot help but express my gratitude to the authors of the dh sequencer)
+ * Conforms to standards 3.9.1
+ * Patch 04-height-selection.diff to provide a -H option to allow the
+ user to change the aspect ratio (closes: #538910)
+
+ -- Vincent Fourmond <fourmond at debian.org> Wed, 26 Jan 2011 22:34:32 +0100
+
+antigrav (0.0.3-2) unstable; urgency=low
+
+ * Push back the 01-fix-png-load to fix segfault on (at least) AMD64
+ (Closes: #457944)
+ * Tidy up patches
+ * Added myself to Uploaders
+
+ -- Vincent Fourmond <fourmond at debian.org> Thu, 27 Dec 2007 15:11:07 +0100
+
+antigrav (0.0.3-1) unstable; urgency=low
+
+ [ Barry deFreese ]
+ * New maintainer (Closes: #453739)
+ + Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
+ * Add myself to uploaders
+ * New upstream release
+ * Bump standards version to 3.7.3 (No changes necessary)
+ * Move Homepage field from package description to header
+ * Add VCS fields to control
+ * Make distclean not ignore errors
+ * Remove deprecated Encoding tag from desktop file
+ * Add quilt patching system and move previous changes to patches:
+ + 02_fix_sound.diff - Fix sound handling
+ * Add watch file
+ * Change menu section from Games/Arcade to Games/Action
+
+ -- Barry deFreese <bddebian at comcast.net> Tue, 11 Dec 2007 12:35:27 -0500
+
+antigrav (0.0.2-6) unstable; urgency=low
+
+ * Orphaning package, setting maintainer to the Debian QA Group.
+
+ -- Ana Beatriz Guerrero Lopez <ana at debian.org> Wed, 05 Dec 2007 15:49:55 +0100
+
+antigrav (0.0.2-5) unstable; urgency=low
+
+ * Apply patch from Michael Daenzer <daenzer at debian.org>
+ to fix sound. (Closes: #399758)
+ * Added desktop file.
+
+ -- Gürkan Sengün <gurkan at linuks.mine.nu> Sat, 30 Jun 2007 14:56:31 +0200
+
+antigrav (0.0.2-4) unstable; urgency=low
+
+ * Applied patch from Pascal Giard <evilynux at gmail.com>
+ to fix PNG image loading. (Closes: #400051)
+
+ -- Gürkan Sengün <gurkan at linuks.mine.nu> Fri, 1 Dec 2006 09:19:53 +0100
+
+antigrav (0.0.2-3) unstable; urgency=low
+
+ * Allow playing without sound. (Closes: #399758)
+
+ -- Gürkan Sengün <gurkan at linuks.mine.nu> Thu, 30 Nov 2006 09:09:46 +0100
+
+antigrav (0.0.2-2) unstable; urgency=low
+
+ * Applied patch of Andreas Jochens to fix FTBFS. (Closes: #398248)
+
+ -- Gürkan Sengün <gurkan at linuks.mine.nu> Sun, 19 Nov 2006 20:46:01 +0100
+
+antigrav (0.0.2-1) unstable; urgency=low
+
+ * Initial release. (Closes: #393265)
+
+ -- Gürkan Sengün <gurkan at linuks.mine.nu> Sun, 15 Oct 2006 21:21:30 +0200
Deleted: packages/tags/antigrav/0.0.3-6/debian/control
===================================================================
--- packages/trunk/antigrav/debian/control 2014-09-02 14:20:19 UTC (rev 15176)
+++ packages/tags/antigrav/0.0.3-6/debian/control 2014-09-02 20:53:55 UTC (rev 15178)
@@ -1,20 +0,0 @@
-Source: antigrav
-Section: games
-Priority: optional
-Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
-Uploaders: Barry deFreese <bddebian at comcast.net>,
- Vincent Fourmond <fourmond at debian.org>
-Build-Depends: debhelper (>> 7), autotools-dev, zlib1g-dev, libpng-dev, libalut-dev, libopenal-dev, libsdl1.2-dev
-Standards-Version: 3.9.3
-Homepage: http://www.luolamies.org/software/antigrav/
-Vcs-Svn: svn://anonscm.debian.org/pkg-games/packages/trunk/antigrav/
-Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-games/packages/trunk/antigrav/
-
-Package: antigravitaattori
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: Multiplayer flying saucer racing game
- This is a multiplayer flying saucer racing game, made for
- Assembly 2006 game competition. It is a great and fun game
- for the family with up to four players. Coming with
- astonishing 3d rendered graphics.
Copied: packages/tags/antigrav/0.0.3-6/debian/control (from rev 15177, packages/trunk/antigrav/debian/control)
===================================================================
--- packages/tags/antigrav/0.0.3-6/debian/control (rev 0)
+++ packages/tags/antigrav/0.0.3-6/debian/control 2014-09-02 20:53:55 UTC (rev 15178)
@@ -0,0 +1,20 @@
+Source: antigrav
+Section: games
+Priority: optional
+Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
+Uploaders: Barry deFreese <bddebian at comcast.net>,
+ Vincent Fourmond <fourmond at debian.org>
+Build-Depends: debhelper (>> 7), autotools-dev, zlib1g-dev, libpng-dev, libalut-dev, libopenal-dev, libsdl1.2-dev, dh-autoreconf, libtinyxml-dev
+Standards-Version: 3.9.5
+Homepage: http://www.luolamies.org/software/antigrav/
+Vcs-Svn: svn://anonscm.debian.org/pkg-games/packages/trunk/antigrav/
+Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-games/packages/trunk/antigrav/
+
+Package: antigravitaattori
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Multiplayer flying saucer racing game
+ This is a multiplayer flying saucer racing game, made for
+ Assembly 2006 game competition. It is a great and fun game
+ for the family with up to four players. Coming with
+ astonishing 3d rendered graphics.
Deleted: packages/tags/antigrav/0.0.3-6/debian/patches/01_fix_png_load.diff
===================================================================
--- packages/trunk/antigrav/debian/patches/01_fix_png_load.diff 2014-09-02 14:20:19 UTC (rev 15176)
+++ packages/tags/antigrav/0.0.3-6/debian/patches/01_fix_png_load.diff 2014-09-02 20:53:55 UTC (rev 15178)
@@ -1,124 +0,0 @@
-diff -urN antigrav-0.0.2.orig/src/m3dtexture.cpp antigrav-0.0.2/src/m3dtexture.cpp
---- antigrav-0.0.2.orig/src/m3dtexture.cpp 2006-08-04 15:38:31.000000000 -0400
-+++ antigrav-0.0.2/src/m3dtexture.cpp 2007-12-15 11:07:44.000000000 -0500
-@@ -104,6 +104,7 @@
- if(loadPNG(texUnits[n].filename.c_str(), &data, &(texUnits[n].width), &(texUnits[n].height)) != 0)
- {
- fprintf(stderr, "Invalid: can't load texture %s\n", texUnits[n].filename.c_str());
-+ fprintf(stderr, "Width %u, Height %u\n",&(texUnits[n].width), &(texUnits[n].height));
- return -1;
- }
-
-@@ -148,6 +149,7 @@
- if(loadPNG(texUnits[n].filename.c_str(), &data, &(texUnits[n].width), &(texUnits[n].height)) != 0)
- {
- fprintf(stderr, "Invalid: can't load texture %s\n", texUnits[n].filename.c_str());
-+ fprintf(stderr, "Width %u, Height %u\n",&(texUnits[n].width), &(texUnits[n].height));
- return -1;
- }
-
-@@ -204,7 +206,7 @@
- @param height a pointer where to store the image width
- @return 0 on success, -1 on failure
- */
--int m3dTexture::loadPNG(const char *filename, unsigned char **data, unsigned int *width, unsigned int *height)
-+int m3dTexture::loadPNG(const char *filename, unsigned char **data, png_uint_32 *width, png_uint_32 *height)
- {
- FILE *f;
- int result;
-@@ -221,7 +223,7 @@
- return result;
- }
-
--int m3dTexture::loadPNG(unsigned char **data, unsigned int *width, unsigned int *height, void *handle, void (*pngReadCallback)(png_structp ctx, png_bytep area, png_size_t size))
-+int m3dTexture::loadPNG(unsigned char **data, png_uint_32 *width, png_uint_32 *height, void *handle, void (*pngReadCallback)(png_structp ctx, png_bytep area, png_size_t size))
- {
- png_structp pngPtr;
- png_infop pngInfoPtr;
-@@ -258,7 +260,7 @@
- png_set_read_fn(pngPtr, handle, pngReadCallback);
-
- png_read_info(pngPtr, pngInfoPtr);
-- png_get_IHDR(pngPtr, pngInfoPtr, (png_uint_32*)width, (png_uint_32*)height, &bitDepth, &colorType, &interlaceType, NULL, NULL);
-+ png_get_IHDR(pngPtr, pngInfoPtr, width, height, &bitDepth, &colorType, &interlaceType, NULL, NULL);
-
- png_set_strip_16(pngPtr);
-
-@@ -279,7 +281,7 @@
- }
-
- png_read_update_info(pngPtr, pngInfoPtr);
-- png_get_IHDR(pngPtr, pngInfoPtr, (png_uint_32*)width, (png_uint_32*)height, &bitDepth, &colorType, &interlaceType, NULL, NULL);
-+ png_get_IHDR(pngPtr, pngInfoPtr, width, height, &bitDepth, &colorType, &interlaceType, NULL, NULL);
-
- (*data) = new unsigned char[(*width) * (*height) * pngInfoPtr->channels];
- if((*data) == NULL)
-@@ -312,7 +314,7 @@
- return 0;
- }
-
--int m3dTexture::savePNG(const char *filename, const unsigned char *data, unsigned int width, unsigned int height)
-+int m3dTexture::savePNG(const char *filename, const unsigned char *data, png_uint_32 width, png_uint_32 height)
- {
- FILE *f;
- int result;
-@@ -345,7 +347,7 @@
- fflush(f);
- }
-
--int m3dTexture::savePNG(const unsigned char *data, unsigned int width, unsigned int height, void *handle, void (*pngWriteCallback)(png_structp pngPtr, png_bytep data, png_size_t length), void (*pngFlushCallback)(png_structp pngPtr))
-+int m3dTexture::savePNG(const unsigned char *data, png_uint_32 width, png_uint_32 height, void *handle, void (*pngWriteCallback)(png_structp pngPtr, png_bytep data, png_size_t length), void (*pngFlushCallback)(png_structp pngPtr))
- {
- png_structp pngPtr;
- png_infop pngInfoPtr;
-@@ -435,7 +437,7 @@
- GLuint m3dTexture::loadTexture(const char *filename)
- {
- unsigned char *data;
-- unsigned int width, height;
-+ png_uint_32 width, height;
- GLuint tex;
-
- glGenTextures(1, &tex);
-@@ -443,6 +445,7 @@
- if(m3dTexture::loadPNG(filename, &data, &width, &height) != 0)
- {
- fprintf(stderr, "Can't load texture %s\n", filename);
-+ fprintf(stderr, "Width %d, Height %d\n",&width, &height);
- return 0;
- }
-
-diff -urN antigrav-0.0.2.orig/src/m3dtexture.h antigrav-0.0.2/src/m3dtexture.h
---- antigrav-0.0.2.orig/src/m3dtexture.h 2006-08-04 15:38:31.000000000 -0400
-+++ antigrav-0.0.2/src/m3dtexture.h 2007-12-15 11:07:44.000000000 -0500
-@@ -9,7 +9,7 @@
- {
- std::string filename;
- GLuint handle;
-- unsigned int width, height;
-+ png_uint_32 width, height;
- };
-
- /// A texture
-@@ -34,8 +34,8 @@
-
- m3dTexture &operator=(const m3dTexture &t);
-
-- static int loadPNG(const char *filename, unsigned char **data, unsigned int *width, unsigned int *height);
-- static int savePNG(const char *filename, const unsigned char *data, unsigned int width, unsigned int height);
-+ static int loadPNG(const char *filename, unsigned char **data, png_uint_32 *width, png_uint_32 *height);
-+ static int savePNG(const char *filename, const unsigned char *data, png_uint_32 width, png_uint_32 height);
- static int screenshot(const char *filename);
-
- static GLuint loadTexture(const char *filename);
-@@ -48,8 +48,8 @@
- static void pngWriteCallbackSTDIO(png_structp pngPtr, png_bytep data, png_size_t length);
- static void pngFlushCallbackSTDIO(png_structp pngPtr);
-
-- static int loadPNG(unsigned char **data, unsigned int *width, unsigned int *height, void *handle, void (*pngReadCallback)(png_structp ctx, png_bytep area, png_size_t size));
-- static int savePNG(const unsigned char *data, unsigned int width, unsigned int height, void *handle, void (*pngWriteCallback)(png_structp pngPtr, png_bytep data, png_size_t length), void (*pngFlushCallback)(png_structp pngPtr));
-+ static int loadPNG(unsigned char **data, png_uint_32 *width, png_uint_32 *height, void *handle, void (*pngReadCallback)(png_structp ctx, png_bytep area, png_size_t size));
-+ static int savePNG(const unsigned char *data, png_uint_32 width, png_uint_32 height, void *handle, void (*pngWriteCallback)(png_structp pngPtr, png_bytep data, png_size_t length), void (*pngFlushCallback)(png_structp pngPtr));
- };
-
- #endif
Copied: packages/tags/antigrav/0.0.3-6/debian/patches/01_fix_png_load.diff (from rev 15177, packages/trunk/antigrav/debian/patches/01_fix_png_load.diff)
===================================================================
--- packages/tags/antigrav/0.0.3-6/debian/patches/01_fix_png_load.diff (rev 0)
+++ packages/tags/antigrav/0.0.3-6/debian/patches/01_fix_png_load.diff 2014-09-02 20:53:55 UTC (rev 15178)
@@ -0,0 +1,126 @@
+Index: antigrav-0.0.3/src/m3dtexture.cpp
+===================================================================
+--- antigrav-0.0.3.orig/src/m3dtexture.cpp
++++ antigrav-0.0.3/src/m3dtexture.cpp
+@@ -104,6 +104,7 @@ int m3dTexture::loadFromXML(const TiXmlE
+ if(loadPNG(texUnits[n].filename.c_str(), &data, &(texUnits[n].width), &(texUnits[n].height)) != 0)
+ {
+ fprintf(stderr, "Invalid: can't load texture %s\n", texUnits[n].filename.c_str());
++ fprintf(stderr, "Width %u, Height %u\n",&(texUnits[n].width), &(texUnits[n].height));
+ return -1;
+ }
+
+@@ -148,6 +149,7 @@ int m3dTexture::load(int num, const char
+ if(loadPNG(texUnits[n].filename.c_str(), &data, &(texUnits[n].width), &(texUnits[n].height)) != 0)
+ {
+ fprintf(stderr, "Invalid: can't load texture %s\n", texUnits[n].filename.c_str());
++ fprintf(stderr, "Width %u, Height %u\n",&(texUnits[n].width), &(texUnits[n].height));
+ return -1;
+ }
+
+@@ -204,7 +206,7 @@ void m3dTexture::pngReadCallbackSTDIO(pn
+ @param height a pointer where to store the image width
+ @return 0 on success, -1 on failure
+ */
+-int m3dTexture::loadPNG(const char *filename, unsigned char **data, unsigned int *width, unsigned int *height)
++int m3dTexture::loadPNG(const char *filename, unsigned char **data, png_uint_32 *width, png_uint_32 *height)
+ {
+ FILE *f;
+ int result;
+@@ -221,7 +223,7 @@ int m3dTexture::loadPNG(const char *file
+ return result;
+ }
+
+-int m3dTexture::loadPNG(unsigned char **data, unsigned int *width, unsigned int *height, void *handle, void (*pngReadCallback)(png_structp ctx, png_bytep area, png_size_t size))
++int m3dTexture::loadPNG(unsigned char **data, png_uint_32 *width, png_uint_32 *height, void *handle, void (*pngReadCallback)(png_structp ctx, png_bytep area, png_size_t size))
+ {
+ png_structp pngPtr;
+ png_infop pngInfoPtr;
+@@ -258,7 +260,7 @@ int m3dTexture::loadPNG(unsigned char **
+ png_set_read_fn(pngPtr, handle, pngReadCallback);
+
+ png_read_info(pngPtr, pngInfoPtr);
+- png_get_IHDR(pngPtr, pngInfoPtr, (png_uint_32*)width, (png_uint_32*)height, &bitDepth, &colorType, &interlaceType, NULL, NULL);
++ png_get_IHDR(pngPtr, pngInfoPtr, width, height, &bitDepth, &colorType, &interlaceType, NULL, NULL);
+
+ png_set_strip_16(pngPtr);
+
+@@ -279,7 +281,7 @@ int m3dTexture::loadPNG(unsigned char **
+ }
+
+ png_read_update_info(pngPtr, pngInfoPtr);
+- png_get_IHDR(pngPtr, pngInfoPtr, (png_uint_32*)width, (png_uint_32*)height, &bitDepth, &colorType, &interlaceType, NULL, NULL);
++ png_get_IHDR(pngPtr, pngInfoPtr, width, height, &bitDepth, &colorType, &interlaceType, NULL, NULL);
+
+ (*data) = new unsigned char[(*width) * (*height) * pngInfoPtr->channels];
+ if((*data) == NULL)
+@@ -312,7 +314,7 @@ int m3dTexture::loadPNG(unsigned char **
+ return 0;
+ }
+
+-int m3dTexture::savePNG(const char *filename, const unsigned char *data, unsigned int width, unsigned int height)
++int m3dTexture::savePNG(const char *filename, const unsigned char *data, png_uint_32 width, png_uint_32 height)
+ {
+ FILE *f;
+ int result;
+@@ -345,7 +347,7 @@ void m3dTexture::pngFlushCallbackSTDIO(p
+ fflush(f);
+ }
+
+-int m3dTexture::savePNG(const unsigned char *data, unsigned int width, unsigned int height, void *handle, void (*pngWriteCallback)(png_structp pngPtr, png_bytep data, png_size_t length), void (*pngFlushCallback)(png_structp pngPtr))
++int m3dTexture::savePNG(const unsigned char *data, png_uint_32 width, png_uint_32 height, void *handle, void (*pngWriteCallback)(png_structp pngPtr, png_bytep data, png_size_t length), void (*pngFlushCallback)(png_structp pngPtr))
+ {
+ png_structp pngPtr;
+ png_infop pngInfoPtr;
+@@ -435,7 +437,7 @@ int m3dTexture::screenshot(const char *f
+ GLuint m3dTexture::loadTexture(const char *filename)
+ {
+ unsigned char *data;
+- unsigned int width, height;
++ png_uint_32 width, height;
+ GLuint tex;
+
+ glGenTextures(1, &tex);
+@@ -443,6 +445,7 @@ GLuint m3dTexture::loadTexture(const cha
+ if(m3dTexture::loadPNG(filename, &data, &width, &height) != 0)
+ {
+ fprintf(stderr, "Can't load texture %s\n", filename);
++ fprintf(stderr, "Width %d, Height %d\n",&width, &height);
+ return 0;
+ }
+
+Index: antigrav-0.0.3/src/m3dtexture.h
+===================================================================
+--- antigrav-0.0.3.orig/src/m3dtexture.h
++++ antigrav-0.0.3/src/m3dtexture.h
+@@ -9,7 +9,7 @@ struct TextureUnit
+ {
+ std::string filename;
+ GLuint handle;
+- unsigned int width, height;
++ png_uint_32 width, height;
+ };
+
+ /// A texture
+@@ -34,8 +34,8 @@ public:
+
+ m3dTexture &operator=(const m3dTexture &t);
+
+- static int loadPNG(const char *filename, unsigned char **data, unsigned int *width, unsigned int *height);
+- static int savePNG(const char *filename, const unsigned char *data, unsigned int width, unsigned int height);
++ static int loadPNG(const char *filename, unsigned char **data, png_uint_32 *width, png_uint_32 *height);
++ static int savePNG(const char *filename, const unsigned char *data, png_uint_32 width, png_uint_32 height);
+ static int screenshot(const char *filename);
+
+ static GLuint loadTexture(const char *filename);
+@@ -48,8 +48,8 @@ private:
+ static void pngWriteCallbackSTDIO(png_structp pngPtr, png_bytep data, png_size_t length);
+ static void pngFlushCallbackSTDIO(png_structp pngPtr);
+
+- static int loadPNG(unsigned char **data, unsigned int *width, unsigned int *height, void *handle, void (*pngReadCallback)(png_structp ctx, png_bytep area, png_size_t size));
+- static int savePNG(const unsigned char *data, unsigned int width, unsigned int height, void *handle, void (*pngWriteCallback)(png_structp pngPtr, png_bytep data, png_size_t length), void (*pngFlushCallback)(png_structp pngPtr));
++ static int loadPNG(unsigned char **data, png_uint_32 *width, png_uint_32 *height, void *handle, void (*pngReadCallback)(png_structp ctx, png_bytep area, png_size_t size));
++ static int savePNG(const unsigned char *data, png_uint_32 width, png_uint_32 height, void *handle, void (*pngWriteCallback)(png_structp pngPtr, png_bytep data, png_size_t length), void (*pngFlushCallback)(png_structp pngPtr));
+ };
+
+ #endif
Deleted: packages/tags/antigrav/0.0.3-6/debian/patches/02_fix_sound.diff
===================================================================
--- packages/trunk/antigrav/debian/patches/02_fix_sound.diff 2014-09-02 14:20:19 UTC (rev 15176)
+++ packages/tags/antigrav/0.0.3-6/debian/patches/02_fix_sound.diff 2014-09-02 20:53:55 UTC (rev 15178)
@@ -1,80 +0,0 @@
-diff -urN antigrav-0.0.2.orig/src/main.cpp antigrav-0.0.2/src/main.cpp
---- antigrav-0.0.2.orig/src/main.cpp 2006-08-04 15:38:31.000000000 -0400
-+++ antigrav-0.0.2/src/main.cpp 2007-12-15 11:27:56.000000000 -0500
-@@ -22,6 +22,7 @@
- MFNGLACTIVETEXTUREARBPROC mglActiveTextureARB = NULL;
- #endif
-
-+bool opt_sound = true;
- bool opt_fullscreen = true;
- bool opt_fsaa = false;
- int opt_width = 1024;
-@@ -135,7 +136,8 @@
- if(alutInit(&argc, argv) != AL_TRUE)
- {
- fprintf(stderr, "Can't initialize OpenAL: %s\n", alutGetErrorString(alutGetError()));
-- return -1;
-+ fprintf(stderr, "Turning off sound effects.\n");
-+ opt_sound = false;
- }
-
- if(chdir(DATADIR) != 0)
-@@ -167,6 +169,11 @@
- return 0;
- }
-
-+void swapWavBytes(Uint8 *buffer, Uint32 length)
-+{
-+ swab(buffer, buffer, length);
-+}
-+
- ALuint loadWavBuffer(const char *filename)
- {
- ALuint buffer;
-@@ -188,20 +195,40 @@
-
- if(wav_spec.channels == 1)
- {
-- if(wav_spec.format == AUDIO_U8) format = AL_FORMAT_MONO8;
-- else if(wav_spec.format == AUDIO_S16SYS) format = AL_FORMAT_MONO16;
-- else
-+ switch(wav_spec.format)
- {
-+ case AUDIO_U8:
-+ format = AL_FORMAT_MONO8;
-+ break;
-+ case AUDIO_S16LSB:
-+ case AUDIO_S16MSB:
-+ format = AL_FORMAT_MONO16;
-+ if (wav_spec.format != AUDIO_S16SYS)
-+ {
-+ swapWavBytes(wav_buffer, wav_length);
-+ }
-+ break;
-+ default:
- fprintf(stderr, "Can't open %s : unknown audio format\n", filename);
- SDL_FreeWAV(wav_buffer);
- return AL_NONE;
- }
- } else if(wav_spec.channels == 2)
- {
-- if(wav_spec.format == AUDIO_U8) format = AL_FORMAT_STEREO8;
-- else if(wav_spec.format == AUDIO_S16SYS) format = AL_FORMAT_STEREO16;
-- else
-+ switch(wav_spec.format)
- {
-+ case AUDIO_U8:
-+ format = AL_FORMAT_STEREO8;
-+ break;
-+ case AUDIO_S16LSB:
-+ case AUDIO_S16MSB:
-+ format = AL_FORMAT_STEREO16;
-+ if (wav_spec.format != AUDIO_S16SYS)
-+ {
-+ swapWavBytes(wav_buffer, wav_length);
-+ }
-+ break;
-+ default:
- fprintf(stderr, "Can't open %s : unknown audio format\n", filename);
- SDL_FreeWAV(wav_buffer);
- return AL_NONE;
Copied: packages/tags/antigrav/0.0.3-6/debian/patches/02_fix_sound.diff (from rev 15177, packages/trunk/antigrav/debian/patches/02_fix_sound.diff)
===================================================================
--- packages/tags/antigrav/0.0.3-6/debian/patches/02_fix_sound.diff (rev 0)
+++ packages/tags/antigrav/0.0.3-6/debian/patches/02_fix_sound.diff 2014-09-02 20:53:55 UTC (rev 15178)
@@ -0,0 +1,81 @@
+Index: antigrav-0.0.3/src/main.cpp
+===================================================================
+--- antigrav-0.0.3.orig/src/main.cpp
++++ antigrav-0.0.3/src/main.cpp
+@@ -22,6 +22,7 @@ MFNGLMULTITEXCOORD2FVPROC mglMultiTexCoo
+ MFNGLACTIVETEXTUREARBPROC mglActiveTextureARB = NULL;
+ #endif
+
++bool opt_sound = true;
+ bool opt_fullscreen = true;
+ bool opt_fsaa = false;
+ int opt_width = 1024;
+@@ -146,7 +147,8 @@ int main(int argc, char *argv[])
+ if(alutInit(&argc, argv) != AL_TRUE)
+ {
+ fprintf(stderr, "Can't initialize OpenAL: %s\n", alutGetErrorString(alutGetError()));
+- return -1;
++ fprintf(stderr, "Turning off sound effects.\n");
++ opt_sound = false;
+ }
+
+ if(chdir(DATADIR) != 0)
+@@ -178,6 +180,11 @@ int main(int argc, char *argv[])
+ return 0;
+ }
+
++void swapWavBytes(Uint8 *buffer, Uint32 length)
++{
++ swab(buffer, buffer, length);
++}
++
+ ALuint loadWavBuffer(const char *filename)
+ {
+ ALuint buffer;
+@@ -199,20 +206,40 @@ ALuint loadWavBuffer(const char *filenam
+
+ if(wav_spec.channels == 1)
+ {
+- if(wav_spec.format == AUDIO_U8) format = AL_FORMAT_MONO8;
+- else if(wav_spec.format == AUDIO_S16SYS) format = AL_FORMAT_MONO16;
+- else
++ switch(wav_spec.format)
+ {
++ case AUDIO_U8:
++ format = AL_FORMAT_MONO8;
++ break;
++ case AUDIO_S16LSB:
++ case AUDIO_S16MSB:
++ format = AL_FORMAT_MONO16;
++ if (wav_spec.format != AUDIO_S16SYS)
++ {
++ swapWavBytes(wav_buffer, wav_length);
++ }
++ break;
++ default:
+ fprintf(stderr, "Can't open %s : unknown audio format\n", filename);
+ SDL_FreeWAV(wav_buffer);
+ return AL_NONE;
+ }
+ } else if(wav_spec.channels == 2)
+ {
+- if(wav_spec.format == AUDIO_U8) format = AL_FORMAT_STEREO8;
+- else if(wav_spec.format == AUDIO_S16SYS) format = AL_FORMAT_STEREO16;
+- else
++ switch(wav_spec.format)
+ {
++ case AUDIO_U8:
++ format = AL_FORMAT_STEREO8;
++ break;
++ case AUDIO_S16LSB:
++ case AUDIO_S16MSB:
++ format = AL_FORMAT_STEREO16;
++ if (wav_spec.format != AUDIO_S16SYS)
++ {
++ swapWavBytes(wav_buffer, wav_length);
++ }
++ break;
++ default:
+ fprintf(stderr, "Can't open %s : unknown audio format\n", filename);
+ SDL_FreeWAV(wav_buffer);
+ return AL_NONE;
Deleted: packages/tags/antigrav/0.0.3-6/debian/patches/03_daca_fixes.diff
===================================================================
--- packages/trunk/antigrav/debian/patches/03_daca_fixes.diff 2014-09-02 14:20:19 UTC (rev 15176)
+++ packages/tags/antigrav/0.0.3-6/debian/patches/03_daca_fixes.diff 2014-09-02 20:53:55 UTC (rev 15178)
@@ -1,35 +0,0 @@
---- ./src/m3dtexture.cpp.orig 2006-08-04 21:38:31.000000000 +0200
-+++ ./src/m3dtexture.cpp 2011-01-17 13:32:33.000000000 +0100
-@@ -382,7 +382,7 @@
-
- png_write_image(pngPtr, rowPointers);
- png_write_end(pngPtr, pngInfoPtr);
-- delete rowPointers;
-+ delete[] rowPointers;
- png_destroy_write_struct(&pngPtr, &pngInfoPtr);
- return 0;
- }
-@@ -423,11 +423,11 @@
-
- if(savePNG(filename, data, width, height) != 0)
- {
-- delete data;
-+ delete[] data;
- return -1;
- }
-
-- delete data;
-+ delete[] data;
- return 0;
- }
-
---- ./src/tinyxml/tinyxml.cpp.orig 2006-08-04 21:38:31.000000000 +0200
-+++ ./src/tinyxml/tinyxml.cpp 2011-01-17 13:34:01.000000000 +0100
-@@ -1085,6 +1085,7 @@
-
- if ( fread( buf, length, 1, file ) != 1 ) {
- SetError( TIXML_ERROR_OPENING_FILE, 0, 0, TIXML_ENCODING_UNKNOWN );
-+ delete [] buf;
- return false;
- }
-
Copied: packages/tags/antigrav/0.0.3-6/debian/patches/03_daca_fixes.diff (from rev 15177, packages/trunk/antigrav/debian/patches/03_daca_fixes.diff)
===================================================================
--- packages/tags/antigrav/0.0.3-6/debian/patches/03_daca_fixes.diff (rev 0)
+++ packages/tags/antigrav/0.0.3-6/debian/patches/03_daca_fixes.diff 2014-09-02 20:53:55 UTC (rev 15178)
@@ -0,0 +1,39 @@
+Index: antigrav-0.0.3/src/m3dtexture.cpp
+===================================================================
+--- antigrav-0.0.3.orig/src/m3dtexture.cpp
++++ antigrav-0.0.3/src/m3dtexture.cpp
+@@ -384,7 +384,7 @@ int m3dTexture::savePNG(const unsigned c
+
+ png_write_image(pngPtr, rowPointers);
+ png_write_end(pngPtr, pngInfoPtr);
+- delete rowPointers;
++ delete[] rowPointers;
+ png_destroy_write_struct(&pngPtr, &pngInfoPtr);
+ return 0;
+ }
+@@ -425,11 +425,11 @@ int m3dTexture::screenshot(const char *f
+
+ if(savePNG(filename, data, width, height) != 0)
+ {
+- delete data;
++ delete[] data;
+ return -1;
+ }
+
+- delete data;
++ delete[] data;
+ return 0;
+ }
+
+Index: antigrav-0.0.3/src/tinyxml/tinyxml.cpp
+===================================================================
+--- antigrav-0.0.3.orig/src/tinyxml/tinyxml.cpp
++++ antigrav-0.0.3/src/tinyxml/tinyxml.cpp
+@@ -1085,6 +1085,7 @@ bool TiXmlDocument::LoadFile( FILE* file
+
+ if ( fread( buf, length, 1, file ) != 1 ) {
+ SetError( TIXML_ERROR_OPENING_FILE, 0, 0, TIXML_ENCODING_UNKNOWN );
++ delete [] buf;
+ return false;
+ }
+
Deleted: packages/tags/antigrav/0.0.3-6/debian/patches/04-height-selection.diff
===================================================================
--- packages/trunk/antigrav/debian/patches/04-height-selection.diff 2014-09-02 14:20:19 UTC (rev 15176)
+++ packages/tags/antigrav/0.0.3-6/debian/patches/04-height-selection.diff 2014-09-02 20:53:55 UTC (rev 15178)
@@ -1,58 +0,0 @@
-Index: antigrav-0.0.3/src/main.cpp
-===================================================================
---- antigrav-0.0.3.orig/src/main.cpp 2011-01-26 22:15:47.432908120 +0100
-+++ antigrav-0.0.3/src/main.cpp 2011-01-26 22:18:37.312575085 +0100
-@@ -25,13 +25,16 @@
- bool opt_fullscreen = true;
- bool opt_fsaa = false;
- int opt_width = 1024;
-+int opt_height = 0;
- const char *help_msg =
- "Usage: antigrav [options]\n\
- Options:\n\
- -h, --help\t\tprint this help, then exit\n\
- -f, --fsaa\t\tenable full screen antialiasing\n\
- -w, --windowed\trun in windowed mode\n\
-- -r, --resolution=RES\tset resolution to RES, 1024 for 1024x768, 800 for 800x600, etc\n";
-+ -r, --resolution=RES\tset resolution to RES, 1024 for 1024x768, 800 for 800x600, etc\n\
-+ -H, --height=HEIGHT\tsets screen height for cases when a 4/3 aspect ratio isn't desirable\n";
-+
-
- int parse_args(int argc, char *argv[])
- {
-@@ -44,10 +47,11 @@
- {"fsaa", no_argument, 0, 'f'},
- {"windowed", no_argument, 0, 'w'},
- {"resolution", required_argument, 0, 'r'},
-+ {"height", required_argument, 0, 'H'},
- {0, 0, 0, 0}
- };
-
-- int c = getopt_long(argc, argv, "hfwr:", long_options, &option_index);
-+ int c = getopt_long(argc, argv, "hfwr:H:", long_options, &option_index);
- if(c == -1)
- break;
-
-@@ -66,6 +70,9 @@
- case 'r':
- opt_width = atoi(optarg);
- break;
-+ case 'H':
-+ opt_height = atoi(optarg);
-+ break;
- default:
- puts(help_msg);
- return 1;
-@@ -113,7 +120,11 @@
- if(opt_fullscreen) flags |= SDL_FULLSCREEN;
-
- int width = opt_width;
-- int height = width * 3 / 4;
-+ int height;
-+ if(opt_height)
-+ height = opt_height;
-+ else
-+ height = width * 3 / 4;
-
- screen = SDL_SetVideoMode(width, height, 0, flags);
- if(screen == NULL)
Copied: packages/tags/antigrav/0.0.3-6/debian/patches/04-height-selection.diff (from rev 15177, packages/trunk/antigrav/debian/patches/04-height-selection.diff)
===================================================================
--- packages/tags/antigrav/0.0.3-6/debian/patches/04-height-selection.diff (rev 0)
+++ packages/tags/antigrav/0.0.3-6/debian/patches/04-height-selection.diff 2014-09-02 20:53:55 UTC (rev 15178)
@@ -0,0 +1,58 @@
+Index: antigrav-0.0.3/src/main.cpp
+===================================================================
+--- antigrav-0.0.3.orig/src/main.cpp
++++ antigrav-0.0.3/src/main.cpp
+@@ -25,13 +25,16 @@ MFNGLACTIVETEXTUREARBPROC mglActiveTextu
+ bool opt_fullscreen = true;
+ bool opt_fsaa = false;
+ int opt_width = 1024;
++int opt_height = 0;
+ const char *help_msg =
+ "Usage: antigrav [options]\n\
+ Options:\n\
+ -h, --help\t\tprint this help, then exit\n\
+ -f, --fsaa\t\tenable full screen antialiasing\n\
+ -w, --windowed\trun in windowed mode\n\
+- -r, --resolution=RES\tset resolution to RES, 1024 for 1024x768, 800 for 800x600, etc\n";
++ -r, --resolution=RES\tset resolution to RES, 1024 for 1024x768, 800 for 800x600, etc\n\
++ -H, --height=HEIGHT\tsets screen height for cases when a 4/3 aspect ratio isn't desirable\n";
++
+
+ int parse_args(int argc, char *argv[])
+ {
+@@ -44,10 +47,11 @@ int parse_args(int argc, char *argv[])
+ {"fsaa", no_argument, 0, 'f'},
+ {"windowed", no_argument, 0, 'w'},
+ {"resolution", required_argument, 0, 'r'},
++ {"height", required_argument, 0, 'H'},
+ {0, 0, 0, 0}
+ };
+
+- int c = getopt_long(argc, argv, "hfwr:", long_options, &option_index);
++ int c = getopt_long(argc, argv, "hfwr:H:", long_options, &option_index);
+ if(c == -1)
+ break;
+
+@@ -66,6 +70,9 @@ int parse_args(int argc, char *argv[])
+ case 'r':
+ opt_width = atoi(optarg);
+ break;
++ case 'H':
++ opt_height = atoi(optarg);
++ break;
+ default:
+ puts(help_msg);
+ return 1;
+@@ -113,7 +120,11 @@ int main(int argc, char *argv[])
+ if(opt_fullscreen) flags |= SDL_FULLSCREEN;
+
+ int width = opt_width;
+- int height = width * 3 / 4;
++ int height;
++ if(opt_height)
++ height = opt_height;
++ else
++ height = width * 3 / 4;
+
+ screen = SDL_SetVideoMode(width, height, 0, flags);
+ if(screen == NULL)
Copied: packages/tags/antigrav/0.0.3-6/debian/patches/05-use-sys-tinyxml.diff (from rev 15177, packages/trunk/antigrav/debian/patches/05-use-sys-tinyxml.diff)
===================================================================
--- packages/tags/antigrav/0.0.3-6/debian/patches/05-use-sys-tinyxml.diff (rev 0)
+++ packages/tags/antigrav/0.0.3-6/debian/patches/05-use-sys-tinyxml.diff 2014-09-02 20:53:55 UTC (rev 15178)
@@ -0,0 +1,16 @@
+Index: antigrav-0.0.3/src/Makefile.am
+===================================================================
+--- antigrav-0.0.3.orig/src/Makefile.am
++++ antigrav-0.0.3/src/Makefile.am
+@@ -1,8 +1,8 @@
+ bin_PROGRAMS = antigrav
+
+-INCLUDES = -W -Wall -DTIXML_USE_STL -Itinyxml/ -DDATADIR="\"$(datadir)/$(PACKAGE)\""
+-SUBDIRS = tinyxml
+-LDADD = tinyxml/libtinyxml.a
++INCLUDES = -W -Wall -DTIXML_USE_STL -DDATADIR="\"$(datadir)/$(PACKAGE)\""
++# SUBDIRS = tinyxml
++LDADD = -ltinyxml
+
+ antigrav_SOURCES = main.cpp antigrav.h extensions.h \
+ craft.cpp craft.h \
Deleted: packages/tags/antigrav/0.0.3-6/debian/patches/series
===================================================================
--- packages/trunk/antigrav/debian/patches/series 2014-09-02 14:20:19 UTC (rev 15176)
+++ packages/tags/antigrav/0.0.3-6/debian/patches/series 2014-09-02 20:53:55 UTC (rev 15178)
@@ -1,4 +0,0 @@
-04-height-selection.diff
-01_fix_png_load.diff
-02_fix_sound.diff
-03_daca_fixes.diff
Copied: packages/tags/antigrav/0.0.3-6/debian/patches/series (from rev 15177, packages/trunk/antigrav/debian/patches/series)
===================================================================
--- packages/tags/antigrav/0.0.3-6/debian/patches/series (rev 0)
+++ packages/tags/antigrav/0.0.3-6/debian/patches/series 2014-09-02 20:53:55 UTC (rev 15178)
@@ -0,0 +1,5 @@
+04-height-selection.diff
+01_fix_png_load.diff
+02_fix_sound.diff
+03_daca_fixes.diff
+05-use-sys-tinyxml.diff
Deleted: packages/tags/antigrav/0.0.3-6/debian/rules
===================================================================
--- packages/trunk/antigrav/debian/rules 2014-09-02 14:20:19 UTC (rev 15176)
+++ packages/tags/antigrav/0.0.3-6/debian/rules 2014-09-02 20:53:55 UTC (rev 15178)
@@ -1,9 +0,0 @@
-#!/usr/bin/make -f
-%:
- dh $@
-
- override_dh_auto_configure:
- ./configure --prefix=/usr \
- --bindir=\$${prefix}/games --mandir=\$${prefix}/share/man \
- --infodir=\$${prefix}/share/info \
- CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
Copied: packages/tags/antigrav/0.0.3-6/debian/rules (from rev 15177, packages/trunk/antigrav/debian/rules)
===================================================================
--- packages/tags/antigrav/0.0.3-6/debian/rules (rev 0)
+++ packages/tags/antigrav/0.0.3-6/debian/rules 2014-09-02 20:53:55 UTC (rev 15178)
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+%:
+ dh $@ --with autoreconf
+
+ override_dh_auto_configure:
+ ./configure --prefix=/usr \
+ --bindir=\$${prefix}/games --mandir=\$${prefix}/share/man \
+ --infodir=\$${prefix}/share/info \
+ CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS) -Wl,-z,defs"
More information about the Pkg-games-commits
mailing list