r25584 - in /packages/unstable/gdesklets/debian: changelog patches/01_python2.6.patch

pochu at users.alioth.debian.org pochu at users.alioth.debian.org
Mon Nov 15 21:30:05 UTC 2010


Author: pochu
Date: Mon Nov 15 21:30:05 2010
New Revision: 25584

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=25584
Log:
* Non-maintainer upload.
* Fix "won't start": repair debian/patches/01_python2.6.patch: at the moment
  it just creates a debian/patches/10_python2.6.patch file which never gets
  applied (closes: #602171). -- Thanks to Giovanni Mascellani for testing
  the fix.

Modified:
    packages/unstable/gdesklets/debian/changelog
    packages/unstable/gdesklets/debian/patches/01_python2.6.patch

Modified: packages/unstable/gdesklets/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/gdesklets/debian/changelog?rev=25584&op=diff
==============================================================================
--- packages/unstable/gdesklets/debian/changelog [utf-8] (original)
+++ packages/unstable/gdesklets/debian/changelog [utf-8] Mon Nov 15 21:30:05 2010
@@ -1,3 +1,13 @@
+gdesklets (0.36.1-4.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "won't start": repair debian/patches/01_python2.6.patch: at the moment
+    it just creates a debian/patches/10_python2.6.patch file which never gets
+    applied (closes: #602171). -- Thanks to Giovanni Mascellani for testing
+    the fix.
+
+ -- gregor herrmann <gregoa at debian.org>  Mon, 15 Nov 2010 21:38:19 +0100
+
 gdesklets (0.36.1-4) unstable; urgency=low
 
   * debian/patches/01_python2.6.patch:

Modified: packages/unstable/gdesklets/debian/patches/01_python2.6.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/gdesklets/debian/patches/01_python2.6.patch?rev=25584&op=diff
==============================================================================
--- packages/unstable/gdesklets/debian/patches/01_python2.6.patch [utf-8] (original)
+++ packages/unstable/gdesklets/debian/patches/01_python2.6.patch [utf-8] Mon Nov 15 21:30:05 2010
@@ -1,23 +1,20 @@
+Description: Fix exception when running under python2.6. Patch from Ubuntu, commited upstream.
+Origin: https://bugs.launchpad.net/gdesklets/+bug/344079
+Forwarded: http://bazaar.launchpad.net/~gdesklets-core-team/gdesklets/0.3x/revision/118
 Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=561645
 
---- gdesklets-0.36.1.orig/debian/patches/10_python2.6.patch
-+++ gdesklets-0.36.1/debian/patches/10_python2.6.patch
-@@ -0,0 +1,18 @@
-+Description: Fix exception when running under python2.6. Patch from Ubuntu, commited upstream.
-+Origin: https://bugs.launchpad.net/gdesklets/+bug/344079
-+Forwarded: http://bazaar.launchpad.net/~gdesklets-core-team/gdesklets/0.3x/revision/118
-+diff -Nur -x '*.orig' -x '*~' gdesklets-0.36.1-2ubuntu1/utils/ErrorFormatter.py gdesklets-0.36.1-2ubuntu1.new/utils/ErrorFormatter.py
-+--- gdesklets-0.36.1-2ubuntu1/utils/ErrorFormatter.py	2009-03-25 11:53:35.000000000 -0400
-++++ gdesklets-0.36.1-2ubuntu1.new/utils/ErrorFormatter.py	2009-05-12 13:38:39.000000000 -0400
-+@@ -113,9 +113,9 @@
-+ # give us an absolute path.
-+ #
-+ _old_imp = __import__
-+-def _new_imp(name, globs = {}, locls = {}, fromlist = []):
-++def _new_imp(*args, **kwargs):
-+ 
-+-    module = _old_imp(name, globs, locls, fromlist)
-++    module = _old_imp(*args, **kwargs)
-+     # builtin modules have no "__file__" attribute, so we have to check for it
-+     if (module):
-+         if (hasattr(module, "__file__")):
+diff -Nur -x '*.orig' -x '*~' gdesklets-0.36.1-2ubuntu1/utils/ErrorFormatter.py gdesklets-0.36.1-2ubuntu1.new/utils/ErrorFormatter.py
+--- gdesklets-0.36.1-2ubuntu1/utils/ErrorFormatter.py	2009-03-25 11:53:35.000000000 -0400
++++ gdesklets-0.36.1-2ubuntu1.new/utils/ErrorFormatter.py	2009-05-12 13:38:39.000000000 -0400
+@@ -113,9 +113,9 @@
+ # give us an absolute path.
+ #
+ _old_imp = __import__
+-def _new_imp(name, globs = {}, locls = {}, fromlist = []):
++def _new_imp(*args, **kwargs):
+ 
+-    module = _old_imp(name, globs, locls, fromlist)
++    module = _old_imp(*args, **kwargs)
+     # builtin modules have no "__file__" attribute, so we have to check for it
+     if (module):
+         if (hasattr(module, "__file__")):




More information about the pkg-gnome-commits mailing list