commit:     5e9813aa6f8bbff10a21f2fb34a929fa796a8c42
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sat May  6 20:34:39 2023 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat May  6 20:34:57 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e9813aa

media-gfx/imagemagick: drop 6.9.12.77, 7.1.0.62, 7.1.0.62-r1

Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 media-gfx/imagemagick/Manifest                     |   2 -
 media-gfx/imagemagick/imagemagick-6.9.12.77.ebuild | 271 --------------------
 .../imagemagick/imagemagick-7.1.0.62-r1.ebuild     | 281 ---------------------
 media-gfx/imagemagick/imagemagick-7.1.0.62.ebuild  | 280 --------------------
 4 files changed, 834 deletions(-)

diff --git a/media-gfx/imagemagick/Manifest b/media-gfx/imagemagick/Manifest
index 4abd732ab107..044b6d43a64d 100644
--- a/media-gfx/imagemagick/Manifest
+++ b/media-gfx/imagemagick/Manifest
@@ -1,6 +1,4 @@
-DIST ImageMagick-6.9.12-77.tar.xz 9220608 BLAKE2B 
11050da1710f381084f6758f0665270974c1913e164a0f4b1ee51433948fcf3b4c60c6b7cf5bc4be4958ef863bb14cb3311b08a1aff60907dc595c31eadcc67f
 SHA512 
ab6ad08496f955af28ed16669690fa07222ea741c62a4f98e1ae2b80a916557263d1ccbe66b3470c5edd3f0422bf626149560ae3574f76425ede69910b48faa2
 DIST ImageMagick-6.9.12-84.tar.xz 9264140 BLAKE2B 
5d26cc4921d5fcf8b98a126816c3f03ba8c925fef02aab49b50b54cc9275f412a35797a0a5200e6de41b7fcec1c3936aaa6139227568adb80070141cd19bb805
 SHA512 
5b1294e171fe627d8197b771417b9939516175a36b6f33bc82f62558fbf6af7bd26dc357a17da44d73429e4dc56f79f8c8770e2ffa040b0fac31663d31fb4ef3
 DIST ImageMagick-6.9.12-86.tar.xz 9259744 BLAKE2B 
dd87e8b7e4826ba0da239315b4acf0b92b05f08f88eb2f10b2b044d779eb317118d63f2a892b75a02e392e2eeadbb516289da1e3ccd3ad88e3feead3d3c2b239
 SHA512 
c391d40c0c0e3b34e3df28a0509bf7535cc18453b432e7dd0427b41298fb5f72a3b5d6ecc9edb37d8e298a7254abc7ac2a09e033dcfa4bcf722ce5cb188a8c71
-DIST ImageMagick-7.1.0-62.tar.xz 10359080 BLAKE2B 
6f0c91f81cd7c43017b3b58b5bea032ef8ccdbbede05b1963e647d39813153d20f11cc24d3b7b50d5455a6c3075e765f468bdcf2b88725b2f37d139a2326956c
 SHA512 
db299bc84585b1f37d6fb5bfbc08264b19f4aa1b3e3dc28f14606310c5150ad103b8456d0856c1fae1efed137e0b02eb2beeccb504dfa39a10cb2aaacbfe47d3
 DIST ImageMagick-7.1.1-6.tar.xz 10392592 BLAKE2B 
ed02f36d0014f2699db5df0eb1cf3b18ccbdbee92e3a3bcfb85084672faeb984c6bb27cdf46349768f936ac91ebac744aa00fa3a95fcf1f02a4969f315d2079d
 SHA512 
52aa9aca4d987ee8f2142ce2e192230465399435d0cd7e64683349d0da1f52f2fbd03a2c667605c0c9da66435f84df173c60b7eb93ecada691e801e08dd9fd48
 DIST ImageMagick-7.1.1-8.tar.xz 10402336 BLAKE2B 
dd2f2b1fb1a42ae2da4d02cbb7d0d4c4afa6877f5b98a3b7d6cc2d3ce74fea5a2a30bf1680cdbf44fd3b37d40cb1957aebb12cf5f2dcc88b4ea90539218ed4e3
 SHA512 
99e786fe72465e414766cbef4f26fe48d89d6ea7a996197f9cc6b96492eacc8a9873b5440a7cd96bf097fafef6ff4765674d2295f4743b3c32eb2ff2dc9348ea

diff --git a/media-gfx/imagemagick/imagemagick-6.9.12.77.ebuild 
b/media-gfx/imagemagick/imagemagick-6.9.12.77.ebuild
deleted file mode 100644
index f7af824d63f1..000000000000
--- a/media-gfx/imagemagick/imagemagick-6.9.12.77.ebuild
+++ /dev/null
@@ -1,271 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-QA_PKGCONFIG_VERSION=$(ver_cut 1-3)
-inherit flag-o-matic libtool perl-functions toolchain-funcs
-
-if [[ ${PV} == 9999 ]] ; then
-       EGIT_REPO_URI="https://github.com/ImageMagick/ImageMagick6.git";
-       inherit git-r3
-       MY_P="imagemagick-9999"
-else
-       MY_PV="$(ver_rs 3 '-')"
-       MY_P="ImageMagick-${MY_PV}"
-       SRC_URI="mirror://imagemagick/${MY_P}.tar.xz"
-       KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc 
x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris 
~x86-solaris"
-fi
-
-S="${WORKDIR}/${MY_P}"
-
-DESCRIPTION="A collection of tools and libraries for many image formats"
-HOMEPAGE="https://www.imagemagick.org/";
-
-LICENSE="imagemagick"
-# Please check this on bumps, SONAME is often not updated! Use abidiff on 
old/new.
-# If ABI is broken, change the bit after the '-'.
-SLOT="0/$(ver_cut 1-3)-58"
-IUSE="bzip2 corefonts +cxx djvu fftw fontconfig fpx graphviz hdri heif 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"
-
-REQUIRED_USE="corefonts? ( truetype )
-       svg? ( xml )
-       test? ( corefonts )"
-
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-       !media-gfx/graphicsmagick[imagemagick]
-       dev-libs/libltdl
-       bzip2? ( app-arch/bzip2 )
-       corefonts? ( media-fonts/corefonts )
-       djvu? ( app-text/djvu )
-       fftw? ( sci-libs/fftw:3.0 )
-       fontconfig? ( media-libs/fontconfig )
-       fpx? ( >=media-libs/libfpx-1.3.0-r1 )
-       graphviz? ( media-gfx/graphviz )
-       heif? ( media-libs/libheif:=[x265] )
-       jbig? ( >=media-libs/jbigkit-2:= )
-       jpeg? ( media-libs/libjpeg-turbo:= )
-       jpeg2k? ( >=media-libs/openjpeg-2.1.0:2 )
-       lcms? ( media-libs/lcms:2= )
-       lqr? ( media-libs/liblqr )
-       opencl? ( virtual/opencl )
-       openexr? ( media-libs/openexr:0= )
-       pango? ( x11-libs/pango )
-       perl? ( >=dev-lang/perl-5.8.8:= )
-       png? ( media-libs/libpng:= )
-       postscript? ( app-text/ghostscript-gpl:= )
-       raw? ( media-libs/libraw:= )
-       svg? (
-               gnome-base/librsvg
-               media-gfx/potrace
-       )
-       tiff? ( media-libs/tiff:= )
-       truetype? (
-               media-fonts/urw-fonts
-               >=media-libs/freetype-2
-       )
-       webp? ( media-libs/libwebp:= )
-       wmf? ( media-libs/libwmf )
-       X? (
-               x11-libs/libICE
-               x11-libs/libSM
-               x11-libs/libXext
-               x11-libs/libXt
-       )
-       xml? ( dev-libs/libxml2 )
-       lzma? ( app-arch/xz-utils )
-       zlib? ( sys-libs/zlib:= )"
-DEPEND="${RDEPEND}
-       X? ( x11-base/xorg-proto )"
-BDEPEND="virtual/pkgconfig"
-
-pkg_pretend() {
-       [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-}
-
-pkg_setup() {
-       [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-}
-
-src_prepare() {
-       default
-
-       # Apply hardening, bug #664236
-       cp "${FILESDIR}"/policy-hardening.snippet "${S}" || die
-       sed -i -e '/^<policymap>$/ {
-                       r policy-hardening.snippet
-                       d
-               }' \
-               config/policy.xml || \
-               die "Failed to apply hardening of policy.xml"
-       einfo "policy.xml hardened"
-
-       # for Darwin modules
-       elibtoolize
-
-       # For testsuite, see bug #500580#c3
-       local ati_cards mesa_cards nvidia_cards render_cards
-       shopt -s nullglob
-       ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g')
-       if test -n "${ati_cards}"; then
-               addpredict "${ati_cards}"
-       fi
-       mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g')
-       if test -n "${mesa_cards}"; then
-               addpredict "${mesa_cards}"
-       fi
-       nvidia_cards=$(echo -n /dev/nvidia* | sed 's/ /:/g')
-       if test -n "${nvidia_cards}"; then
-               addpredict "${nvidia_cards}"
-       fi
-       render_cards=$(echo -n /dev/dri/renderD128* | sed 's/ /:/g')
-       if test -n "${render_cards}"; then
-               addpredict "${render_cards}"
-       fi
-       shopt -u nullglob
-       addpredict /dev/nvidiactl
-}
-
-src_configure() {
-       local depth=16
-       use q8 && depth=8
-       use q32 && depth=32
-
-       use perl && perl_check_env
-
-       [[ ${CHOST} == *-solaris* ]] && append-ldflags -lnsl -lsocket
-
-       local myeconfargs=(
-               $(use_enable static-libs static)
-               $(use_enable hdri)
-               $(use_enable opencl)
-               $(use_enable openmp)
-               --with-threads
-               --with-modules
-               --with-quantum-depth=${depth}
-               $(use_with cxx magick-plus-plus)
-               $(use_with perl)
-               --with-perl-options='INSTALLDIRS=vendor'
-               --with-gs-font-dir="${EPREFIX}"/usr/share/fonts/urw-fonts
-               $(use_with bzip2 bzlib)
-               $(use_with X x)
-               $(use_with zlib)
-               --without-autotrace
-               $(use_with postscript dps)
-               $(use_with djvu)
-               --with-dejavu-font-dir="${EPREFIX}"/usr/share/fonts/dejavu
-               $(use_with fftw)
-               $(use_with fpx)
-               $(use_with fontconfig)
-               $(use_with truetype freetype)
-               $(use_with postscript gslib)
-               $(use_with graphviz gvc)
-               $(use_with heif heic)
-               $(use_with jbig)
-               $(use_with jpeg)
-               $(use_with jpeg2k openjp2)
-               $(use_with lcms)
-               $(use_with lqr)
-               $(use_with lzma)
-               $(use_with openexr)
-               $(use_with pango)
-               $(use_with png)
-               $(use_with raw)
-               $(use_with svg rsvg)
-               $(use_with tiff)
-               $(use_with webp)
-               $(use_with corefonts windows-font-dir 
"${EPREFIX}"/usr/share/fonts/corefonts)
-               $(use_with wmf)
-               $(use_with xml)
-               --with-gcc-arch=no-automagic
-       )
-
-       CONFIG_SHELL="${BROOT}"/bin/bash econf "${myeconfargs[@]}"
-}
-
-src_test() {
-       # Install default (unrestricted) policy in ${HOME} for test suite, bug 
#664238
-       local _im_local_config_home="${HOME}/.config/ImageMagick"
-       mkdir -p "${_im_local_config_home}" || \
-               die "Failed to create IM config dir in 
'${_im_local_config_home}'"
-       cp "${FILESDIR}"/policy.test.xml "${_im_local_config_home}/policy.xml" 
|| \
-               die "Failed to install default blank policy.xml in 
'${_im_local_config_home}'"
-
-       local im_command= IM_COMMANDS=()
-       IM_COMMANDS+=( "identify -version | grep -q -- \"${MY_PV}\"" ) # Verify 
that we are using version we just built
-       IM_COMMANDS+=( "identify -list policy" ) # Verify that policy.xml is 
used
-       IM_COMMANDS+=( "emake check" ) # Run tests
-
-       for im_command in "${IM_COMMANDS[@]}"; do
-               eval "${S}"/magick.sh \
-                       ${im_command} || \
-                       die "Failed to run \"${im_command}\""
-       done
-}
-
-src_install() {
-       # Ensure documentation installation files and paths with each release!
-       emake \
-               DESTDIR="${D}" \
-               DOCUMENTATION_PATH="${EPREFIX}"/usr/share/doc/${PF}/html \
-               install
-
-       rm -f "${ED}"/usr/share/doc/${PF}/html/{ChangeLog,LICENSE,NEWS.txt}
-       dodoc {AUTHORS,README}.txt
-
-       if use perl; then
-               find "${ED}" -type f -name perllocal.pod -exec rm -f {} +
-               find "${ED}" -depth -mindepth 1 -type d -empty -exec rm -rf {} +
-       fi
-
-       find "${ED}" -name '*.la' -exec sed -i -e 
"/^dependency_libs/s:=.*:='':" {} +
-       # .la files in parent are not needed, keep plugin .la files
-       find "${ED}"/usr/$(get_libdir)/ -maxdepth 1 -name "*.la" -delete || die
-
-       if use opencl; then
-               cat <<-EOF > "${T}"/99${PN}
-               
SANDBOX_PREDICT="/dev/nvidiactl:/dev/nvidia-uvm:/dev/ati/card:/dev/dri/card:/dev/dri/card0:/dev/dri/renderD128"
-               EOF
-
-               insinto /etc/sandbox.d
-               # bug #472766
-               doins "${T}"/99${PN}
-       fi
-
-       insinto /usr/share/${PN}
-       doins config/*icm
-}
-
-pkg_postinst() {
-       local _show_policy_xml_notice=
-
-       if [[ -z "${REPLACING_VERSIONS}" ]]; then
-               # This is a new installation
-               _show_policy_xml_notice=yes
-       else
-               local v
-               for v in ${REPLACING_VERSIONS}; do
-                       if ! ver_test "${v}" -gt "6.9.10.10-r2"; then
-                               # This is an upgrade
-                               _show_policy_xml_notice=yes
-
-                               # Show this elog only once
-                               break
-                       fi
-               done
-       fi
-
-       if [[ -n "${_show_policy_xml_notice}" ]]; then
-               elog "For security reasons, a policy.xml file was installed in 
/etc/ImageMagick-6"
-               elog "which will prevent the usage of the following coders by 
default:"
-               elog ""
-               elog "  - PS"
-               elog "  - PS2"
-               elog "  - PS3"
-               elog "  - EPS"
-               elog "  - PDF"
-               elog "  - XPS"
-       fi
-}

diff --git a/media-gfx/imagemagick/imagemagick-7.1.0.62-r1.ebuild 
b/media-gfx/imagemagick/imagemagick-7.1.0.62-r1.ebuild
deleted file mode 100644
index 085bd89a9b6a..000000000000
--- a/media-gfx/imagemagick/imagemagick-7.1.0.62-r1.ebuild
+++ /dev/null
@@ -1,281 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-QA_PKGCONFIG_VERSION=$(ver_cut 1-3)
-inherit autotools flag-o-matic perl-functions toolchain-funcs
-
-if [[ ${PV} == 9999 ]] ; then
-       EGIT_REPO_URI="https://github.com/ImageMagick/ImageMagick.git";
-       inherit git-r3
-       MY_P="imagemagick-9999"
-else
-       MY_PV="$(ver_rs 3 '-')"
-       MY_P="ImageMagick-${MY_PV}"
-       SRC_URI="mirror://imagemagick/${MY_P}.tar.xz"
-       KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~x64-solaris ~x86-solaris"
-fi
-
-S="${WORKDIR}/${MY_P}"
-
-DESCRIPTION="A collection of tools and libraries for many image formats"
-HOMEPAGE="https://www.imagemagick.org/";
-
-LICENSE="imagemagick"
-# Please check this on bumps, SONAME is often not updated! Use abidiff on 
old/new.
-# If ABI is broken, change the bit after the '-'.
-SLOT="0/$(ver_cut 1-3)-43"
-IUSE="bzip2 corefonts +cxx djvu fftw fontconfig fpx graphviz hdri heif jbig 
jpeg jpeg2k jpegxl lcms lqr lzma opencl openexr openmp pango perl +png 
postscript q32 q8 raw static-libs svg test tiff truetype webp wmf X xml zip 
zlib"
-
-REQUIRED_USE="corefonts? ( truetype )
-       svg? ( xml )
-       test? ( corefonts )"
-
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-       !media-gfx/graphicsmagick[imagemagick]
-       dev-libs/libltdl
-       bzip2? ( app-arch/bzip2 )
-       corefonts? ( media-fonts/corefonts )
-       djvu? ( app-text/djvu )
-       fftw? ( sci-libs/fftw:3.0 )
-       fontconfig? ( media-libs/fontconfig )
-       fpx? ( >=media-libs/libfpx-1.3.0-r1 )
-       graphviz? ( media-gfx/graphviz )
-       heif? ( media-libs/libheif:=[x265] )
-       jbig? ( >=media-libs/jbigkit-2:= )
-       jpeg? ( media-libs/libjpeg-turbo:= )
-       jpeg2k? ( >=media-libs/openjpeg-2.1.0:2 )
-       jpegxl? ( >=media-libs/libjxl-0.6 )
-       lcms? ( media-libs/lcms:2= )
-       lqr? ( media-libs/liblqr )
-       opencl? ( virtual/opencl )
-       openexr? ( media-libs/openexr:0= )
-       pango? ( x11-libs/pango )
-       perl? ( >=dev-lang/perl-5.8.8:= )
-       png? ( media-libs/libpng:= )
-       postscript? ( app-text/ghostscript-gpl:= )
-       raw? ( media-libs/libraw:= )
-       svg? (
-               gnome-base/librsvg
-               media-gfx/potrace
-       )
-       tiff? ( media-libs/tiff:= )
-       truetype? (
-               media-fonts/urw-fonts
-               >=media-libs/freetype-2
-       )
-       webp? ( media-libs/libwebp:= )
-       wmf? ( media-libs/libwmf )
-       X? (
-               x11-libs/libICE
-               x11-libs/libSM
-               x11-libs/libXext
-               x11-libs/libXt
-       )
-       xml? ( dev-libs/libxml2 )
-       lzma? ( app-arch/xz-utils )
-       zip? ( dev-libs/libzip:= )
-       zlib? ( sys-libs/zlib:= )"
-DEPEND="${RDEPEND}
-       X? ( x11-base/xorg-proto )"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=(
-       "${FILESDIR}/${PN}-9999-nocputuning.patch"
-)
-
-pkg_pretend() {
-       [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-}
-
-pkg_setup() {
-       [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-}
-
-src_prepare() {
-       default
-
-       #elibtoolize # for Darwin modules
-       eautoreconf
-
-       # Apply hardening, bug #664236
-       cp "${FILESDIR}"/policy-hardening.snippet "${S}" || die
-       sed -i -e '/^<policymap>$/ {
-                       r policy-hardening.snippet
-                       d
-               }' \
-               config/policy.xml || \
-               die "Failed to apply hardening of policy.xml"
-       einfo "policy.xml hardened"
-
-       # For testsuite, see https://bugs.gentoo.org/show_bug.cgi?id=500580#c3
-       local ati_cards mesa_cards nvidia_cards render_cards
-       shopt -s nullglob
-       ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g')
-       if test -n "${ati_cards}"; then
-               addpredict "${ati_cards}"
-       fi
-       mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g')
-       if test -n "${mesa_cards}"; then
-               addpredict "${mesa_cards}"
-       fi
-       nvidia_cards=$(echo -n /dev/nvidia* | sed 's/ /:/g')
-       if test -n "${nvidia_cards}"; then
-               addpredict "${nvidia_cards}"
-       fi
-       render_cards=$(echo -n /dev/dri/renderD128* | sed 's/ /:/g')
-       if test -n "${render_cards}"; then
-               addpredict "${render_cards}"
-       fi
-       shopt -u nullglob
-       addpredict /dev/nvidiactl
-}
-
-src_configure() {
-       local depth=16
-       use q8 && depth=8
-       use q32 && depth=32
-
-       use perl && perl_check_env
-
-       [[ ${CHOST} == *-solaris* ]] && append-ldflags -lnsl -lsocket
-
-       local myeconfargs=(
-               $(use_enable static-libs static)
-               $(use_enable hdri)
-               $(use_enable opencl)
-               $(use_enable openmp)
-               --with-threads
-               --with-modules
-               --with-quantum-depth=${depth}
-               $(use_with cxx magick-plus-plus)
-               $(use_with perl)
-               --with-perl-options='INSTALLDIRS=vendor'
-               --with-gs-font-dir="${EPREFIX}"/usr/share/fonts/urw-fonts
-               $(use_with bzip2 bzlib)
-               $(use_with X x)
-               $(use_with zip)
-               $(use_with zlib)
-               --without-autotrace
-               $(use_with postscript dps)
-               $(use_with djvu)
-               --with-dejavu-font-dir="${EPREFIX}"/usr/share/fonts/dejavu
-               $(use_with fftw)
-               $(use_with fpx)
-               $(use_with fontconfig)
-               $(use_with truetype freetype)
-               $(use_with postscript gslib)
-               $(use_with graphviz gvc)
-               $(use_with heif heic)
-               $(use_with jbig)
-               $(use_with jpeg)
-               $(use_with jpeg2k openjp2)
-               $(use_with jpegxl jxl)
-               $(use_with lcms)
-               $(use_with lqr)
-               $(use_with lzma)
-               $(use_with openexr)
-               $(use_with pango)
-               $(use_with png)
-               $(use_with raw)
-               $(use_with svg rsvg)
-               $(use_with tiff)
-               $(use_with webp)
-               $(use_with corefonts windows-font-dir 
"${EPREFIX}"/usr/share/fonts/corefonts)
-               $(use_with wmf)
-               $(use_with xml)
-       )
-
-       CONFIG_SHELL="${BROOT}"/bin/bash econf "${myeconfargs[@]}"
-}
-
-src_test() {
-       # Install default (unrestricted) policy in $HOME for test suite, bug 
#664238
-       local _im_local_config_home="${HOME}/.config/ImageMagick"
-       mkdir -p "${_im_local_config_home}" || \
-               die "Failed to create IM config dir in 
'${_im_local_config_home}'"
-       cp "${FILESDIR}"/policy.test.xml "${_im_local_config_home}/policy.xml" 
|| \
-               die "Failed to install default blank policy.xml in 
'${_im_local_config_home}'"
-
-       local im_command= IM_COMMANDS=()
-       if [[ ${PV} == 9999 ]] ; then
-               IM_COMMANDS+=( "magick -version" ) # Show version we are using 
-- cannot verify because of live ebuild
-       else
-               IM_COMMANDS+=( "magick -version | grep -q -- \"${MY_PV}\"" ) # 
Verify that we are using version we just built
-       fi
-       IM_COMMANDS+=( "magick -list policy" ) # Verify that policy.xml is used
-       IM_COMMANDS+=( "emake check" ) # Run tests
-
-       for im_command in "${IM_COMMANDS[@]}"; do
-               eval "${S}"/magick.sh \
-                       ${im_command} || \
-                       die "Failed to run \"${im_command}\""
-       done
-}
-
-src_install() {
-       # Ensure documentation installation files and paths with each release!
-       emake \
-               DESTDIR="${D}" \
-               DOCUMENTATION_PATH="${EPREFIX}"/usr/share/doc/${PF}/html \
-               install
-
-       rm -f "${ED}"/usr/share/doc/${PF}/html/{ChangeLog,LICENSE,NEWS.txt}
-       dodoc {AUTHORS,README}.txt
-
-       if use perl; then
-               find "${ED}" -type f -name perllocal.pod -exec rm -f {} +
-               find "${ED}" -depth -mindepth 1 -type d -empty -exec rm -rf {} +
-       fi
-
-       find "${ED}" -name '*.la' -exec sed -i -e 
"/^dependency_libs/s:=.*:='':" {} +
-       # .la files in parent are not needed, keep plugin .la files
-       find "${ED}"/usr/$(get_libdir)/ -maxdepth 1 -name "*.la" -delete || die
-
-       if use opencl; then
-               cat <<-EOF > "${T}"/99${PN}
-               
SANDBOX_PREDICT="/dev/nvidiactl:/dev/nvidia-uvm:/dev/ati/card:/dev/dri/card:/dev/dri/card0:/dev/dri/renderD128"
-               EOF
-
-               insinto /etc/sandbox.d
-               doins "${T}"/99${PN} #472766
-       fi
-
-       insinto /usr/share/${PN}
-       doins config/*icm
-}
-
-pkg_postinst() {
-       local _show_policy_xml_notice=
-
-       if [[ -z "${REPLACING_VERSIONS}" ]]; then
-               # This is a new installation
-               _show_policy_xml_notice=yes
-       else
-               local v
-               for v in ${REPLACING_VERSIONS}; do
-                       if ! ver_test "${v}" -gt "7.0.8.10-r2"; then
-                               # This is an upgrade
-                               _show_policy_xml_notice=yes
-
-                               # Show this elog only once
-                               break
-                       fi
-               done
-       fi
-
-       if [[ -n "${_show_policy_xml_notice}" ]]; then
-               elog "For security reasons, a policy.xml file was installed in 
/etc/ImageMagick-7"
-               elog "which will prevent the usage of the following coders by 
default:"
-               elog ""
-               elog "  - PS"
-               elog "  - PS2"
-               elog "  - PS3"
-               elog "  - EPS"
-               elog "  - PDF"
-               elog "  - XPS"
-       fi
-}

diff --git a/media-gfx/imagemagick/imagemagick-7.1.0.62.ebuild 
b/media-gfx/imagemagick/imagemagick-7.1.0.62.ebuild
deleted file mode 100644
index 48d378b31d11..000000000000
--- a/media-gfx/imagemagick/imagemagick-7.1.0.62.ebuild
+++ /dev/null
@@ -1,280 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-QA_PKGCONFIG_VERSION=$(ver_cut 1-3)
-inherit autotools flag-o-matic perl-functions toolchain-funcs
-
-if [[ ${PV} == 9999 ]] ; then
-       EGIT_REPO_URI="https://github.com/ImageMagick/ImageMagick.git";
-       inherit git-r3
-       MY_P="imagemagick-9999"
-else
-       MY_PV="$(ver_rs 3 '-')"
-       MY_P="ImageMagick-${MY_PV}"
-       SRC_URI="mirror://imagemagick/${MY_P}.tar.xz"
-       KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~x64-solaris ~x86-solaris"
-fi
-
-S="${WORKDIR}/${MY_P}"
-
-DESCRIPTION="A collection of tools and libraries for many image formats"
-HOMEPAGE="https://www.imagemagick.org/";
-
-LICENSE="imagemagick"
-# Please check this on bumps, SONAME is often not updated! Use abidiff on 
old/new.
-# If ABI is broken, change the bit after the '-'.
-SLOT="0/$(ver_cut 1-3)-43"
-IUSE="bzip2 corefonts +cxx djvu fftw fontconfig fpx graphviz hdri heif 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 zip zlib"
-
-REQUIRED_USE="corefonts? ( truetype )
-       svg? ( xml )
-       test? ( corefonts )"
-
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-       !media-gfx/graphicsmagick[imagemagick]
-       dev-libs/libltdl
-       bzip2? ( app-arch/bzip2 )
-       corefonts? ( media-fonts/corefonts )
-       djvu? ( app-text/djvu )
-       fftw? ( sci-libs/fftw:3.0 )
-       fontconfig? ( media-libs/fontconfig )
-       fpx? ( >=media-libs/libfpx-1.3.0-r1 )
-       graphviz? ( media-gfx/graphviz )
-       heif? ( media-libs/libheif:=[x265] )
-       jbig? ( >=media-libs/jbigkit-2:= )
-       jpeg? ( media-libs/libjpeg-turbo:= )
-       jpeg2k? ( >=media-libs/openjpeg-2.1.0:2 )
-       lcms? ( media-libs/lcms:2= )
-       lqr? ( media-libs/liblqr )
-       opencl? ( virtual/opencl )
-       openexr? ( media-libs/openexr:0= )
-       pango? ( x11-libs/pango )
-       perl? ( >=dev-lang/perl-5.8.8:= )
-       png? ( media-libs/libpng:= )
-       postscript? ( app-text/ghostscript-gpl:= )
-       raw? ( media-libs/libraw:= )
-       svg? (
-               gnome-base/librsvg
-               media-gfx/potrace
-       )
-       tiff? ( media-libs/tiff:= )
-       truetype? (
-               media-fonts/urw-fonts
-               >=media-libs/freetype-2
-       )
-       webp? ( media-libs/libwebp:= )
-       wmf? ( media-libs/libwmf )
-       X? (
-               x11-libs/libICE
-               x11-libs/libSM
-               x11-libs/libXext
-               x11-libs/libXt
-       )
-       xml? ( dev-libs/libxml2 )
-       lzma? ( app-arch/xz-utils )
-       zip? ( dev-libs/libzip:= )
-       zlib? ( sys-libs/zlib:= )"
-DEPEND="${RDEPEND}
-       X? ( x11-base/xorg-proto )"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=(
-       "${FILESDIR}/${PN}-9999-nocputuning.patch"
-)
-
-pkg_pretend() {
-       [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-}
-
-pkg_setup() {
-       [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-}
-
-src_prepare() {
-       default
-
-       #elibtoolize # for Darwin modules
-       eautoreconf
-
-       # Apply hardening, bug #664236
-       cp "${FILESDIR}"/policy-hardening.snippet "${S}" || die
-       sed -i -e '/^<policymap>$/ {
-                       r policy-hardening.snippet
-                       d
-               }' \
-               config/policy.xml || \
-               die "Failed to apply hardening of policy.xml"
-       einfo "policy.xml hardened"
-
-       # For testsuite, see https://bugs.gentoo.org/show_bug.cgi?id=500580#c3
-       local ati_cards mesa_cards nvidia_cards render_cards
-       shopt -s nullglob
-       ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g')
-       if test -n "${ati_cards}"; then
-               addpredict "${ati_cards}"
-       fi
-       mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g')
-       if test -n "${mesa_cards}"; then
-               addpredict "${mesa_cards}"
-       fi
-       nvidia_cards=$(echo -n /dev/nvidia* | sed 's/ /:/g')
-       if test -n "${nvidia_cards}"; then
-               addpredict "${nvidia_cards}"
-       fi
-       render_cards=$(echo -n /dev/dri/renderD128* | sed 's/ /:/g')
-       if test -n "${render_cards}"; then
-               addpredict "${render_cards}"
-       fi
-       shopt -u nullglob
-       addpredict /dev/nvidiactl
-}
-
-src_configure() {
-       local depth=16
-       use q8 && depth=8
-       use q32 && depth=32
-
-       use perl && perl_check_env
-
-       [[ ${CHOST} == *-solaris* ]] && append-ldflags -lnsl -lsocket
-
-       local myeconfargs=(
-               $(use_enable static-libs static)
-               $(use_enable hdri)
-               $(use_enable opencl)
-               $(use_enable openmp)
-               --with-threads
-               --with-modules
-               --with-quantum-depth=${depth}
-               $(use_with cxx magick-plus-plus)
-               $(use_with perl)
-               --with-perl-options='INSTALLDIRS=vendor'
-               --with-gs-font-dir="${EPREFIX}"/usr/share/fonts/urw-fonts
-               $(use_with bzip2 bzlib)
-               $(use_with X x)
-               $(use_with zip)
-               $(use_with zlib)
-               --without-autotrace
-               $(use_with postscript dps)
-               $(use_with djvu)
-               --with-dejavu-font-dir="${EPREFIX}"/usr/share/fonts/dejavu
-               $(use_with fftw)
-               $(use_with fpx)
-               $(use_with fontconfig)
-               $(use_with truetype freetype)
-               $(use_with postscript gslib)
-               $(use_with graphviz gvc)
-               $(use_with heif heic)
-               $(use_with jbig)
-               $(use_with jpeg)
-               $(use_with jpeg2k openjp2)
-               --without-jxl
-               $(use_with lcms)
-               $(use_with lqr)
-               $(use_with lzma)
-               $(use_with openexr)
-               $(use_with pango)
-               $(use_with png)
-               $(use_with raw)
-               $(use_with svg rsvg)
-               $(use_with tiff)
-               $(use_with webp)
-               $(use_with corefonts windows-font-dir 
"${EPREFIX}"/usr/share/fonts/corefonts)
-               $(use_with wmf)
-               $(use_with xml)
-       )
-
-       CONFIG_SHELL="${BROOT}"/bin/bash econf "${myeconfargs[@]}"
-}
-
-src_test() {
-       # Install default (unrestricted) policy in $HOME for test suite, bug 
#664238
-       local _im_local_config_home="${HOME}/.config/ImageMagick"
-       mkdir -p "${_im_local_config_home}" || \
-               die "Failed to create IM config dir in 
'${_im_local_config_home}'"
-       cp "${FILESDIR}"/policy.test.xml "${_im_local_config_home}/policy.xml" 
|| \
-               die "Failed to install default blank policy.xml in 
'${_im_local_config_home}'"
-
-       local im_command= IM_COMMANDS=()
-       if [[ ${PV} == 9999 ]] ; then
-               IM_COMMANDS+=( "magick -version" ) # Show version we are using 
-- cannot verify because of live ebuild
-       else
-               IM_COMMANDS+=( "magick -version | grep -q -- \"${MY_PV}\"" ) # 
Verify that we are using version we just built
-       fi
-       IM_COMMANDS+=( "magick -list policy" ) # Verify that policy.xml is used
-       IM_COMMANDS+=( "emake check" ) # Run tests
-
-       for im_command in "${IM_COMMANDS[@]}"; do
-               eval "${S}"/magick.sh \
-                       ${im_command} || \
-                       die "Failed to run \"${im_command}\""
-       done
-}
-
-src_install() {
-       # Ensure documentation installation files and paths with each release!
-       emake \
-               DESTDIR="${D}" \
-               DOCUMENTATION_PATH="${EPREFIX}"/usr/share/doc/${PF}/html \
-               install
-
-       rm -f "${ED}"/usr/share/doc/${PF}/html/{ChangeLog,LICENSE,NEWS.txt}
-       dodoc {AUTHORS,README}.txt
-
-       if use perl; then
-               find "${ED}" -type f -name perllocal.pod -exec rm -f {} +
-               find "${ED}" -depth -mindepth 1 -type d -empty -exec rm -rf {} +
-       fi
-
-       find "${ED}" -name '*.la' -exec sed -i -e 
"/^dependency_libs/s:=.*:='':" {} +
-       # .la files in parent are not needed, keep plugin .la files
-       find "${ED}"/usr/$(get_libdir)/ -maxdepth 1 -name "*.la" -delete || die
-
-       if use opencl; then
-               cat <<-EOF > "${T}"/99${PN}
-               
SANDBOX_PREDICT="/dev/nvidiactl:/dev/nvidia-uvm:/dev/ati/card:/dev/dri/card:/dev/dri/card0:/dev/dri/renderD128"
-               EOF
-
-               insinto /etc/sandbox.d
-               doins "${T}"/99${PN} #472766
-       fi
-
-       insinto /usr/share/${PN}
-       doins config/*icm
-}
-
-pkg_postinst() {
-       local _show_policy_xml_notice=
-
-       if [[ -z "${REPLACING_VERSIONS}" ]]; then
-               # This is a new installation
-               _show_policy_xml_notice=yes
-       else
-               local v
-               for v in ${REPLACING_VERSIONS}; do
-                       if ! ver_test "${v}" -gt "7.0.8.10-r2"; then
-                               # This is an upgrade
-                               _show_policy_xml_notice=yes
-
-                               # Show this elog only once
-                               break
-                       fi
-               done
-       fi
-
-       if [[ -n "${_show_policy_xml_notice}" ]]; then
-               elog "For security reasons, a policy.xml file was installed in 
/etc/ImageMagick-7"
-               elog "which will prevent the usage of the following coders by 
default:"
-               elog ""
-               elog "  - PS"
-               elog "  - PS2"
-               elog "  - PS3"
-               elog "  - EPS"
-               elog "  - PDF"
-               elog "  - XPS"
-       fi
-}

Reply via email to