diff -Nur temp3/memaker-1.0.1/debian/changelog memaker-1.0.1/debian/changelog --- temp3/memaker-1.0.1/debian/changelog 2008-08-29 21:01:25.000000000 +0200 +++ memaker-1.0.1/debian/changelog 2008-08-29 21:50:33.000000000 +0200 @@ -1,3 +1,10 @@ +memaker (1.0.1-0ubuntu2) intrepid; urgency=low + + * Fixing regression on installation which would cause errors with old python + versions. (LP: #262750) + + -- Stefano Forenza Fri, 29 Aug 2008 20:47:38 +0200 + memaker (1.0.1-0ubuntu1) intrepid; urgency=low * New Upstream Version See: LP: #214401 diff -Nur temp3/memaker-1.0.1/debian/patches/001-Fix-Install-Errors.dpatch memaker-1.0.1/debian/patches/001-Fix-Install-Errors.dpatch --- temp3/memaker-1.0.1/debian/patches/001-Fix-Install-Errors.dpatch 2008-08-29 21:01:25.000000000 +0200 +++ memaker-1.0.1/debian/patches/001-Fix-Install-Errors.dpatch 2008-08-29 20:45:57.000000000 +0200 @@ -1,5 +1,5 @@ #! /bin/sh /usr/share/dpatch/dpatch-run -## 001-Fix-Install-Errors.dpatch by Stefano Forenza +## 001_Fix-Install-Errors.dpatch by Stefano Forenza ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Fixes installation errors caused by unsupported syntax in older python @@ -7,10 +7,29 @@ @DPATCH@ -diff -Nurp memaker-1.0.1/MeMaker/image_loader.py patched/MeMaker/image_loader.py +diff -Nur memaker-1.0.1/MeMaker/image_loader_dummy.py temp/MeMaker/image_loader_dummy.py +--- memaker-1.0.1/MeMaker/image_loader_dummy.py 2008-08-14 11:52:38.000000000 +0200 ++++ temp/MeMaker/image_loader_dummy.py 2008-08-29 20:27:27.000000000 +0200 +@@ -22,7 +22,7 @@ + import os + import gtk + +-class ImageLoader(): ++class ImageLoader: + def __init__(self, width, height, bgcolor, scale_method = gtk.gdk.INTERP_BILINEAR): + pass + +@@ -56,4 +56,4 @@ + return pixbuf + + def load_image(self, file_name): +- pass +\ No newline at end of file ++ pass +diff -Nur memaker-1.0.1/MeMaker/image_loader.py temp/MeMaker/image_loader.py --- memaker-1.0.1/MeMaker/image_loader.py 2008-08-14 11:52:38.000000000 +0200 -+++ patched/MeMaker/image_loader.py 2008-08-26 19:38:55.000000000 +0200 -@@ -29,7 +29,7 @@ import cairo ++++ temp/MeMaker/image_loader.py 2008-08-29 20:27:10.000000000 +0200 +@@ -29,7 +29,7 @@ import StringIO import pickle @@ -19,10 +38,10 @@ def __init__(self, width, height, bgcolor, scale_method = gtk.gdk.INTERP_BILINEAR): self._width = width self._height = height -diff -Nurp memaker-1.0.1/MeMaker/MeMakerGui.py patched/MeMaker/MeMakerGui.py +diff -Nur memaker-1.0.1/MeMaker/MeMakerGui.py temp/MeMaker/MeMakerGui.py --- memaker-1.0.1/MeMaker/MeMakerGui.py 2008-08-14 11:52:38.000000000 +0200 -+++ patched/MeMaker/MeMakerGui.py 2008-08-26 19:40:53.000000000 +0200 -@@ -59,10 +59,10 @@ def mkdirCheck(newdir): ++++ temp/MeMaker/MeMakerGui.py 2008-08-29 20:28:08.000000000 +0200 +@@ -59,10 +59,10 @@ class MeMakerGui: