1 |
commit: 916f6cd792582f0086ca63e8d5f735d745f80669 |
2 |
Author: Markus Meier <maekke <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 10 08:56:02 2016 +0000 |
4 |
Commit: Markus Meier <maekke <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 10 08:56:02 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=916f6cd7 |
7 |
|
8 |
media-gfx/imagemagick: remove vulnerable versions for bug #584512 |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
media-gfx/imagemagick/Manifest | 6 - |
13 |
media-gfx/imagemagick/imagemagick-6.9.0.3.ebuild | 180 ---------------------- |
14 |
media-gfx/imagemagick/imagemagick-6.9.1.8.ebuild | 179 --------------------- |
15 |
media-gfx/imagemagick/imagemagick-6.9.2.10.ebuild | 178 --------------------- |
16 |
media-gfx/imagemagick/imagemagick-6.9.3.10.ebuild | 178 --------------------- |
17 |
media-gfx/imagemagick/imagemagick-6.9.4.1.ebuild | 178 --------------------- |
18 |
media-gfx/imagemagick/imagemagick-6.9.4.5.ebuild | 178 --------------------- |
19 |
7 files changed, 1077 deletions(-) |
20 |
|
21 |
diff --git a/media-gfx/imagemagick/Manifest b/media-gfx/imagemagick/Manifest |
22 |
index 883656d..4bc4191 100644 |
23 |
--- a/media-gfx/imagemagick/Manifest |
24 |
+++ b/media-gfx/imagemagick/Manifest |
25 |
@@ -1,9 +1,3 @@ |
26 |
-DIST ImageMagick-6.9.0-3.tar.xz 7898568 SHA256 f00452ba2c05c2df9624c62d7adb49ecf17140edd6e5f355cceca051dab1fb38 SHA512 0ff1ac91fa4330544cf6ba9ac8bfd48fce5a0a702b4578e1dcd23989c52c2287e1d6291c231591457a87652a59d908bade148e4e94676a887293671dfec99a4c WHIRLPOOL 0ca86ecb04a18aee95aa2990b73f0f87a7c800b028c45c6af5a906bc0b2f9a380b2ac52bf825cfda8396b4c8dc9b1768be7b46000b9bee9b6f4aaa1bf7d7dea8 |
27 |
-DIST ImageMagick-6.9.1-8.tar.xz 8286604 SHA256 987b353058482b5ba15d42746eebc51c15eb05241ce94f22381b8aae0b841617 SHA512 feace56b4a409fa91b2827a3eae1a870541528a3f327e5d06a96ff4f97e8d94418c8f92e731b7276c41aef321584a75a4621fa2f361e9b20309a546d9a1f9fea WHIRLPOOL d2e3aa949a216829c5f2bea1149c31b0cd5ef83d0855863e6b0682afc0ee9fcc1f516893b9b0f612c5e64cb746225c3f9c2ab1c3f29332a6904ca53cb9117e7b |
28 |
-DIST ImageMagick-6.9.2-10.tar.xz 8755528 SHA256 da2f6fba43d69f20ddb11783f13f77782b0b57783dde9cda39c9e5e733c2013c SHA512 707e4f8008a74dd4203f3535569e4f00006341d5ecadcd6924826768f94dafc3eb3b67f8d04cf9d6310c6d8cc87c86b2eb6b6529020481fc0412911cfa2defba WHIRLPOOL 33a405cfd89832cd1adc8c72b4559d86120e303ec44df814ec5af79d8ef3e2c67d404110b8090e8b52b4eb6c1e843e24478859f47425ec67a23a5ff5b78fc219 |
29 |
-DIST ImageMagick-6.9.3-10.tar.xz 8784108 SHA256 e33f021c879f31703f9e620f578ccf7d221a34941589da4bbe967b16a814336a SHA512 d448c1ffa2327d2690c783edc3089d3450f5f8acaa517dfec167d78834e23ea8d231acda8a5f2c05d98110effaa5647f4b5cdcc4fc464a8ea8703603908c8708 WHIRLPOOL 5b560ba3270c8d6179414cb2f8f94de840ee405ceee3aa99c1007bbc41639fa8e5771a4ba6f88c7754b3a02d68c0ac18758a962d4bb33fe7cef504c520485c7b |
30 |
-DIST ImageMagick-6.9.4-1.tar.xz 8789688 SHA256 2ea0fef839cd5d6f134502b7cf7ee0e57a3f230b19771515d4aa44354f4c6b3b SHA512 0ba9027ffa246627b3af35460e1dfeabc6cdfe867fb21f7d1d8f334fc42dc640383e31a65c4cff19ba496be1d2878924d25b9803d7da62bfeac8c078754bad8c WHIRLPOOL cb84efad5536db8b1fe4fe9b6a41af447d9dbc80b62c142834fab4d0ed7694039f106b3f4a8d698af85ad7f9c863899ea999cc0a2bb926c6051a416f1044c443 |
31 |
-DIST ImageMagick-6.9.4-5.tar.xz 8784244 SHA256 39a65b8e2371db36cb63709dea0b15f08a6870f8ce6103432f068112d9513c5a SHA512 d8e3f4dc790b3c6f557d52fe99294986df6a5588597ae9141eb2bb02ea29d0b0e5f1a79f8434bb5cd5064358256ff8752a5fcc1e6ea9f9d376fec6007c3dfab9 WHIRLPOOL 61cf2b76b930ef0cd047f84079b071f4898e618e23ae47c8d3402c0b2b1e99a34973adfb210b701f487506fd179342aa14d94dac67a266cc5df138d98a473265 |
32 |
DIST ImageMagick-6.9.4-6.tar.xz 8785300 SHA256 c028642af5f4cbae864b4afd6ea96878191be64103ca9c7cc67612ec3cbb9dec SHA512 2984533e6b5c3e09d2e270c27ce9c3316499e622ed0b657e17baede5e380778d496626e3f47a32572a8c9a3a4b5257004ecf51b66ada762375516fbdffd0707d WHIRLPOOL 2ecb83b7f6790db17632eae822de64bd05b7bcb6839eb686e34f95c31ebeddc2023960005cf6d956d2692d79733b7f15e7a6355a0af2d98546f7c3e04c16b626 |
33 |
DIST ImageMagick-6.9.4-7.tar.xz 8792244 SHA256 f54fc8dcdb328404d1f89ddebe75d603e22894d3786ca2f2a9677478135b4c86 SHA512 63f6baa85da88510c6afff85569f55fe0e543f9f46e2e90f7c8f78dc83907656ed689781856d0e6a9c959deffe601a654cda1057fec62d03d2c5f54ed3f2f84e WHIRLPOOL 1c5c95527d10219f4e82ea8645c571b6005c764ed286c11e6b3eebb1944c9ff880b5f9030bd6bf7c5bc4917ada50878b343a0a4c8930f7b59b8007f3119d46a3 |
34 |
DIST ImageMagick-7.0.1-9.tar.xz 8288780 SHA256 876cf76ce84657af5b1e28414d0c75911029ed3dd47c791e8a10d5c3f6014894 SHA512 1be64919f5ac2bfbfbdc97c91301339f1d66fb13c08a62ac6a362a6243d8d1ecfbc4353ec430b5accbeca3f4defb5b9e51c1a4fbfb6764e5ab2b9c1bf7dc21ae WHIRLPOOL 190065a757694d2dfab861184b5eab0a769049afdebffc9e58403321d9ff01bf6cc51a5fbbd5f942eb52667093786df33c79b1436646835b25259ec3d1b8a2fd |
35 |
|
36 |
diff --git a/media-gfx/imagemagick/imagemagick-6.9.0.3.ebuild b/media-gfx/imagemagick/imagemagick-6.9.0.3.ebuild |
37 |
deleted file mode 100644 |
38 |
index 7714b5f..0000000 |
39 |
--- a/media-gfx/imagemagick/imagemagick-6.9.0.3.ebuild |
40 |
+++ /dev/null |
41 |
@@ -1,180 +0,0 @@ |
42 |
-# Copyright 1999-2015 Gentoo Foundation |
43 |
-# Distributed under the terms of the GNU General Public License v2 |
44 |
-# $Id$ |
45 |
- |
46 |
-EAPI=5 |
47 |
- |
48 |
-inherit eutils flag-o-matic libtool multilib toolchain-funcs versionator |
49 |
- |
50 |
-MY_P=ImageMagick-$(replace_version_separator 3 '-') |
51 |
- |
52 |
-DESCRIPTION="A collection of tools and libraries for many image formats" |
53 |
-HOMEPAGE="http://www.imagemagick.org/" |
54 |
-SRC_URI="mirror://${PN}/${MY_P}.tar.xz" |
55 |
- |
56 |
-LICENSE="imagemagick" |
57 |
-SLOT="0/${PV}" |
58 |
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
59 |
-IUSE="autotrace bzip2 corefonts cxx djvu fftw fontconfig fpx graphviz hdri jbig jpeg jpeg2k lcms lqr lzma opencl openexr openmp pango perl png postscript q32 q64 q8 raw static-libs svg test tiff truetype webp wmf X xml zlib" |
60 |
- |
61 |
-RESTRICT="perl? ( userpriv )" |
62 |
- |
63 |
-# Drop the libtool dep once libltdl goes stable. |
64 |
-RDEPEND=" |
65 |
- || ( dev-libs/libltdl:0 <sys-devel/libtool-2.4.3-r2:2 ) |
66 |
- autotrace? ( >=media-gfx/autotrace-0.31.1 ) |
67 |
- bzip2? ( app-arch/bzip2 ) |
68 |
- corefonts? ( media-fonts/corefonts ) |
69 |
- djvu? ( app-text/djvu ) |
70 |
- fftw? ( sci-libs/fftw:3.0 ) |
71 |
- fontconfig? ( media-libs/fontconfig ) |
72 |
- fpx? ( >=media-libs/libfpx-1.3.0-r1 ) |
73 |
- graphviz? ( media-gfx/graphviz ) |
74 |
- jbig? ( >=media-libs/jbigkit-2:= ) |
75 |
- jpeg? ( virtual/jpeg:0 ) |
76 |
- jpeg2k? ( >=media-libs/openjpeg-2.1.0:2 ) |
77 |
- lcms? ( media-libs/lcms:2= ) |
78 |
- lqr? ( media-libs/liblqr ) |
79 |
- opencl? ( virtual/opencl ) |
80 |
- openexr? ( media-libs/openexr:0= ) |
81 |
- pango? ( x11-libs/pango ) |
82 |
- perl? ( >=dev-lang/perl-5.8.8:0= ) |
83 |
- png? ( media-libs/libpng:0= ) |
84 |
- postscript? ( app-text/ghostscript-gpl ) |
85 |
- raw? ( media-gfx/ufraw ) |
86 |
- svg? ( gnome-base/librsvg ) |
87 |
- tiff? ( media-libs/tiff:0= ) |
88 |
- truetype? ( |
89 |
- media-fonts/urw-fonts |
90 |
- >=media-libs/freetype-2 |
91 |
- ) |
92 |
- webp? ( media-libs/libwebp:0= ) |
93 |
- wmf? ( media-libs/libwmf ) |
94 |
- X? ( |
95 |
- x11-libs/libICE |
96 |
- x11-libs/libSM |
97 |
- x11-libs/libXext |
98 |
- x11-libs/libXt |
99 |
- ) |
100 |
- xml? ( dev-libs/libxml2:= ) |
101 |
- lzma? ( app-arch/xz-utils ) |
102 |
- zlib? ( sys-libs/zlib:= )" |
103 |
-DEPEND="${RDEPEND} |
104 |
- !media-gfx/graphicsmagick[imagemagick] |
105 |
- virtual/pkgconfig |
106 |
- X? ( x11-proto/xextproto )" |
107 |
- |
108 |
-REQUIRED_USE="corefonts? ( truetype ) |
109 |
- test? ( corefonts )" |
110 |
- |
111 |
-S=${WORKDIR}/${MY_P} |
112 |
- |
113 |
-src_prepare() { |
114 |
- epatch_user |
115 |
- |
116 |
- elibtoolize # for Darwin modules |
117 |
- |
118 |
- # For testsuite, see https://bugs.gentoo.org/show_bug.cgi?id=500580#c3 |
119 |
- shopt -s nullglob |
120 |
- mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g') |
121 |
- if test -n "${mesa_cards}"; then |
122 |
- addpredict "${mesa_cards}" |
123 |
- fi |
124 |
- ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g') |
125 |
- if test -n "${ati_cards}"; then |
126 |
- addpredict "${ati_cards}" |
127 |
- fi |
128 |
- shopt -u nullglob |
129 |
- addpredict /dev/nvidiactl |
130 |
-} |
131 |
- |
132 |
-src_configure() { |
133 |
- local depth=16 |
134 |
- use q8 && depth=8 |
135 |
- use q32 && depth=32 |
136 |
- use q64 && depth=64 |
137 |
- |
138 |
- local openmp=disable |
139 |
- use openmp && { tc-has-openmp && openmp=enable; } |
140 |
- |
141 |
- [[ ${CHOST} == *-solaris* ]] && append-ldflags -lnsl -lsocket |
142 |
- |
143 |
- CONFIG_SHELL=$(type -P bash) \ |
144 |
- econf \ |
145 |
- $(use_enable static-libs static) \ |
146 |
- $(use_enable hdri) \ |
147 |
- $(use_enable opencl) \ |
148 |
- --with-threads \ |
149 |
- --with-modules \ |
150 |
- --with-quantum-depth=${depth} \ |
151 |
- $(use_with cxx magick-plus-plus) \ |
152 |
- $(use_with perl) \ |
153 |
- --with-perl-options='INSTALLDIRS=vendor' \ |
154 |
- --with-gs-font-dir="${EPREFIX}"/usr/share/fonts/urw-fonts \ |
155 |
- $(use_with bzip2 bzlib) \ |
156 |
- $(use_with X x) \ |
157 |
- $(use_with zlib) \ |
158 |
- $(use_with autotrace) \ |
159 |
- $(use_with postscript dps) \ |
160 |
- $(use_with djvu) \ |
161 |
- --with-dejavu-font-dir="${EPREFIX}"/usr/share/fonts/dejavu \ |
162 |
- $(use_with fftw) \ |
163 |
- $(use_with fpx) \ |
164 |
- $(use_with fontconfig) \ |
165 |
- $(use_with truetype freetype) \ |
166 |
- $(use_with postscript gslib) \ |
167 |
- $(use_with graphviz gvc) \ |
168 |
- $(use_with jbig) \ |
169 |
- $(use_with jpeg) \ |
170 |
- $(use_with jpeg2k openjp2) \ |
171 |
- --without-lcms \ |
172 |
- $(use_with lcms lcms2) \ |
173 |
- $(use_with lqr) \ |
174 |
- $(use_with lzma) \ |
175 |
- $(use_with openexr) \ |
176 |
- $(use_with pango) \ |
177 |
- $(use_with png) \ |
178 |
- $(use_with svg rsvg) \ |
179 |
- $(use_with tiff) \ |
180 |
- $(use_with webp) \ |
181 |
- $(use_with corefonts windows-font-dir "${EPREFIX}"/usr/share/fonts/corefonts) \ |
182 |
- $(use_with wmf) \ |
183 |
- $(use_with xml) \ |
184 |
- --${openmp}-openmp \ |
185 |
- --with-gcc-arch=no-automagic |
186 |
-} |
187 |
- |
188 |
-src_test() { |
189 |
- LD_LIBRARY_PATH="${S}/coders/.libs:${S}/filters/.libs:${S}/Magick++/lib/.libs:${S}/magick/.libs:${S}/wand/.libs" \ |
190 |
- emake -j1 check |
191 |
-} |
192 |
- |
193 |
-src_install() { |
194 |
- # Ensure documentation installation files and paths with each release! |
195 |
- emake \ |
196 |
- DESTDIR="${D}" \ |
197 |
- DOCUMENTATION_PATH="${EPREFIX}"/usr/share/doc/${PF}/html \ |
198 |
- install |
199 |
- |
200 |
- rm -f "${ED}"/usr/share/doc/${PF}/html/{ChangeLog,LICENSE,NEWS.txt} |
201 |
- dodoc {AUTHORS,README}.txt ChangeLog |
202 |
- |
203 |
- if use perl; then |
204 |
- find "${ED}" -type f -name perllocal.pod -exec rm -f {} + |
205 |
- find "${ED}" -depth -mindepth 1 -type d -empty -exec rm -rf {} + |
206 |
- fi |
207 |
- |
208 |
- find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} + |
209 |
- |
210 |
- if use opencl; then |
211 |
- cat <<-EOF > "${T}"/99${PN} |
212 |
- SANDBOX_PREDICT="/dev/nvidiactl:/dev/ati/card:/dev/dri/card" |
213 |
- EOF |
214 |
- |
215 |
- insinto /etc/sandbox.d |
216 |
- doins "${T}"/99${PN} #472766 |
217 |
- fi |
218 |
- |
219 |
- insinto /usr/share/${PN} |
220 |
- doins config/*icm |
221 |
-} |
222 |
|
223 |
diff --git a/media-gfx/imagemagick/imagemagick-6.9.1.8.ebuild b/media-gfx/imagemagick/imagemagick-6.9.1.8.ebuild |
224 |
deleted file mode 100644 |
225 |
index 1176343..0000000 |
226 |
--- a/media-gfx/imagemagick/imagemagick-6.9.1.8.ebuild |
227 |
+++ /dev/null |
228 |
@@ -1,179 +0,0 @@ |
229 |
-# Copyright 1999-2015 Gentoo Foundation |
230 |
-# Distributed under the terms of the GNU General Public License v2 |
231 |
-# $Id$ |
232 |
- |
233 |
-EAPI=5 |
234 |
- |
235 |
-inherit eutils flag-o-matic libtool multilib toolchain-funcs versionator |
236 |
- |
237 |
-MY_P=ImageMagick-$(replace_version_separator 3 '-') |
238 |
- |
239 |
-DESCRIPTION="A collection of tools and libraries for many image formats" |
240 |
-HOMEPAGE="http://www.imagemagick.org/" |
241 |
-SRC_URI="mirror://${PN}/${MY_P}.tar.xz" |
242 |
- |
243 |
-LICENSE="imagemagick" |
244 |
-SLOT="0/${PV}" |
245 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
246 |
-IUSE="autotrace bzip2 corefonts cxx djvu fftw fontconfig fpx graphviz hdri jbig jpeg jpeg2k lcms lqr lzma opencl openexr openmp pango perl png postscript q32 q64 q8 raw static-libs svg test tiff truetype webp wmf X xml zlib" |
247 |
- |
248 |
-RESTRICT="perl? ( userpriv )" |
249 |
- |
250 |
-# Drop the libtool dep once libltdl goes stable. |
251 |
-RDEPEND=" |
252 |
- || ( dev-libs/libltdl:0 <sys-devel/libtool-2.4.3-r2:2 ) |
253 |
- autotrace? ( >=media-gfx/autotrace-0.31.1 ) |
254 |
- bzip2? ( app-arch/bzip2 ) |
255 |
- corefonts? ( media-fonts/corefonts ) |
256 |
- djvu? ( app-text/djvu ) |
257 |
- fftw? ( sci-libs/fftw:3.0 ) |
258 |
- fontconfig? ( media-libs/fontconfig ) |
259 |
- fpx? ( >=media-libs/libfpx-1.3.0-r1 ) |
260 |
- graphviz? ( media-gfx/graphviz ) |
261 |
- jbig? ( >=media-libs/jbigkit-2:= ) |
262 |
- jpeg? ( virtual/jpeg:0 ) |
263 |
- jpeg2k? ( >=media-libs/openjpeg-2.1.0:2 ) |
264 |
- lcms? ( media-libs/lcms:2= ) |
265 |
- lqr? ( media-libs/liblqr ) |
266 |
- opencl? ( virtual/opencl ) |
267 |
- openexr? ( media-libs/openexr:0= ) |
268 |
- pango? ( x11-libs/pango ) |
269 |
- perl? ( >=dev-lang/perl-5.8.8:0= ) |
270 |
- png? ( media-libs/libpng:0= ) |
271 |
- postscript? ( app-text/ghostscript-gpl ) |
272 |
- raw? ( media-gfx/ufraw ) |
273 |
- svg? ( gnome-base/librsvg ) |
274 |
- tiff? ( media-libs/tiff:0= ) |
275 |
- truetype? ( |
276 |
- media-fonts/urw-fonts |
277 |
- >=media-libs/freetype-2 |
278 |
- ) |
279 |
- webp? ( media-libs/libwebp:0= ) |
280 |
- wmf? ( media-libs/libwmf ) |
281 |
- X? ( |
282 |
- x11-libs/libICE |
283 |
- x11-libs/libSM |
284 |
- x11-libs/libXext |
285 |
- x11-libs/libXt |
286 |
- ) |
287 |
- xml? ( dev-libs/libxml2:= ) |
288 |
- lzma? ( app-arch/xz-utils ) |
289 |
- zlib? ( sys-libs/zlib:= )" |
290 |
-DEPEND="${RDEPEND} |
291 |
- !media-gfx/graphicsmagick[imagemagick] |
292 |
- virtual/pkgconfig |
293 |
- X? ( x11-proto/xextproto )" |
294 |
- |
295 |
-REQUIRED_USE="corefonts? ( truetype ) |
296 |
- test? ( corefonts )" |
297 |
- |
298 |
-S=${WORKDIR}/${MY_P} |
299 |
- |
300 |
-src_prepare() { |
301 |
- epatch_user |
302 |
- |
303 |
- elibtoolize # for Darwin modules |
304 |
- |
305 |
- # For testsuite, see https://bugs.gentoo.org/show_bug.cgi?id=500580#c3 |
306 |
- shopt -s nullglob |
307 |
- mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g') |
308 |
- if test -n "${mesa_cards}"; then |
309 |
- addpredict "${mesa_cards}" |
310 |
- fi |
311 |
- ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g') |
312 |
- if test -n "${ati_cards}"; then |
313 |
- addpredict "${ati_cards}" |
314 |
- fi |
315 |
- shopt -u nullglob |
316 |
- addpredict /dev/nvidiactl |
317 |
-} |
318 |
- |
319 |
-src_configure() { |
320 |
- local depth=16 |
321 |
- use q8 && depth=8 |
322 |
- use q32 && depth=32 |
323 |
- use q64 && depth=64 |
324 |
- |
325 |
- local openmp=disable |
326 |
- use openmp && { tc-has-openmp && openmp=enable; } |
327 |
- |
328 |
- [[ ${CHOST} == *-solaris* ]] && append-ldflags -lnsl -lsocket |
329 |
- |
330 |
- CONFIG_SHELL=$(type -P bash) \ |
331 |
- econf \ |
332 |
- $(use_enable static-libs static) \ |
333 |
- $(use_enable hdri) \ |
334 |
- $(use_enable opencl) \ |
335 |
- --with-threads \ |
336 |
- --with-modules \ |
337 |
- --with-quantum-depth=${depth} \ |
338 |
- $(use_with cxx magick-plus-plus) \ |
339 |
- $(use_with perl) \ |
340 |
- --with-perl-options='INSTALLDIRS=vendor' \ |
341 |
- --with-gs-font-dir="${EPREFIX}"/usr/share/fonts/urw-fonts \ |
342 |
- $(use_with bzip2 bzlib) \ |
343 |
- $(use_with X x) \ |
344 |
- $(use_with zlib) \ |
345 |
- $(use_with autotrace) \ |
346 |
- $(use_with postscript dps) \ |
347 |
- $(use_with djvu) \ |
348 |
- --with-dejavu-font-dir="${EPREFIX}"/usr/share/fonts/dejavu \ |
349 |
- $(use_with fftw) \ |
350 |
- $(use_with fpx) \ |
351 |
- $(use_with fontconfig) \ |
352 |
- $(use_with truetype freetype) \ |
353 |
- $(use_with postscript gslib) \ |
354 |
- $(use_with graphviz gvc) \ |
355 |
- $(use_with jbig) \ |
356 |
- $(use_with jpeg) \ |
357 |
- $(use_with jpeg2k openjp2) \ |
358 |
- $(use_with lcms) \ |
359 |
- $(use_with lqr) \ |
360 |
- $(use_with lzma) \ |
361 |
- $(use_with openexr) \ |
362 |
- $(use_with pango) \ |
363 |
- $(use_with png) \ |
364 |
- $(use_with svg rsvg) \ |
365 |
- $(use_with tiff) \ |
366 |
- $(use_with webp) \ |
367 |
- $(use_with corefonts windows-font-dir "${EPREFIX}"/usr/share/fonts/corefonts) \ |
368 |
- $(use_with wmf) \ |
369 |
- $(use_with xml) \ |
370 |
- --${openmp}-openmp \ |
371 |
- --with-gcc-arch=no-automagic |
372 |
-} |
373 |
- |
374 |
-src_test() { |
375 |
- LD_LIBRARY_PATH="${S}/coders/.libs:${S}/filters/.libs:${S}/Magick++/lib/.libs:${S}/magick/.libs:${S}/wand/.libs" \ |
376 |
- emake -j1 check |
377 |
-} |
378 |
- |
379 |
-src_install() { |
380 |
- # Ensure documentation installation files and paths with each release! |
381 |
- emake -j1 \ |
382 |
- DESTDIR="${D}" \ |
383 |
- DOCUMENTATION_PATH="${EPREFIX}"/usr/share/doc/${PF}/html \ |
384 |
- install |
385 |
- |
386 |
- rm -f "${ED}"/usr/share/doc/${PF}/html/{ChangeLog,LICENSE,NEWS.txt} |
387 |
- dodoc {AUTHORS,README}.txt ChangeLog |
388 |
- |
389 |
- if use perl; then |
390 |
- find "${ED}" -type f -name perllocal.pod -exec rm -f {} + |
391 |
- find "${ED}" -depth -mindepth 1 -type d -empty -exec rm -rf {} + |
392 |
- fi |
393 |
- |
394 |
- find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} + |
395 |
- |
396 |
- if use opencl; then |
397 |
- cat <<-EOF > "${T}"/99${PN} |
398 |
- SANDBOX_PREDICT="/dev/nvidiactl:/dev/ati/card:/dev/dri/card" |
399 |
- EOF |
400 |
- |
401 |
- insinto /etc/sandbox.d |
402 |
- doins "${T}"/99${PN} #472766 |
403 |
- fi |
404 |
- |
405 |
- insinto /usr/share/${PN} |
406 |
- doins config/*icm |
407 |
-} |
408 |
|
409 |
diff --git a/media-gfx/imagemagick/imagemagick-6.9.2.10.ebuild b/media-gfx/imagemagick/imagemagick-6.9.2.10.ebuild |
410 |
deleted file mode 100644 |
411 |
index d5e4247..0000000 |
412 |
--- a/media-gfx/imagemagick/imagemagick-6.9.2.10.ebuild |
413 |
+++ /dev/null |
414 |
@@ -1,178 +0,0 @@ |
415 |
-# Copyright 1999-2015 Gentoo Foundation |
416 |
-# Distributed under the terms of the GNU General Public License v2 |
417 |
-# $Id$ |
418 |
- |
419 |
-EAPI=5 |
420 |
- |
421 |
-inherit eutils flag-o-matic libtool multilib toolchain-funcs versionator |
422 |
- |
423 |
-MY_P=ImageMagick-$(replace_version_separator 3 '-') |
424 |
- |
425 |
-DESCRIPTION="A collection of tools and libraries for many image formats" |
426 |
-HOMEPAGE="http://www.imagemagick.org/" |
427 |
-SRC_URI="mirror://${PN}/${MY_P}.tar.xz" |
428 |
- |
429 |
-LICENSE="imagemagick" |
430 |
-SLOT="0/${PV}" |
431 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
432 |
-IUSE="autotrace bzip2 corefonts cxx djvu fftw fontconfig fpx graphviz hdri jbig jpeg jpeg2k lcms lqr lzma opencl openexr openmp pango perl png postscript q32 q64 q8 raw static-libs svg test tiff truetype webp wmf X xml zlib" |
433 |
- |
434 |
-RESTRICT="perl? ( userpriv )" |
435 |
- |
436 |
-RDEPEND=" |
437 |
- dev-libs/libltdl:0 |
438 |
- autotrace? ( >=media-gfx/autotrace-0.31.1 ) |
439 |
- bzip2? ( app-arch/bzip2 ) |
440 |
- corefonts? ( media-fonts/corefonts ) |
441 |
- djvu? ( app-text/djvu ) |
442 |
- fftw? ( sci-libs/fftw:3.0 ) |
443 |
- fontconfig? ( media-libs/fontconfig ) |
444 |
- fpx? ( >=media-libs/libfpx-1.3.0-r1 ) |
445 |
- graphviz? ( media-gfx/graphviz ) |
446 |
- jbig? ( >=media-libs/jbigkit-2:= ) |
447 |
- jpeg? ( virtual/jpeg:0 ) |
448 |
- jpeg2k? ( >=media-libs/openjpeg-2.1.0:2 ) |
449 |
- lcms? ( media-libs/lcms:2= ) |
450 |
- lqr? ( media-libs/liblqr ) |
451 |
- opencl? ( virtual/opencl ) |
452 |
- openexr? ( media-libs/openexr:0= ) |
453 |
- pango? ( x11-libs/pango ) |
454 |
- perl? ( >=dev-lang/perl-5.8.8:0= ) |
455 |
- png? ( media-libs/libpng:0= ) |
456 |
- postscript? ( app-text/ghostscript-gpl ) |
457 |
- raw? ( media-gfx/ufraw ) |
458 |
- svg? ( gnome-base/librsvg ) |
459 |
- tiff? ( media-libs/tiff:0= ) |
460 |
- truetype? ( |
461 |
- media-fonts/urw-fonts |
462 |
- >=media-libs/freetype-2 |
463 |
- ) |
464 |
- webp? ( media-libs/libwebp:0= ) |
465 |
- wmf? ( media-libs/libwmf ) |
466 |
- X? ( |
467 |
- x11-libs/libICE |
468 |
- x11-libs/libSM |
469 |
- x11-libs/libXext |
470 |
- x11-libs/libXt |
471 |
- ) |
472 |
- xml? ( dev-libs/libxml2:= ) |
473 |
- lzma? ( app-arch/xz-utils ) |
474 |
- zlib? ( sys-libs/zlib:= )" |
475 |
-DEPEND="${RDEPEND} |
476 |
- !media-gfx/graphicsmagick[imagemagick] |
477 |
- virtual/pkgconfig |
478 |
- X? ( x11-proto/xextproto )" |
479 |
- |
480 |
-REQUIRED_USE="corefonts? ( truetype ) |
481 |
- test? ( corefonts )" |
482 |
- |
483 |
-S=${WORKDIR}/${MY_P} |
484 |
- |
485 |
-src_prepare() { |
486 |
- epatch_user |
487 |
- |
488 |
- elibtoolize # for Darwin modules |
489 |
- |
490 |
- # For testsuite, see https://bugs.gentoo.org/show_bug.cgi?id=500580#c3 |
491 |
- shopt -s nullglob |
492 |
- mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g') |
493 |
- if test -n "${mesa_cards}"; then |
494 |
- addpredict "${mesa_cards}" |
495 |
- fi |
496 |
- ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g') |
497 |
- if test -n "${ati_cards}"; then |
498 |
- addpredict "${ati_cards}" |
499 |
- fi |
500 |
- shopt -u nullglob |
501 |
- addpredict /dev/nvidiactl |
502 |
-} |
503 |
- |
504 |
-src_configure() { |
505 |
- local depth=16 |
506 |
- use q8 && depth=8 |
507 |
- use q32 && depth=32 |
508 |
- use q64 && depth=64 |
509 |
- |
510 |
- local openmp=disable |
511 |
- use openmp && { tc-has-openmp && openmp=enable; } |
512 |
- |
513 |
- [[ ${CHOST} == *-solaris* ]] && append-ldflags -lnsl -lsocket |
514 |
- |
515 |
- CONFIG_SHELL=$(type -P bash) \ |
516 |
- econf \ |
517 |
- $(use_enable static-libs static) \ |
518 |
- $(use_enable hdri) \ |
519 |
- $(use_enable opencl) \ |
520 |
- --with-threads \ |
521 |
- --with-modules \ |
522 |
- --with-quantum-depth=${depth} \ |
523 |
- $(use_with cxx magick-plus-plus) \ |
524 |
- $(use_with perl) \ |
525 |
- --with-perl-options='INSTALLDIRS=vendor' \ |
526 |
- --with-gs-font-dir="${EPREFIX}"/usr/share/fonts/urw-fonts \ |
527 |
- $(use_with bzip2 bzlib) \ |
528 |
- $(use_with X x) \ |
529 |
- $(use_with zlib) \ |
530 |
- $(use_with autotrace) \ |
531 |
- $(use_with postscript dps) \ |
532 |
- $(use_with djvu) \ |
533 |
- --with-dejavu-font-dir="${EPREFIX}"/usr/share/fonts/dejavu \ |
534 |
- $(use_with fftw) \ |
535 |
- $(use_with fpx) \ |
536 |
- $(use_with fontconfig) \ |
537 |
- $(use_with truetype freetype) \ |
538 |
- $(use_with postscript gslib) \ |
539 |
- $(use_with graphviz gvc) \ |
540 |
- $(use_with jbig) \ |
541 |
- $(use_with jpeg) \ |
542 |
- $(use_with jpeg2k openjp2) \ |
543 |
- $(use_with lcms) \ |
544 |
- $(use_with lqr) \ |
545 |
- $(use_with lzma) \ |
546 |
- $(use_with openexr) \ |
547 |
- $(use_with pango) \ |
548 |
- $(use_with png) \ |
549 |
- $(use_with svg rsvg) \ |
550 |
- $(use_with tiff) \ |
551 |
- $(use_with webp) \ |
552 |
- $(use_with corefonts windows-font-dir "${EPREFIX}"/usr/share/fonts/corefonts) \ |
553 |
- $(use_with wmf) \ |
554 |
- $(use_with xml) \ |
555 |
- --${openmp}-openmp \ |
556 |
- --with-gcc-arch=no-automagic |
557 |
-} |
558 |
- |
559 |
-src_test() { |
560 |
- LD_LIBRARY_PATH="${S}/coders/.libs:${S}/filters/.libs:${S}/Magick++/lib/.libs:${S}/magick/.libs:${S}/wand/.libs" \ |
561 |
- emake check |
562 |
-} |
563 |
- |
564 |
-src_install() { |
565 |
- # Ensure documentation installation files and paths with each release! |
566 |
- emake \ |
567 |
- DESTDIR="${D}" \ |
568 |
- DOCUMENTATION_PATH="${EPREFIX}"/usr/share/doc/${PF}/html \ |
569 |
- install |
570 |
- |
571 |
- rm -f "${ED}"/usr/share/doc/${PF}/html/{ChangeLog,LICENSE,NEWS.txt} |
572 |
- dodoc {AUTHORS,README}.txt ChangeLog |
573 |
- |
574 |
- if use perl; then |
575 |
- find "${ED}" -type f -name perllocal.pod -exec rm -f {} + |
576 |
- find "${ED}" -depth -mindepth 1 -type d -empty -exec rm -rf {} + |
577 |
- fi |
578 |
- |
579 |
- find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} + |
580 |
- |
581 |
- if use opencl; then |
582 |
- cat <<-EOF > "${T}"/99${PN} |
583 |
- SANDBOX_PREDICT="/dev/nvidiactl:/dev/ati/card:/dev/dri/card" |
584 |
- EOF |
585 |
- |
586 |
- insinto /etc/sandbox.d |
587 |
- doins "${T}"/99${PN} #472766 |
588 |
- fi |
589 |
- |
590 |
- insinto /usr/share/${PN} |
591 |
- doins config/*icm |
592 |
-} |
593 |
|
594 |
diff --git a/media-gfx/imagemagick/imagemagick-6.9.3.10.ebuild b/media-gfx/imagemagick/imagemagick-6.9.3.10.ebuild |
595 |
deleted file mode 100644 |
596 |
index 47260e1..0000000 |
597 |
--- a/media-gfx/imagemagick/imagemagick-6.9.3.10.ebuild |
598 |
+++ /dev/null |
599 |
@@ -1,178 +0,0 @@ |
600 |
-# Copyright 1999-2016 Gentoo Foundation |
601 |
-# Distributed under the terms of the GNU General Public License v2 |
602 |
-# $Id$ |
603 |
- |
604 |
-EAPI=6 |
605 |
- |
606 |
-inherit eutils flag-o-matic libtool multilib toolchain-funcs versionator |
607 |
- |
608 |
-MY_P=ImageMagick-$(replace_version_separator 3 '-') |
609 |
- |
610 |
-DESCRIPTION="A collection of tools and libraries for many image formats" |
611 |
-HOMEPAGE="http://www.imagemagick.org/" |
612 |
-SRC_URI="mirror://${PN}/${MY_P}.tar.xz" |
613 |
- |
614 |
-LICENSE="imagemagick" |
615 |
-SLOT="0/${PV}" |
616 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
617 |
-IUSE="autotrace bzip2 corefonts cxx djvu fftw fontconfig fpx graphviz hdri jbig jpeg jpeg2k lcms lqr lzma opencl openexr openmp pango perl png postscript q32 q64 q8 raw static-libs svg test tiff truetype webp wmf X xml zlib" |
618 |
- |
619 |
-RESTRICT="perl? ( userpriv )" |
620 |
- |
621 |
-RDEPEND=" |
622 |
- dev-libs/libltdl:0 |
623 |
- autotrace? ( >=media-gfx/autotrace-0.31.1 ) |
624 |
- bzip2? ( app-arch/bzip2 ) |
625 |
- corefonts? ( media-fonts/corefonts ) |
626 |
- djvu? ( app-text/djvu ) |
627 |
- fftw? ( sci-libs/fftw:3.0 ) |
628 |
- fontconfig? ( media-libs/fontconfig ) |
629 |
- fpx? ( >=media-libs/libfpx-1.3.0-r1 ) |
630 |
- graphviz? ( media-gfx/graphviz ) |
631 |
- jbig? ( >=media-libs/jbigkit-2:= ) |
632 |
- jpeg? ( virtual/jpeg:0 ) |
633 |
- jpeg2k? ( >=media-libs/openjpeg-2.1.0:2 ) |
634 |
- lcms? ( media-libs/lcms:2= ) |
635 |
- lqr? ( media-libs/liblqr ) |
636 |
- opencl? ( virtual/opencl ) |
637 |
- openexr? ( media-libs/openexr:0= ) |
638 |
- pango? ( x11-libs/pango ) |
639 |
- perl? ( >=dev-lang/perl-5.8.8:0= ) |
640 |
- png? ( media-libs/libpng:0= ) |
641 |
- postscript? ( app-text/ghostscript-gpl ) |
642 |
- raw? ( media-gfx/ufraw ) |
643 |
- svg? ( gnome-base/librsvg ) |
644 |
- tiff? ( media-libs/tiff:0= ) |
645 |
- truetype? ( |
646 |
- media-fonts/urw-fonts |
647 |
- >=media-libs/freetype-2 |
648 |
- ) |
649 |
- webp? ( media-libs/libwebp:0= ) |
650 |
- wmf? ( media-libs/libwmf ) |
651 |
- X? ( |
652 |
- x11-libs/libICE |
653 |
- x11-libs/libSM |
654 |
- x11-libs/libXext |
655 |
- x11-libs/libXt |
656 |
- ) |
657 |
- xml? ( dev-libs/libxml2:= ) |
658 |
- lzma? ( app-arch/xz-utils ) |
659 |
- zlib? ( sys-libs/zlib:= )" |
660 |
-DEPEND="${RDEPEND} |
661 |
- !media-gfx/graphicsmagick[imagemagick] |
662 |
- virtual/pkgconfig |
663 |
- X? ( x11-proto/xextproto )" |
664 |
- |
665 |
-REQUIRED_USE="corefonts? ( truetype ) |
666 |
- test? ( corefonts )" |
667 |
- |
668 |
-S=${WORKDIR}/${MY_P} |
669 |
- |
670 |
-src_prepare() { |
671 |
- default |
672 |
- |
673 |
- elibtoolize # for Darwin modules |
674 |
- |
675 |
- # For testsuite, see https://bugs.gentoo.org/show_bug.cgi?id=500580#c3 |
676 |
- shopt -s nullglob |
677 |
- mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g') |
678 |
- if test -n "${mesa_cards}"; then |
679 |
- addpredict "${mesa_cards}" |
680 |
- fi |
681 |
- ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g') |
682 |
- if test -n "${ati_cards}"; then |
683 |
- addpredict "${ati_cards}" |
684 |
- fi |
685 |
- shopt -u nullglob |
686 |
- addpredict /dev/nvidiactl |
687 |
-} |
688 |
- |
689 |
-src_configure() { |
690 |
- local depth=16 |
691 |
- use q8 && depth=8 |
692 |
- use q32 && depth=32 |
693 |
- use q64 && depth=64 |
694 |
- |
695 |
- local openmp=disable |
696 |
- use openmp && { tc-has-openmp && openmp=enable; } |
697 |
- |
698 |
- [[ ${CHOST} == *-solaris* ]] && append-ldflags -lnsl -lsocket |
699 |
- |
700 |
- CONFIG_SHELL=$(type -P bash) \ |
701 |
- econf \ |
702 |
- $(use_enable static-libs static) \ |
703 |
- $(use_enable hdri) \ |
704 |
- $(use_enable opencl) \ |
705 |
- --with-threads \ |
706 |
- --with-modules \ |
707 |
- --with-quantum-depth=${depth} \ |
708 |
- $(use_with cxx magick-plus-plus) \ |
709 |
- $(use_with perl) \ |
710 |
- --with-perl-options='INSTALLDIRS=vendor' \ |
711 |
- --with-gs-font-dir="${EPREFIX}"/usr/share/fonts/urw-fonts \ |
712 |
- $(use_with bzip2 bzlib) \ |
713 |
- $(use_with X x) \ |
714 |
- $(use_with zlib) \ |
715 |
- $(use_with autotrace) \ |
716 |
- $(use_with postscript dps) \ |
717 |
- $(use_with djvu) \ |
718 |
- --with-dejavu-font-dir="${EPREFIX}"/usr/share/fonts/dejavu \ |
719 |
- $(use_with fftw) \ |
720 |
- $(use_with fpx) \ |
721 |
- $(use_with fontconfig) \ |
722 |
- $(use_with truetype freetype) \ |
723 |
- $(use_with postscript gslib) \ |
724 |
- $(use_with graphviz gvc) \ |
725 |
- $(use_with jbig) \ |
726 |
- $(use_with jpeg) \ |
727 |
- $(use_with jpeg2k openjp2) \ |
728 |
- $(use_with lcms) \ |
729 |
- $(use_with lqr) \ |
730 |
- $(use_with lzma) \ |
731 |
- $(use_with openexr) \ |
732 |
- $(use_with pango) \ |
733 |
- $(use_with png) \ |
734 |
- $(use_with svg rsvg) \ |
735 |
- $(use_with tiff) \ |
736 |
- $(use_with webp) \ |
737 |
- $(use_with corefonts windows-font-dir "${EPREFIX}"/usr/share/fonts/corefonts) \ |
738 |
- $(use_with wmf) \ |
739 |
- $(use_with xml) \ |
740 |
- --${openmp}-openmp \ |
741 |
- --with-gcc-arch=no-automagic |
742 |
-} |
743 |
- |
744 |
-src_test() { |
745 |
- LD_LIBRARY_PATH="${S}/coders/.libs:${S}/filters/.libs:${S}/Magick++/lib/.libs:${S}/magick/.libs:${S}/wand/.libs" \ |
746 |
- emake check |
747 |
-} |
748 |
- |
749 |
-src_install() { |
750 |
- # Ensure documentation installation files and paths with each release! |
751 |
- emake \ |
752 |
- DESTDIR="${D}" \ |
753 |
- DOCUMENTATION_PATH="${EPREFIX}"/usr/share/doc/${PF}/html \ |
754 |
- install |
755 |
- |
756 |
- rm -f "${ED}"/usr/share/doc/${PF}/html/{ChangeLog,LICENSE,NEWS.txt} |
757 |
- dodoc {AUTHORS,README}.txt ChangeLog |
758 |
- |
759 |
- if use perl; then |
760 |
- find "${ED}" -type f -name perllocal.pod -exec rm -f {} + |
761 |
- find "${ED}" -depth -mindepth 1 -type d -empty -exec rm -rf {} + |
762 |
- fi |
763 |
- |
764 |
- find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} + |
765 |
- |
766 |
- if use opencl; then |
767 |
- cat <<-EOF > "${T}"/99${PN} |
768 |
- SANDBOX_PREDICT="/dev/nvidiactl:/dev/ati/card:/dev/dri/card" |
769 |
- EOF |
770 |
- |
771 |
- insinto /etc/sandbox.d |
772 |
- doins "${T}"/99${PN} #472766 |
773 |
- fi |
774 |
- |
775 |
- insinto /usr/share/${PN} |
776 |
- doins config/*icm |
777 |
-} |
778 |
|
779 |
diff --git a/media-gfx/imagemagick/imagemagick-6.9.4.1.ebuild b/media-gfx/imagemagick/imagemagick-6.9.4.1.ebuild |
780 |
deleted file mode 100644 |
781 |
index 05e5d75..0000000 |
782 |
--- a/media-gfx/imagemagick/imagemagick-6.9.4.1.ebuild |
783 |
+++ /dev/null |
784 |
@@ -1,178 +0,0 @@ |
785 |
-# Copyright 1999-2016 Gentoo Foundation |
786 |
-# Distributed under the terms of the GNU General Public License v2 |
787 |
-# $Id$ |
788 |
- |
789 |
-EAPI=6 |
790 |
- |
791 |
-inherit eutils flag-o-matic libtool multilib toolchain-funcs versionator |
792 |
- |
793 |
-MY_P=ImageMagick-$(replace_version_separator 3 '-') |
794 |
- |
795 |
-DESCRIPTION="A collection of tools and libraries for many image formats" |
796 |
-HOMEPAGE="http://www.imagemagick.org/" |
797 |
-SRC_URI="mirror://${PN}/${MY_P}.tar.xz" |
798 |
- |
799 |
-LICENSE="imagemagick" |
800 |
-SLOT="0/${PV}" |
801 |
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
802 |
-IUSE="autotrace bzip2 corefonts cxx djvu fftw fontconfig fpx graphviz hdri jbig jpeg jpeg2k lcms lqr lzma opencl openexr openmp pango perl png postscript q32 q64 q8 raw static-libs svg test tiff truetype webp wmf X xml zlib" |
803 |
- |
804 |
-RESTRICT="perl? ( userpriv )" |
805 |
- |
806 |
-RDEPEND=" |
807 |
- dev-libs/libltdl:0 |
808 |
- autotrace? ( >=media-gfx/autotrace-0.31.1 ) |
809 |
- bzip2? ( app-arch/bzip2 ) |
810 |
- corefonts? ( media-fonts/corefonts ) |
811 |
- djvu? ( app-text/djvu ) |
812 |
- fftw? ( sci-libs/fftw:3.0 ) |
813 |
- fontconfig? ( media-libs/fontconfig ) |
814 |
- fpx? ( >=media-libs/libfpx-1.3.0-r1 ) |
815 |
- graphviz? ( media-gfx/graphviz ) |
816 |
- jbig? ( >=media-libs/jbigkit-2:= ) |
817 |
- jpeg? ( virtual/jpeg:0 ) |
818 |
- jpeg2k? ( >=media-libs/openjpeg-2.1.0:2 ) |
819 |
- lcms? ( media-libs/lcms:2= ) |
820 |
- lqr? ( media-libs/liblqr ) |
821 |
- opencl? ( virtual/opencl ) |
822 |
- openexr? ( media-libs/openexr:0= ) |
823 |
- pango? ( x11-libs/pango ) |
824 |
- perl? ( >=dev-lang/perl-5.8.8:0= ) |
825 |
- png? ( media-libs/libpng:0= ) |
826 |
- postscript? ( app-text/ghostscript-gpl ) |
827 |
- raw? ( media-gfx/ufraw ) |
828 |
- svg? ( gnome-base/librsvg ) |
829 |
- tiff? ( media-libs/tiff:0= ) |
830 |
- truetype? ( |
831 |
- media-fonts/urw-fonts |
832 |
- >=media-libs/freetype-2 |
833 |
- ) |
834 |
- webp? ( media-libs/libwebp:0= ) |
835 |
- wmf? ( media-libs/libwmf ) |
836 |
- X? ( |
837 |
- x11-libs/libICE |
838 |
- x11-libs/libSM |
839 |
- x11-libs/libXext |
840 |
- x11-libs/libXt |
841 |
- ) |
842 |
- xml? ( dev-libs/libxml2:= ) |
843 |
- lzma? ( app-arch/xz-utils ) |
844 |
- zlib? ( sys-libs/zlib:= )" |
845 |
-DEPEND="${RDEPEND} |
846 |
- !media-gfx/graphicsmagick[imagemagick] |
847 |
- virtual/pkgconfig |
848 |
- X? ( x11-proto/xextproto )" |
849 |
- |
850 |
-REQUIRED_USE="corefonts? ( truetype ) |
851 |
- test? ( corefonts )" |
852 |
- |
853 |
-S=${WORKDIR}/${MY_P} |
854 |
- |
855 |
-src_prepare() { |
856 |
- default |
857 |
- |
858 |
- elibtoolize # for Darwin modules |
859 |
- |
860 |
- # For testsuite, see https://bugs.gentoo.org/show_bug.cgi?id=500580#c3 |
861 |
- shopt -s nullglob |
862 |
- mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g') |
863 |
- if test -n "${mesa_cards}"; then |
864 |
- addpredict "${mesa_cards}" |
865 |
- fi |
866 |
- ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g') |
867 |
- if test -n "${ati_cards}"; then |
868 |
- addpredict "${ati_cards}" |
869 |
- fi |
870 |
- shopt -u nullglob |
871 |
- addpredict /dev/nvidiactl |
872 |
-} |
873 |
- |
874 |
-src_configure() { |
875 |
- local depth=16 |
876 |
- use q8 && depth=8 |
877 |
- use q32 && depth=32 |
878 |
- use q64 && depth=64 |
879 |
- |
880 |
- local openmp=disable |
881 |
- use openmp && { tc-has-openmp && openmp=enable; } |
882 |
- |
883 |
- [[ ${CHOST} == *-solaris* ]] && append-ldflags -lnsl -lsocket |
884 |
- |
885 |
- CONFIG_SHELL=$(type -P bash) \ |
886 |
- econf \ |
887 |
- $(use_enable static-libs static) \ |
888 |
- $(use_enable hdri) \ |
889 |
- $(use_enable opencl) \ |
890 |
- --with-threads \ |
891 |
- --with-modules \ |
892 |
- --with-quantum-depth=${depth} \ |
893 |
- $(use_with cxx magick-plus-plus) \ |
894 |
- $(use_with perl) \ |
895 |
- --with-perl-options='INSTALLDIRS=vendor' \ |
896 |
- --with-gs-font-dir="${EPREFIX}"/usr/share/fonts/urw-fonts \ |
897 |
- $(use_with bzip2 bzlib) \ |
898 |
- $(use_with X x) \ |
899 |
- $(use_with zlib) \ |
900 |
- $(use_with autotrace) \ |
901 |
- $(use_with postscript dps) \ |
902 |
- $(use_with djvu) \ |
903 |
- --with-dejavu-font-dir="${EPREFIX}"/usr/share/fonts/dejavu \ |
904 |
- $(use_with fftw) \ |
905 |
- $(use_with fpx) \ |
906 |
- $(use_with fontconfig) \ |
907 |
- $(use_with truetype freetype) \ |
908 |
- $(use_with postscript gslib) \ |
909 |
- $(use_with graphviz gvc) \ |
910 |
- $(use_with jbig) \ |
911 |
- $(use_with jpeg) \ |
912 |
- $(use_with jpeg2k openjp2) \ |
913 |
- $(use_with lcms) \ |
914 |
- $(use_with lqr) \ |
915 |
- $(use_with lzma) \ |
916 |
- $(use_with openexr) \ |
917 |
- $(use_with pango) \ |
918 |
- $(use_with png) \ |
919 |
- $(use_with svg rsvg) \ |
920 |
- $(use_with tiff) \ |
921 |
- $(use_with webp) \ |
922 |
- $(use_with corefonts windows-font-dir "${EPREFIX}"/usr/share/fonts/corefonts) \ |
923 |
- $(use_with wmf) \ |
924 |
- $(use_with xml) \ |
925 |
- --${openmp}-openmp \ |
926 |
- --with-gcc-arch=no-automagic |
927 |
-} |
928 |
- |
929 |
-src_test() { |
930 |
- LD_LIBRARY_PATH="${S}/coders/.libs:${S}/filters/.libs:${S}/Magick++/lib/.libs:${S}/magick/.libs:${S}/wand/.libs" \ |
931 |
- emake check |
932 |
-} |
933 |
- |
934 |
-src_install() { |
935 |
- # Ensure documentation installation files and paths with each release! |
936 |
- emake \ |
937 |
- DESTDIR="${D}" \ |
938 |
- DOCUMENTATION_PATH="${EPREFIX}"/usr/share/doc/${PF}/html \ |
939 |
- install |
940 |
- |
941 |
- rm -f "${ED}"/usr/share/doc/${PF}/html/{ChangeLog,LICENSE,NEWS.txt} |
942 |
- dodoc {AUTHORS,README}.txt ChangeLog |
943 |
- |
944 |
- if use perl; then |
945 |
- find "${ED}" -type f -name perllocal.pod -exec rm -f {} + |
946 |
- find "${ED}" -depth -mindepth 1 -type d -empty -exec rm -rf {} + |
947 |
- fi |
948 |
- |
949 |
- find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} + |
950 |
- |
951 |
- if use opencl; then |
952 |
- cat <<-EOF > "${T}"/99${PN} |
953 |
- SANDBOX_PREDICT="/dev/nvidiactl:/dev/ati/card:/dev/dri/card" |
954 |
- EOF |
955 |
- |
956 |
- insinto /etc/sandbox.d |
957 |
- doins "${T}"/99${PN} #472766 |
958 |
- fi |
959 |
- |
960 |
- insinto /usr/share/${PN} |
961 |
- doins config/*icm |
962 |
-} |
963 |
|
964 |
diff --git a/media-gfx/imagemagick/imagemagick-6.9.4.5.ebuild b/media-gfx/imagemagick/imagemagick-6.9.4.5.ebuild |
965 |
deleted file mode 100644 |
966 |
index 47260e1..0000000 |
967 |
--- a/media-gfx/imagemagick/imagemagick-6.9.4.5.ebuild |
968 |
+++ /dev/null |
969 |
@@ -1,178 +0,0 @@ |
970 |
-# Copyright 1999-2016 Gentoo Foundation |
971 |
-# Distributed under the terms of the GNU General Public License v2 |
972 |
-# $Id$ |
973 |
- |
974 |
-EAPI=6 |
975 |
- |
976 |
-inherit eutils flag-o-matic libtool multilib toolchain-funcs versionator |
977 |
- |
978 |
-MY_P=ImageMagick-$(replace_version_separator 3 '-') |
979 |
- |
980 |
-DESCRIPTION="A collection of tools and libraries for many image formats" |
981 |
-HOMEPAGE="http://www.imagemagick.org/" |
982 |
-SRC_URI="mirror://${PN}/${MY_P}.tar.xz" |
983 |
- |
984 |
-LICENSE="imagemagick" |
985 |
-SLOT="0/${PV}" |
986 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
987 |
-IUSE="autotrace bzip2 corefonts cxx djvu fftw fontconfig fpx graphviz hdri jbig jpeg jpeg2k lcms lqr lzma opencl openexr openmp pango perl png postscript q32 q64 q8 raw static-libs svg test tiff truetype webp wmf X xml zlib" |
988 |
- |
989 |
-RESTRICT="perl? ( userpriv )" |
990 |
- |
991 |
-RDEPEND=" |
992 |
- dev-libs/libltdl:0 |
993 |
- autotrace? ( >=media-gfx/autotrace-0.31.1 ) |
994 |
- bzip2? ( app-arch/bzip2 ) |
995 |
- corefonts? ( media-fonts/corefonts ) |
996 |
- djvu? ( app-text/djvu ) |
997 |
- fftw? ( sci-libs/fftw:3.0 ) |
998 |
- fontconfig? ( media-libs/fontconfig ) |
999 |
- fpx? ( >=media-libs/libfpx-1.3.0-r1 ) |
1000 |
- graphviz? ( media-gfx/graphviz ) |
1001 |
- jbig? ( >=media-libs/jbigkit-2:= ) |
1002 |
- jpeg? ( virtual/jpeg:0 ) |
1003 |
- jpeg2k? ( >=media-libs/openjpeg-2.1.0:2 ) |
1004 |
- lcms? ( media-libs/lcms:2= ) |
1005 |
- lqr? ( media-libs/liblqr ) |
1006 |
- opencl? ( virtual/opencl ) |
1007 |
- openexr? ( media-libs/openexr:0= ) |
1008 |
- pango? ( x11-libs/pango ) |
1009 |
- perl? ( >=dev-lang/perl-5.8.8:0= ) |
1010 |
- png? ( media-libs/libpng:0= ) |
1011 |
- postscript? ( app-text/ghostscript-gpl ) |
1012 |
- raw? ( media-gfx/ufraw ) |
1013 |
- svg? ( gnome-base/librsvg ) |
1014 |
- tiff? ( media-libs/tiff:0= ) |
1015 |
- truetype? ( |
1016 |
- media-fonts/urw-fonts |
1017 |
- >=media-libs/freetype-2 |
1018 |
- ) |
1019 |
- webp? ( media-libs/libwebp:0= ) |
1020 |
- wmf? ( media-libs/libwmf ) |
1021 |
- X? ( |
1022 |
- x11-libs/libICE |
1023 |
- x11-libs/libSM |
1024 |
- x11-libs/libXext |
1025 |
- x11-libs/libXt |
1026 |
- ) |
1027 |
- xml? ( dev-libs/libxml2:= ) |
1028 |
- lzma? ( app-arch/xz-utils ) |
1029 |
- zlib? ( sys-libs/zlib:= )" |
1030 |
-DEPEND="${RDEPEND} |
1031 |
- !media-gfx/graphicsmagick[imagemagick] |
1032 |
- virtual/pkgconfig |
1033 |
- X? ( x11-proto/xextproto )" |
1034 |
- |
1035 |
-REQUIRED_USE="corefonts? ( truetype ) |
1036 |
- test? ( corefonts )" |
1037 |
- |
1038 |
-S=${WORKDIR}/${MY_P} |
1039 |
- |
1040 |
-src_prepare() { |
1041 |
- default |
1042 |
- |
1043 |
- elibtoolize # for Darwin modules |
1044 |
- |
1045 |
- # For testsuite, see https://bugs.gentoo.org/show_bug.cgi?id=500580#c3 |
1046 |
- shopt -s nullglob |
1047 |
- mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g') |
1048 |
- if test -n "${mesa_cards}"; then |
1049 |
- addpredict "${mesa_cards}" |
1050 |
- fi |
1051 |
- ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g') |
1052 |
- if test -n "${ati_cards}"; then |
1053 |
- addpredict "${ati_cards}" |
1054 |
- fi |
1055 |
- shopt -u nullglob |
1056 |
- addpredict /dev/nvidiactl |
1057 |
-} |
1058 |
- |
1059 |
-src_configure() { |
1060 |
- local depth=16 |
1061 |
- use q8 && depth=8 |
1062 |
- use q32 && depth=32 |
1063 |
- use q64 && depth=64 |
1064 |
- |
1065 |
- local openmp=disable |
1066 |
- use openmp && { tc-has-openmp && openmp=enable; } |
1067 |
- |
1068 |
- [[ ${CHOST} == *-solaris* ]] && append-ldflags -lnsl -lsocket |
1069 |
- |
1070 |
- CONFIG_SHELL=$(type -P bash) \ |
1071 |
- econf \ |
1072 |
- $(use_enable static-libs static) \ |
1073 |
- $(use_enable hdri) \ |
1074 |
- $(use_enable opencl) \ |
1075 |
- --with-threads \ |
1076 |
- --with-modules \ |
1077 |
- --with-quantum-depth=${depth} \ |
1078 |
- $(use_with cxx magick-plus-plus) \ |
1079 |
- $(use_with perl) \ |
1080 |
- --with-perl-options='INSTALLDIRS=vendor' \ |
1081 |
- --with-gs-font-dir="${EPREFIX}"/usr/share/fonts/urw-fonts \ |
1082 |
- $(use_with bzip2 bzlib) \ |
1083 |
- $(use_with X x) \ |
1084 |
- $(use_with zlib) \ |
1085 |
- $(use_with autotrace) \ |
1086 |
- $(use_with postscript dps) \ |
1087 |
- $(use_with djvu) \ |
1088 |
- --with-dejavu-font-dir="${EPREFIX}"/usr/share/fonts/dejavu \ |
1089 |
- $(use_with fftw) \ |
1090 |
- $(use_with fpx) \ |
1091 |
- $(use_with fontconfig) \ |
1092 |
- $(use_with truetype freetype) \ |
1093 |
- $(use_with postscript gslib) \ |
1094 |
- $(use_with graphviz gvc) \ |
1095 |
- $(use_with jbig) \ |
1096 |
- $(use_with jpeg) \ |
1097 |
- $(use_with jpeg2k openjp2) \ |
1098 |
- $(use_with lcms) \ |
1099 |
- $(use_with lqr) \ |
1100 |
- $(use_with lzma) \ |
1101 |
- $(use_with openexr) \ |
1102 |
- $(use_with pango) \ |
1103 |
- $(use_with png) \ |
1104 |
- $(use_with svg rsvg) \ |
1105 |
- $(use_with tiff) \ |
1106 |
- $(use_with webp) \ |
1107 |
- $(use_with corefonts windows-font-dir "${EPREFIX}"/usr/share/fonts/corefonts) \ |
1108 |
- $(use_with wmf) \ |
1109 |
- $(use_with xml) \ |
1110 |
- --${openmp}-openmp \ |
1111 |
- --with-gcc-arch=no-automagic |
1112 |
-} |
1113 |
- |
1114 |
-src_test() { |
1115 |
- LD_LIBRARY_PATH="${S}/coders/.libs:${S}/filters/.libs:${S}/Magick++/lib/.libs:${S}/magick/.libs:${S}/wand/.libs" \ |
1116 |
- emake check |
1117 |
-} |
1118 |
- |
1119 |
-src_install() { |
1120 |
- # Ensure documentation installation files and paths with each release! |
1121 |
- emake \ |
1122 |
- DESTDIR="${D}" \ |
1123 |
- DOCUMENTATION_PATH="${EPREFIX}"/usr/share/doc/${PF}/html \ |
1124 |
- install |
1125 |
- |
1126 |
- rm -f "${ED}"/usr/share/doc/${PF}/html/{ChangeLog,LICENSE,NEWS.txt} |
1127 |
- dodoc {AUTHORS,README}.txt ChangeLog |
1128 |
- |
1129 |
- if use perl; then |
1130 |
- find "${ED}" -type f -name perllocal.pod -exec rm -f {} + |
1131 |
- find "${ED}" -depth -mindepth 1 -type d -empty -exec rm -rf {} + |
1132 |
- fi |
1133 |
- |
1134 |
- find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} + |
1135 |
- |
1136 |
- if use opencl; then |
1137 |
- cat <<-EOF > "${T}"/99${PN} |
1138 |
- SANDBOX_PREDICT="/dev/nvidiactl:/dev/ati/card:/dev/dri/card" |
1139 |
- EOF |
1140 |
- |
1141 |
- insinto /etc/sandbox.d |
1142 |
- doins "${T}"/99${PN} #472766 |
1143 |
- fi |
1144 |
- |
1145 |
- insinto /usr/share/${PN} |
1146 |
- doins config/*icm |
1147 |
-} |