git: 6554e411c85c - main - graphics/gimp-app: fix build with libheif-1.18.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 23 Jul 2024 20:31:32 UTC
The branch main has been updated by makc: URL: https://cgit.FreeBSD.org/ports/commit/?id=6554e411c85c4bb4fdac6ebec08faa2bd9c54823 commit 6554e411c85c4bb4fdac6ebec08faa2bd9c54823 Author: Max Brazhnikov <makc@FreeBSD.org> AuthorDate: 2024-07-23 20:28:15 +0000 Commit: Max Brazhnikov <makc@FreeBSD.org> CommitDate: 2024-07-23 20:31:09 +0000 graphics/gimp-app: fix build with libheif-1.18.1 libheif codecs can be dynamically loaded and it is not possible anymore to determine available codecs at compile time. Assume the required codecs are always available. --- graphics/gimp-app/files/patch-configure | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/graphics/gimp-app/files/patch-configure b/graphics/gimp-app/files/patch-configure index d641b49a766a..d75892b66498 100644 --- a/graphics/gimp-app/files/patch-configure +++ b/graphics/gimp-app/files/patch-configure @@ -1,5 +1,23 @@ ---- configure.orig 2023-11-05 23:51:29 UTC +--- configure.orig 2024-05-03 00:36:33 UTC +++ configure +@@ -30417,13 +30417,13 @@ if test "x$have_libheif" = xyes; then + 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 @@ -34797,9 +34797,9 @@ esac ;; esac