r14177 - in packages/trunk/whichwayisup/debian: . bin patches source

Markus Koschany apo-guest at alioth.debian.org
Tue May 28 18:36:11 UTC 2013


Author: apo-guest
Date: 2013-05-28 18:36:11 +0000 (Tue, 28 May 2013)
New Revision: 14177

Added:
   packages/trunk/whichwayisup/debian/bin/
   packages/trunk/whichwayisup/debian/bin/whichwayisup
   packages/trunk/whichwayisup/debian/patches/check-for-joystick-axes-not-null.patch
   packages/trunk/whichwayisup/debian/patches/initialize-only-required-pygame-modules.patch
   packages/trunk/whichwayisup/debian/source/
   packages/trunk/whichwayisup/debian/source/format
   packages/trunk/whichwayisup/debian/source/include-binaries
   packages/trunk/whichwayisup/debian/whichwayisup.png
Removed:
   packages/trunk/whichwayisup/debian/README.source
   packages/trunk/whichwayisup/debian/game.sh
   packages/trunk/whichwayisup/debian/whichwayisup.links
Modified:
   packages/trunk/whichwayisup/debian/changelog
   packages/trunk/whichwayisup/debian/compat
   packages/trunk/whichwayisup/debian/control
   packages/trunk/whichwayisup/debian/copyright
   packages/trunk/whichwayisup/debian/docs
   packages/trunk/whichwayisup/debian/patches/font_path.patch
   packages/trunk/whichwayisup/debian/patches/series
   packages/trunk/whichwayisup/debian/rules
   packages/trunk/whichwayisup/debian/watch
   packages/trunk/whichwayisup/debian/whichwayisup.desktop
   packages/trunk/whichwayisup/debian/whichwayisup.install
   packages/trunk/whichwayisup/debian/whichwayisup.menu
Log:
New revision 0.7.9-3

- Switch to source format 3.0 (quilt)
- compat level 9, debhelper >=9
- Update copyright to format 1.0
- Add missing Bitstream Vera license
- Fix all outstanding bugs.
- Add higher resolution whichwayisup png icon
- Use dh sequencer and build with python2.
- See also changelog


Deleted: packages/trunk/whichwayisup/debian/README.source
===================================================================
--- packages/trunk/whichwayisup/debian/README.source	2013-05-28 15:02:59 UTC (rev 14176)
+++ packages/trunk/whichwayisup/debian/README.source	2013-05-28 18:36:11 UTC (rev 14177)
@@ -1,6 +0,0 @@
-This package uses quilt to manage all modifications to the upstream
-source.  Changes are stored in the source package as diffs in
-debian/patches and applied during the build.
-
-See /usr/share/doc/quilt/README.source for a detailed explanation.
-

Added: packages/trunk/whichwayisup/debian/bin/whichwayisup
===================================================================
--- packages/trunk/whichwayisup/debian/bin/whichwayisup	                        (rev 0)
+++ packages/trunk/whichwayisup/debian/bin/whichwayisup	2013-05-28 18:36:11 UTC (rev 14177)
@@ -0,0 +1,5 @@
+#!/bin/sh
+set -e
+
+cd /usr/share/games/whichwayisup/
+exec python run_game.py "$@"


Property changes on: packages/trunk/whichwayisup/debian/bin/whichwayisup
___________________________________________________________________
Added: svn:executable
   + *

Modified: packages/trunk/whichwayisup/debian/changelog
===================================================================
--- packages/trunk/whichwayisup/debian/changelog	2013-05-28 15:02:59 UTC (rev 14176)
+++ packages/trunk/whichwayisup/debian/changelog	2013-05-28 18:36:11 UTC (rev 14177)
@@ -1,9 +1,39 @@
-whichwayisup (0.7.9-3) UNRELEASED; urgency=low
+whichwayisup (0.7.9-3) unstable; urgency=low
 
+  [ Ansgar Burchhardt ]
   * debian/game.sh: Use exec when calling python.
 
- -- Ansgar Burchardt <ansgar at 43-1.org>  Mon, 19 Jul 2010 16:01:08 +0900
+  [ Markus Koschany ]
+  * Add myself to Uploaders.
+  * Switch to source format 3.0 (quilt).
+  * Bump compat level to 9 and require debhelper >= 9.
+  * debian/control:
+    - Drop quilt dependency. Source format 3.0 uses quilt by default.
+    - Use canonical Vcs-URI.
+    - Bump Standards-Version to 3.9.4, no changes.
+    - Depend on fonts-dejavu-core instead of ttf-dejavu-core.
+    - Add python, python-pygame and python-ogg to Build-Depends-Indep.
+    - Replace python with ${python:Depends}.
+  *  Move game.sh to bin/whichwayisup and install it to /usr/games directly.
+     Hence we can drop whichwayisup.links.
+  * Add longtitle to whichwayisup.menu
+  * Add keywords and comment in German to desktop file.
+  * Drop README.source.
+  * Simplify debian/rules by using dh sequencer and build with --python2.
+  * Add DEP-3 headers to all patches.
+  * Add initialize-only-required-pygame-modules.patch. (Closes: #432015)
+  * Add check-for-joystick-axes-not-null.patch.
+    - Under certain circumstances whichwayisup detected keyboards as joysticks.
+      This patch also checks whether the joystick has axes. This prevents the
+      game from failing to start. (Closes: #710162)
+  * Update debian/copyright to copyright format 1.0.
+  * Add Bitstream-Vera-Fonts license.
+  * Install documentation how to create new game levels. (creating_levels.txt)
+  * Install a higher resolution whichwayisup.png icon. (Closes: #471579)
+  * Update debian/watch and make the extension regex more flexible.
 
+ -- Markus Koschany <apo at gambaru.de>  Tue, 28 May 2013 19:45:33 +0200
+
 whichwayisup (0.7.9-2) unstable; urgency=low
 
   * python-pyogg was renamed into python-ogg, update dependencies accordingly

Modified: packages/trunk/whichwayisup/debian/compat
===================================================================
--- packages/trunk/whichwayisup/debian/compat	2013-05-28 15:02:59 UTC (rev 14176)
+++ packages/trunk/whichwayisup/debian/compat	2013-05-28 18:36:11 UTC (rev 14177)
@@ -1 +1 @@
-5
+9

Modified: packages/trunk/whichwayisup/debian/control
===================================================================
--- packages/trunk/whichwayisup/debian/control	2013-05-28 15:02:59 UTC (rev 14176)
+++ packages/trunk/whichwayisup/debian/control	2013-05-28 18:36:11 UTC (rev 14177)
@@ -2,18 +2,26 @@
 Section: games
 Priority: extra
 Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
-Uploaders: Miriam Ruiz <little_miry at yahoo.es>, Ansgar Burchardt <ansgar at 43-1.org>
-Build-Depends: debhelper (>= 5), quilt
-Standards-Version: 3.8.0
-Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/whichwayisup/
-Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/packages/trunk/whichwayisup/?op=log
+Uploaders:
+ Miriam Ruiz <little_miry at yahoo.es>,
+ Ansgar Burchardt <ansgar at 43-1.org>,
+ Markus Koschany <apo at gambaru.de>
+Build-Depends: debhelper (>= 9)
+Build-Depends-Indep: python, python-ogg, python-pygame
+Standards-Version: 3.9.4
+Vcs-Svn: svn://anonscm.debian.org/svn/pkg-games/packages/trunk/whichwayisup/
+Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-games/packages/trunk/whichwayisup/
 Homepage: http://hectigo.net/puskutraktori/whichwayisup/
 
 Package: whichwayisup
 Architecture: all
-Depends: ttf-dejavu-core, python, python-pygame, python-ogg, ${misc:Depends}
+Depends:
+ fonts-dejavu-core,
+ python-ogg,
+ python-pygame,
+ ${misc:Depends},
+ ${python:Depends}
 Description: 2D platform game with a slight rotational twist
  Which Way Is Up, a traditional and challenging 2D platform game with a
  slight rotational twist. Help a mysterious big-eared salaryman named Guy
  find his keys in a labyrinth of dangers and bad dialogue.
-

Modified: packages/trunk/whichwayisup/debian/copyright
===================================================================
--- packages/trunk/whichwayisup/debian/copyright	2013-05-28 15:02:59 UTC (rev 14176)
+++ packages/trunk/whichwayisup/debian/copyright	2013-05-28 18:36:11 UTC (rev 14177)
@@ -1,54 +1,48 @@
-This package was debianized by Miriam Ruiz <little_miry at yahoo.es> on
-Thu, 31 May 2007 19:11:12 +0000.
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Which Way Is Up
+Source: http://hectigo.net/puskutraktori/whichwayisup
 
-It was downloaded from http://hectigo.net/puskutraktori/whichwayisup/
+Files: *
+Copyright: 2007, Olli "Hectigo" Etuaho <admin at hectigo.net>
+License: GPL-2
 
-Upstream Author:
+Files: data/*
+Copyright: 2007, Olli "Hectigo" Etuaho <admin at hectigo.net>
+License: CC-BY
 
-    Olli "Hectigo" Etuaho <admin at hectigo.net>
+Files: data/misc/Vera.ttf
+Copyright: 2003, Bitstream Inc
+License: Bitstream-Vera-Fonts-Copyright
 
-Copyright: 
+Files: debian/*
+Copyright: 2007-2008, Miriam Ruiz <miriam at debian.org>
+           2007-2008, Jon Dowland <jmtd at debian.org>
+           2008,      Evgeni Golov
+           2008-2010, Ansgar Burchhardt <ansgar at debian.org>
+           2013,      Markus Koschany <apo at gambaru.de>
+License: GPL-2
 
-    Copyright (c) 2007 Olli Etuaho
+License: GPL-2
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
 
-License:
-
-All game code is licensed under the GPL 2.0
-( http://www.gnu.org/licenses/gpl2.html )
-
-    This package is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License version 2 as
-    published by the Free Software Foundation.
- 
-    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
-
-On Debian systems, the complete text of the GNU General Public License
-version 2 can be found in `/usr/share/common-licenses/GPL-2'.
-
-
-All game content, sounds and graphics are licensed
-under Creative Commons 3.0 Attribution license
-( http://creativecommons.org/licenses/by/3.0/ )
-
-THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE
-COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY
-COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS
-AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
-
-BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO
-BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY BE
-CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE
-IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.
-
-1. Definitions
-
+License: CC-BY
+ All game content, sounds and graphics are licensed
+ under Creative Commons 3.0 Attribution license
+ ( http://creativecommons.org/licenses/by/3.0/ )
+ .
+ THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE
+ COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY
+ COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS
+ AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
+ .
+ BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO
+ BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY BE
+ CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE
+ IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.
+ .
+ 1. Definitions
+ .
    a. "Adaptation" means a work based upon the Work, or upon the Work and other
       pre-existing works, such as a translation, adaptation, derivative work,
       arrangement of music or other alterations of a literary or artistic work,
@@ -120,17 +114,17 @@
       fixation and reproducing fixations of the Work, including storage of a
       protected performance or phonogram in digital form or other electronic
       medium.
-
-2. Fair Dealing Rights. Nothing in this License is intended to reduce, limit,
-or restrict any uses free from copyright or rights arising from limitations or
-exceptions that are provided for in connection with the copyright protection
-under copyright law or other applicable laws.
-
-3. License Grant. Subject to the terms and conditions of this License, Licensor
-hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the
-duration of the applicable copyright) license to exercise the rights in the
-Work as stated below:
-
+ .
+ 2. Fair Dealing Rights. Nothing in this License is intended to reduce, limit,
+ or restrict any uses free from copyright or rights arising from limitations or
+ exceptions that are provided for in connection with the copyright protection
+ under copyright law or other applicable laws.
+ .
+ 3. License Grant. Subject to the terms and conditions of this License, Licensor
+ hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the
+ duration of the applicable copyright) license to exercise the rights in the
+ Work as stated below:
+ .
    a. to Reproduce the Work, to incorporate the Work into one or more
       Collections, and to Reproduce the Work as incorporated in the
       Collections;
@@ -159,16 +153,16 @@
             is a member of a collecting society that administers voluntary
             licensing schemes, via that society, from any exercise by You of
             the rights granted under this License.
-
-The above rights may be exercised in all media and formats whether now known or
-hereafter devised. The above rights include the right to make such
-modifications as are technically necessary to exercise the rights in other
-media and formats. Subject to Section 8(f), all rights not expressly granted by
-Licensor are hereby reserved.
-
-4. Restrictions. The license granted in Section 3 above is expressly made
-subject to and limited by the following restrictions:
-
+ .
+ The above rights may be exercised in all media and formats whether now known or
+ hereafter devised. The above rights include the right to make such
+ modifications as are technically necessary to exercise the rights in other
+ media and formats. Subject to Section 8(f), all rights not expressly granted by
+ Licensor are hereby reserved.
+ .
+ 4. Restrictions. The license granted in Section 3 above is expressly made
+ subject to and limited by the following restrictions:
+ .
    a. You may Distribute or Publicly Perform the Work only under the terms of
       this License. You must include a copy of, or the Uniform Resource
       Identifier (URI) for, this License with every copy of the Work You
@@ -233,27 +227,27 @@
       fullest extent permitted by the applicable national law, to enable You to
       reasonably exercise Your right under Section 3(b) of this License (right
       to make Adaptations) but not otherwise.
-
-5. Representations, Warranties and Disclaimer
-
-UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS
-THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND
-CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING,
-WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A
-PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS,
-ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE.
-SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH
-EXCLUSION MAY NOT APPLY TO YOU.
-
-6. Limitation on Liability.
-
-EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE
-LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL,
-PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE
-WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
-
-7. Termination
-
+ .
+ 5. Representations, Warranties and Disclaimer
+ .
+ UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS
+ THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND
+ CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING,
+ WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A
+ PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS,
+ ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE.
+ SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH
+ EXCLUSION MAY NOT APPLY TO YOU.
+ .
+ 6. Limitation on Liability.
+ .
+ EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE
+ LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL,
+ PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE
+ WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+ .
+ 7. Termination
+ .
    a. This License and the rights granted hereunder will terminate
       automatically upon any breach by You of the terms of this License.
       Individuals or entities who have received Adaptations or Collections from
@@ -269,9 +263,9 @@
       withdraw this License (or any other license that has been, or is required
       to be, granted under the terms of this License), and this License will
       continue in full force and effect unless terminated as stated above.
-
-8. Miscellaneous
-
+ .
+ 8. Miscellaneous
+ .
    a. Each time You Distribute or Publicly Perform the Work or a Collection,
       the Licensor offers to the recipient a license to the Work on the same
       terms and conditions as the license granted to You under this License.
@@ -307,6 +301,47 @@
       the License; this License is not intended to restrict the license of any
       rights under applicable law.
 
-
-The Debian packaging is Copyright (C) 2007, Miriam Ruiz <little_miry at yahoo.es>
-and is licensed under the GPL, see above.
+License: Bitstream-Vera-Fonts-Copyright
+ Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved. Bitstream Vera is
+ a trademark of Bitstream, Inc.
+ .
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of the fonts accompanying this license ("Fonts") and associated
+ documentation files (the "Font Software"), to reproduce and distribute the
+ Font Software, including without limitation the rights to use, copy, merge,
+ publish, distribute, and/or sell copies of the Font Software, and to permit
+ persons to whom the Font Software is furnished to do so, subject to the
+ following conditions:
+ .
+ The above copyright and trademark notices and this permission notice shall
+ be included in all copies of one or more of the Font Software typefaces.
+ .
+ The Font Software may be modified, altered, or added to, and in particular
+ the designs of glyphs or characters in the Fonts may be modified and
+ additional glyphs or characters may be added to the Fonts, only if the fonts
+ are renamed to names not containing either the words "Bitstream" or the word
+ "Vera".
+ .
+ This License becomes null and void to the extent applicable to Fonts or Font
+ Software that has been modified and is distributed under the "Bitstream
+ Vera" names.
+ .
+ The Font Software may be sold as part of a larger software package but no
+ copy of one or more of the Font Software typefaces may be sold by itself.
+ .
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT,
+ TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BITSTREAM OR THE GNOME
+ FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING
+ ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES,
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
+ THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE
+ FONT SOFTWARE.
+ .
+ Except as contained in this notice, the names of Gnome, the Gnome
+ Foundation, and Bitstream Inc., shall not be used in advertising or
+ otherwise to promote the sale, use or other dealings in this Font Software
+ without prior written authorization from the Gnome Foundation or Bitstream
+ Inc., respectively. For further information, contact: fonts at gnome dot
+ org.

Modified: packages/trunk/whichwayisup/debian/docs
===================================================================
--- packages/trunk/whichwayisup/debian/docs	2013-05-28 15:02:59 UTC (rev 14176)
+++ packages/trunk/whichwayisup/debian/docs	2013-05-28 18:36:11 UTC (rev 14177)
@@ -1 +1,2 @@
 README.txt
+data/levels/creating_levels.txt

Deleted: packages/trunk/whichwayisup/debian/game.sh
===================================================================
--- packages/trunk/whichwayisup/debian/game.sh	2013-05-28 15:02:59 UTC (rev 14176)
+++ packages/trunk/whichwayisup/debian/game.sh	2013-05-28 18:36:11 UTC (rev 14177)
@@ -1,4 +0,0 @@
-#!/bin/sh --
-
-cd /usr/share/games/whichwayisup/
-exec python run_game.py "$@"

Added: packages/trunk/whichwayisup/debian/patches/check-for-joystick-axes-not-null.patch
===================================================================
--- packages/trunk/whichwayisup/debian/patches/check-for-joystick-axes-not-null.patch	                        (rev 0)
+++ packages/trunk/whichwayisup/debian/patches/check-for-joystick-axes-not-null.patch	2013-05-28 18:36:11 UTC (rev 14177)
@@ -0,0 +1,21 @@
+From: Markus Koschany <apo at gambaru.de>
+Date: Tue, 28 May 2013 18:40:34 +0200
+Subject: check for joystick axes not null
+
+---
+ lib/game.py |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/game.py b/lib/game.py
+index f0afd84..30f86fd 100644
+--- a/lib/game.py
++++ b/lib/game.py
+@@ -138,7 +138,7 @@ def parse_inputs(joystick = None):
+   if keys[K_F10]:
+     inputs["SPECIAL"] = True
+ 
+-  if joystick != None:   # Parse joystick input
++  if joystick != None and joystick.get_numaxes() != 0:   # Parse joystick input
+ 
+     axis0 = joystick.get_axis(0)
+ 

Modified: packages/trunk/whichwayisup/debian/patches/font_path.patch
===================================================================
--- packages/trunk/whichwayisup/debian/patches/font_path.patch	2013-05-28 15:02:59 UTC (rev 14176)
+++ packages/trunk/whichwayisup/debian/patches/font_path.patch	2013-05-28 18:36:11 UTC (rev 14177)
@@ -1,6 +1,16 @@
---- whichwayisup-0.7.9.orig/lib/util.py
-+++ whichwayisup-0.7.9/lib/util.py
-@@ -29,7 +29,7 @@
+From: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
+Date: Mon, 27 May 2013 23:37:46 +0200
+Subject: font_path
+
+---
+ lib/util.py |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/util.py b/lib/util.py
+index 6989474..c81e758 100644
+--- a/lib/util.py
++++ b/lib/util.py
+@@ -29,7 +29,7 @@ class Score:
  class Util:
  
    pygame.font.init()

Added: packages/trunk/whichwayisup/debian/patches/initialize-only-required-pygame-modules.patch
===================================================================
--- packages/trunk/whichwayisup/debian/patches/initialize-only-required-pygame-modules.patch	                        (rev 0)
+++ packages/trunk/whichwayisup/debian/patches/initialize-only-required-pygame-modules.patch	2013-05-28 18:36:11 UTC (rev 14177)
@@ -0,0 +1,23 @@
+From: Markus Koschany <apo at gambaru.de>
+Date: Tue, 28 May 2013 18:21:54 +0200
+Subject: initialize only required pygame modules.
+
+---
+ lib/main.py |    4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/lib/main.py b/lib/main.py
+index cfe9046..6a0376a 100644
+--- a/lib/main.py
++++ b/lib/main.py
+@@ -60,7 +60,9 @@ def main():
+ 
+     #Initializing pygame and screen
+ 
+-    pygame.init()
++    pygame.joystick.init()
++    pygame.display.init()
++    pygame.mixer.init()
+     screen = pygame.display.set_mode((SCREEN_WIDTH,SCREEN_HEIGHT))
+     caption = "Which way is up?"
+     if (Variables.vdict["devmode"]):

Modified: packages/trunk/whichwayisup/debian/patches/series
===================================================================
--- packages/trunk/whichwayisup/debian/patches/series	2013-05-28 15:02:59 UTC (rev 14176)
+++ packages/trunk/whichwayisup/debian/patches/series	2013-05-28 18:36:11 UTC (rev 14177)
@@ -1 +1,3 @@
 font_path.patch
+initialize-only-required-pygame-modules.patch
+check-for-joystick-axes-not-null.patch

Modified: packages/trunk/whichwayisup/debian/rules
===================================================================
--- packages/trunk/whichwayisup/debian/rules	2013-05-28 15:02:59 UTC (rev 14176)
+++ packages/trunk/whichwayisup/debian/rules	2013-05-28 18:36:11 UTC (rev 14177)
@@ -1,64 +1,8 @@
 #!/usr/bin/make -f
-
-# Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-include /usr/share/quilt/quilt.make
+%:
+	dh $@ --with python2
 
-CFLAGS = -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
-else
-	CFLAGS += -O2
-endif
-
-configure: configure-stamp
-configure-stamp: $(QUILT_STAMPFN)
-	dh_testdir
-	touch $@
-
-build: build-stamp
-build-stamp: configure-stamp 
-	dh_testdir
-	touch $@
-
-clean: unpatch
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp configure-stamp
-	dh_clean 
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	chmod +x run_game.py
-	chmod +x debian/game.sh
-	dh_installdirs
-
-# Build architecture-independent files here.
-binary-indep: build install
-	dh_testdir
-	dh_testroot
+override_dh_installchangelogs:
 	dh_installchangelogs changelog.txt
-	dh_installdocs
-	dh_installexamples
-	dh_install
-	dh_installmenu
-	dh_installman
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-# Build architecture-dependent files here.
-binary-arch:
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure

Added: packages/trunk/whichwayisup/debian/source/format
===================================================================
--- packages/trunk/whichwayisup/debian/source/format	                        (rev 0)
+++ packages/trunk/whichwayisup/debian/source/format	2013-05-28 18:36:11 UTC (rev 14177)
@@ -0,0 +1 @@
+3.0 (quilt)

Added: packages/trunk/whichwayisup/debian/source/include-binaries
===================================================================
--- packages/trunk/whichwayisup/debian/source/include-binaries	                        (rev 0)
+++ packages/trunk/whichwayisup/debian/source/include-binaries	2013-05-28 18:36:11 UTC (rev 14177)
@@ -0,0 +1 @@
+debian/whichwayisup.png

Modified: packages/trunk/whichwayisup/debian/watch
===================================================================
--- packages/trunk/whichwayisup/debian/watch	2013-05-28 15:02:59 UTC (rev 14176)
+++ packages/trunk/whichwayisup/debian/watch	2013-05-28 18:36:11 UTC (rev 14177)
@@ -1,10 +1,3 @@
-# Watch control file for uscan
-# See uscan(1) for format
- 
-# Compulsory line, this is a version 3 file
 version=3
- 
-# Examine a Webpage 
-# <Webpage URL> <string match>
 opts="uversionmangle=s/^b//;s/(\d)(\d)(\d)/$1.$2.$3/g" \
-http://hectigo.net/puskutraktori/whichwayisup/ whichwayisup_([^_]+)\.zip
+http://hectigo.net/puskutraktori/whichwayisup/ whichwayisup_([^_]+)\.(?:zip|tgz|tbz2|txz|tar\.gz|tar\.bz2|tar\.xz)

Modified: packages/trunk/whichwayisup/debian/whichwayisup.desktop
===================================================================
--- packages/trunk/whichwayisup/debian/whichwayisup.desktop	2013-05-28 15:02:59 UTC (rev 14176)
+++ packages/trunk/whichwayisup/debian/whichwayisup.desktop	2013-05-28 18:36:11 UTC (rev 14177)
@@ -3,7 +3,9 @@
 Name=Which Way is Up
 GenericName=whichwayisup
 Comment=2D platform game with a slight rotational twist
+Comment[de]=2D-Jump'n'Run-Spiel mit einem leichten Rotationsdrall
 Icon=whichwayisup
 Exec=whichwayisup
 Terminal=false
 Categories=Game;ArcadeGame;
+Keywords=2D;game;arcade;platform;

Modified: packages/trunk/whichwayisup/debian/whichwayisup.install
===================================================================
--- packages/trunk/whichwayisup/debian/whichwayisup.install	2013-05-28 15:02:59 UTC (rev 14176)
+++ packages/trunk/whichwayisup/debian/whichwayisup.install	2013-05-28 18:36:11 UTC (rev 14177)
@@ -1,8 +1,9 @@
-debian/game.sh usr/share/games/whichwayisup
-*.py usr/share/games/whichwayisup
-lib/*.py usr/share/games/whichwayisup/lib
-data/levels/* usr/share/games/whichwayisup/data/levels
-data/pictures/* usr/share/games/whichwayisup/data/pictures
-data/sounds/* usr/share/games/whichwayisup/data/sounds
-debian/*.xpm usr/share/pixmaps/
-debian/*.desktop usr/share/applications/
+*.py                        usr/share/games/whichwayisup
+data/levels/*               usr/share/games/whichwayisup/data/levels
+data/pictures/*             usr/share/games/whichwayisup/data/pictures
+data/sounds/*               usr/share/games/whichwayisup/data/sounds
+debian/*.desktop            usr/share/applications/
+debian/*.xpm                usr/share/pixmaps/
+debian/*.png                usr/share/pixmaps/
+debian/bin/whichwayisup     usr/games
+lib                         usr/share/games/whichwayisup

Deleted: packages/trunk/whichwayisup/debian/whichwayisup.links
===================================================================
--- packages/trunk/whichwayisup/debian/whichwayisup.links	2013-05-28 15:02:59 UTC (rev 14176)
+++ packages/trunk/whichwayisup/debian/whichwayisup.links	2013-05-28 18:36:11 UTC (rev 14177)
@@ -1,2 +0,0 @@
-usr/share/games/whichwayisup/game.sh usr/games/whichwayisup
-

Modified: packages/trunk/whichwayisup/debian/whichwayisup.menu
===================================================================
--- packages/trunk/whichwayisup/debian/whichwayisup.menu	2013-05-28 15:02:59 UTC (rev 14176)
+++ packages/trunk/whichwayisup/debian/whichwayisup.menu	2013-05-28 18:36:11 UTC (rev 14177)
@@ -1,3 +1,6 @@
-?package(whichwayisup):needs="x11" section="Games/Action" \
-	title="Which Way is Up" command="/usr/games/whichwayisup" \
-	icon="/usr/share/pixmaps/whichwayisup.xpm"
+?package(whichwayisup):needs="x11" \
+ section="Games/Action" \
+ title="Which Way is Up" \
+ longtitle="whichwayisup - 2D platform game with a slight rotational twist" \
+ command="/usr/games/whichwayisup" \
+ icon="/usr/share/pixmaps/whichwayisup.xpm"

Added: packages/trunk/whichwayisup/debian/whichwayisup.png
===================================================================
(Binary files differ)


Property changes on: packages/trunk/whichwayisup/debian/whichwayisup.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream




More information about the Pkg-games-commits mailing list