forked from pool/libjxl
Synchronize with OBS SCM
This commit is contained in:
parent
449c919726
commit
805ed64ff6
@ -1,3 +1,22 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
Fri Mar 8 10:49:26 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
18
libjxl.spec
18
libjxl.spec
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libjxl
|
# spec file for package libjxl-gtk
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
@ -24,7 +24,7 @@ Name: libjxl-gtk
|
|||||||
Name: libjxl
|
Name: libjxl
|
||||||
%bcond_with gtk
|
%bcond_with gtk
|
||||||
%endif
|
%endif
|
||||||
Version: 0.10.2
|
Version: 0.10.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: JPEG XL reference implementation
|
Summary: JPEG XL reference implementation
|
||||||
License: BSD-3-Clause
|
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
|
Source: https://github.com/libjxl/libjxl/archive/refs/tags/v%version.tar.gz
|
||||||
Source1: baselibs.conf
|
Source1: baselibs.conf
|
||||||
Source2: skcms.tar
|
Source2: skcms.tar
|
||||||
|
Patch1: system-jpeg.diff
|
||||||
BuildRequires: asciidoc
|
BuildRequires: asciidoc
|
||||||
BuildRequires: c++_compiler
|
BuildRequires: c++_compiler
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
@ -52,6 +53,9 @@ BuildRequires: pkgconfig(libhwy) >= 1.0.7
|
|||||||
BuildRequires: pkgconfig(libjpeg)
|
BuildRequires: pkgconfig(libjpeg)
|
||||||
BuildRequires: pkgconfig(libpng)
|
BuildRequires: pkgconfig(libpng)
|
||||||
BuildRequires: pkgconfig(libwebp)
|
BuildRequires: pkgconfig(libwebp)
|
||||||
|
%if 0%{?sle_version} == 150700
|
||||||
|
BuildRequires: gcc10-c++
|
||||||
|
%endif
|
||||||
%{?suse_build_hwcaps_libs}
|
%{?suse_build_hwcaps_libs}
|
||||||
%if %{with gtk}
|
%if %{with gtk}
|
||||||
Provides: bundled(skcms) = 0
|
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.
|
for example, on file-browsers.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n libjxl-%version -a2
|
%autosetup -n libjxl-%version -a2 -p1
|
||||||
mv skcms third_party/
|
mv skcms third_party/
|
||||||
|
|
||||||
%build
|
%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 \
|
%cmake -DJPEGXL_FORCE_SYSTEM_HWY=ON -DJPEGXL_FORCE_SYSTEM_BROTLI=ON \
|
||||||
-DJPEGXL_FORCE_SYSTEM_LCMS2=OFF -DBUILD_TESTING=OFF \
|
-DJPEGXL_FORCE_SYSTEM_LCMS2=OFF -DBUILD_TESTING=OFF \
|
||||||
%if %{with gtk}
|
%if %{with gtk}
|
||||||
-DJPEGXL_ENABLE_PLUGINS=ON -DJPEGXL_ENABLE_SKCMS=ON \
|
-DJPEGXL_ENABLE_PLUGINS=ON -DJPEGXL_ENABLE_SKCMS=ON \
|
||||||
%endif
|
%endif
|
||||||
-DJPEGXL_ENABLE_SJPEG=OFF -DJPEGXL_ENABLE_DOXYGEN=OFF \
|
-DJPEGXL_ENABLE_SJPEG=OFF -DJPEGXL_ENABLE_DOXYGEN=OFF \
|
||||||
-DJPEGXL_ENABLE_JPEGLI=OFF
|
-DJPEGXL_ENABLE_JPEGLI=ON
|
||||||
%cmake_build
|
%cmake_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -148,6 +157,7 @@ rm -Rf "$b/%_libdir"/libjxl* "$b/%_bindir" "$b/%_includedir" "$b/%_libdir/pkgcon
|
|||||||
%_libdir/libjxl*.so.*
|
%_libdir/libjxl*.so.*
|
||||||
|
|
||||||
%files tools
|
%files tools
|
||||||
|
%_bindir/?jpegli
|
||||||
%_bindir/*xl*
|
%_bindir/*xl*
|
||||||
%_mandir/man*/*xl*
|
%_mandir/man*/*xl*
|
||||||
|
|
||||||
|
29
system-jpeg.diff
Normal file
29
system-jpeg.diff
Normal 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}")
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:95e807f63143856dc4d161c071cca01115d2c6405b3d3209854ac6989dc6bb91
|
|
||||||
size 1912303
|
|
BIN
v0.10.3.tar.gz
(Stored with Git LFS)
Normal file
BIN
v0.10.3.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user