Author: pabs Date: 2013-06-07 09:17:32 +0000 (Fri, 07 Jun 2013) New Revision: 14238
Modified: packages/trunk/oneisenough/debian/changelog packages/trunk/oneisenough/debian/control packages/trunk/oneisenough/debian/patches/font_path.patch Log: Switch to the new package and paths for the DejaVu fonts Modified: packages/trunk/oneisenough/debian/changelog =================================================================== --- packages/trunk/oneisenough/debian/changelog 2013-06-07 09:12:59 UTC (rev 14237) +++ packages/trunk/oneisenough/debian/changelog 2013-06-07 09:17:32 UTC (rev 14238) @@ -14,6 +14,7 @@ [ Paul Wise ] * Fix Vcs-Browser and use canonical URLs for Vcs-* * Switch to dh and bump debhelper compat level to 9 + * Switch to the new package and paths for the DejaVu fonts -- Richard Hartmann <[email protected]> Thu, 06 Jun 2013 01:42:30 +0200 Modified: packages/trunk/oneisenough/debian/control =================================================================== --- packages/trunk/oneisenough/debian/control 2013-06-07 09:12:59 UTC (rev 14237) +++ packages/trunk/oneisenough/debian/control 2013-06-07 09:17:32 UTC (rev 14238) @@ -17,7 +17,7 @@ Depends: python, python-pygame, - ttf-dejavu-core, + fonts-dejavu-core, ${misc:Depends} Description: 2D platform game about the epic struggle of balls One Is Enough, a 2D platform game in which a communist ball needs to Modified: packages/trunk/oneisenough/debian/patches/font_path.patch =================================================================== --- packages/trunk/oneisenough/debian/patches/font_path.patch 2013-06-07 09:12:59 UTC (rev 14237) +++ packages/trunk/oneisenough/debian/patches/font_path.patch 2013-06-07 09:17:32 UTC (rev 14238) @@ -1,7 +1,7 @@ Author: Richard Hartmann <[email protected]> Description: Use TTF fonts provided by Debian instead of the ones distributed by upstream. Forwarded: not-needed -Last-Update: 2009-03-19 +Last-Update: 2013-06-07 --- a/bin/game.py +++ b/bin/game.py @@ -14,7 +14,7 @@ @@ -9,7 +9,7 @@ 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) ++smallfont = pygame.font.Font(os.path.join("/usr/share/fonts/truetype/dejavu","DejaVuSansMono.ttf"), 14) dismiss_delay = 0 @@ -20,7 +20,7 @@ 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) ++smallfont = pygame.font.Font(os.path.join("/usr/share/fonts/truetype/dejavu","DejaVuSansMono.ttf"), 22) def render_score(screen, score): image = smallfont.render(str(score), 1, (0,0,0)) _______________________________________________ Pkg-games-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

