[148153] trunk/dports/gnome/gourmet
devans at macports.org
devans at macports.org
Wed Apr 27 19:14:46 PDT 2016
Revision: 148153
https://trac.macports.org/changeset/148153
Author: devans at macports.org
Date: 2016-04-27 19:14:45 -0700 (Wed, 27 Apr 2016)
Log Message:
-----------
gourmet: apply upstream bugfix (#51259).
Modified Paths:
--------------
trunk/dports/gnome/gourmet/Portfile
Added Paths:
-----------
trunk/dports/gnome/gourmet/files/
trunk/dports/gnome/gourmet/files/gourmet-824.patch
Modified: trunk/dports/gnome/gourmet/Portfile
===================================================================
--- trunk/dports/gnome/gourmet/Portfile 2016-04-28 00:16:24 UTC (rev 148152)
+++ trunk/dports/gnome/gourmet/Portfile 2016-04-28 02:14:45 UTC (rev 148153)
@@ -6,6 +6,7 @@
PortGroup python 1.0
github.setup thinkle gourmet 0.17.4
+revision 1
categories gnome python
platforms darwin
supported_archs noarch
@@ -36,3 +37,5 @@
port:gstreamer010-gst-plugins-good \
port:py${python.version}-beautifulsoup \
port:py${python.version}-ipython
+
+patchfiles gourmet-824.patch
Added: trunk/dports/gnome/gourmet/files/gourmet-824.patch
===================================================================
--- trunk/dports/gnome/gourmet/files/gourmet-824.patch (rev 0)
+++ trunk/dports/gnome/gourmet/files/gourmet-824.patch 2016-04-28 02:14:45 UTC (rev 148153)
@@ -0,0 +1,26 @@
+diff --git gourmet/gtk_extras/ratingWidget.py gourmet/gtk_extras/ratingWidget.py
+index 0e01735..efa6463 100644
+--- gourmet/gtk_extras/ratingWidget.py
++++ gourmet/gtk_extras/ratingWidget.py
+@@ -135,7 +135,7 @@ def get_pixbuf_from_image (self, image, make_white_opaque=True):
+ if is_rgba: rowstride = 4
+ else: rowstride = 3
+ pb=gtk.gdk.pixbuf_new_from_data(
+- image.tostring(),
++ image.tobytes(),
+ gtk.gdk.COLORSPACE_RGB,
+ is_rgba,
+ 8,
+diff --git gourmet/plugins/browse_recipes/icon_helpers.py gourmet/plugins/browse_recipes/icon_helpers.py
+index 61c772c..2e7b08b 100644
+--- gourmet/plugins/browse_recipes/icon_helpers.py
++++ gourmet/plugins/browse_recipes/icon_helpers.py
+@@ -38,7 +38,7 @@ def get_pixbuf_from_image (image):
+ if is_rgba: rowstride = 4
+ else: rowstride = 3
+ pb=gtk.gdk.pixbuf_new_from_data(
+- image.tostring(),
++ image.tobytes(),
+ gtk.gdk.COLORSPACE_RGB,
+ is_rgba,
+ 8,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160427/0bceae44/attachment.html>
More information about the macports-changes
mailing list