Re: git: 61a70ba8b94b - main - graphics/libheif: update to 1.19.1
- In reply to: Max Brazhnikov : "git: 61a70ba8b94b - main - graphics/libheif: update to 1.19.1"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 03 Nov 2024 19:25:50 UTC
Hello, On Sun, Nov 3, 2024 at 4:34 AM Max Brazhnikov <makc@freebsd.org> wrote: > The branch main has been updated by makc: > > URL: > https://cgit.FreeBSD.org/ports/commit/?id=61a70ba8b94be3288962a5827de156f7777f07e9 > > commit 61a70ba8b94be3288962a5827de156f7777f07e9 > Author: Max Brazhnikov <makc@FreeBSD.org> > AuthorDate: 2024-11-02 20:34:10 +0000 > Commit: Max Brazhnikov <makc@FreeBSD.org> > CommitDate: 2024-11-02 20:34:10 +0000 > > graphics/libheif: update to 1.19.1 > It breaks graphics/py-pillow-heif. Would you please provide a fix for this? Thanks. > Drop stale patch. > Add new options and enable them by default: > - OPENH264 for AVC decoding, > - OPENJPH for HT-J2K encoding. > > Release notes: > https://github.com/strukturag/libheif/releases/tag/v1.19.0 > > https://github.com/strukturag/libheif/releases/tag/v1.19.1 > --- > graphics/libheif/Makefile | 23 +++++++++++++++++------ > graphics/libheif/distinfo | 6 +++--- > graphics/libheif/files/patch-CMakeLists.txt | 10 ---------- > graphics/libheif/pkg-plist | 1 + > 4 files changed, 21 insertions(+), 19 deletions(-) > > diff --git a/graphics/libheif/Makefile b/graphics/libheif/Makefile > index 5cda6f3254ec..7bd812b0b51d 100644 > --- a/graphics/libheif/Makefile > +++ b/graphics/libheif/Makefile > @@ -1,6 +1,5 @@ > PORTNAME= libheif > -DISTVERSION= 1.18.2 > -PORTREVISION= 1 > +DISTVERSION= 1.19.1 > CATEGORIES= graphics > MASTER_SITES= > https://github.com/strukturag/${PORTNAME}/releases/download/v${DISTVERSION}/ > > @@ -21,18 +20,24 @@ USE_LDCONFIG= yes > PLIST_SUB= LIB_VER=${DISTVERSION} > > CMAKE_OFF= BUILD_TESTING \ > - WITH_KVAZAAR > + WITH_KVAZAAR \ > + WITH_UVG266 \ > + WITH_VVDEC \ > + WITH_VVENC \ > + CMAKE_COMPILE_WARNING_AS_ERROR > CMAKE_ON= CMAKE_DISABLE_FIND_PACKAGE_Doxygen > > -OPTIONS_DEFINE= AOM DAV1D EXAMPLES FFMPEG JPEG LIBDE265 \ > - OPENJPEG SVTAV1 RAV1E X265 > -OPTIONS_DEFAULT=AOM DAV1D FFMPEG JPEG OPENJPEG SVTAV1 X265 > +OPTIONS_DEFINE= AOM DAV1D EXAMPLES FFMPEG JPEG LIBDE265 OPENH264 \ > + OPENJPEG OPENJPH SVTAV1 RAV1E X265 > +OPTIONS_DEFAULT=AOM DAV1D FFMPEG JPEG OPENH264 OPENJPEG OPENJPH SVTAV1 > X265 > OPTIONS_SUB= yes > > AOM_DESC= AV1 encoding/decoding via libaom > FFMPEG_DESC= Use FFmpeg (support for HEVC decoding) > DAV1D_DESC= Build dav1e decoder > LIBDE265_DESC= Use libde265 (support for HEVC decoding) > +OPENH264_DESC= AVC decoding via OpenH264 > +OPENJPH_DESC= HT-J2K encoding via OpenJPH > SVTAV1_DESC= Build svt-av1 encoder > RAV1E_DESC= Build rav1e encoder > X265_DESC= Use x265 (support for HEVC encoding) > @@ -57,9 +62,15 @@ JPEG_CMAKE_BOOL= WITH_JPEG_ENCODER WITH_JPEG_DECODER > LIBDE265_LIB_DEPENDS= libde265.so:multimedia/libde265 > LIBDE265_CMAKE_BOOL= WITH_LIBDE265 > > +OPENH264_LIB_DEPENDS= libopenh264.so:multimedia/openh264 > +OPENH264_CMAKE_BOOL= WITH_OpenH264_DECODER > + > OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg > OPENJPEG_CMAKE_BOOL= WITH_OpenJPEG_ENCODER WITH_OpenJPEG_DECODER > > +OPENJPH_LIB_DEPENDS= libopenjph.so:graphics/openjph > +OPENJPH_CMAKE_BOOL= WITH_OPENJPH_ENCODER WITH_OPENJPH_DECODER > + > SVTAV1_LIB_DEPENDS= libSvtAv1Enc.so:multimedia/svt-av1 > SVTAV1_CMAKE_BOOL= WITH_SvtEnc > > diff --git a/graphics/libheif/distinfo b/graphics/libheif/distinfo > index 9357a480d72a..dcfeae3ad8fc 100644 > --- a/graphics/libheif/distinfo > +++ b/graphics/libheif/distinfo > @@ -1,3 +1,3 @@ > -TIMESTAMP = 1724245714 > -SHA256 (libheif-1.18.2.tar.gz) = > c4002a622bec9f519f29d84bfdc6024e33fd67953a5fb4dc2c2f11f67d5e45bf > -SIZE (libheif-1.18.2.tar.gz) = 1525096 > +TIMESTAMP = 1730562330 > +SHA256 (libheif-1.19.1.tar.gz) = > 994913eb2a29c00c146d6f3d61e07d9ff0d8e9eccb0624d87e4be8b108c74e4b > +SIZE (libheif-1.19.1.tar.gz) = 1649119 > diff --git a/graphics/libheif/files/patch-CMakeLists.txt > b/graphics/libheif/files/patch-CMakeLists.txt > deleted file mode 100644 > index fed1d8aeefde..000000000000 > --- a/graphics/libheif/files/patch-CMakeLists.txt > +++ /dev/null > @@ -1,10 +0,0 @@ > ---- CMakeLists.txt.orig 2022-11-15 13:24:59 UTC > -+++ CMakeLists.txt > -@@ -22,7 +22,6 @@ endif() > - > - if(NOT MSVC) > - add_definitions(-Wall) > -- add_definitions(-Werror) > - add_definitions(-Wsign-compare) > - add_definitions(-Wconversion) > - add_definitions(-Wno-sign-conversion) > diff --git a/graphics/libheif/pkg-plist b/graphics/libheif/pkg-plist > index c7bf3204831a..0df90c604400 100644 > --- a/graphics/libheif/pkg-plist > +++ b/graphics/libheif/pkg-plist > @@ -20,6 +20,7 @@ lib/libheif.so.%%LIB_VER%% > %%OPENJPEG%%lib/libheif/libheif-j2kdec.so > %%OPENJPEG%%lib/libheif/libheif-j2kenc.so > %%RAV1E%%lib/libheif/libheif-rav1e.so > +%%OPENJPH%%lib/libheif/libheif-jphenc.so > %%SVTAV1%%lib/libheif/libheif-svtenc.so > libdata/pkgconfig/libheif.pc > %%PORTEXAMPLES%%share/man/man1/heif-dec.1.gz > >