diff -u pythoncad-0.1.35/debian/patches/00list pythoncad-0.1.35/debian/patches/00list --- pythoncad-0.1.35/debian/patches/00list +++ pythoncad-0.1.35/debian/patches/00list @@ -1,0 +2 @@ +05_clean_exit diff -u pythoncad-0.1.35/debian/changelog pythoncad-0.1.35/debian/changelog --- pythoncad-0.1.35/debian/changelog +++ pythoncad-0.1.35/debian/changelog @@ -1,4 +1,11 @@ -pythoncad (0.1.35-1) unstable; urgency=low +pythoncad (0.1.35-1ubuntu1) gutsy; urgency=low + + * Add 05_clean_exit patch (LP: #112140) + * Changed maintainer to MOTU + + -- Edoardo Batini Sat, 5 May 2007 17:17:22 +0200 + + pythoncad (0.1.35-1) unstable; urgency=low * New upstream release * Fix "unable to save files due to incorrect attribute reference" diff -u pythoncad-0.1.35/debian/control pythoncad-0.1.35/debian/control --- pythoncad-0.1.35/debian/control +++ pythoncad-0.1.35/debian/control @@ -1,7 +1,8 @@ Source: pythoncad Section: graphics Priority: optional -Maintainer: Cédric Delfosse +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Cédric Delfosse Build-Depends-Indep: python, python-dev, python-support (>= 0.4) Build-Depends: debhelper (>= 5.0.37.2), dpatch Standards-Version: 3.7.2 only in patch2: unchanged: --- pythoncad-0.1.35.orig/debian/patches/05_clean_exit.dpatch +++ pythoncad-0.1.35/debian/patches/05_clean_exit.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 05_clean_exit.dpatch by Edoardo Batini +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad pythoncad-0.1.35~/PythonCAD/Interface/Gtk/gtkimage.py pythoncad-0.1.35/PythonCAD/Interface/Gtk/gtkimage.py +--- pythoncad-0.1.35~/PythonCAD/Interface/Gtk/gtkimage.py 2006-12-09 20:50:09.000000000 +0100 ++++ pythoncad-0.1.35/PythonCAD/Interface/Gtk/gtkimage.py 2007-05-05 17:14:46.000000000 +0200 +@@ -286,7 +286,7 @@ + self.close() + for _i in xrange(len(globals.imagelist)): + _gimage = globals.imagelist[_i] +- if self is _gimage: ++ if self.__image is _gimage: + del globals.imagelist[_i] + if not len(globals.imagelist): + gtk.main_quit()