r5872 - packages/trunk/beatharvester/debian/patches

Richard Hartmann richih-guest at alioth.debian.org
Thu Feb 21 00:41:52 UTC 2008


Author: richih-guest
Date: 2008-02-21 00:41:52 +0000 (Thu, 21 Feb 2008)
New Revision: 5872

Modified:
   packages/trunk/beatharvester/debian/patches/font_path.patch
   packages/trunk/beatharvester/debian/patches/series
Log:
This might work :)

* beatharvester/debian/patches/font_path.patch:
* beatharvester/debian/patches/series:



Modified: packages/trunk/beatharvester/debian/patches/font_path.patch
===================================================================
--- packages/trunk/beatharvester/debian/patches/font_path.patch	2008-02-21 00:29:39 UTC (rev 5871)
+++ packages/trunk/beatharvester/debian/patches/font_path.patch	2008-02-21 00:41:52 UTC (rev 5872)
@@ -1,37 +1,40 @@
---- lib/gl_render_util.py.orig       2008-02-19 16:49:36.943593775 +0100
-+++ lib/gl_render_util.py       2008-02-19 16:39:10.151593480 +0100
+Index: beatharvester-0.4.1.obsolete.0.658934116902859/lib/gl_render_util.py
+===================================================================
+--- beatharvester-0.4.1.obsolete.0.658934116902859.orig/lib/gl_render_util.py	2008-02-21 01:37:20.632504004 +0100
++++ beatharvester-0.4.1.obsolete.0.658934116902859/lib/gl_render_util.py	2008-02-21 01:37:42.064503488 +0100
 @@ -226,7 +226,7 @@
-             font = GL_render_util.cached_fonts[size]
-         else:
-             font = GL_render_util.cached_fonts[size] = pygame.font.Font(data.filepath(\
--            os.path.join("misc", "Vera.ttf")), size)
-+            os.path.join("/usr/share/fonts/truetype/ttf-dejavu", "DejaVuSansMono.ttf")), size)
-
-         color = (color[0], color[1], color[2], 255);
-         bgcolor = (bgcolor[0], bgcolor[1], bgcolor[2], 255);
+             font = GL_render_util.cached_fonts[size]
+         else:
+             font = GL_render_util.cached_fonts[size] = pygame.font.Font(data.filepath(\
+-            os.path.join("misc", "Vera.ttf")), size)
++            "/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf"), size)
+ 
+         color = (color[0], color[1], color[2], 255);
+         bgcolor = (bgcolor[0], bgcolor[1], bgcolor[2], 255);
 @@ -373,4 +373,4 @@
-         glVertex3f(-1.0, 1.0, 0.0)
-         glEnd()
-
+         glVertex3f(-1.0, 1.0, 0.0)
+         glEnd()
+ 
 -    return (GL_render_util.fade_state == fade_target)
 \ No newline at end of file
-+    return (GL_render_util.fade_state == fade_target)
-diff -ru old/render_util.py new/render_util.py
---- lib/render_util.py.orig  2008-02-19 16:49:41.016371053 +0100
-+++ lib/render_util.py  2008-02-19 16:39:43.452594225 +0100
++    return (GL_render_util.fade_state == fade_target)
+Index: beatharvester-0.4.1.obsolete.0.658934116902859/lib/render_util.py
+===================================================================
+--- beatharvester-0.4.1.obsolete.0.658934116902859.orig/lib/render_util.py	2008-02-21 01:36:11.596504967 +0100
++++ beatharvester-0.4.1.obsolete.0.658934116902859/lib/render_util.py	2008-02-21 01:37:09.727503444 +0100
 @@ -79,7 +79,7 @@
-             font = Render_util.cached_fonts[size]
-         else:
-             font = Render_util.cached_fonts[size] = pygame.font.Font(data.filepath(\
--            os.path.join("misc", "Vera.ttf")), size)
-+            os.path.join("/usr/share/fonts/truetype/ttf-dejavu", "DejaVuSansMono.ttf")), size)
-
-         text_image_bg = font.render(string, True, bgcolor)
-         text_image_fg = font.render(string, True, color)
+             font = Render_util.cached_fonts[size]
+         else:
+             font = Render_util.cached_fonts[size] = pygame.font.Font(data.filepath(\
+-            os.path.join("misc", "Vera.ttf")), size)
++            "/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf"), size)
+ 
+         text_image_bg = font.render(string, True, bgcolor)
+         text_image_fg = font.render(string, True, color)
 @@ -193,4 +193,4 @@
-     if Render_util.fade_state > FADE_STATE_NONE:
-         Render_util.blackscreen.set_alpha(Render_util.fade_state)
-         screen.blit(Render_util.blackscreen, screen.get_rect())
+     if Render_util.fade_state > FADE_STATE_NONE:
+         Render_util.blackscreen.set_alpha(Render_util.fade_state)
+         screen.blit(Render_util.blackscreen, screen.get_rect())
 -    return (Render_util.fade_state == fade_target)
 \ No newline at end of file
-+    return (Render_util.fade_state == fade_target)
++    return (Render_util.fade_state == fade_target)

Modified: packages/trunk/beatharvester/debian/patches/series
===================================================================
--- packages/trunk/beatharvester/debian/patches/series	2008-02-21 00:29:39 UTC (rev 5871)
+++ packages/trunk/beatharvester/debian/patches/series	2008-02-21 00:41:52 UTC (rev 5872)
@@ -1 +1 @@
-font_path.patch -p0
+font_path.patch




More information about the Pkg-games-commits mailing list