Hi,

please find attached a debdiff that fixes this bug.

Cheers - Bruno
diff -Nru nautilus-image-manipulator-1.3/debian/changelog nautilus-image-manipulator-1.3/debian/changelog
--- nautilus-image-manipulator-1.3/debian/changelog	2014-04-16 23:46:36.000000000 +0200
+++ nautilus-image-manipulator-1.3/debian/changelog	2018-12-11 18:04:48.000000000 +0100
@@ -1,3 +1,12 @@
+nautilus-image-manipulator (1.3-3) UNRELEASED; urgency=medium
+
+  * Replace dependency on python-imaging by python-pil (Closes: #866443).
+    - Replace build dependency python-imaging by python-pil.
+    - Replace binary dependency python-imaging by python-pil.
+    - Add use-python-pil.patch
+
+ -- Bruno "Fuddl" Kleinert <fu...@debian.org>  Tue, 11 Dec 2018 18:04:48 +0100
+
 nautilus-image-manipulator (1.3-2) unstable; urgency=low
 
   * Acknowledge NMU by Luca Falavigna:
diff -Nru nautilus-image-manipulator-1.3/debian/control nautilus-image-manipulator-1.3/debian/control
--- nautilus-image-manipulator-1.3/debian/control	2014-04-16 23:46:18.000000000 +0200
+++ nautilus-image-manipulator-1.3/debian/control	2018-12-11 18:04:48.000000000 +0100
@@ -2,7 +2,7 @@
 Section: gnome
 Priority: optional
 Maintainer: Emilien Klein <emilien+deb...@klein.st>
-Build-Depends: debhelper (>= 7.0.50~), python (>= 2.6.6-3~), python-distutils-extra (>= 2.18), python-gobject, gir1.2-gtk-3.0, gir1.2-glib-2.0, gir1.2-nautilus-3.0, python-nose, python-imaging
+Build-Depends: debhelper (>= 7.0.50~), python (>= 2.6.6-3~), python-distutils-extra (>= 2.18), python-gobject, gir1.2-gtk-3.0, gir1.2-glib-2.0, gir1.2-nautilus-3.0, python-nose, python-pil
 Standards-Version: 3.9.5
 Vcs-Bzr: lp:~emilien-klein/nautilus-image-manipulator/debian
 Vcs-Browser: https://code.launchpad.net/~emilien-klein/nautilus-image-manipulator/debian
@@ -10,7 +10,7 @@
 
 Package: nautilus-image-manipulator
 Architecture: all
-Depends: ${python:Depends}, ${misc:Depends}, nautilus, python-nautilus (>= 1.1), python-gobject, gir1.2-gtk-3.0, gir1.2-glib-2.0, gir1.2-nautilus-3.0, python-poster (>= 0.8.0), python-imaging, gir1.2-gexiv2-0.10
+Depends: ${python:Depends}, ${misc:Depends}, nautilus, python-nautilus (>= 1.1), python-gobject, gir1.2-gtk-3.0, gir1.2-glib-2.0, gir1.2-nautilus-3.0, python-poster (>= 0.8.0), python-pil, gir1.2-gexiv2-0.10
 Description: Resize and send images from Nautilus
  This Nautilus extension lets you resize images and send them to friends
  and family, right from Nautilus.
diff -Nru nautilus-image-manipulator-1.3/debian/patches/series nautilus-image-manipulator-1.3/debian/patches/series
--- nautilus-image-manipulator-1.3/debian/patches/series	2013-04-19 21:29:59.000000000 +0200
+++ nautilus-image-manipulator-1.3/debian/patches/series	2018-12-11 18:04:48.000000000 +0100
@@ -1 +1,2 @@
 use-packaged-python-poster.patch
+use-python-pil.patch
diff -Nru nautilus-image-manipulator-1.3/debian/patches/use-python-pil.patch nautilus-image-manipulator-1.3/debian/patches/use-python-pil.patch
--- nautilus-image-manipulator-1.3/debian/patches/use-python-pil.patch	1970-01-01 01:00:00.000000000 +0100
+++ nautilus-image-manipulator-1.3/debian/patches/use-python-pil.patch	2018-12-11 18:04:48.000000000 +0100
@@ -0,0 +1,13 @@
+Index: nautilus-image-manipulator-1.3/nautilus_image_manipulator/ImageManipulations.py
+===================================================================
+--- nautilus-image-manipulator-1.3.orig/nautilus_image_manipulator/ImageManipulations.py	2018-12-13 18:38:06.000000000 +0100
++++ nautilus-image-manipulator-1.3/nautilus_image_manipulator/ImageManipulations.py	2018-12-13 18:47:13.351691049 +0100
+@@ -19,7 +19,7 @@
+ from gi.repository import GObject
+ import zipfile
+ import subprocess
+-import Image
++from PIL import Image
+ import logging
+ try:
+     from gi.repository import GExiv2

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to