Bug#730861: fretsonfire: does not launch because of wrong PngImagePlugin import
Markus Koschany
apo at gambaru.de
Sat Nov 30 12:10:38 UTC 2013
-------------- next part --------------
diff -Nru fretsonfire-1.3.110.dfsg/debian/changelog fretsonfire-1.3.110.dfsg/debian/changelog
--- fretsonfire-1.3.110.dfsg/debian/changelog 2012-01-01 06:48:51.000000000 +0100
+++ fretsonfire-1.3.110.dfsg/debian/changelog 2013-11-30 13:06:53.000000000 +0100
@@ -1,3 +1,11 @@
+fretsonfire (1.3.110.dfsg-4) unstable; urgency=low
+
+ * Team upload.
+ * Add deprecated-PIL-imports.patch and use the correct way to import
+ PngImagePlugin. Thanks to Jeremy Lainé for the patch. (Closes: #730861)
+
+ -- Markus Koschany <apo at gambaru.de> Sat, 30 Nov 2013 13:06:39 +0100
+
fretsonfire (1.3.110.dfsg-3) unstable; urgency=low
* Team upload.
diff -Nru fretsonfire-1.3.110.dfsg/debian/patches/deprecated-PIL-imports.patch fretsonfire-1.3.110.dfsg/debian/patches/deprecated-PIL-imports.patch
--- fretsonfire-1.3.110.dfsg/debian/patches/deprecated-PIL-imports.patch 1970-01-01 01:00:00.000000000 +0100
+++ fretsonfire-1.3.110.dfsg/debian/patches/deprecated-PIL-imports.patch 2013-11-30 13:06:53.000000000 +0100
@@ -0,0 +1,21 @@
+From: Jeremy Lainé <jeremy.laine at m4x.org>
+Date: Sat, 30 Nov 2013 12:45:13 +0100
+Subject: deprecated PIL imports
+
+---
+ src/Texture.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/Texture.py b/src/Texture.py
+index 51509f5..de63aec 100644
+--- a/src/Texture.py
++++ b/src/Texture.py
+@@ -27,7 +27,7 @@ import Config
+ import Image
+ import pygame
+ import StringIO
+-import PngImagePlugin
++from PIL import PngImagePlugin
+ from OpenGL.GL import *
+ from OpenGL.GLU import *
+ from Queue import Queue, Empty
diff -Nru fretsonfire-1.3.110.dfsg/debian/patches/series fretsonfire-1.3.110.dfsg/debian/patches/series
--- fretsonfire-1.3.110.dfsg/debian/patches/series 2009-05-11 17:51:11.000000000 +0200
+++ fretsonfire-1.3.110.dfsg/debian/patches/series 2013-11-30 13:06:53.000000000 +0100
@@ -5,3 +5,4 @@
fix_window_height_bug.patch
keep_sound_when_failed.patch
credits_music.patch
+deprecated-PIL-imports.patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20131130/d3fc65b4/attachment.sig>
More information about the Pkg-games-devel
mailing list