r11707 - in packages/tags/antigrav: . 0.0.3-3/debian 0.0.3-3/debian/patches

Vincent Fourmond fourmond at alioth.debian.org
Wed Jan 26 21:39:58 UTC 2011


Author: fourmond
Date: 2011-01-26 21:39:57 +0000 (Wed, 26 Jan 2011)
New Revision: 11707

Added:
   packages/tags/antigrav/0.0.3-3/
   packages/tags/antigrav/0.0.3-3/debian/antigrav.6
   packages/tags/antigrav/0.0.3-3/debian/changelog
   packages/tags/antigrav/0.0.3-3/debian/compat
   packages/tags/antigrav/0.0.3-3/debian/control
   packages/tags/antigrav/0.0.3-3/debian/copyright
   packages/tags/antigrav/0.0.3-3/debian/patches/03_daca_fixes.diff
   packages/tags/antigrav/0.0.3-3/debian/patches/04-height-selection.diff
   packages/tags/antigrav/0.0.3-3/debian/patches/series
   packages/tags/antigrav/0.0.3-3/debian/rules
   packages/tags/antigrav/0.0.3-3/debian/source/
Removed:
   packages/tags/antigrav/0.0.3-3/debian/antigrav.6
   packages/tags/antigrav/0.0.3-3/debian/changelog
   packages/tags/antigrav/0.0.3-3/debian/compat
   packages/tags/antigrav/0.0.3-3/debian/control
   packages/tags/antigrav/0.0.3-3/debian/copyright
   packages/tags/antigrav/0.0.3-3/debian/patches/series
   packages/tags/antigrav/0.0.3-3/debian/rules
Log:
[svn-buildpackage] Tagging antigrav 0.0.3-3

Deleted: packages/tags/antigrav/0.0.3-3/debian/antigrav.6
===================================================================
--- packages/trunk/antigrav/debian/antigrav.6	2011-01-26 10:53:11 UTC (rev 11705)
+++ packages/tags/antigrav/0.0.3-3/debian/antigrav.6	2011-01-26 21:39:57 UTC (rev 11707)
@@ -1,31 +0,0 @@
-.TH ANTIGRAV 6 "October 15, 2006"
-.SH NAME
-antigrav \- Multiplayer flying saucer racing game
-.SH SYNOPSIS
-.B antigrav
-[ \fIoptions \fR]
-.SH DESCRIPTION
-This manual page documents briefly the
-.B antigrav
-command.
-.PP
-\fBantigrav\fP is a multiplayer flying saucer racing game, made for
-Assembly 2006 game competition.
-.SH OPTIONS
-.TP
-.B -h, --help
-print this help, then exit
-.TP
-.B -f, --fsaa
-enable full screen antialiasing
-.TP
-.B -w, --windowed
-run in windowed mode
-.TP
-.B -r, --resolution=RES
-set resolution to \fIRES\fP, 1024 for 1024x768, 800 for 800x600, etc
-.SH AUTHOR
-antigrav was written by Riku Salminen and Calle Laakkonen.
-.PP
-This manual page was written by G\[:u]rkan Seng\[:u]n <gurkan at linuks.mine.nu>,
-for the Debian project (but may be used by others).

Copied: packages/tags/antigrav/0.0.3-3/debian/antigrav.6 (from rev 11706, packages/trunk/antigrav/debian/antigrav.6)
===================================================================
--- packages/tags/antigrav/0.0.3-3/debian/antigrav.6	                        (rev 0)
+++ packages/tags/antigrav/0.0.3-3/debian/antigrav.6	2011-01-26 21:39:57 UTC (rev 11707)
@@ -0,0 +1,36 @@
+.TH ANTIGRAV 6 "October 15, 2006"
+.SH NAME
+antigrav \- Multiplayer flying saucer racing game
+.SH SYNOPSIS
+.B antigrav
+[ \fIoptions \fR]
+.SH DESCRIPTION
+This manual page documents briefly the
+.B antigrav
+command.
+.PP
+\fBantigrav\fP is a multiplayer flying saucer racing game, made for
+Assembly 2006 game competition.
+.SH OPTIONS
+.TP
+.B -h, --help
+print this help, then exit
+.TP
+.B -f, --fsaa
+enable full screen antialiasing
+.TP
+.B -w, --windowed
+run in windowed mode
+.TP
+.B -r, --resolution=RES
+set resolution to \fIRES\fP, 1024 for 1024x768, 800 for 800x600, etc
+.TP
+.B -H, --height=HEIGHT
+sets the height of the display to HEIGHT, to be used when an aspect
+ratio of 4/3 is not desired.
+
+.SH AUTHOR
+antigrav was written by Riku Salminen and Calle Laakkonen.
+.PP
+This manual page was written by G\[:u]rkan Seng\[:u]n <gurkan at linuks.mine.nu>,
+for the Debian project (but may be used by others).

Deleted: packages/tags/antigrav/0.0.3-3/debian/changelog
===================================================================
--- packages/trunk/antigrav/debian/changelog	2011-01-26 10:53:11 UTC (rev 11705)
+++ packages/tags/antigrav/0.0.3-3/debian/changelog	2011-01-26 21:39:57 UTC (rev 11707)
@@ -1,72 +0,0 @@
-antigrav (0.0.3-3) UNRELEASED; urgency=low
-
-  * NOT RELEASED YET
-
- -- Vincent Fourmond <fourmond at debian.org>  Thu, 27 Dec 2007 15:17:39 +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-3/debian/changelog (from rev 11706, packages/trunk/antigrav/debian/changelog)
===================================================================
--- packages/tags/antigrav/0.0.3-3/debian/changelog	                        (rev 0)
+++ packages/tags/antigrav/0.0.3-3/debian/changelog	2011-01-26 21:39:57 UTC (rev 11707)
@@ -0,0 +1,80 @@
+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-3/debian/compat
===================================================================
--- packages/trunk/antigrav/debian/compat	2011-01-26 10:53:11 UTC (rev 11705)
+++ packages/tags/antigrav/0.0.3-3/debian/compat	2011-01-26 21:39:57 UTC (rev 11707)
@@ -1 +0,0 @@
-5

Copied: packages/tags/antigrav/0.0.3-3/debian/compat (from rev 11706, packages/trunk/antigrav/debian/compat)
===================================================================
--- packages/tags/antigrav/0.0.3-3/debian/compat	                        (rev 0)
+++ packages/tags/antigrav/0.0.3-3/debian/compat	2011-01-26 21:39:57 UTC (rev 11707)
@@ -0,0 +1 @@
+7

Deleted: packages/tags/antigrav/0.0.3-3/debian/control
===================================================================
--- packages/trunk/antigrav/debian/control	2011-01-26 10:53:11 UTC (rev 11705)
+++ packages/tags/antigrav/0.0.3-3/debian/control	2011-01-26 21:39:57 UTC (rev 11707)
@@ -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 (>> 5.0.0), autotools-dev, quilt, zlib1g-dev, libpng12-dev, libalut-dev, libopenal-dev, libsdl1.2-dev
-Standards-Version: 3.7.3
-Homepage: http://www.luolamies.org/software/antigrav/
-Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/antigrav/
-Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/packages/trunk/antigrav/?op=log
-
-Package: antigravitaattori
-Architecture: any
-Depends: ${shlibs: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-3/debian/control (from rev 11706, packages/trunk/antigrav/debian/control)
===================================================================
--- packages/tags/antigrav/0.0.3-3/debian/control	                        (rev 0)
+++ packages/tags/antigrav/0.0.3-3/debian/control	2011-01-26 21:39:57 UTC (rev 11707)
@@ -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, libpng12-dev, libalut-dev, libopenal-dev, libsdl1.2-dev
+Standards-Version: 3.9.1
+Homepage: http://www.luolamies.org/software/antigrav/
+Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/antigrav/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/packages/trunk/antigrav/?op=log
+
+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-3/debian/copyright
===================================================================
--- packages/trunk/antigrav/debian/copyright	2011-01-26 10:53:11 UTC (rev 11705)
+++ packages/tags/antigrav/0.0.3-3/debian/copyright	2011-01-26 21:39:57 UTC (rev 11707)
@@ -1,57 +0,0 @@
-This package was debianized by Gürkan Sengün <gurkan at linuks.mine.nu> on
-Sun, 15 Oct 2006 21:21:30 +0200.
-
-Package maintenance was taken by Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
-on Tue, 11 Dec 2007
-
-It was downloaded from http://www.luolamies.org/software/antigrav/
-
-Upstream Authors: Riku Salminen <RichardoX at gmail.com>,
-                  Calle Laakkonen <calle at luolamies.org>
-
-License (Everything except src/tinyxml/*): 
-
-   Copyright (C) 2006 Riku Salminen
-   Copyright (C) 2006 Calle Laakkonen
-
-   This package is free software; you can redistribute it and/or modify
-   it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; version 2 dated June, 1991.
-
-   This package is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-   GNU General Public License for more details.
-
-   You should have received a copy of the GNU General Public License
-   along with this package; if not, write to the Free Software
-   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
-
-Released under the GNU GPL.
-Please see /usr/share/common-licenses/GPL for the full license.
-
-License (src/tinyxml/*): 
-
-   Copyright (C) 2000-2002 Lee Thomason
-
-   This software is provided 'as-is', without any express or implied
-   warranty. In no event will the authors be held liable for any
-   damages arising from the use of this software.
-
-   Permission is granted to anyone to use this software for any
-   purpose, including commercial applications, and to alter it and
-   redistribute it freely, subject to the following restrictions:
-
-   1. The origin of this software must not be misrepresented; you must
-      not claim that you wrote the original software. If you use this
-      software in a product, an acknowledgment in the product documentation
-      would be appreciated but is not required.
-
-   2. Altered source versions must be plainly marked as such, and
-      must not be misrepresented as being the original software.
-
-   3. This notice may not be removed or altered from any source
-      distribution.
-
-The Debian packaging is (C) 2006, Gürkan Sengün <gurkan at linuks.mine.nu> and
-is licensed under the GPL, see `/usr/share/common-licenses/GPL'.

Copied: packages/tags/antigrav/0.0.3-3/debian/copyright (from rev 11706, packages/trunk/antigrav/debian/copyright)
===================================================================
--- packages/tags/antigrav/0.0.3-3/debian/copyright	                        (rev 0)
+++ packages/tags/antigrav/0.0.3-3/debian/copyright	2011-01-26 21:39:57 UTC (rev 11707)
@@ -0,0 +1,57 @@
+This package was debianized by Gürkan Sengün <gurkan at linuks.mine.nu> on
+Sun, 15 Oct 2006 21:21:30 +0200.
+
+Package maintenance was taken by Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
+on Tue, 11 Dec 2007
+
+It was downloaded from http://www.luolamies.org/software/antigrav/
+
+Upstream Authors: Riku Salminen <RichardoX at gmail.com>,
+                  Calle Laakkonen <calle at luolamies.org>
+
+License (Everything except src/tinyxml/*): 
+
+   Copyright (C) 2006 Riku Salminen
+   Copyright (C) 2006 Calle Laakkonen
+
+   This package is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; version 2 dated June, 1991.
+
+   This package is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this package; if not, write to the Free Software
+   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+
+Released under the GNU GPL.
+Please see /usr/share/common-licenses/GPL-2 for the full license.
+
+License (src/tinyxml/*): 
+
+   Copyright (C) 2000-2002 Lee Thomason
+
+   This software is provided 'as-is', without any express or implied
+   warranty. In no event will the authors be held liable for any
+   damages arising from the use of this software.
+
+   Permission is granted to anyone to use this software for any
+   purpose, including commercial applications, and to alter it and
+   redistribute it freely, subject to the following restrictions:
+
+   1. The origin of this software must not be misrepresented; you must
+      not claim that you wrote the original software. If you use this
+      software in a product, an acknowledgment in the product documentation
+      would be appreciated but is not required.
+
+   2. Altered source versions must be plainly marked as such, and
+      must not be misrepresented as being the original software.
+
+   3. This notice may not be removed or altered from any source
+      distribution.
+
+The Debian packaging is (C) 2006, Gürkan Sengün <gurkan at linuks.mine.nu> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL-2'.

Copied: packages/tags/antigrav/0.0.3-3/debian/patches/03_daca_fixes.diff (from rev 11706, packages/trunk/antigrav/debian/patches/03_daca_fixes.diff)
===================================================================
--- packages/tags/antigrav/0.0.3-3/debian/patches/03_daca_fixes.diff	                        (rev 0)
+++ packages/tags/antigrav/0.0.3-3/debian/patches/03_daca_fixes.diff	2011-01-26 21:39:57 UTC (rev 11707)
@@ -0,0 +1,35 @@
+--- ./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-3/debian/patches/04-height-selection.diff (from rev 11706, packages/trunk/antigrav/debian/patches/04-height-selection.diff)
===================================================================
--- packages/tags/antigrav/0.0.3-3/debian/patches/04-height-selection.diff	                        (rev 0)
+++ packages/tags/antigrav/0.0.3-3/debian/patches/04-height-selection.diff	2011-01-26 21:39:57 UTC (rev 11707)
@@ -0,0 +1,58 @@
+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)

Deleted: packages/tags/antigrav/0.0.3-3/debian/patches/series
===================================================================
--- packages/trunk/antigrav/debian/patches/series	2011-01-26 10:53:11 UTC (rev 11705)
+++ packages/tags/antigrav/0.0.3-3/debian/patches/series	2011-01-26 21:39:57 UTC (rev 11707)
@@ -1,2 +0,0 @@
-01_fix_png_load.diff
-02_fix_sound.diff

Copied: packages/tags/antigrav/0.0.3-3/debian/patches/series (from rev 11706, packages/trunk/antigrav/debian/patches/series)
===================================================================
--- packages/tags/antigrav/0.0.3-3/debian/patches/series	                        (rev 0)
+++ packages/tags/antigrav/0.0.3-3/debian/patches/series	2011-01-26 21:39:57 UTC (rev 11707)
@@ -0,0 +1,4 @@
+04-height-selection.diff
+01_fix_png_load.diff
+02_fix_sound.diff
+03_daca_fixes.diff

Deleted: packages/tags/antigrav/0.0.3-3/debian/rules
===================================================================
--- packages/trunk/antigrav/debian/rules	2011-01-26 10:53:11 UTC (rev 11705)
+++ packages/tags/antigrav/0.0.3-3/debian/rules	2011-01-26 21:39:57 UTC (rev 11707)
@@ -1,79 +0,0 @@
-#!/usr/bin/make -f
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-include /usr/share/quilt/quilt.make
-
-# These are used for cross-compiling and for saving the configure script
-# from having to guess our platform (since we know it already)
-DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-
-CFLAGS = -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
-else
-	CFLAGS += -O2
-endif
-
-config.status: patch configure
-	dh_testdir
-
-ifneq "$(wildcard /usr/share/misc/config.sub)" ""
-	cp -f /usr/share/misc/config.sub config.sub
-endif
-ifneq "$(wildcard /usr/share/misc/config.guess)" ""
-	cp -f /usr/share/misc/config.guess config.guess
-endif
-
-	./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --bindir=\$${prefix}/games --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
-
-build: build-stamp
-
-build-stamp:  config.status
-	dh_testdir
-	$(MAKE)
-	touch $@
-
-clean: unpatch
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp 
-	[ ! -f Makefile ] || $(MAKE) distclean
-	rm -f config.sub config.guess
-
-	dh_clean 
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k 
-	dh_installdirs
-	$(MAKE) install DESTDIR=$(CURDIR)/debian/antigravitaattori
-	cp debian/antigravitaattori.desktop debian/antigravitaattori/usr/share/applications/
-
-# 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_installchangelogs
-	dh_installdocs
-	dh_installmenu
-	dh_installman
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install 

Copied: packages/tags/antigrav/0.0.3-3/debian/rules (from rev 11706, packages/trunk/antigrav/debian/rules)
===================================================================
--- packages/tags/antigrav/0.0.3-3/debian/rules	                        (rev 0)
+++ packages/tags/antigrav/0.0.3-3/debian/rules	2011-01-26 21:39:57 UTC (rev 11707)
@@ -0,0 +1,9 @@
+#!/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"




More information about the Pkg-games-commits mailing list