git: 08f4b954852a - main - graphics/libjxl: update to 0.9.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 11 Jan 2024 13:17:24 UTC
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=08f4b954852a3c0c5ac91fc18a5888ec360e7245 commit 08f4b954852a3c0c5ac91fc18a5888ec360e7245 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2024-01-10 09:51:57 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2024-01-11 13:17:02 +0000 graphics/libjxl: update to 0.9.1 Changes: https://github.com/libjxl/libjxl/releases/tag/v0.9.1 Reported by: GitHub (watch releases) --- graphics/gimp-jxl-plugin/Makefile | 2 +- graphics/gimp-jxl-plugin/distinfo | 6 ++--- graphics/libjxl/Makefile | 7 ++---- graphics/libjxl/distinfo | 12 +++++----- graphics/libjxl/files/patch-jpegli | 46 ++++++++++++++++++++++++++++++++++++++ graphics/libjxl/pkg-plist | 8 +++---- 6 files changed, 61 insertions(+), 20 deletions(-) diff --git a/graphics/gimp-jxl-plugin/Makefile b/graphics/gimp-jxl-plugin/Makefile index 642064cfb217..3b1a06a3ead0 100644 --- a/graphics/gimp-jxl-plugin/Makefile +++ b/graphics/gimp-jxl-plugin/Makefile @@ -1,6 +1,6 @@ PORTNAME= gimp-jxl-plugin DISTVERSIONPREFIX= v -DISTVERSION= 0.9.0 +DISTVERSION= 0.9.1 CATEGORIES= graphics MAINTAINER= jbeich@FreeBSD.org diff --git a/graphics/gimp-jxl-plugin/distinfo b/graphics/gimp-jxl-plugin/distinfo index 19b40924732b..a4f2343d123e 100644 --- a/graphics/gimp-jxl-plugin/distinfo +++ b/graphics/gimp-jxl-plugin/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1703255621 -SHA256 (libjxl-libjxl-v0.9.0_GH0.tar.gz) = d83bbe188d8fa9725bb75109c922c37fcff8c3b802808f3a6c2c14aaf8337d9f -SIZE (libjxl-libjxl-v0.9.0_GH0.tar.gz) = 1871551 +TIMESTAMP = 1704880317 +SHA256 (libjxl-libjxl-v0.9.1_GH0.tar.gz) = a0e72e9ece26878147069ad4888ac3382021d4bbee71c2e1b687d5bde7fd7e01 +SIZE (libjxl-libjxl-v0.9.1_GH0.tar.gz) = 1872279 diff --git a/graphics/libjxl/Makefile b/graphics/libjxl/Makefile index 22d1358d99f6..63cfcbc6d6e9 100644 --- a/graphics/libjxl/Makefile +++ b/graphics/libjxl/Makefile @@ -1,11 +1,8 @@ PORTNAME= libjxl DISTVERSIONPREFIX= v -DISTVERSION= 0.9.0 +DISTVERSION= 0.9.1 CATEGORIES= graphics -PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ -PATCHFILES+= a0cb9b7c4249.patch:-p1 # https://github.com/libjxl/libjxl/pull/3085 - MAINTAINER= jbeich@FreeBSD.org COMMENT= JPEG XL reference encoder/decoder WWW= https://jpeg.org/jpegxl/ @@ -22,7 +19,7 @@ CPE_VENDOR= ${PORTNAME}_project USE_GITHUB= yes USE_LDCONFIG= yes GH_TUPLE= jbeich:skcms:42030a7:skcms/third_party/skcms \ - libjxl:testdata:6c94363:testdata/testdata \ + libjxl:testdata:ff8d743:testdata/testdata \ webmproject:sjpeg:e5ab130:sjpeg/third_party/sjpeg \ ${NULL} CMAKE_ON= JPEGXL_ENABLE_PLUGINS diff --git a/graphics/libjxl/distinfo b/graphics/libjxl/distinfo index f2e7ff62ce7f..ed762b4a0a95 100644 --- a/graphics/libjxl/distinfo +++ b/graphics/libjxl/distinfo @@ -1,11 +1,9 @@ -TIMESTAMP = 1703255621 -SHA256 (libjxl-libjxl-v0.9.0_GH0.tar.gz) = d83bbe188d8fa9725bb75109c922c37fcff8c3b802808f3a6c2c14aaf8337d9f -SIZE (libjxl-libjxl-v0.9.0_GH0.tar.gz) = 1871551 +TIMESTAMP = 1704880317 +SHA256 (libjxl-libjxl-v0.9.1_GH0.tar.gz) = a0e72e9ece26878147069ad4888ac3382021d4bbee71c2e1b687d5bde7fd7e01 +SIZE (libjxl-libjxl-v0.9.1_GH0.tar.gz) = 1872279 SHA256 (jbeich-skcms-42030a7_GH0.tar.gz) = b7537267dd0fda80a98939cc4e4d15614d2d6f433cc8421b797e0f47078c2979 SIZE (jbeich-skcms-42030a7_GH0.tar.gz) = 10050433 -SHA256 (libjxl-testdata-6c94363_GH0.tar.gz) = ffe4ab8ae3b80085c6f2107d1335804cfbe3729aad52f5ce382dae254d07505e -SIZE (libjxl-testdata-6c94363_GH0.tar.gz) = 69080987 +SHA256 (libjxl-testdata-ff8d743_GH0.tar.gz) = d225523e0576f21b6f8de106d2eac4e07650522bae7b65011993792a4dbc3eda +SIZE (libjxl-testdata-ff8d743_GH0.tar.gz) = 69102242 SHA256 (webmproject-sjpeg-e5ab130_GH0.tar.gz) = 89d706381311af14e1124276266aebf41977f5facfd2a984cd365835e4bb55ff SIZE (webmproject-sjpeg-e5ab130_GH0.tar.gz) = 2481141 -SHA256 (a0cb9b7c4249.patch) = bd34063afe71b6b736404417f85eeec84f14426be0b214d56be386aac193decf -SIZE (a0cb9b7c4249.patch) = 1358 diff --git a/graphics/libjxl/files/patch-jpegli b/graphics/libjxl/files/patch-jpegli new file mode 100644 index 000000000000..f3f4bb8c0ece --- /dev/null +++ b/graphics/libjxl/files/patch-jpegli @@ -0,0 +1,46 @@ +Allow building jpegli against system libjpeg-turbo. + +This is an old version of https://github.com/libjxl/libjxl/pull/3085 + +--- CMakeLists.txt.orig 2024-01-10 09:51:57 UTC ++++ CMakeLists.txt +@@ -81,13 +81,6 @@ endif() + set(BUNDLE_LIBPNG_DEFAULT NO) + endif() + +- +-if(EXISTS "${PROJECT_SOURCE_DIR}/third_party/libjpeg-turbo/jconfig.h.in") +- set(ENABLE_JPEGLI_DEFAULT YES) +-else() +- set(ENABLE_JPEGLI_DEFAULT NO) +-endif() +- + # Standard cmake naming for building shared libraries. + get_property(SHARED_LIBS_SUPPORTED GLOBAL PROPERTY TARGET_SUPPORTS_SHARED_LIBS) + option(BUILD_SHARED_LIBS "Build shared libraries instead of static ones" ${SHARED_LIBS_SUPPORTED}) +@@ -98,7 +91,7 @@ set(JPEGXL_ENABLE_TOOLS true CACHE BOOL + "Build JPEGXL developer tools.") + set(JPEGXL_ENABLE_TOOLS true CACHE BOOL + "Build JPEGXL user tools: cjxl and djxl.") +-set(JPEGXL_ENABLE_JPEGLI ${ENABLE_JPEGLI_DEFAULT} CACHE BOOL ++set(JPEGXL_ENABLE_JPEGLI true CACHE BOOL + "Build jpegli library.") + set(JPEGXL_ENABLE_JPEGLI_LIBJPEG true CACHE BOOL + "Build libjpeg.so shared library based on jpegli.") +--- lib/jpegli.cmake.orig 2024-01-10 09:51:57 UTC ++++ lib/jpegli.cmake +@@ -23,12 +23,14 @@ endif() + set(JPEG_LIB_VERSION 80) + endif() + ++if(JPEGXL_INSTALL_JPEGLI_LIBJPEG) + configure_file( + ../third_party/libjpeg-turbo/jconfig.h.in include/jpegli/jconfig.h) + configure_file( + ../third_party/libjpeg-turbo/jpeglib.h include/jpegli/jpeglib.h COPYONLY) + configure_file( + ../third_party/libjpeg-turbo/jmorecfg.h include/jpegli/jmorecfg.h COPYONLY) ++endif() + + add_library(jpegli-static STATIC EXCLUDE_FROM_ALL "${JPEGXL_INTERNAL_JPEGLI_SOURCES}") + target_compile_options(jpegli-static PRIVATE "${JPEGXL_INTERNAL_FLAGS}") diff --git a/graphics/libjxl/pkg-plist b/graphics/libjxl/pkg-plist index e75d7501c163..436c878d1e43 100644 --- a/graphics/libjxl/pkg-plist +++ b/graphics/libjxl/pkg-plist @@ -26,16 +26,16 @@ include/jxl/version.h %%PIXBUF%%lib/gdk-pixbuf-2.0/%%GTK2_VERSION%%/loaders/libpixbufloader-jxl.so lib/libjxl.so lib/libjxl.so.0.9 -lib/libjxl.so.0.9.0 +lib/libjxl.so.0.9.1 lib/libjxl_cms.so lib/libjxl_cms.so.0.9 -lib/libjxl_cms.so.0.9.0 +lib/libjxl_cms.so.0.9.1 lib/libjxl_extras_codec.so lib/libjxl_extras_codec.so.0.9 -lib/libjxl_extras_codec.so.0.9.0 +lib/libjxl_extras_codec.so.0.9.1 lib/libjxl_threads.so lib/libjxl_threads.so.0.9 -lib/libjxl_threads.so.0.9.0 +lib/libjxl_threads.so.0.9.1 libdata/pkgconfig/libjxl.pc libdata/pkgconfig/libjxl_cms.pc libdata/pkgconfig/libjxl_threads.pc