r9220 - in packages/trunk/oneisenough/debian: . patches
Barry deFreese
bdefreese at alioth.debian.org
Thu Mar 19 14:17:57 UTC 2009
Author: bdefreese
Date: 2009-03-19 14:17:57 +0000 (Thu, 19 Mar 2009)
New Revision: 9220
Modified:
packages/trunk/oneisenough/debian/changelog
packages/trunk/oneisenough/debian/patches/font_path.patch
Log:
Recreate patch and remove description until I can figure out why adding descriptions breaks patches.
Modified: packages/trunk/oneisenough/debian/changelog
===================================================================
--- packages/trunk/oneisenough/debian/changelog 2009-03-19 14:07:59 UTC (rev 9219)
+++ packages/trunk/oneisenough/debian/changelog 2009-03-19 14:17:57 UTC (rev 9220)
@@ -8,7 +8,6 @@
[ Barry deFreese ]
* Add myself to uploaders.
- * Add description to quilt patch.
* Fix minor syntax issues in debian/copyright.
* Fix typo in package description. (Closes: #499628).
* Bump Standards Version to 3.8.1. (No changes needed).
Modified: packages/trunk/oneisenough/debian/patches/font_path.patch
===================================================================
--- packages/trunk/oneisenough/debian/patches/font_path.patch 2009-03-19 14:07:59 UTC (rev 9219)
+++ packages/trunk/oneisenough/debian/patches/font_path.patch 2009-03-19 14:17:57 UTC (rev 9220)
@@ -1,24 +1,40 @@
-Description: Use ttf-dejavu instead of Vera font.
-
---- a/bin/game.py
-+++ b/bin/game.py
+Index: oneisenough-0.40/bin/game.py
+===================================================================
+--- oneisenough-0.40.orig/bin/game.py 2009-03-19 10:15:00.000000000 -0400
++++ oneisenough-0.40/bin/game.py 2009-03-19 10:15:20.000000000 -0400
@@ -14,7 +14,7 @@
- from camp import Camp
-
- pygame.font.init()
--smallfont = pygame.font.Font(os.path.join("data","Vera.ttf"), 14)
-+smallfont = pygame.font.Font(os.path.join("/usr/share/fonts/truetype/ttf-dejavu","DejaVuSansMono.ttf"), 14)
-
- dismiss_delay = 0
-
---- a/bin/mainmenu.py
-+++ b/bin/mainmenu.py
+ from camp import Camp
+
+ pygame.font.init()
+-smallfont = pygame.font.Font(os.path.join("data","Vera.ttf"), 14)
++smallfont = pygame.font.Font(os.path.join("/usr/share/fonts/truetype/ttf-dejavu","DejaVuSansMono.ttf"), 14)
+
+ dismiss_delay = 0
+
+@@ -235,4 +235,4 @@
+
+ print "Idle time: " + str(idletime) + "s, time spent processing: " + str(comptime) + "s"
+ print "Average processor time taken: " + str(comptime/(idletime+comptime)*100) + "%"
+- return score
+\ No newline at end of file
++ return score
+Index: oneisenough-0.40/bin/mainmenu.py
+===================================================================
+--- oneisenough-0.40.orig/bin/mainmenu.py 2009-03-19 10:15:31.000000000 -0400
++++ oneisenough-0.40/bin/mainmenu.py 2009-03-19 10:16:18.000000000 -0400
@@ -8,7 +8,7 @@
- from locals import *
- import game
-
--smallfont = pygame.font.Font(os.path.join("data","Vera.ttf"), 22)
-+smallfont = pygame.font.Font(os.path.join("/usr/share/fonts/truetype/ttf-dejavu","DejaVuSansMono.ttf"), 22)
-
- def render_score(screen, score):
- image = smallfont.render(str(score), 1, (0,0,0))
+ from locals import *
+ import game
+
+-smallfont = pygame.font.Font(os.path.join("data","Vera.ttf"), 22)
++smallfont = pygame.font.Font(os.path.join("/usr/share/fonts/truetype/ttf-dejavu","DejaVuSansMono.ttf"), 22)
+
+ def render_score(screen, score):
+ image = smallfont.render(str(score), 1, (0,0,0))
+@@ -51,4 +51,4 @@
+ clock.tick(FPS)
+
+ if __name__ == '__main__':
+- run()
+\ No newline at end of file
++ run()
More information about the Pkg-games-commits
mailing list