rpms/python-imaging/FC-5 python-imaging-giftrans.patch, 1.2, 1.3 python-imaging.spec, 1.9, 1.10
José AbÃlio Oliveira Matos (jamatos)
fedora-extras-commits at redhat.com
Tue Apr 4 10:28:14 UTC 2006
Author: jamatos
Update of /cvs/extras/rpms/python-imaging/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3022
Modified Files:
python-imaging.spec
Added Files:
python-imaging-giftrans.patch
Log Message:
* Tue Apr 4 2006 José Matos <jamatos at fc.up.pt> - 1.1.5-4
- Rebuild
python-imaging-giftrans.patch:
Index: python-imaging-giftrans.patch
===================================================================
RCS file: python-imaging-giftrans.patch
diff -N python-imaging-giftrans.patch
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ python-imaging-giftrans.patch 4 Apr 2006 10:28:14 -0000 1.3
@@ -0,0 +1,17 @@
+See http://bugs.debian.org/159693
+
+diff -Naru Imaging-1.1.4.orig/PIL/GifImagePlugin.py Imaging-1.1.4/PIL/GifImagePlugin.py
+--- Imaging-1.1.4.orig/PIL/GifImagePlugin.py 2003-05-06 23:44:16.000000000 +0300
++++ Imaging-1.1.4/PIL/GifImagePlugin.py 2004-10-09 21:12:12.635957206 +0300
+@@ -346,6 +346,11 @@
+ for i in range(maxcolor):
+ s.append(chr(i) * 3)
+
++ if im.info.has_key('transparency'):
++ transparentIndex = im.info['transparency']
++ s.append('!' + chr(0xf9) + chr(4) + chr(1) + chr(0) + chr(0) +
++ chr(transparentIndex) + chr(0))
++
+ return s
+
+ def getdata(im, offset = (0, 0), **params):
Index: python-imaging.spec
===================================================================
RCS file: /cvs/extras/rpms/python-imaging/FC-5/python-imaging.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- python-imaging.spec 4 Apr 2006 10:08:33 -0000 1.9
+++ python-imaging.spec 4 Apr 2006 10:28:14 -0000 1.10
@@ -5,7 +5,7 @@
Summary: Python's own image processing library
Name: python-imaging
Version: 1.1.5
-Release: 3%{?dist}
+Release: 4%{?dist}
License: Distributable
Group: Development/Languages
@@ -106,6 +106,9 @@
%changelog
+* Tue Apr 4 2006 José Matos <jamatos at fc.up.pt> - 1.1.5-4
+- Rebuild
+
* Tue Apr 4 2006 José Matos <jamatos at fc.up.pt> - 1.1.5-3
- Restore gif transparency patch. (bug #187875)
More information about the fedora-extras-commits
mailing list