tags 461296 +patch

Hi,

Attached you find a patch which switches to dejavu.
Should I apply it to SVN myself, or will you take care of it Miriam?

Regards
Evgeni
diff -Nrwu whichwayisup-0.7.0.orig/debian/changelog whichwayisup-0.7.0/debian/changelog
--- whichwayisup-0.7.0.orig/debian/changelog	2008-02-07 22:59:17.000000000 +0100
+++ whichwayisup-0.7.0/debian/changelog	2008-02-07 23:06:35.000000000 +0100
@@ -1,3 +1,11 @@
+whichwayisup (0.7.0-2) unstable; urgency=low
+
+  [ Evgeni Golov ]
+  * Switch to DejaVu fonts (Closes: 461296)
+    adding a dependency on ttf-dejavu-core instead of ttf-bitstream-vera
+
+ -- Miriam Ruiz <[EMAIL PROTECTED]>  Thu, 07 Feb 2008 23:05:07 +0100
+
 whichwayisup (0.7.0-1) unstable; urgency=low
 
   * Initial release (Closes: #427029)
diff -Nrwu whichwayisup-0.7.0.orig/debian/control whichwayisup-0.7.0/debian/control
--- whichwayisup-0.7.0.orig/debian/control	2008-02-07 22:59:17.000000000 +0100
+++ whichwayisup-0.7.0/debian/control	2008-02-07 23:04:52.000000000 +0100
@@ -8,7 +8,7 @@
 
 Package: whichwayisup
 Architecture: all
-Depends: ttf-bitstream-vera, python, python-pygame, python-pyogg, ${misc:Depends}
+Depends: ttf-dejavu-core, python, python-pygame, python-pyogg, ${misc: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
diff -Nrwu whichwayisup-0.7.0.orig/debian/patches/font_path.patch whichwayisup-0.7.0/debian/patches/font_path.patch
--- whichwayisup-0.7.0.orig/debian/patches/font_path.patch	2008-02-07 22:59:17.000000000 +0100
+++ whichwayisup-0.7.0/debian/patches/font_path.patch	2008-02-07 23:03:47.000000000 +0100
@@ -5,7 +5,7 @@
  
    pygame.font.init()
 -  smallfont = pygame.font.Font(data.filepath(os.path.join("misc", "Vera.ttf")), FONT_SIZE)
-+  smallfont = pygame.font.Font(data.filepath(os.path.join("/usr/share/fonts/truetype/ttf-bitstream-vera", "Vera.ttf")), FONT_SIZE)
++  smallfont = pygame.font.Font(data.filepath(os.path.join("/usr/share/fonts/truetype/ttf-dejavu", "DejaVuSans.ttf")), FONT_SIZE)
    cached_text_images = {}
    cached_images = {}
    cached_images["key_z"] = pygame.image.load(data.picpath("key", "z"))

Attachment: pgp4nZFSTFCgj.pgp
Description: PGP signature

Reply via email to