[Python-apps-commits] r3145 - in packages/lightyears/trunk/debian (3 files)
rainct-guest at users.alioth.debian.org
rainct-guest at users.alioth.debian.org
Sat Jun 20 19:17:21 UTC 2009
Date: Saturday, June 20, 2009 @ 19:17:15
Author: rainct-guest
Revision: 3145
* debian/patches/add_fullscreen_flag.patch:
- Add a "--fullscreen" flag to start the game in fullscreen mode.
- Document the "--window" and "--fullscreen" options.
Added:
packages/lightyears/trunk/debian/patches/add_fullscreen_flag.patch
Modified:
packages/lightyears/trunk/debian/changelog
packages/lightyears/trunk/debian/lightyears.6
Modified: packages/lightyears/trunk/debian/changelog
===================================================================
--- packages/lightyears/trunk/debian/changelog 2009-06-20 18:50:42 UTC (rev 3144)
+++ packages/lightyears/trunk/debian/changelog 2009-06-20 19:17:15 UTC (rev 3145)
@@ -7,8 +7,11 @@
[ Siegfried-Angel Gevatter Pujals ]
* debian/control:
- Bump Standards-Version to 3.8.2.
+ * debian/patches/add_fullscreen_flag.patch:
+ - Add a "--fullscreen" flag to start the game in fullscreen mode.
* debian/lightyears.6:
- Rework the manual page to improve the description of the game.
+ - Document the "--window" and "--fullscreen" options.
-- Siegfried-Angel Gevatter Pujals <rainct at ubuntu.com> Sat, 20 Jun 2009 20:33:50 +0200
Modified: packages/lightyears/trunk/debian/lightyears.6
===================================================================
--- packages/lightyears/trunk/debian/lightyears.6 2009-06-20 18:50:42 UTC (rev 3144)
+++ packages/lightyears/trunk/debian/lightyears.6 2009-06-20 19:17:15 UTC (rev 3145)
@@ -8,7 +8,12 @@
.SH OPTIONS
.TP
-\fB\-\-no\-sound\fP
+.B \-\-window
+Start the game in windowed mode, regardless of the last saved state.
+.B \-\-fullscreen
+Start the game in fullscreen mode, regardless of the last saved state.
+.TP
+.B \-\-no\-sound
Mute all sounds.
.SH DESCRIPTION
Added: packages/lightyears/trunk/debian/patches/add_fullscreen_flag.patch
===================================================================
--- packages/lightyears/trunk/debian/patches/add_fullscreen_flag.patch (rev 0)
+++ packages/lightyears/trunk/debian/patches/add_fullscreen_flag.patch 2009-06-20 19:17:15 UTC (rev 3145)
@@ -0,0 +1,12 @@
+diff -Nur -x '*.orig' -x '*~' lightyears-1.3a/code/main.py lightyears-1.3a.new/code/main.py
+--- lightyears-1.3a/code/main.py 2009-06-20 21:05:38.000000000 +0200
++++ lightyears-1.3a.new/code/main.py 2009-06-20 21:08:55.424826126 +0200
+@@ -29,7 +29,7 @@
+ default_flags = 0
+ flags = default_flags
+ if ( config.cfg.fullscreen
+- and ( not "--window" in sys.argv )):
++ and ( not "--window" in sys.argv )) or "--fullscreen" in sys.argv:
+ flags |= FULLSCREEN
+
+ bufsize = 2048
More information about the Python-apps-commits
mailing list