tags 653953 + patch
tags 653953 + pending
thanks

Dear maintainer,

I've prepared an NMU for magicmaze (versioned as 1.4.3.2.dfsg-1.1) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.

Regards.

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Leonard Cohen: Jazz Police
diff -u magicmaze-1.4.3.2.dfsg/debian/control magicmaze-1.4.3.2.dfsg/debian/control
--- magicmaze-1.4.3.2.dfsg/debian/control
+++ magicmaze-1.4.3.2.dfsg/debian/control
@@ -8,7 +8,7 @@
 
 Package: magicmaze
 Architecture: all
-Depends: ruby, libsdl-ruby, ttf-isabella
+Depends: ruby, libsdl-ruby, ttf-isabella (>= 1.2-2)
 Description: rescue the maiden while avoiding the monsters
  This is a simple game where you are a wizard searching the evil demon's
  tower to try and rescue the beautiful maiden.  Inspired by Gauntlet II,
diff -u magicmaze-1.4.3.2.dfsg/debian/changelog magicmaze-1.4.3.2.dfsg/debian/changelog
--- magicmaze-1.4.3.2.dfsg/debian/changelog
+++ magicmaze-1.4.3.2.dfsg/debian/changelog
@@ -1,3 +1,15 @@
+magicmaze (1.4.3.2.dfsg-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "magicmaze searches for Isabella.ttf in wrong place, crashes.":
+    - add patch 20_isabella.dpatch: adjust fontfile variable to point to new
+      location of Isabella.ttf
+    - debian/control: make dependency on ttf-isabella versioned
+    Thanks to Raphael Wimmer for the bug report.
+    (Closes: #653953)
+
+ -- gregor herrmann <gre...@debian.org>  Sun, 22 Jan 2012 16:33:43 +0100
+
 magicmaze (1.4.3.2.dfsg-1) unstable; urgency=low
 
   * The "Now with DFSG-free orig tarball!" release
diff -u magicmaze-1.4.3.2.dfsg/debian/patches/00list magicmaze-1.4.3.2.dfsg/debian/patches/00list
--- magicmaze-1.4.3.2.dfsg/debian/patches/00list
+++ magicmaze-1.4.3.2.dfsg/debian/patches/00list
@@ -1,0 +2 @@
+20_isabella
only in patch2:
unchanged:
--- magicmaze-1.4.3.2.dfsg.orig/debian/patches/20_isabella.dpatch
+++ magicmaze-1.4.3.2.dfsg/debian/patches/20_isabella.dpatch
@@ -0,0 +1,20 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 20_isabella.dpatch by gregor herrmann <gre...@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Update path to Isabella.ttf
+## DP: Bug-Debian: http://bugs.debian.org/653953
+
+@DPATCH@
+diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' magicmaze-1.4.3.2.dfsg~/magicmaze/graphics.rb magicmaze-1.4.3.2.dfsg/magicmaze/graphics.rb
+--- magicmaze-1.4.3.2.dfsg~/magicmaze/graphics.rb	2012-01-22 16:26:48.000000000 +0100
++++ magicmaze-1.4.3.2.dfsg/magicmaze/graphics.rb	2012-01-22 16:27:14.000000000 +0100
+@@ -99,7 +99,7 @@
+ 	@font32 = SDL::TTF.open( fontfile, fontsize.last  * SCALE_FACTOR )
+       rescue SDL::Error => err
+ 	# Debian font
+-	fontfile = "/usr/share/fonts/truetype/Isabella.ttf"
++	fontfile = "/usr/share/fonts/truetype/ttf-isabella/Isabella.ttf"
+ 	fontsize = [12, 28]
+ 	if tries < 1 then 
+ 	  tries += 1 # to avoid loop.

Attachment: signature.asc
Description: Digital signature

Reply via email to