r22905 - in /desktop/unstable/pygtk/debian: changelog patches/06_gdk.color_from_hsv.patch patches/series
dktrkranz at users.alioth.debian.org
dktrkranz at users.alioth.debian.org
Fri Jan 29 09:34:00 UTC 2010
Author: dktrkranz
Date: Fri Jan 29 09:33:45 2010
New Revision: 22905
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=22905
Log:
debian/patches/06_gdk.color_from_hsv.patch:
- Backport a patch taken from upstream SVN to fix incorrect
gtk.gdk.color_from_hsv definition
Added:
desktop/unstable/pygtk/debian/patches/06_gdk.color_from_hsv.patch
Modified:
desktop/unstable/pygtk/debian/changelog
desktop/unstable/pygtk/debian/patches/series
Modified: desktop/unstable/pygtk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/pygtk/debian/changelog?rev=22905&op=diff
==============================================================================
--- desktop/unstable/pygtk/debian/changelog [utf-8] (original)
+++ desktop/unstable/pygtk/debian/changelog [utf-8] Fri Jan 29 09:33:45 2010
@@ -23,6 +23,9 @@
* debian/patches/05_testPixmapCreateFromData.patch:
- Backport a patch taken from upstream SVN to disable a gdk test
which fails with RANDR extension (Closes: #548211).
+ * debian/patches/06_gdk.color_from_hsv.patch:
+ - Backport a patch taken from upstream SVN to fix incorrect
+ gtk.gdk.color_from_hsv definition.
* debian/control.in:
- Add python-cairo-dbg and python-gobject-dbg to Build-Depends, they
are required to succesfully run tests at build time.
@@ -32,7 +35,7 @@
[ Loïc Minier ]
* Pass -screen to xvfb-run after the -s command-line flag and with -noreset.
- -- Luca Falavigna <dktrkranz at debian.org> Fri, 29 Jan 2010 00:08:18 +0100
+ -- Luca Falavigna <dktrkranz at debian.org> Fri, 29 Jan 2010 10:31:13 +0100
pygtk (2.16.0-1) unstable; urgency=low
Added: desktop/unstable/pygtk/debian/patches/06_gdk.color_from_hsv.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/pygtk/debian/patches/06_gdk.color_from_hsv.patch?rev=22905&op=file
==============================================================================
--- desktop/unstable/pygtk/debian/patches/06_gdk.color_from_hsv.patch (added)
+++ desktop/unstable/pygtk/debian/patches/06_gdk.color_from_hsv.patch [utf-8] Fri Jan 29 09:33:45 2010
@@ -1,0 +1,32 @@
+https://bugzilla.gnome.org/show_bug.cgi?id=594347
+http://git.gnome.org/browse/pygtk/commit/?id=1a7ba37085c64eeabab2fd0270df60743262e059
+
+Index: pygtk-2.16.0/gtk/gdkcolor.override
+===================================================================
+--- pygtk-2.16.0.orig/gtk/gdkcolor.override 2010-01-29 09:06:12.000000000 +0000
++++ pygtk-2.16.0/gtk/gdkcolor.override 2010-01-29 09:05:06.000000000 +0000
+@@ -139,7 +139,7 @@
+ }
+
+ %%
+-define color_from_hsv
++define color_from_hsv kwargs
+ static PyObject *
+ _wrap_color_from_hsv (PyObject *ignored, PyObject *args, PyObject*kwargs)
+ {
+Index: pygtk-2.16.0/tests/test_color.py
+===================================================================
+--- pygtk-2.16.0.orig/tests/test_color.py 2010-01-29 09:06:09.000000000 +0000
++++ pygtk-2.16.0/tests/test_color.py 2010-01-29 09:06:07.000000000 +0000
+@@ -47,6 +47,11 @@
+ def test_color_from_hsv(self):
+ self.assertEqual(gtk.gdk.Color('red'), gtk.gdk.color_from_hsv(0.0, 1.0, 1.0))
+
++ def test_color_from_hsv_kwargs(self):
++ self.assertEqual(gtk.gdk.Color('black'), gtk.gdk.color_from_hsv(hue=0.0,
++ saturation=0.0,
++ value=0.0))
++
+ def test_float_attributes(self):
+ c = gtk.gdk.Color(0, 10000, 65535)
+ self.assertAlmostEqual(c.red_float, 0.0)
Modified: desktop/unstable/pygtk/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/pygtk/debian/patches/series?rev=22905&op=diff
==============================================================================
--- desktop/unstable/pygtk/debian/patches/series [utf-8] (original)
+++ desktop/unstable/pygtk/debian/patches/series [utf-8] Fri Jan 29 09:33:45 2010
@@ -1,4 +1,5 @@
01_pygtk-demo.patch
03_testsuite_filechooser.patch
05_testPixmapCreateFromData.patch
+06_gdk.color_from_hsv.patch
60_pygtk-wakeupfd-fix.patch
More information about the pkg-gnome-commits
mailing list