diff -Nru gourmet-0.17.4/debian/changelog gourmet-0.17.4/debian/changelog --- gourmet-0.17.4/debian/changelog 2015-06-10 06:30:03.000000000 +0000 +++ gourmet-0.17.4/debian/changelog 2015-12-09 11:04:47.000000000 +0000 @@ -1,3 +1,11 @@ +gourmet (0.17.4-3) unstable; urgency=medium + + * Add python-lxml in Recommends needed by My Cookbook plugin. + * Replaces tostring by tobytes in ratingWidget.py python-pil >= 3 is + required. + + -- Christian Marillat Wed, 09 Dec 2015 12:04:24 +0100 + gourmet (0.17.4-2) unstable; urgency=medium * Update to gstreamer 1.0 in patch 02_gstreamer-1.0 (Closes: #785814) diff -Nru gourmet-0.17.4/debian/control gourmet-0.17.4/debian/control --- gourmet-0.17.4/debian/control 2015-06-10 06:33:15.000000000 +0000 +++ gourmet-0.17.4/debian/control 2015-12-09 11:04:18.000000000 +0000 @@ -10,8 +10,8 @@ Package: gourmet Architecture: all -Depends: ${misc:Depends}, ${python:Depends}, python-imaging, python-gtk2 (>= 2.22.0), python-reportlab, python-sqlalchemy, python-poppler, python-elib.intl -Recommends: python-gst-1.0, python-gtkspell, python-beautifulsoup +Depends: ${misc:Depends}, ${python:Depends}, python-imaging, python-gtk2 (>= 2.22.0), python-reportlab, python-sqlalchemy, python-poppler, python-elib.intl, python-pil (>= 3.0.0~) +Recommends: python-gst-1.0, python-gtkspell, python-beautifulsoup, python-lxml Description: Recipe organizer and shopping list generator Gourmet Recipe Manager is a gtk-based application to store, organize and search recipes. diff -Nru gourmet-0.17.4/debian/patches/03_tostring-tobytes.diff gourmet-0.17.4/debian/patches/03_tostring-tobytes.diff --- gourmet-0.17.4/debian/patches/03_tostring-tobytes.diff 1970-01-01 00:00:00.000000000 +0000 +++ gourmet-0.17.4/debian/patches/03_tostring-tobytes.diff 2015-12-09 11:00:17.000000000 +0000 @@ -0,0 +1,11 @@ +--- a/gourmet/gtk_extras/ratingWidget.py ++++ b/gourmet/gtk_extras/ratingWidget.py +@@ -135,7 +135,7 @@ class StarGenerator: + 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 -Nru gourmet-0.17.4/debian/patches/series gourmet-0.17.4/debian/patches/series --- gourmet-0.17.4/debian/patches/series 2015-06-10 06:21:44.000000000 +0000 +++ gourmet-0.17.4/debian/patches/series 2015-12-09 10:59:24.000000000 +0000 @@ -1,2 +1,3 @@ 01_license-location.diff 02_gstreamer-1.0.diff +03_tostring-tobytes.diff