From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C51F8158042 for ; Fri, 18 Oct 2024 12:39:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EA028E092B; Fri, 18 Oct 2024 12:39:24 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CE41FE092B for ; Fri, 18 Oct 2024 12:39:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C67F3340C76 for ; Fri, 18 Oct 2024 12:39:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 36067EA0 for ; Fri, 18 Oct 2024 12:39:22 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1729254300.b4b9f72802b4d4be021e6fa77198c5d3d0d1a4d1.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/gimp/, media-gfx/gimp/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/gimp/files/gimp-2.10_libheif-1.18_unconditional_compat.patch media-gfx/gimp/gimp-2.10.34-r2.ebuild media-gfx/gimp/gimp-2.10.34-r3.ebuild media-gfx/gimp/gimp-2.10.36-r2.ebuild media-gfx/gimp/gimp-2.10.36-r3.ebuild media-gfx/gimp/gimp-2.10.36-r4.ebuild media-gfx/gimp/gimp-2.10.36.ebuild media-gfx/gimp/gimp-2.10.38-r1.ebuild media-gfx/gimp/gimp-2.10.38.ebuild X-VCS-Directories: media-gfx/gimp/ media-gfx/gimp/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: b4b9f72802b4d4be021e6fa77198c5d3d0d1a4d1 X-VCS-Branch: master Date: Fri, 18 Oct 2024 12:39:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 731a85ba-c31b-4631-b18a-0d1049c17ab6 X-Archives-Hash: 2e9cf764305ece210cc06c6505f889aa commit: b4b9f72802b4d4be021e6fa77198c5d3d0d1a4d1 Author: Sergey Torokhov yandex ru> AuthorDate: Thu Oct 17 14:08:46 2024 +0000 Commit: Sam James gentoo org> CommitDate: Fri Oct 18 12:25:00 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4b9f728 media-gfx/gimp: gimp-2.10.x, fix media-libs/libheif-1.18 compat Closes: https://bugs.gentoo.org/940915 Signed-off-by: Sergey Torokhov yandex.ru> Closes: https://github.com/gentoo/gentoo/pull/39017 Signed-off-by: Sam James gentoo.org> ...mp-2.10_libheif-1.18_unconditional_compat.patch | 23 ++++++++++++++++++++++ ...mp-2.10.34-r2.ebuild => gimp-2.10.34-r3.ebuild} | 6 +++++- ...{gimp-2.10.36.ebuild => gimp-2.10.36-r3.ebuild} | 6 +++++- ...mp-2.10.36-r2.ebuild => gimp-2.10.36-r4.ebuild} | 6 +++++- ...{gimp-2.10.38.ebuild => gimp-2.10.38-r1.ebuild} | 4 ++++ 5 files changed, 42 insertions(+), 3 deletions(-) diff --git a/media-gfx/gimp/files/gimp-2.10_libheif-1.18_unconditional_compat.patch b/media-gfx/gimp/files/gimp-2.10_libheif-1.18_unconditional_compat.patch new file mode 100644 index 000000000000..cc1e565b6c6d --- /dev/null +++ b/media-gfx/gimp/files/gimp-2.10_libheif-1.18_unconditional_compat.patch @@ -0,0 +1,23 @@ +Gentoo issue: https://bugs.gentoo.org/940915 + +diff '--color=auto' -Naur a/configure.ac b/configure.ac +--- a/configure.ac ++++ b/configure.ac +@@ -1843,13 +1843,13 @@ + can_import_avif=no + can_export_avif=no + if test "x$have_libheif" = xyes; then +- can_import_heic=`$PKG_CONFIG --variable=builtin_h265_decoder libheif` +- can_export_heic=`$PKG_CONFIG --variable=builtin_h265_encoder libheif` ++ can_import_heic=yes ++ can_export_heic=yes + if test "x$can_import_heic" = xyes; then + MIME_TYPES="$MIME_TYPES;image/heif;image/heic" + fi +- can_import_avif=`$PKG_CONFIG --variable=builtin_avif_decoder libheif` +- can_export_avif=`$PKG_CONFIG --variable=builtin_avif_encoder libheif` ++ can_import_avif=yes ++ can_export_avif=yes + if test "x$can_import_avif" = xyes; then + MIME_TYPES="$MIME_TYPES;image/avif" + fi diff --git a/media-gfx/gimp/gimp-2.10.34-r2.ebuild b/media-gfx/gimp/gimp-2.10.34-r3.ebuild similarity index 96% rename from media-gfx/gimp/gimp-2.10.34-r2.ebuild rename to media-gfx/gimp/gimp-2.10.34-r3.ebuild index 697f118424cd..d1af397feaf9 100644 --- a/media-gfx/gimp/gimp-2.10.34-r2.ebuild +++ b/media-gfx/gimp/gimp-2.10.34-r3.ebuild @@ -94,6 +94,10 @@ src_prepare() { sed -i -e 's/== "xquartz"/= "xquartz"/' configure.ac || die #494864 sed 's/-DGIMP_DISABLE_DEPRECATED/-DGIMP_protect_DISABLE_DEPRECATED/g' -i configure.ac || die #615144 + if use heif ; then + has_version -d ">=media-libs/libheif-1.18.0" && eapply "${FILESDIR}/${PN}-2.10_libheif-1.18_unconditional_compat.patch" # 940915 + fi + gnome2_src_prepare # calls eautoreconf sed 's/-DGIMP_protect_DISABLE_DEPRECATED/-DGIMP_DISABLE_DEPRECATED/g' -i configure || die #615144 @@ -192,7 +196,7 @@ src_install() { # precedence on PDF documents by default mv "${ED}"/usr/share/applications/{,zzz-}gimp.desktop || die - find "${D}" -name '*.la' -type f -delete || die + find "${ED}" -name '*.la' -type f -delete || die # Prevent dead symlink gimp-console.1 from downstream man page compression (bug #433527) local gimp_app_version=$(ver_cut 1-2) diff --git a/media-gfx/gimp/gimp-2.10.36.ebuild b/media-gfx/gimp/gimp-2.10.36-r3.ebuild similarity index 96% rename from media-gfx/gimp/gimp-2.10.36.ebuild rename to media-gfx/gimp/gimp-2.10.36-r3.ebuild index 2407c368ab63..e0082d3fdfdb 100644 --- a/media-gfx/gimp/gimp-2.10.36.ebuild +++ b/media-gfx/gimp/gimp-2.10.36-r3.ebuild @@ -93,6 +93,10 @@ src_prepare() { sed -i -e 's/== "xquartz"/= "xquartz"/' configure.ac || die #494864 sed 's/-DGIMP_DISABLE_DEPRECATED/-DGIMP_protect_DISABLE_DEPRECATED/g' -i configure.ac || die #615144 + if use heif ; then + has_version -d ">=media-libs/libheif-1.18.0" && eapply "${FILESDIR}/${PN}-2.10_libheif-1.18_unconditional_compat.patch" # 940915 + fi + gnome2_src_prepare # calls eautoreconf sed 's/-DGIMP_protect_DISABLE_DEPRECATED/-DGIMP_DISABLE_DEPRECATED/g' -i configure || die #615144 @@ -191,7 +195,7 @@ src_install() { # precedence on PDF documents by default mv "${ED}"/usr/share/applications/{,zzz-}gimp.desktop || die - find "${D}" -name '*.la' -type f -delete || die + find "${ED}" -name '*.la' -type f -delete || die # Prevent dead symlink gimp-console.1 from downstream man page compression (bug #433527) local gimp_app_version=$(ver_cut 1-2) diff --git a/media-gfx/gimp/gimp-2.10.36-r2.ebuild b/media-gfx/gimp/gimp-2.10.36-r4.ebuild similarity index 96% rename from media-gfx/gimp/gimp-2.10.36-r2.ebuild rename to media-gfx/gimp/gimp-2.10.36-r4.ebuild index 3f4740a9243d..1acf5d818486 100644 --- a/media-gfx/gimp/gimp-2.10.36-r2.ebuild +++ b/media-gfx/gimp/gimp-2.10.36-r4.ebuild @@ -96,6 +96,10 @@ src_prepare() { sed -i -e 's/== "xquartz"/= "xquartz"/' configure.ac || die #494864 sed 's/-DGIMP_DISABLE_DEPRECATED/-DGIMP_protect_DISABLE_DEPRECATED/g' -i configure.ac || die #615144 + if use heif ; then + has_version -d ">=media-libs/libheif-1.18.0" && eapply "${FILESDIR}/${PN}-2.10_libheif-1.18_unconditional_compat.patch" # 940915 + fi + gnome2_src_prepare # calls eautoreconf sed 's/-DGIMP_protect_DISABLE_DEPRECATED/-DGIMP_DISABLE_DEPRECATED/g' -i configure || die #615144 @@ -194,7 +198,7 @@ src_install() { # precedence on PDF documents by default mv "${ED}"/usr/share/applications/{,zzz-}gimp.desktop || die - find "${D}" -name '*.la' -type f -delete || die + find "${ED}" -name '*.la' -type f -delete || die # Prevent dead symlink gimp-console.1 from downstream man page compression (bug #433527) local gimp_app_version=$(ver_cut 1-2) diff --git a/media-gfx/gimp/gimp-2.10.38.ebuild b/media-gfx/gimp/gimp-2.10.38-r1.ebuild similarity index 97% rename from media-gfx/gimp/gimp-2.10.38.ebuild rename to media-gfx/gimp/gimp-2.10.38-r1.ebuild index 013da52ecc68..89d2bf00caac 100644 --- a/media-gfx/gimp/gimp-2.10.38.ebuild +++ b/media-gfx/gimp/gimp-2.10.38-r1.ebuild @@ -105,6 +105,10 @@ src_prepare() { sed -i -e 's/== "xquartz"/= "xquartz"/' configure.ac || die #494864 sed 's/-DGIMP_DISABLE_DEPRECATED/-DGIMP_protect_DISABLE_DEPRECATED/g' -i configure.ac || die #615144 + if use heif ; then + has_version -d ">=media-libs/libheif-1.18.0" && eapply "${FILESDIR}/${PN}-2.10_libheif-1.18_unconditional_compat.patch" # 940915 + fi + gnome2_src_prepare # calls eautoreconf sed 's/-DGIMP_protect_DISABLE_DEPRECATED/-DGIMP_DISABLE_DEPRECATED/g' -i configure || die #615144