forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcropgui-0.1.1-PIL.patch
29 lines (27 loc) · 994 Bytes
/
cropgui-0.1.1-PIL.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Только в cropgui: cropgui-0.1.1-PIL.patch
diff -ru cropgui.orig/cropgui_common.py cropgui/cropgui_common.py
--- cropgui.orig/cropgui_common.py 2009-07-24 06:15:12.000000000 +0400
+++ cropgui/cropgui_common.py 2013-05-28 21:48:24.000000000 +0400
@@ -13,9 +13,9 @@
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-import Image
-import ImageFilter
-import ImageDraw
+from PIL import Image
+from PIL import ImageFilter
+from PIL import ImageDraw
import subprocess
import threading
import Queue
diff -ru cropgui.orig/filechooser.py cropgui/filechooser.py
--- cropgui.orig/filechooser.py 2009-07-24 06:15:12.000000000 +0400
+++ cropgui/filechooser.py 2013-05-28 21:50:16.000000000 +0400
@@ -8,7 +8,7 @@
import gobject
import os
-import Image
+from PIL import Image
HIGH_WATER, LOW_WATER = 25, 5
image_cache = {}