SHA256
1
0
forked from pool/libjxl

Compare commits

...

14 Commits

Author SHA256 Message Date
Ana Guerrero
03578b1080 Accepting request 1226668 from graphics
- Update to release 0.11.1

OBS-URL: https://build.opensuse.org/request/show/1226668
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libjxl?expand=0&rev=21
2024-11-27 21:06:22 +00:00
OBS User unknown
ef9b82be79 [info=4e87e5ff8bf5776a0ac9f489009a5e1303ed1ee3f366eb9254ba03e8788b4940]
OBS-URL: https://build.opensuse.org/package/show/graphics/libjxl?expand=0&rev=56
2024-11-26 21:00:32 +00:00
Ana Guerrero
07fc47b307 Accepting request 1200883 from graphics
- Update to release 0.11.0

OBS-URL: https://build.opensuse.org/request/show/1200883
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libjxl?expand=0&rev=20
2024-09-16 15:40:21 +00:00
OBS User unknown
58450ba9b7 [info=dde18a82cc8520925316701dd6ada8caf660924c5ca4a8ff972ed14279cb51d9]
OBS-URL: https://build.opensuse.org/package/show/graphics/libjxl?expand=0&rev=55
2024-09-13 16:31:27 +00:00
OBS User unknown
473738928e [info=0794408a855c1ae7db949d27296ec4151338fc189317846e9a1c3c0d093c98b8]
OBS-URL: https://build.opensuse.org/package/show/graphics/libjxl?expand=0&rev=54
2024-09-13 12:05:56 +00:00
Ana Guerrero
50723058e4 Accepting request 1198660 from graphics
- Update libjxl.spec:
  Add compiler condition to fix SLE-15-SP7 ppc64le build env.
  (bsc#1229831)

OBS-URL: https://build.opensuse.org/request/show/1198660
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libjxl?expand=0&rev=19
2024-09-05 13:46:13 +00:00
OBS User unknown
c5dd26d474 [info=805ed64ff6380a7813ecab1474879bc2f84a519eeda6b4974e69ec85e36d5751]
OBS-URL: https://build.opensuse.org/package/show/graphics/libjxl?expand=0&rev=53
2024-09-04 07:36:50 +00:00
OBS User unknown
6a28c5af47 [info=8ffd1acb5c33d96dc84027e35083d2ad9e5d9d9eef1019198827ff0c512bb42c]
OBS-URL: https://build.opensuse.org/package/show/graphics/libjxl?expand=0&rev=52
2024-09-04 07:33:51 +00:00
6dcd11f264 [info=8f3434051153b1028edac8e55f6c6418fe37fd03641fdde71a350b6e5809f847]
OBS-URL: https://build.opensuse.org/package/show/graphics/libjxl?expand=0&rev=51
2024-09-04 07:32:52 +00:00
dfb3903bf9 Update libjxl.spec: Add compiler condition to fix SLE-15-SP7 ppc64le build env. (bsc#1229831)
OBS-URL: https://build.opensuse.org/package/show/graphics/libjxl?expand=0&rev=50
2024-09-04 07:29:59 +00:00
Dominique Leuenberger
fa4b349b3b Accepting request 1183951 from graphics
- Update to release 0.10.3

OBS-URL: https://build.opensuse.org/request/show/1183951
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libjxl?expand=0&rev=18
2024-07-01 09:19:17 +00:00
60f2ca256e - Update to release 0.10.3
OBS-URL: https://build.opensuse.org/package/show/graphics/libjxl?expand=0&rev=48
2024-06-29 03:57:35 +00:00
Ana Guerrero
7fa6c7264b Accepting request 1182024 from graphics
- Enable cjpegli, djpegli tools
- Add system-jpeg.diff

OBS-URL: https://build.opensuse.org/request/show/1182024
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libjxl?expand=0&rev=17
2024-06-22 11:22:49 +00:00
e40c32417e - Enable cjpegli, djpegli tools
- Add system-jpeg.diff

OBS-URL: https://build.opensuse.org/package/show/graphics/libjxl?expand=0&rev=46
2024-06-20 21:09:56 +00:00
8 changed files with 94 additions and 9 deletions

4
_scmsync.obsinfo Normal file
View File

@ -0,0 +1,4 @@
mtime: 1732654813
commit: 4e87e5ff8bf5776a0ac9f489009a5e1303ed1ee3f366eb9254ba03e8788b4940
url: https://src.opensuse.org/jengelh/libjxl
revision: master

View File

@ -1 +1 @@
libjxl0_10
libjxl0_11

3
build.specials.obscpio Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e7ad9d1661e0c30d50dacc058818b768c629824704c7c5d882c419ba3e16af4b
size 256

View File

@ -1,3 +1,42 @@
-------------------------------------------------------------------
Tue Nov 26 20:55:18 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 0.11.1
* Huffman lookup table size fix [CVE-2024-11403]
* Check height limit in modular trees [CVE-2024-11498]
-------------------------------------------------------------------
Fri Sep 13 11:48:46 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 0.11.0
* Added Gain Map API: ``JxlGainMapBundle`` struct and API
functions to read and write gain map
``bundlesJxlGainMapWriteBundle`` and ``JxlGainMapReadBundle``
as well as handling compressed ICC profiles:
``JxlICCProfileEncode`` and ``JxlICCProfileDecode``.
* Decoder API: added ``JXL_DEC_BOX_COMPLETE`` event to signal
that the output buffer for the current box has received all
contents.
-------------------------------------------------------------------
Fri Aug 30 11:16:35 UTC 2024 - Cliff Zhao <qzhao@suse.com>
- Update libjxl.spec:
Add compiler condition to fix SLE-15-SP7 ppc64le build env.
(bsc#1229831)
-------------------------------------------------------------------
Sat Jun 29 03:56:34 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 0.10.3
* fix bug in huffman-rle-gradient (e1) specialized decode path
-------------------------------------------------------------------
Thu Jun 20 21:01:12 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Enable cjpegli, djpegli tools
- Add system-jpeg.diff
-------------------------------------------------------------------
Fri Mar 8 10:49:26 UTC 2024 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,5 +1,5 @@
#
# spec file for package libjxl
# spec file for package libjxl-gtk
#
# Copyright (c) 2024 SUSE LLC
#
@ -16,7 +16,7 @@
#
%define lname libjxl0_10
%define lname libjxl0_11
%if "@BUILD_FLAVOR@" == "gtk"
Name: libjxl-gtk
%bcond_without gtk
@ -24,7 +24,7 @@ Name: libjxl-gtk
Name: libjxl
%bcond_with gtk
%endif
Version: 0.10.2
Version: 0.11.1
Release: 0
Summary: JPEG XL reference implementation
License: BSD-3-Clause
@ -33,6 +33,7 @@ URL: https://jpegxl.info/
Source: https://github.com/libjxl/libjxl/archive/refs/tags/v%version.tar.gz
Source1: baselibs.conf
Source2: skcms.tar
Patch1: system-jpeg.diff
BuildRequires: asciidoc
BuildRequires: c++_compiler
BuildRequires: cmake
@ -52,6 +53,9 @@ BuildRequires: pkgconfig(libhwy) >= 1.0.7
BuildRequires: pkgconfig(libjpeg)
BuildRequires: pkgconfig(libpng)
BuildRequires: pkgconfig(libwebp)
%if 0%{?sle_version} == 150700
BuildRequires: gcc10-c++
%endif
%{?suse_build_hwcaps_libs}
%if %{with gtk}
Provides: bundled(skcms) = 0
@ -112,17 +116,22 @@ This package provides a thumbnailer to render for JPEG XL file thumbnails,
for example, on file-browsers.
%prep
%setup -n libjxl-%version -a2
%autosetup -n libjxl-%version -a2 -p1
mv skcms third_party/
%build
%if 0%{?sle_version} == 150700
export CC=gcc-10
export CXX=g++-10
%endif
%cmake -DJPEGXL_FORCE_SYSTEM_HWY=ON -DJPEGXL_FORCE_SYSTEM_BROTLI=ON \
-DJPEGXL_FORCE_SYSTEM_LCMS2=OFF -DBUILD_TESTING=OFF \
%if %{with gtk}
-DJPEGXL_ENABLE_PLUGINS=ON -DJPEGXL_ENABLE_SKCMS=ON \
%endif
-DJPEGXL_ENABLE_SJPEG=OFF -DJPEGXL_ENABLE_DOXYGEN=OFF \
-DJPEGXL_ENABLE_JPEGLI=OFF
-DJPEGXL_ENABLE_JPEGLI=ON
%cmake_build
%install
@ -148,6 +157,7 @@ rm -Rf "$b/%_libdir"/libjxl* "$b/%_bindir" "$b/%_includedir" "$b/%_libdir/pkgcon
%_libdir/libjxl*.so.*
%files tools
%_bindir/?jpegli
%_bindir/*xl*
%_mandir/man*/*xl*

29
system-jpeg.diff Normal file
View File

@ -0,0 +1,29 @@
From: Jan Engelhardt <jengelh@inai.de>
Date: 2024-06-20 23:00:14.684111062 +0200
There are many legit reasons to depend on bundled software, but this ain't one of them!
---
lib/jpegli.cmake | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
Index: libjxl-0.10.2/lib/jpegli.cmake
===================================================================
--- libjxl-0.10.2.orig/lib/jpegli.cmake
+++ libjxl-0.10.2/lib/jpegli.cmake
@@ -23,12 +23,9 @@ elseif(JPEGLI_LIBJPEG_LIBRARY_SOVERSION
set(JPEG_LIB_VERSION 80)
endif()
-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)
+configure_file(/usr/include/jconfig.h include/jpegli/jconfig.h)
+configure_file(/usr/include/jpeglib.h include/jpegli/jpeglib.h COPYONLY)
+configure_file(/usr/include/jmorecfg.h include/jpegli/jmorecfg.h COPYONLY)
add_library(jpegli-static STATIC EXCLUDE_FROM_ALL "${JPEGXL_INTERNAL_JPEGLI_SOURCES}")
target_compile_options(jpegli-static PRIVATE "${JPEGXL_INTERNAL_FLAGS}")

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:95e807f63143856dc4d161c071cca01115d2c6405b3d3209854ac6989dc6bb91
size 1912303

BIN
v0.11.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.