summaryrefslogtreecommitdiff
path: root/media-video/tv-maxe/files/tv-maxe-0.09-pillow-support.patch
blob: b1a4acc2871b230197a85200745aa5d750bfe431 (plain)
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
diff -Nur tv-maxe-0.09-orig/statusimage.py tv-maxe-0.09/statusimage.py
--- tv-maxe-0.09-orig/statusimage.py	2012-07-03 22:26:03.000000000 +0300
+++ tv-maxe-0.09/statusimage.py	2013-10-19 14:57:28.089423913 +0300
@@ -1,4 +1,7 @@
-import gtk, gobject, StringIO, Image, ImageDraw, ImageFont, os, tempfile
+import gtk, gobject, StringIO, os, tempfile
+from PIL import Image
+from PIL import ImageDraw
+from PIL import ImageFont
 
 class StatusImage:
 	def __init__(self):
diff -Nur tv-maxe-0.09-orig/tvmaxe.py tv-maxe-0.09/tvmaxe.py
--- tv-maxe-0.09-orig/tvmaxe.py	2013-03-24 00:08:17.000000000 +0200
+++ tv-maxe-0.09/tvmaxe.py	2013-10-19 14:56:46.927938502 +0300
@@ -31,8 +31,9 @@
 pygtk.require('2.0')
 import gtk
 import subprocess, threading, urllib2, workerpool, random, time, datetime, webbrowser, string, copy
-import irwatch, which, sqlite3, re, json, base64, Image, StringIO
+import irwatch, which, sqlite3, re, json, base64, StringIO
 import tools, keysim, scheduler, socketserver
+from PIL import Image
 from settingsManager import settingsManager
 from channel import Channel
 from scheduler import Scheduler