[packages/libjxl] - updated to 0.12.0 (new sonames)

qboosh qboosh at pld-linux.org
Sun Sep 6 16:22:32 CEST 2026


commit 1f7636bcac85e16d3387ec134e07ca68ae81836e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Sep 6 16:22:39 2026 +0200

    - updated to 0.12.0 (new sonames)

 libjxl-system-libs.patch | 16 ++++++++--------
 libjxl.spec              | 21 ++++++++++++---------
 2 files changed, 20 insertions(+), 17 deletions(-)
---
diff --git a/libjxl.spec b/libjxl.spec
index 87a7623..6bb53c7 100644
--- a/libjxl.spec
+++ b/libjxl.spec
@@ -10,13 +10,13 @@
 Summary:	JPEG XL reference implementation
 Summary(pl.UTF-8):	Referencyjna implementacja JPEG XL
 Name:		libjxl
-Version:	0.11.2
+Version:	0.12.0
 Release:	1
 License:	BSD
 Group:		Libraries
 #Source0Download: https://github.com/libjxl/libjxl/releases
 Source0:	https://github.com/libjxl/libjxl/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	eda39db6e7a58b73be9124381862b9d1
+# Source0-md5:	a0fd3ac7b474525dadb99bbcb5d814f9
 Patch0:		%{name}-system-libs.patch
 URL:		https://github.com/libjxl/libjxl
 BuildRequires:	OpenEXR-devel
@@ -31,10 +31,10 @@ BuildRequires:	gmock-devel
 BuildRequires:	google-benchmark-devel
 BuildRequires:	gtest-devel
 %endif
-BuildRequires:	highway-devel >= 0.15.0
+BuildRequires:	highway-devel >= 1.0.7
 %{?with_java:%buildrequires_jdk}
 %{?with_java:%{?buildrequires_jre_x11}}
-BuildRequires:	lcms2-devel >= 2.10
+BuildRequires:	lcms2-devel >= 2.12
 BuildRequires:	libavif-devel
 BuildRequires:	libbrotli-devel
 BuildRequires:	libjpeg-devel
@@ -46,6 +46,8 @@ BuildRequires:	pkgconfig
 BuildRequires:	python3-devel >= 1:3
 BuildRequires:	rpmbuild(macros) >= 2.062
 BuildRequires:	zlib-devel
+Requires:	highway >= 1.0.7
+Requires:	lcms2 >= 2.12
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %if "%{_lib}" != "lib"
@@ -78,8 +80,8 @@ Summary:	Header files for JXL libraries
 Summary(pl.UTF-8):	Pliki nagłówkowe bibliotek JXL
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
-Requires:	highway-devel >= 0.15.0
-Requires:	lcms2-devel >= 2.10
+Requires:	highway-devel >= 1.0.7
+Requires:	lcms2-devel >= 2.12
 Requires:	libbrotli-devel
 Requires:	libstdc++-devel >= 6:7
 
@@ -221,11 +223,11 @@ fi
 %defattr(644,root,root,755)
 %doc AUTHORS CHANGELOG.md CONTRIBUTORS LICENSE PATENTS README.md SECURITY.md doc/xl_overview.md
 %{_libdir}/libjxl.so.*.*.*
-%ghost %{_libdir}/libjxl.so.0.11
+%ghost %{_libdir}/libjxl.so.0.12
 %{_libdir}/libjxl_cms.so.*.*.*
-%ghost %{_libdir}/libjxl_cms.so.0.11
+%ghost %{_libdir}/libjxl_cms.so.0.12
 %{_libdir}/libjxl_threads.so.*.*.*
-%ghost %{_libdir}/libjxl_threads.so.0.11
+%ghost %{_libdir}/libjxl_threads.so.0.12
 
 %files tools
 %defattr(644,root,root,755)
@@ -233,6 +235,7 @@ fi
 %attr(755,root,root) %{_bindir}/cjxl
 %attr(755,root,root) %{_bindir}/djxl
 %attr(755,root,root) %{_bindir}/jxlinfo
+%attr(755,root,root) %{_bindir}/jxltran
 %{_mandir}/man1/cjxl.1*
 %{_mandir}/man1/djxl.1*
 
diff --git a/libjxl-system-libs.patch b/libjxl-system-libs.patch
index 2efc1ba..5982bbc 100644
--- a/libjxl-system-libs.patch
+++ b/libjxl-system-libs.patch
@@ -1,13 +1,13 @@
---- libjxl-0.10.2/third_party/CMakeLists.txt.orig	2024-03-08 09:10:58.000000000 +0100
-+++ libjxl-0.10.2/third_party/CMakeLists.txt	2024-04-05 16:53:39.078193231 +0200
-@@ -95,15 +95,6 @@ else()
+--- libjxl-0.12.0/third_party/CMakeLists.txt.orig	2026-07-01 18:36:59.000000000 +0200
++++ libjxl-0.12.0/third_party/CMakeLists.txt	2026-09-06 14:24:46.268173898 +0200
+@@ -96,15 +96,6 @@ else()
  endif()
  
  # *cms
 -if (JPEGXL_ENABLE_SKCMS)
 -  if( NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/skcms/skcms.h" )
--    message(FATAL_ERROR "Please run ${PROJECT_SOURCE_DIR}/deps.sh to fetch the "
--            "build dependencies.")
+-    message(FATAL_ERROR "Please provide skcms or "
+-            "run ${PROJECT_SOURCE_DIR}/deps.sh to fetch the build dependencies.")
 -  endif()
 -  include(skcms.cmake)
 -  configure_file("${CMAKE_CURRENT_SOURCE_DIR}/skcms/LICENSE"
@@ -16,7 +16,7 @@
  if (JPEGXL_ENABLE_VIEWERS OR NOT JPEGXL_ENABLE_SKCMS OR JPEGXL_ENABLE_PLUGINS)
    if( NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/lcms/.git" OR JPEGXL_FORCE_SYSTEM_LCMS2 )
      find_package(LCMS2 2.12)
-@@ -162,14 +153,3 @@ else()
+@@ -169,14 +160,3 @@ else()
                     ${PROJECT_BINARY_DIR}/LICENSE.libpng COPYONLY)
    endif()  # JPEGXL_DEP_LICENSE_DIR
  endif()
@@ -24,8 +24,8 @@
 -# sjpeg
 -if (JPEGXL_ENABLE_SJPEG)
 -  if (NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/sjpeg/CMakeLists.txt")
--    message(FATAL_ERROR "Please run ${PROJECT_SOURCE_DIR}/deps.sh to fetch the "
--            "build dependencies.")
+-    message(FATAL_ERROR "Please provide sjpeg or "
+-            "run ${PROJECT_SOURCE_DIR}/deps.sh to fetch the build dependencies.")
 -  endif()
 -  include(sjpeg.cmake)
 -  configure_file("${CMAKE_CURRENT_SOURCE_DIR}/sjpeg/COPYING"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libjxl.git/commitdiff/1f7636bcac85e16d3387ec134e07ca68ae81836e



More information about the pld-cvs-commit mailing list