Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/imagemagick/
Date: Sat, 01 Sep 2018 01:32:24
Message-Id: 1535765528.b9e1aa1e0ad8be6410866342fe3e7444f3e13c7c.whissi@gentoo
1 commit: b9e1aa1e0ad8be6410866342fe3e7444f3e13c7c
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 1 01:29:57 2018 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 1 01:32:08 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9e1aa1e
7
8 media-gfx/imagemagick: bump to v6.9.10-11 & 7.0.8-11
9
10 Package-Manager: Portage-2.3.48, Repoman-2.3.10
11
12 media-gfx/imagemagick/Manifest | 2 +
13 media-gfx/imagemagick/imagemagick-6.9.10.11.ebuild | 235 ++++++++++++++++++++
14 media-gfx/imagemagick/imagemagick-7.0.8.11.ebuild | 241 +++++++++++++++++++++
15 3 files changed, 478 insertions(+)
16
17 diff --git a/media-gfx/imagemagick/Manifest b/media-gfx/imagemagick/Manifest
18 index c4d8ff19575..de6de2683db 100644
19 --- a/media-gfx/imagemagick/Manifest
20 +++ b/media-gfx/imagemagick/Manifest
21 @@ -1,2 +1,4 @@
22 DIST ImageMagick-6.9.10-10.tar.xz 8929904 BLAKE2B 937a480554d881da9d477724ed7ff23c185a531778514397a6d46195963eb1449150c4d94fdbaf0798efc509d687a70b9dd999d2d9571ff478643cf754dde822 SHA512 8255db18d1b3ea727be320a643f67c8c27a729738de798c2b64570f9f8a96c74d59922ef85fae88b550e336f640d7d12b079ea354039dc08c4e75643b7e3a38c
23 +DIST ImageMagick-6.9.10-11.tar.xz 8918436 BLAKE2B f7846b21a68d0e8e462cc7a86322f73ec0df7cfd10fb35e97f6adb375c9291b9571c07da901636bbc933330ec0f4c2ee27b3af673c6af28d30090e78a81b2bbc SHA512 b272eee7c74c3d2e6cdc7b5ba088bf87d7fad87c8828c9d2660986acb05c0ee06566c4b2b82913be9086a51e9b7c64ceb9ecc2bf28691d183b8e478a15384ead
24 DIST ImageMagick-7.0.8-10.tar.xz 8635496 BLAKE2B c9df902b5d582b278b3343c9889b01b921f505bf5686312c30fe55e0b023601ea8a51385a97d92f39d248bb8d57f0e91d163a983cda16f528ab234d53f35118a SHA512 a4869e0a9be5e04c04fcd1fce5c4141d63968ee7f1dd78d84724921f2f088bdcea8c3b3799e1ff555a2a04dec32a1fb7c4a1e6053a6185e9a36c6ae0f1b9c6ed
25 +DIST ImageMagick-7.0.8-11.tar.xz 8638236 BLAKE2B 927b9d467635f80d65b53e4d4d5c55e2ca4f8073b110881950d6bd9205a6da3b6ead91c624d1cccabb6c37f5bb841f9584c7c6d65714736898d17a22d9075a50 SHA512 b6f7493095097d3c551c70acd2181fb8e252750916534602646c7c765d756b5483c1bdd08b00d59f8b0bc3963729a2b64bf8cb467e3f23e26a4d35515b6d3b18
26
27 diff --git a/media-gfx/imagemagick/imagemagick-6.9.10.11.ebuild b/media-gfx/imagemagick/imagemagick-6.9.10.11.ebuild
28 new file mode 100644
29 index 00000000000..894bc214df1
30 --- /dev/null
31 +++ b/media-gfx/imagemagick/imagemagick-6.9.10.11.ebuild
32 @@ -0,0 +1,235 @@
33 +# Copyright 1999-2018 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI="6"
37 +
38 +inherit eapi7-ver eutils flag-o-matic libtool multilib toolchain-funcs
39 +
40 +MY_P=ImageMagick-$(ver_rs 3 '-')
41 +
42 +DESCRIPTION="A collection of tools and libraries for many image formats"
43 +HOMEPAGE="https://www.imagemagick.org/"
44 +SRC_URI="mirror://${PN}/${MY_P}.tar.xz"
45 +
46 +LICENSE="imagemagick"
47 +SLOT="0/${PV}"
48 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
49 +IUSE="bzip2 corefonts cxx djvu fftw fontconfig fpx graphviz hdri jbig jpeg jpeg2k lcms lqr lzma opencl openexr openmp pango perl png postscript q32 q8 raw static-libs svg test tiff truetype webp wmf X xml zlib"
50 +
51 +RESTRICT="perl? ( userpriv )"
52 +
53 +RDEPEND="
54 + dev-libs/libltdl:0
55 + bzip2? ( app-arch/bzip2 )
56 + corefonts? ( media-fonts/corefonts )
57 + djvu? ( app-text/djvu )
58 + fftw? ( sci-libs/fftw:3.0 )
59 + fontconfig? ( media-libs/fontconfig )
60 + fpx? ( >=media-libs/libfpx-1.3.0-r1 )
61 + graphviz? ( media-gfx/graphviz )
62 + jbig? ( >=media-libs/jbigkit-2:= )
63 + jpeg? ( virtual/jpeg:0 )
64 + jpeg2k? ( >=media-libs/openjpeg-2.1.0:2 )
65 + lcms? ( media-libs/lcms:2= )
66 + lqr? ( media-libs/liblqr )
67 + opencl? ( virtual/opencl )
68 + openexr? ( media-libs/openexr:0= )
69 + pango? ( x11-libs/pango )
70 + perl? ( >=dev-lang/perl-5.8.8:0= )
71 + png? ( media-libs/libpng:0= )
72 + postscript? ( app-text/ghostscript-gpl )
73 + raw? ( media-libs/libraw:= )
74 + svg? ( gnome-base/librsvg )
75 + tiff? ( media-libs/tiff:0= )
76 + truetype? (
77 + media-fonts/urw-fonts
78 + >=media-libs/freetype-2
79 + )
80 + webp? ( media-libs/libwebp:0= )
81 + wmf? ( media-libs/libwmf )
82 + X? (
83 + x11-libs/libICE
84 + x11-libs/libSM
85 + x11-libs/libXext
86 + x11-libs/libXt
87 + )
88 + xml? ( dev-libs/libxml2:= )
89 + lzma? ( app-arch/xz-utils )
90 + zlib? ( sys-libs/zlib:= )"
91 +DEPEND="${RDEPEND}
92 + !media-gfx/graphicsmagick[imagemagick]
93 + virtual/pkgconfig
94 + X? ( x11-base/xorg-proto )"
95 +
96 +REQUIRED_USE="corefonts? ( truetype )
97 + test? ( corefonts )"
98 +
99 +S="${WORKDIR}/${MY_P}"
100 +
101 +src_prepare() {
102 + default
103 +
104 + # Apply hardening #664236
105 + cp "${FILESDIR}"/policy-hardening.snippet "${S}" || die
106 + sed -i -e '/^<policymap>$/ {
107 + r policy-hardening.snippet
108 + d
109 + }' \
110 + config/policy.xml || \
111 + die "Failed to apply hardening of policy.xml"
112 + einfo "policy.xml hardened"
113 +
114 + # Install default (unrestricted) policy in $HOME for test suite #664238
115 + local _im_local_config_home="${HOME}/.config/ImageMagick"
116 + mkdir -p "${_im_local_config_home}" || \
117 + die "Failed to create IM config dir in '${_im_local_config_home}'"
118 + cp "${FILESDIR}"/policy.test.xml "${_im_local_config_home}/policy.xml" || \
119 + die "Failed to install default blank policy.xml in '${_im_local_config_home}'"
120 +
121 + elibtoolize # for Darwin modules
122 +
123 + # For testsuite, see https://bugs.gentoo.org/show_bug.cgi?id=500580#c3
124 + local mesa_cards ati_cards nvidia_cards render_cards
125 + shopt -s nullglob
126 + ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g')
127 + if test -n "${ati_cards}"; then
128 + addpredict "${ati_cards}"
129 + fi
130 + mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g')
131 + if test -n "${mesa_cards}"; then
132 + addpredict "${mesa_cards}"
133 + fi
134 + nvidia_cards=$(echo -n /dev/nvidia** | sed 's/ /:/g')
135 + if test -n "${nvidia_cards}"; then
136 + addpredict "${nvidia_cards}"
137 + fi
138 + render_cards=$(echo -n /dev/dri/renderD128* | sed 's/ /:/g')
139 + if test -n "${render_cards}"; then
140 + addpredict "${render_cards}"
141 + fi
142 + shopt -u nullglob
143 + addpredict /dev/nvidiactl
144 +}
145 +
146 +src_configure() {
147 + local depth=16
148 + use q8 && depth=8
149 + use q32 && depth=32
150 +
151 + local openmp=disable
152 + use openmp && { tc-has-openmp && openmp=enable; }
153 +
154 + [[ ${CHOST} == *-solaris* ]] && append-ldflags -lnsl -lsocket
155 +
156 + local myeconfargs=(
157 + $(use_enable static-libs static)
158 + $(use_enable hdri)
159 + $(use_enable opencl)
160 + --with-threads
161 + --with-modules
162 + --with-quantum-depth=${depth}
163 + $(use_with cxx magick-plus-plus)
164 + $(use_with perl)
165 + --with-perl-options='INSTALLDIRS=vendor'
166 + --with-gs-font-dir="${EPREFIX}"/usr/share/fonts/urw-fonts
167 + $(use_with bzip2 bzlib)
168 + $(use_with X x)
169 + $(use_with zlib)
170 + --without-autotrace
171 + $(use_with postscript dps)
172 + $(use_with djvu)
173 + --with-dejavu-font-dir="${EPREFIX}"/usr/share/fonts/dejavu
174 + $(use_with fftw)
175 + $(use_with fpx)
176 + $(use_with fontconfig)
177 + $(use_with truetype freetype)
178 + $(use_with postscript gslib)
179 + $(use_with graphviz gvc)
180 + $(use_with jbig)
181 + $(use_with jpeg)
182 + $(use_with jpeg2k openjp2)
183 + $(use_with lcms)
184 + $(use_with lqr)
185 + $(use_with lzma)
186 + $(use_with openexr)
187 + $(use_with pango)
188 + $(use_with png)
189 + $(use_with raw)
190 + $(use_with svg rsvg)
191 + $(use_with tiff)
192 + $(use_with webp)
193 + $(use_with corefonts windows-font-dir "${EPREFIX}"/usr/share/fonts/corefonts)
194 + $(use_with wmf)
195 + $(use_with xml)
196 + --${openmp}-openmp
197 + --with-gcc-arch=no-automagic
198 + )
199 + CONFIG_SHELL=$(type -P bash) econf "${myeconfargs[@]}"
200 +}
201 +
202 +src_test() {
203 + LD_LIBRARY_PATH="${S}/coders/.libs:${S}/filters/.libs:${S}/Magick++/lib/.libs:${S}/magick/.libs:${S}/wand/.libs" \
204 + emake check
205 +}
206 +
207 +src_install() {
208 + # Ensure documentation installation files and paths with each release!
209 + emake \
210 + DESTDIR="${D}" \
211 + DOCUMENTATION_PATH="${EPREFIX}"/usr/share/doc/${PF}/html \
212 + install
213 +
214 + rm -f "${ED%/}"/usr/share/doc/${PF}/html/{ChangeLog,LICENSE,NEWS.txt}
215 + dodoc {AUTHORS,README}.txt ChangeLog
216 +
217 + if use perl; then
218 + find "${ED}" -type f -name perllocal.pod -exec rm -f {} +
219 + find "${ED}" -depth -mindepth 1 -type d -empty -exec rm -rf {} +
220 + fi
221 +
222 + find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} +
223 +
224 + if use opencl; then
225 + cat <<-EOF > "${T}"/99${PN}
226 + SANDBOX_PREDICT="/dev/nvidiactl:/dev/nvidia-uvm:/dev/ati/card:/dev/dri/card:/dev/dri/renderD128"
227 + EOF
228 +
229 + insinto /etc/sandbox.d
230 + doins "${T}"/99${PN} #472766
231 + fi
232 +
233 + insinto /usr/share/${PN}
234 + doins config/*icm
235 +}
236 +
237 +pkg_postinst() {
238 + local _show_policy_xml_notice=
239 +
240 + if [[ -z "${REPLACING_VERSIONS}" ]]; then
241 + # This is a new installation
242 + _show_policy_xml_notice=yes
243 + else
244 + local v
245 + for v in ${REPLACING_VERSIONS}; do
246 + if ! ver_test "${v}" -gt "6.9.10.10-r2"; then
247 + # This is an upgrade
248 + _show_policy_xml_notice=yes
249 +
250 + # Show this elog only once
251 + break
252 + fi
253 + done
254 + fi
255 +
256 + if [[ -n "${_show_policy_xml_notice}" ]]; then
257 + elog "For security reasons, a policy.xml file was installed in /etc/ImageMagick-6"
258 + elog "which will prevent the usage of the following coders by default:"
259 + elog ""
260 + elog " - PS"
261 + elog " - PS2"
262 + elog " - PS3"
263 + elog " - EPS"
264 + elog " - PDF"
265 + elog " - XPS"
266 + fi
267 +}
268
269 diff --git a/media-gfx/imagemagick/imagemagick-7.0.8.11.ebuild b/media-gfx/imagemagick/imagemagick-7.0.8.11.ebuild
270 new file mode 100644
271 index 00000000000..25c4681ac13
272 --- /dev/null
273 +++ b/media-gfx/imagemagick/imagemagick-7.0.8.11.ebuild
274 @@ -0,0 +1,241 @@
275 +# Copyright 1999-2018 Gentoo Foundation
276 +# Distributed under the terms of the GNU General Public License v2
277 +
278 +EAPI="6"
279 +
280 +inherit eapi7-ver eutils flag-o-matic libtool multilib toolchain-funcs
281 +
282 +if [[ ${PV} == "9999" ]] ; then
283 + EGIT_REPO_URI="https://github.com/ImageMagick/ImageMagick.git"
284 + inherit git-r3
285 + MY_P="imagemagick-9999"
286 +else
287 + MY_P=ImageMagick-$(ver_rs 3 '-')
288 + SRC_URI="mirror://${PN}/${MY_P}.tar.xz"
289 + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
290 +fi
291 +
292 +DESCRIPTION="A collection of tools and libraries for many image formats"
293 +HOMEPAGE="https://www.imagemagick.org/"
294 +
295 +LICENSE="imagemagick"
296 +SLOT="0/${PV}"
297 +IUSE="bzip2 corefonts cxx djvu fftw fontconfig fpx graphviz hdri jbig jpeg jpeg2k lcms lqr lzma opencl openexr openmp pango perl png postscript q32 q8 raw static-libs svg test tiff truetype webp wmf X xml zlib"
298 +
299 +RESTRICT="perl? ( userpriv )"
300 +
301 +RDEPEND="
302 + dev-libs/libltdl:0
303 + bzip2? ( app-arch/bzip2 )
304 + corefonts? ( media-fonts/corefonts )
305 + djvu? ( app-text/djvu )
306 + fftw? ( sci-libs/fftw:3.0 )
307 + fontconfig? ( media-libs/fontconfig )
308 + fpx? ( >=media-libs/libfpx-1.3.0-r1 )
309 + graphviz? ( media-gfx/graphviz )
310 + jbig? ( >=media-libs/jbigkit-2:= )
311 + jpeg? ( virtual/jpeg:0 )
312 + jpeg2k? ( >=media-libs/openjpeg-2.1.0:2 )
313 + lcms? ( media-libs/lcms:2= )
314 + lqr? ( media-libs/liblqr )
315 + opencl? ( virtual/opencl )
316 + openexr? ( media-libs/openexr:0= )
317 + pango? ( x11-libs/pango )
318 + perl? ( >=dev-lang/perl-5.8.8:0= )
319 + png? ( media-libs/libpng:0= )
320 + postscript? ( app-text/ghostscript-gpl )
321 + raw? ( media-libs/libraw:= )
322 + svg? ( gnome-base/librsvg )
323 + tiff? ( media-libs/tiff:0= )
324 + truetype? (
325 + media-fonts/urw-fonts
326 + >=media-libs/freetype-2
327 + )
328 + webp? ( media-libs/libwebp:0= )
329 + wmf? ( media-libs/libwmf )
330 + X? (
331 + x11-libs/libICE
332 + x11-libs/libSM
333 + x11-libs/libXext
334 + x11-libs/libXt
335 + )
336 + xml? ( dev-libs/libxml2:= )
337 + lzma? ( app-arch/xz-utils )
338 + zlib? ( sys-libs/zlib:= )"
339 +DEPEND="${RDEPEND}
340 + !media-gfx/graphicsmagick[imagemagick]
341 + virtual/pkgconfig
342 + X? ( x11-base/xorg-proto )"
343 +
344 +REQUIRED_USE="corefonts? ( truetype )
345 + test? ( corefonts )"
346 +
347 +S="${WORKDIR}/${MY_P}"
348 +
349 +src_prepare() {
350 + default
351 +
352 + # Apply hardening #664236
353 + cp "${FILESDIR}"/policy-hardening.snippet "${S}" || die
354 + sed -i -e '/^<policymap>$/ {
355 + r policy-hardening.snippet
356 + d
357 + }' \
358 + config/policy.xml || \
359 + die "Failed to apply hardening of policy.xml"
360 + einfo "policy.xml hardened"
361 +
362 + # Install default (unrestricted) policy in $HOME for test suite #664238
363 + local _im_local_config_home="${HOME}/.config/ImageMagick"
364 + mkdir -p "${_im_local_config_home}" || \
365 + die "Failed to create IM config dir in '${_im_local_config_home}'"
366 + cp "${FILESDIR}"/policy.test.xml "${_im_local_config_home}/policy.xml" || \
367 + die "Failed to install default blank policy.xml in '${_im_local_config_home}'"
368 +
369 + elibtoolize # for Darwin modules
370 +
371 + # For testsuite, see https://bugs.gentoo.org/show_bug.cgi?id=500580#c3
372 + local ati_cards mesa_cards nvidia_cards render_cards
373 + shopt -s nullglob
374 + ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g')
375 + if test -n "${ati_cards}"; then
376 + addpredict "${ati_cards}"
377 + fi
378 + mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g')
379 + if test -n "${mesa_cards}"; then
380 + addpredict "${mesa_cards}"
381 + fi
382 + nvidia_cards=$(echo -n /dev/nvidia* | sed 's/ /:/g')
383 + if test -n "${nvidia_cards}"; then
384 + addpredict "${nvidia_cards}"
385 + fi
386 + render_cards=$(echo -n /dev/dri/renderD128* | sed 's/ /:/g')
387 + if test -n "${render_cards}"; then
388 + addpredict "${render_cards}"
389 + fi
390 + shopt -u nullglob
391 + addpredict /dev/nvidiactl
392 +}
393 +
394 +src_configure() {
395 + local depth=16
396 + use q8 && depth=8
397 + use q32 && depth=32
398 +
399 + local openmp=disable
400 + use openmp && { tc-has-openmp && openmp=enable; }
401 +
402 + [[ ${CHOST} == *-solaris* ]] && append-ldflags -lnsl -lsocket
403 +
404 + local myeconfargs=(
405 + $(use_enable static-libs static)
406 + $(use_enable hdri)
407 + $(use_enable opencl)
408 + --with-threads
409 + --with-modules
410 + --with-quantum-depth=${depth}
411 + $(use_with cxx magick-plus-plus)
412 + $(use_with perl)
413 + --with-perl-options='INSTALLDIRS=vendor'
414 + --with-gs-font-dir="${EPREFIX}"/usr/share/fonts/urw-fonts
415 + $(use_with bzip2 bzlib)
416 + $(use_with X x)
417 + $(use_with zlib)
418 + --without-autotrace
419 + $(use_with postscript dps)
420 + $(use_with djvu)
421 + --with-dejavu-font-dir="${EPREFIX}"/usr/share/fonts/dejavu
422 + $(use_with fftw)
423 + $(use_with fpx)
424 + $(use_with fontconfig)
425 + $(use_with truetype freetype)
426 + $(use_with postscript gslib)
427 + $(use_with graphviz gvc)
428 + $(use_with jbig)
429 + $(use_with jpeg)
430 + $(use_with jpeg2k openjp2)
431 + $(use_with lcms)
432 + $(use_with lqr)
433 + $(use_with lzma)
434 + $(use_with openexr)
435 + $(use_with pango)
436 + $(use_with png)
437 + $(use_with raw)
438 + $(use_with svg rsvg)
439 + $(use_with tiff)
440 + $(use_with webp)
441 + $(use_with corefonts windows-font-dir "${EPREFIX}"/usr/share/fonts/corefonts)
442 + $(use_with wmf)
443 + $(use_with xml)
444 + --${openmp}-openmp
445 + --with-gcc-arch=no-automagic
446 + )
447 + CONFIG_SHELL=$(type -P bash) econf "${myeconfargs[@]}"
448 +}
449 +
450 +src_test() {
451 + LD_LIBRARY_PATH="${S}/coders/.libs:${S}/filters/.libs:${S}/Magick++/lib/.libs:${S}/magick/.libs:${S}/wand/.libs" \
452 + emake check
453 +}
454 +
455 +src_install() {
456 + # Ensure documentation installation files and paths with each release!
457 + emake \
458 + DESTDIR="${D}" \
459 + DOCUMENTATION_PATH="${EPREFIX}"/usr/share/doc/${PF}/html \
460 + install
461 +
462 + rm -f "${ED%/}"/usr/share/doc/${PF}/html/{ChangeLog,LICENSE,NEWS.txt}
463 + dodoc {AUTHORS,README}.txt ChangeLog
464 +
465 + if use perl; then
466 + find "${ED}" -type f -name perllocal.pod -exec rm -f {} +
467 + find "${ED}" -depth -mindepth 1 -type d -empty -exec rm -rf {} +
468 + fi
469 +
470 + find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} +
471 +
472 + if use opencl; then
473 + cat <<-EOF > "${T}"/99${PN}
474 + SANDBOX_PREDICT="/dev/nvidiactl:/dev/nvidia-uvm:/dev/ati/card:/dev/dri/card:/dev/dri/renderD128"
475 + EOF
476 +
477 + insinto /etc/sandbox.d
478 + doins "${T}"/99${PN} #472766
479 + fi
480 +
481 + insinto /usr/share/${PN}
482 + doins config/*icm
483 +}
484 +
485 +pkg_postinst() {
486 + local _show_policy_xml_notice=
487 +
488 + if [[ -z "${REPLACING_VERSIONS}" ]]; then
489 + # This is a new installation
490 + _show_policy_xml_notice=yes
491 + else
492 + local v
493 + for v in ${REPLACING_VERSIONS}; do
494 + if ! ver_test "${v}" -gt "7.0.8.10-r2"; then
495 + # This is an upgrade
496 + _show_policy_xml_notice=yes
497 +
498 + # Show this elog only once
499 + break
500 + fi
501 + done
502 + fi
503 +
504 + if [[ -n "${_show_policy_xml_notice}" ]]; then
505 + elog "For security reasons, a policy.xml file was installed in /etc/ImageMagick-7"
506 + elog "which will prevent the usage of the following coders by default:"
507 + elog ""
508 + elog " - PS"
509 + elog " - PS2"
510 + elog " - PS3"
511 + elog " - EPS"
512 + elog " - PDF"
513 + elog " - XPS"
514 + fi
515 +}