1 |
bicatali 09/03/20 18:52:16 |
2 |
|
3 |
Modified: ChangeLog imaging-1.1.6.ebuild |
4 |
Added: imaging-1.1.6-r1.ebuild |
5 |
Removed: imaging-1.1.5.ebuild |
6 |
Log: |
7 |
Added patches for GIF transparency, replace image viewer from xv to desktop default one with xdg-open, support for TIFF 16 bit endian images (bug #180549, thanks Tamas Haraszti). Also added unit test. Cleaned old packages |
8 |
(Portage version: 2.2_rc25/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.39 dev-python/imaging/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/imaging/ChangeLog?rev=1.39&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/imaging/ChangeLog?rev=1.39&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/imaging/ChangeLog?r1=1.38&r2=1.39 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/imaging/ChangeLog,v |
20 |
retrieving revision 1.38 |
21 |
retrieving revision 1.39 |
22 |
diff -u -r1.38 -r1.39 |
23 |
--- ChangeLog 7 Mar 2009 21:38:45 -0000 1.38 |
24 |
+++ ChangeLog 20 Mar 2009 18:52:16 -0000 1.39 |
25 |
@@ -1,6 +1,19 @@ |
26 |
# ChangeLog for dev-python/imaging |
27 |
# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/imaging/ChangeLog,v 1.38 2009/03/07 21:38:45 josejx Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/imaging/ChangeLog,v 1.39 2009/03/20 18:52:16 bicatali Exp $ |
30 |
+ |
31 |
+*imaging-1.1.6-r1 (20 Mar 2009) |
32 |
+ |
33 |
+ 20 Mar 2009; Sébastien Fabbro <bicatali@g.o> |
34 |
+ -files/imaging-1.1.4-fPIC.patch, -files/imaging-1.1.4-ft-2.1.9.patch, |
35 |
+ -files/imaging-1.1.4-setup.py.patch, +files/imaging-1.1.6-giftrans.patch, |
36 |
+ +files/imaging-1.1.6-no-xv.patch, +files/imaging-1.1.6-sane.patch, |
37 |
+ +files/imaging-1.1.6-tiffendian.patch, -imaging-1.1.5.ebuild, |
38 |
+ imaging-1.1.6.ebuild, +imaging-1.1.6-r1.ebuild: |
39 |
+ Added patches for GIF transparency, replace image viewer from xv to |
40 |
+ desktop default one with xdg-open, support for TIFF 16 bit endian images |
41 |
+ (bug #180549, thanks Tamas Haraszti). Also added unit test. Cleaned old |
42 |
+ packages |
43 |
|
44 |
07 Mar 2009; Joseph Jezak <josejx@g.o> imaging-1.1.6.ebuild: |
45 |
Marked ppc stable for bug #182425. |
46 |
|
47 |
|
48 |
|
49 |
1.8 dev-python/imaging/imaging-1.1.6.ebuild |
50 |
|
51 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/imaging/imaging-1.1.6.ebuild?rev=1.8&view=markup |
52 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/imaging/imaging-1.1.6.ebuild?rev=1.8&content-type=text/plain |
53 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/imaging/imaging-1.1.6.ebuild?r1=1.7&r2=1.8 |
54 |
|
55 |
Index: imaging-1.1.6.ebuild |
56 |
=================================================================== |
57 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/imaging/imaging-1.1.6.ebuild,v |
58 |
retrieving revision 1.7 |
59 |
retrieving revision 1.8 |
60 |
diff -u -r1.7 -r1.8 |
61 |
--- imaging-1.1.6.ebuild 7 Mar 2009 21:38:45 -0000 1.7 |
62 |
+++ imaging-1.1.6.ebuild 20 Mar 2009 18:52:16 -0000 1.8 |
63 |
@@ -1,8 +1,9 @@ |
64 |
# Copyright 1999-2009 Gentoo Foundation |
65 |
# Distributed under the terms of the GNU General Public License v2 |
66 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/imaging/imaging-1.1.6.ebuild,v 1.7 2009/03/07 21:38:45 josejx Exp $ |
67 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/imaging/imaging-1.1.6.ebuild,v 1.8 2009/03/20 18:52:16 bicatali Exp $ |
68 |
|
69 |
-inherit distutils multilib |
70 |
+EAPI=2 |
71 |
+inherit eutils distutils |
72 |
|
73 |
MY_P=Imaging-${PV} |
74 |
|
75 |
@@ -17,26 +18,15 @@ |
76 |
|
77 |
DEPEND=">=media-libs/jpeg-6a |
78 |
>=media-libs/freetype-2.1.5 |
79 |
- tk? ( dev-lang/tk ) |
80 |
+ tk? ( dev-lang/python[tk?] ) |
81 |
scanner? ( media-gfx/sane-backends ) |
82 |
X? ( media-gfx/xv )" |
83 |
RDEPEND="${DEPEND}" |
84 |
|
85 |
PYTHON_MODNAME=PIL |
86 |
-S=${WORKDIR}/${MY_P} |
87 |
- |
88 |
-pkg_setup() { |
89 |
- if use tk && ! built_with_use dev-lang/python tk; then |
90 |
- eerror "Python has to be compiled with tkinter support." |
91 |
- eerror "Please re-emerge python with the 'tk' USE-flag set." |
92 |
- die "Missing USE-flag for dev-lang/python" |
93 |
- fi |
94 |
-} |
95 |
- |
96 |
-src_unpack() { |
97 |
- unpack ${A} |
98 |
- cd "${S}" |
99 |
+S="${WORKDIR}/${MY_P}" |
100 |
|
101 |
+src_prepare() { |
102 |
sed -i \ |
103 |
-e "s:/lib\":/$(get_libdir)\":" \ |
104 |
-e "s:\"lib\":\"$(get_libdir)\":" \ |
105 |
|
106 |
|
107 |
|
108 |
1.1 dev-python/imaging/imaging-1.1.6-r1.ebuild |
109 |
|
110 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/imaging/imaging-1.1.6-r1.ebuild?rev=1.1&view=markup |
111 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/imaging/imaging-1.1.6-r1.ebuild?rev=1.1&content-type=text/plain |
112 |
|
113 |
Index: imaging-1.1.6-r1.ebuild |
114 |
=================================================================== |
115 |
# Copyright 1999-2009 Gentoo Foundation |
116 |
# Distributed under the terms of the GNU General Public License v2 |
117 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/imaging/imaging-1.1.6-r1.ebuild,v 1.1 2009/03/20 18:52:16 bicatali Exp $ |
118 |
|
119 |
EAPI=2 |
120 |
inherit eutils distutils |
121 |
|
122 |
MY_P=Imaging-${PV} |
123 |
|
124 |
DESCRIPTION="Python Imaging Library (PIL)" |
125 |
HOMEPAGE="http://www.pythonware.com/products/pil/index.htm" |
126 |
SRC_URI="http://www.effbot.org/downloads/${MY_P}.tar.gz" |
127 |
|
128 |
LICENSE="as-is" |
129 |
SLOT="0" |
130 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
131 |
IUSE="doc examples scanner tk X" |
132 |
|
133 |
DEPEND="media-libs/jpeg |
134 |
media-libs/freetype:2 |
135 |
tk? ( dev-lang/python[tk?] ) |
136 |
scanner? ( media-gfx/sane-backends ) |
137 |
X? ( x11-misc/xdg-utils )" |
138 |
RDEPEND="${DEPEND}" |
139 |
|
140 |
PYTHON_MODNAME=PIL |
141 |
S="${WORKDIR}/${MY_P}" |
142 |
|
143 |
src_prepare() { |
144 |
epatch "${FILESDIR}"/${P}-no-xv.patch |
145 |
epatch "${FILESDIR}"/${P}-sane.patch |
146 |
epatch "${FILESDIR}"/${P}-giftrans.patch |
147 |
epatch "${FILESDIR}"/${P}-tiffendian.patch |
148 |
sed -i \ |
149 |
-e "s:/usr/lib\":/usr/$(get_libdir)\":" \ |
150 |
-e "s:\"lib\":\"$(get_libdir)\":g" \ |
151 |
setup.py || die "sed failed" |
152 |
if ! use tk ; then |
153 |
# Make the test always fail |
154 |
sed -i \ |
155 |
-e 's/import _tkinter/raise ImportError/' \ |
156 |
setup.py || die "sed failed" |
157 |
fi |
158 |
} |
159 |
|
160 |
src_compile() { |
161 |
distutils_src_compile |
162 |
if use scanner ; then |
163 |
cd "${S}/Sane" |
164 |
distutils_src_compile |
165 |
fi |
166 |
} |
167 |
|
168 |
src_test() { |
169 |
"${python}" selftest.py || die |
170 |
} |
171 |
|
172 |
src_install() { |
173 |
local DOCS="CHANGES CONTENTS" |
174 |
distutils_src_install |
175 |
|
176 |
use doc && dohtml Docs/* |
177 |
|
178 |
if use scanner ; then |
179 |
cd "${S}/Sane" |
180 |
docinto sane |
181 |
local DOCS="CHANGES sanedoc.txt" |
182 |
distutils_src_install |
183 |
cd "${S}" |
184 |
fi |
185 |
|
186 |
# install headers required by media-gfx/sketch |
187 |
distutils_python_version |
188 |
insinto /usr/include/python${PYVER} |
189 |
doins libImaging/Imaging.h |
190 |
doins libImaging/ImPlatform.h |
191 |
|
192 |
if use examples ; then |
193 |
insinto /usr/share/doc/${PF}/examples |
194 |
doins Scripts/* |
195 |
if use scanner ; then |
196 |
insinto /usr/share/doc/${PF}/examples/sane |
197 |
doins Sane/demo_*.py |
198 |
fi |
199 |
fi |
200 |
} |