commit:     88726f96517bbd745a61a952c5b32351fc10f511
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 24 01:51:21 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 24 01:52:05 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88726f96

media-gfx/imagemagick: sync live

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-gfx/imagemagick/imagemagick-7.1.1.18.ebuild | 15 ++++++++----
 media-gfx/imagemagick/imagemagick-9999.ebuild     | 29 ++++++++++++++++-------
 2 files changed, 31 insertions(+), 13 deletions(-)

diff --git a/media-gfx/imagemagick/imagemagick-7.1.1.18.ebuild 
b/media-gfx/imagemagick/imagemagick-7.1.1.18.ebuild
index 93a5b83426a4..904cbdbc135e 100644
--- a/media-gfx/imagemagick/imagemagick-7.1.1.18.ebuild
+++ b/media-gfx/imagemagick/imagemagick-7.1.1.18.ebuild
@@ -28,9 +28,11 @@ LICENSE="imagemagick"
 SLOT="0/$(ver_cut 1-3)-18"
 IUSE="bzip2 corefonts +cxx djvu fftw fontconfig fpx graphviz hardened 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 )
+REQUIRED_USE="
+       corefonts? ( truetype )
        svg? ( xml )
-       test? ( corefonts )"
+       test? ( corefonts )
+"
 
 RESTRICT="!test? ( test )"
 
@@ -78,9 +80,12 @@ RDEPEND="
        xml? ( dev-libs/libxml2 )
        lzma? ( app-arch/xz-utils )
        zip? ( dev-libs/libzip:= )
-       zlib? ( sys-libs/zlib:= )"
-DEPEND="${RDEPEND}
-       X? ( x11-base/xorg-proto )"
+       zlib? ( sys-libs/zlib:= )
+"
+DEPEND="
+       ${RDEPEND}
+       X? ( x11-base/xorg-proto )
+"
 BDEPEND="virtual/pkgconfig"
 
 PATCHES=(

diff --git a/media-gfx/imagemagick/imagemagick-9999.ebuild 
b/media-gfx/imagemagick/imagemagick-9999.ebuild
index a95c8b48d40c..904cbdbc135e 100644
--- a/media-gfx/imagemagick/imagemagick-9999.ebuild
+++ b/media-gfx/imagemagick/imagemagick-9999.ebuild
@@ -14,7 +14,7 @@ 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 
~x64-solaris"
+       KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos 
~x64-macos ~x64-solaris"
 fi
 
 S="${WORKDIR}/${MY_P}"
@@ -25,12 +25,14 @@ 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"
+SLOT="0/$(ver_cut 1-3)-18"
+IUSE="bzip2 corefonts +cxx djvu fftw fontconfig fpx graphviz hardened 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 )
+REQUIRED_USE="
+       corefonts? ( truetype )
        svg? ( xml )
-       test? ( corefonts )"
+       test? ( corefonts )
+"
 
 RESTRICT="!test? ( test )"
 
@@ -78,9 +80,12 @@ RDEPEND="
        xml? ( dev-libs/libxml2 )
        lzma? ( app-arch/xz-utils )
        zip? ( dev-libs/libzip:= )
-       zlib? ( sys-libs/zlib:= )"
-DEPEND="${RDEPEND}
-       X? ( x11-base/xorg-proto )"
+       zlib? ( sys-libs/zlib:= )
+"
+DEPEND="
+       ${RDEPEND}
+       X? ( x11-base/xorg-proto )
+"
 BDEPEND="virtual/pkgconfig"
 
 PATCHES=(
@@ -177,6 +182,14 @@ src_configure() {
                $(use_with corefonts windows-font-dir 
"${EPREFIX}"/usr/share/fonts/corefonts)
                $(use_with wmf)
                $(use_with xml)
+
+               # Default upstream (as of 6.9.12.96/7.1.1.18 anyway) is open
+               # For now, let's make USE=hardened do 'limited', and have 
USE=-hardened
+               # reflect the upstream default of 'open'.
+               #
+               # We might change it to 'secure' and 'limited' at some point.
+               # See also bug #716674.
+               --with-security-policy=$(usex hardened limited open)
        )
 
        CONFIG_SHELL="${BROOT}"/bin/bash econf "${myeconfargs[@]}"

Reply via email to