[neon/backports-noble/jpeg-xl-noble/Neon/unstable] debian/debian: import from plucky for kf6-kimageformats
Carlos De Maine
null at kde.org
Wed Dec 18 06:07:54 GMT 2024
Git commit a41b276ae1582fe9011222ec34a1addbadb5d6b7 by Carlos De Maine.
Committed on 18/12/2024 at 06:07.
Pushed by carlosdem into branch 'Neon/unstable'.
import from plucky for kf6-kimageformats
A +10 -0 debian/debian/README.source
A +12 -0 debian/debian/TODO
A +6 -0 debian/debian/benchmark_xl.1.in
A +6 -0 debian/debian/butteraugli_main.1.in
A +534 -0 debian/debian/changelog
A +133 -0 debian/debian/control
A +133 -0 debian/debian/control.in
A +55 -0 debian/debian/copyright
A +6 -0 debian/debian/decode_and_encode.1.in
A +6 -0 debian/debian/display_to_hlg.1.in
A +6 -0 debian/debian/djxl_fuzzer_corpus.1.in
A +6 -0 debian/debian/exr_to_pq.1.in
A +6 -0 debian/debian/generate_lut_template.1.in
A +9 -0 debian/debian/jpeg-xl-doc.doc-base
A +1 -0 debian/debian/jpeg-xl-doc.examples
A +63 -0 debian/debian/jxl_from_tree.1.in
A +6 -0 debian/debian/jxlinfo.1.in
A +2 -0 debian/debian/libjpegxl-java.install
A +3 -0 debian/debian/libjxl-dev.install
A +16 -0 debian/debian/libjxl-devtools.install
A +16 -0 debian/debian/libjxl-devtools.manpages
A +2 -0 debian/debian/libjxl-gdk-pixbuf.install
A +5 -0 debian/debian/libjxl-tools.install
A +1 -0 debian/debian/libjxl-tools.manpages
A +1 -0 debian/debian/libjxl0.10.install
A +193 -0 debian/debian/libjxl0.10.symbols
A +6 -0 debian/debian/local_tone_map.1.in
A +36 -0 debian/debian/patches/0008-Fix-conformance-test.patch
A +28 -0 debian/debian/patches/0009-fast_dct-inl.h-Include-std-headers-to-solve-missing-.patch
A +59 -0 debian/debian/patches/bigendian.patch
A +23 -0 debian/debian/patches/do_not_force_cxx11.patch
A +89 -0 debian/debian/patches/extras_codec_symbols.patch
A +18 -0 debian/debian/patches/help_return_no_error.patch
A +39 -0 debian/debian/patches/hwy.patch
A +350 -0 debian/debian/patches/manpages.patch
A +8 -0 debian/debian/patches/series
A +6 -0 debian/debian/pq_to_hlg.1.in
A +6 -0 debian/debian/render_hlg.1.in
A +140 -0 debian/debian/rules
A +1 -0 debian/debian/source/format
A +6 -0 debian/debian/ssimulacra2.1.in
A +6 -0 debian/debian/ssimulacra_main.1.in
A +3 -0 debian/debian/tests/control
A +61 -0 debian/debian/tests/run-unit-test
A +6 -0 debian/debian/texture_to_cube.1.in
A +6 -0 debian/debian/tone_map.1.in
A +5 -0 debian/debian/upstream/metadata
A +3 -0 debian/debian/watch
A +6 -0 debian/debian/xyb_range.1.in
https://invent.kde.org/neon/backports-noble/jpeg-xl-noble/-/commit/a41b276ae1582fe9011222ec34a1addbadb5d6b7
diff --git a/debian/debian/README.source b/debian/debian/README.source
new file mode 100644
index 0000000..f0be056
--- /dev/null
+++ b/debian/debian/README.source
@@ -0,0 +1,10 @@
+Upstream on github currently uses submodules for the thirdparty libraries. This
+is currently unhandled by uscan:
+
+* https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=902846
+
+One need instead to git clone libjxl and then:
+
+ git submodule update --init -- third_party/highway third_party/lodepng
+
+ -- Mathieu Malaterre <malat at debian.org> Tue, 14 Dec 2021 10:29:22 +0100
diff --git a/debian/debian/TODO b/debian/debian/TODO
new file mode 100644
index 0000000..07e2b92
--- /dev/null
+++ b/debian/debian/TODO
@@ -0,0 +1,12 @@
+libjxl ABI seems to be C-only. However the whole library is written in c++ with
+heavy use of libstdc++. libjxl is compiled with flags `-fno-exceptions` but is
+linked againt the throwing libstdc++ from Debian.
+
+This matter has been discussed with upstream, and it is not clear to the
+package maintainer what is supposed to happen when libstdc++ is throwing an
+exception, since it cannot propagate after the C-only ABI.
+
+Ref:
+* https://github.com/libjxl/libjxl/issues/904
+
+ -- Mathieu Malaterre <malat at debian.org> Tue, 14 Dec 2021 10:29:22 +0100
diff --git a/debian/debian/benchmark_xl.1.in b/debian/debian/benchmark_xl.1.in
new file mode 100644
index 0000000..92a51ed
--- /dev/null
+++ b/debian/debian/benchmark_xl.1.in
@@ -0,0 +1,6 @@
+[NAME]
+benchmark_xl - benchmark_xl
+
+[AUTHOR]
+This manual page was written by Mathieu Malaterre <malat at debian.org> for the
+Debian GNU/Linux system (but may be used by others).
diff --git a/debian/debian/butteraugli_main.1.in b/debian/debian/butteraugli_main.1.in
new file mode 100644
index 0000000..0e59b25
--- /dev/null
+++ b/debian/debian/butteraugli_main.1.in
@@ -0,0 +1,6 @@
+[NAME]
+butteraugli_main - butteraugli_main
+
+[AUTHOR]
+This manual page was written by Mathieu Malaterre <malat at debian.org> for the
+Debian GNU/Linux system (but may be used by others).
diff --git a/debian/debian/changelog b/debian/debian/changelog
new file mode 100644
index 0000000..16da0b8
--- /dev/null
+++ b/debian/debian/changelog
@@ -0,0 +1,534 @@
+jpeg-xl (0.10.4-1) experimental; urgency=medium
+
+ * Team upload
+
+ [ Jeremy Bícha ]
+ * New upstream release (Closes: #1077336)
+ - CVE-2024-11403 Huffman lookup table size fix
+ - CVE-2024-11498 Check height limit in modular trees
+
+ [ Gianfranco Costamagna ]
+ * Force gcc-13 on s390x because testsuite hangs with gcc-14
+
+ [ Jeremy Bícha ]
+ * Use gcc-13 on riscv64 too
+
+ -- Jeremy Bícha <jbicha at ubuntu.com> Mon, 16 Dec 2024 18:46:59 -0500
+
+jpeg-xl (0.10.3-5) experimental; urgency=medium
+
+ * d/patches: Remove libjpegli-tools
+
+ -- Mathieu Malaterre <malat at debian.org> Fri, 27 Sep 2024 16:13:29 +0200
+
+jpeg-xl (0.10.3-4) experimental; urgency=medium
+
+ * d/tests: Remove a portion of the unit test. Closes: #1076699
+
+ -- Mathieu Malaterre <malat at debian.org> Tue, 23 Jul 2024 11:27:05 +0200
+
+jpeg-xl (0.10.3-3) experimental; urgency=medium
+
+ * d/patches: Make sure to find package HWY
+
+ -- Mathieu Malaterre <malat at debian.org> Sun, 21 Jul 2024 12:47:40 +0200
+
+jpeg-xl (0.10.3-2) experimental; urgency=medium
+
+ * d/rules Remove legacy comment
+ * d/patches: Update big endian patch
+ * d/patches: Add libjpegli-tools
+
+ -- Mathieu Malaterre <malat at debian.org> Sat, 20 Jul 2024 17:09:30 +0200
+
+jpeg-xl (0.10.3-1) experimental; urgency=medium
+
+ * New upstream version 0.10.3
+ * d/patches: Refresh patches for new release
+ * d/symbols: Migrate to new ABI
+ * d/patches: Prepare patch for upstream
+
+ -- Mathieu Malaterre <malat at debian.org> Sat, 06 Jul 2024 11:07:28 +0200
+
+jpeg-xl (0.9.2-10) unstable; urgency=medium
+
+ [ Jeremy Bícha ]
+ * Disable OpenEXR support on Ubuntu
+ * Enable all hardening flags
+ * Bump debhelper compat to 13
+ * Set Build-Depends-Package
+ * Strip trailing whitespace
+
+ [ Mathieu Malaterre ]
+ * d/rules: Add missing dev tools
+
+ [ Jeremy Bícha ]
+ * d/t/control: Re-add big-endian arches. Closes: #1074530
+
+ [ Mathieu Malaterre ]
+ * d/control: Provide a nojava profile. Closes: #1067757
+
+ -- Mathieu Malaterre <malat at debian.org> Fri, 05 Jul 2024 13:00:33 +0200
+
+jpeg-xl (0.9.2-9) unstable; urgency=medium
+
+ * Upload to unstable
+ * d/control: Bump Std-Vers to 4.7.0 no changes needed
+
+ -- Mathieu Malaterre <malat at debian.org> Wed, 26 Jun 2024 15:37:07 +0200
+
+jpeg-xl (0.9.2-8) experimental; urgency=medium
+
+ [ Mathieu Malaterre ]
+ * d/rules: Increase timeout for armel
+
+ [ Julian Wollrath ]
+ * Remove libjxl-gdk-pixbuf.postinst/rm. Closes: #1072963
+
+ -- Mathieu Malaterre <malat at debian.org> Wed, 12 Jun 2024 21:07:47 +0200
+
+jpeg-xl (0.9.2-7) experimental; urgency=medium
+
+ [ Jeremy Bícha ]
+ * d/rules: Opt into LTO. Closes: #1072943
+
+ [ Gianfranco Costamagna ]
+ * d/symbols: Restore arch independent symbols file
+
+ [ Jeremy Bícha ]
+ * d/control: Disable tcmalloc on i386
+ google-perftools isn't available there on Ubuntu
+
+ [ Mathieu Malaterre ]
+ * d/rules: Remove gcc-12/armhf workaround
+
+ -- Mathieu Malaterre <malat at debian.org> Tue, 11 Jun 2024 08:12:59 +0200
+
+jpeg-xl (0.9.2-6) experimental; urgency=medium
+
+ * d/t/run-unit-test: Adapt test suite. Closes: #1072835
+
+ -- Mathieu Malaterre <malat at debian.org> Mon, 10 Jun 2024 12:33:42 +0200
+
+jpeg-xl (0.9.2-5) experimental; urgency=medium
+
+ * d/patches: Another pass for be unit tests
+
+ -- Mathieu Malaterre <malat at debian.org> Fri, 07 Jun 2024 16:27:41 +0200
+
+jpeg-xl (0.9.2-4) experimental; urgency=medium
+
+ * d/patches: Really remove all failing tests on be
+
+ -- Mathieu Malaterre <malat at debian.org> Fri, 07 Jun 2024 15:00:10 +0200
+
+jpeg-xl (0.9.2-3) experimental; urgency=medium
+
+ * d/patches: Disable tests failing on big-endian
+
+ -- Mathieu Malaterre <malat at debian.org> Fri, 07 Jun 2024 11:57:42 +0200
+
+jpeg-xl (0.9.2-2) experimental; urgency=medium
+
+ [ Julian Wollrath ]
+ * d/rules: Build gdk-pixbuf plugin. Closes: #1001786
+ * d/postrm: Fix gdk-pixbuf-query-loaders: not found. Closes: #1039460
+
+ [ Mathieu Malaterre ]
+ * d/t/control: Remove big-endian arches for now
+ * d/rules: Increase timeout to 6h
+ * d/*.post*: Add -e to fix lintian maintainer-script-ignores-errors
+ * d/rules: Prefer CMAKE_BUILD_RPATH_USE_ORIGIN=OFF for now
+ * d/control: Requires latest data for unit tests
+ * d/control: Fix build-depends-on-obsolete-package
+
+ -- Mathieu Malaterre <malat at debian.org> Tue, 04 Jun 2024 12:15:23 +0200
+
+jpeg-xl (0.9.2-1) experimental; urgency=medium
+
+ * New upstream version 0.9.2
+ * d/patches: Refresh patches for new upstream
+ * d/symbols: Rename symbol file to new SONAME
+ * d/rules: Rename fuzzer_corpus to djxl_fuzzer_corpus
+ * d/install: Remove command line tool cjpeg_hdr
+ * d/symbols: Try to mitigate ABI upstream mess
+
+ -- Mathieu Malaterre <malat at debian.org> Mon, 03 Jun 2024 12:56:05 +0200
+
+jpeg-xl (0.8.2-4) unstable; urgency=medium
+
+ * Upload 0.8.2-4 to unstable. Closes: #1053866
+
+ -- Mathieu Malaterre <malat at debian.org> Fri, 31 May 2024 12:13:58 +0200
+
+jpeg-xl (0.8.2-3) experimental; urgency=medium
+
+ * d/t/run-unit-test: Adapt test suite to change of behavior
+
+ -- Mathieu Malaterre <malat at debian.org> Wed, 22 May 2024 08:02:09 +0200
+
+jpeg-xl (0.8.2-2) experimental; urgency=medium
+
+ * d/patches: Fix failing auto-test. Closes: #1061627
+
+ -- Mathieu Malaterre <malat at debian.org> Tue, 21 May 2024 15:35:24 +0200
+
+jpeg-xl (0.8.2-1) experimental; urgency=medium
+
+ * New upstream version 0.8.2
+ * Fixes CVE-2023-0645 / CVE-2023-35790. Closes: #1034722
+ * d/patches: Remove failing tests on BE arches. Closes: #1029698
+
+ -- Mathieu Malaterre <malat at debian.org> Wed, 11 Oct 2023 09:12:56 +0200
+
+jpeg-xl (0.8.1-2) experimental; urgency=medium
+
+ * d/patches: Import LCMS2 fixes from git/main branch
+ * d/patches: Fix compilation on riscv64
+
+ -- Mathieu Malaterre <malat at debian.org> Tue, 10 Oct 2023 11:45:35 +0200
+
+jpeg-xl (0.8.1-1) experimental; urgency=medium
+
+ * d/rules: Increase timeout for mips64el
+ * d/control: Cleanup archectures list
+ * New upstream version 0.8.1
+
+ -- Mathieu Malaterre <malat at debian.org> Tue, 10 Oct 2023 09:42:19 +0200
+
+jpeg-xl (0.8.0-1) experimental; urgency=medium
+
+ * d/patches: Transition to hwy config cmake files
+ * New upstream version 0.8.0
+ * d/patches: Refresh patches
+ * d/control: Bump to 0.8 SONAME
+ * d/symbols: Update symbols
+
+ -- Mathieu Malaterre <malat at debian.org> Mon, 09 Oct 2023 14:03:34 +0200
+
+jpeg-xl (0.7.0-10.2) unstable; urgency=medium
+
+ * Non-maintainer upload.
+
+ [ Boyuan Yang ]
+ * debian/rules: Temporarily enable CXXFLAGS -fexcess-precision=fast
+ to avoid test failure for i386, s390x. Patch suggested by Adrian Bunk.
+ (See #1053641)
+ * debian/patches/:
+ + 0009-fast_dct-inl.h-Include-std-headers-to-solve-missing-.patch:
+ Add missing headers to avoid FTBFS on arm64 for std::round().
+
+ -- Boyuan Yang <byang at debian.org> Sat, 07 Oct 2023 20:36:24 -0400
+
+jpeg-xl (0.7.0-10.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+
+ [ Boyuan Yang ]
+ * debian/patches/:
+ + 0007-tools-CMakeLists.txt-Fix-compatibility-with-static-l.patch:
+ Fix compatibility with libwebp 1.3.x. (Closes: #1052486)
+ * 0008-Fix-conformance-test.patch: Fix unit test that was previously
+ skipped but now failing. (Closes: #1051560)
+ * debian/control: Require libwebp-dev (>= 1.3) due to patch 0007.
+
+ -- Boyuan Yang <byang at debian.org> Sat, 23 Sep 2023 12:52:43 -0400
+
+jpeg-xl (0.7.0-10) unstable; urgency=medium
+
+ * d/patches: Improve cjxl/djxl manpages. Closes: #1023641
+
+ -- Mathieu Malaterre <malat at debian.org> Sun, 29 Jan 2023 13:01:36 +0100
+
+jpeg-xl (0.7.0-9) unstable; urgency=medium
+
+ * d/tests: Adapt test to latest change
+ * d/control: Fix lintian build-depends-on-1-revision
+
+ -- Mathieu Malaterre <malat at debian.org> Thu, 05 Jan 2023 09:00:37 +0100
+
+jpeg-xl (0.7.0-8) unstable; urgency=medium
+
+ * d/patches: Another big-endian fix. Closes: #1023746
+ * d/control: Make sure to use latest testdata
+
+ -- Mathieu Malaterre <malat at debian.org> Wed, 04 Jan 2023 15:25:10 +0100
+
+jpeg-xl (0.7.0-7) unstable; urgency=medium
+
+ * d/control: Bump Std-Vers to 4.6.2 no changes needed
+ * d/patches: Fix test suite on big-endian. Closes: #1023746
+
+ -- Mathieu Malaterre <malat at debian.org> Wed, 04 Jan 2023 12:29:14 +0100
+
+jpeg-xl (0.7.0-6) unstable; urgency=medium
+
+ [ Jon Sneyers ]
+ * d/manpages: Add more details about jxl_from_tree
+
+ [ Mathieu Malaterre ]
+ * d/control: Mark libjxl-dev Multi-Arch: same
+ * d/control: Require hwy 1.0.2 and up
+ * d/control: Requires latest of libjxl-testdata
+ * d/rules: Fix a pile of build vs host confusions
+ * d/copyright: Fix file location for ssimulacra.cc
+
+ -- Mathieu Malaterre <malat at debian.org> Mon, 21 Nov 2022 14:23:13 +0100
+
+jpeg-xl (0.7.0-5) unstable; urgency=medium
+
+ * d/control: Prefer libjpeg-turbo since default on Debian
+ * d/t/run-unit-test: Fix issue with lossy decompression
+
+ -- Mathieu Malaterre <malat at debian.org> Wed, 05 Oct 2022 11:07:05 +0200
+
+jpeg-xl (0.7.0-4) unstable; urgency=medium
+
+ * d/t/control: Remove big-endian arches for now
+ * d/rules: Be more specific about gcc wrong-code issue
+ * d/t/run-unit-test: Fix issue with lossy conversion
+
+ -- Mathieu Malaterre <malat at debian.org> Tue, 04 Oct 2022 10:20:14 +0200
+
+jpeg-xl (0.7.0-3) unstable; urgency=medium
+
+ [ Pino Toscano ]
+ * Restrict the JNI/Java bindings on archs with Java
+
+ [ Mathieu Malaterre ]
+ * d/control: Properly set min version for libavif
+ * d/rules: Do not install doxygen checksum files
+ * d/rules: Prefer -O1 on armhf for now
+ * d/tests: Add unit tests
+
+ -- Mathieu Malaterre <malat at debian.org> Mon, 03 Oct 2022 14:00:03 +0200
+
+jpeg-xl (0.7.0-2) unstable; urgency=medium
+
+ * d/control: Add missing libavif dependency
+ * d/rules: Add -Wno-psabi to ppc64el and arm64
+ * d/rules: Increase timeout to 4h for mipsel
+ * d/patches: Fix RoundtripLargeFast unit test
+ * d/rules: Fix manpages generation
+
+ -- Mathieu Malaterre <malat at debian.org> Sun, 02 Oct 2022 09:29:54 +0200
+
+jpeg-xl (0.7.0-1) unstable; urgency=medium
+
+ * d/watch: Point to release tags
+ * New upstream version 0.7.0. Closes: #1012884
+ * d/patches: Refresh patches for latest upstream
+ * d/symbols: Add missing symbols
+
+ -- Mathieu Malaterre <malat at debian.org> Mon, 26 Sep 2022 10:19:50 +0200
+
+jpeg-xl (0.7.0~git20220805.980c90f-3) experimental; urgency=medium
+
+ * d/patches: Fix issue with LibraryCLinkageTest
+ * d/rules: Change timeout to 3h for unit test
+ * d/control: Make sure to use latest hwy
+
+ -- Mathieu Malaterre <malat at debian.org> Thu, 25 Aug 2022 14:59:40 +0200
+
+jpeg-xl (0.7.0~git20220805.980c90f-2) experimental; urgency=medium
+
+ * d/patches: Remove failing test for now
+ * d/patches: Fix LibraryCLinkageTest unit test
+ * d/control: Make sure to use latest of testdata
+
+ -- Mathieu Malaterre <malat at debian.org> Mon, 22 Aug 2022 15:33:42 +0200
+
+jpeg-xl (0.7.0~git20220805.980c90f-1) experimental; urgency=medium
+
+ * New upstream version 0.7.0~git20220805.980c90f
+ * d/rules: Properly check return code from unit test
+ * d/control: Make sure to use latest testdata
+
+ -- Mathieu Malaterre <malat at debian.org> Wed, 10 Aug 2022 11:46:24 +0200
+
+jpeg-xl (0.7.0~git20220802.7929382-1) experimental; urgency=medium
+
+ * d/control: Make sure to start using hwy 1.0
+ * New upstream version 0.7.0~git20220802.7929382
+ * d/rules: Remove reference to cjxl_ng since removed upstream
+ * d/rules: Remove unused rule for jxlinfo.1
+ * d/patches: Start using lcms2 v2.13 and up
+
+ -- Mathieu Malaterre <malat at debian.org> Tue, 02 Aug 2022 13:30:49 +0200
+
+jpeg-xl (0.7.0~git20220704.de6a16a-1) experimental; urgency=medium
+
+ * d/p/manpages.patch: Add missing command line options
+ * New upstream version 0.7.0~git20220408.e6264cd+ds
+ * d/patches: Refresh patches
+ * d/control: Remove dh-exec since not used anymore
+ * d/rules: Set SKCMS bundle option to OFF for consistency
+ * d/control: Add dependency to libjxl-testdata
+ * d/patches: Add support for testdata in /usr
+ * d/patches: Fix installation of cjxl_ng
+ * d/control: Properly Implement <!nocheck>
+ * d/patches: Remove a failing test
+ * d/patches: Add a fix when RPATH is not set
+ * d/rules: Make sure to remove by-products from test-suite
+ * New upstream version 0.7.0~git20220420.6cce649+ds
+ * d/patches: Remove patches applied upstream
+ * d/rules: Adapt to latest change for jxlinfo
+ * d/control: Bump Std-Vers to 4.6.1 no changes needed
+ * d/control: make libjxl-dev depend on required libraries. Closes: #1010856
+ * d/control: Make sure to use latest of testdata
+ * d/copyright: Adapt to latest upstream changes
+ * New upstream version 0.7.0~git20220704.de6a16a
+ * d/patches: Refresh patches according to latest upstream
+ * d/rules: Only apply no-psabi on armel/armhf
+ * d/rules: Remove add_noise to match upstream
+
+ -- Mathieu Malaterre <malat at debian.org> Mon, 04 Jul 2022 11:54:24 +0200
+
+jpeg-xl (0.7.0~git20220325.7594374+ds-3) experimental; urgency=medium
+
+ * d/patches: Improve man pages documentation
+ * d/u/metadata: Fix lintian upstream-metadata-file-is-missing
+ * d/rules: Add missing jxlinfo generation rule
+ * d/rules: Add missing rule for *_ng man pages
+ * d/rules: Add flags from upstream during compilation
+ * d/rules: Add benchmark command line to devtools
+ * d/rules: Properly set doxygen to OFF when building binary only
+ * d/patches: Properly install jar/jni files
+ * d/control: Add libjpegxl-java package
+ * d/rules: Fixed typo in DEB_VERSION_UPSTREAM
+
+ -- Mathieu Malaterre <malat at debian.org> Mon, 04 Apr 2022 11:08:50 +0200
+
+jpeg-xl (0.7.0~git20220325.7594374+ds-2) experimental; urgency=medium
+
+ * d/control: Add graphviz package for dot command
+ * d/control: Add missing help2man dependency
+ * d/rules: Only run help2man in arch builds
+ * d/rules: Add missing rules to cleanup *.1 generated files
+
+ -- Mathieu Malaterre <malat at debian.org> Tue, 29 Mar 2022 09:06:43 +0200
+
+jpeg-xl (0.7.0~git20220325.7594374+ds-1) experimental; urgency=medium
+
+ * New upstream version 0.7.0~git20220325.7594374+ds
+ * d/control: Document relation cjpeg_hdr to avifenc
+ * d/manpages: Add missing devtools manpages
+ * d/rules: Remove generated *.a static libs
+ * d/manpages: Add tools manpages
+ * d/rules: Add missing PHONY target
+ * d/rules: Install jxlinfo in devtools
+ * d/control: Add Suggests to netpbm
+ * d/control: Add Recommends to libjpeg-progs
+ * d/patches: Refresh patches
+ * d/patches: Make sure to use lcms 2.12 for now
+ * d/rules: Remove reference to dead code (epf_main)
+
+ -- Mathieu Malaterre <malat at debian.org> Mon, 28 Mar 2022 13:59:09 +0200
+
+jpeg-xl (0.7.0~git20220228.89875cb+ds-1) experimental; urgency=medium
+
+ * d/patches: Fix minor typo
+ * New upstream version 0.7.0~git20220228.89875cb+ds
+ * d/patches: Remove GUN/Hurd patch applied upstream
+ * d/control: Add devtools package
+
+ -- Mathieu Malaterre <malat at debian.org> Thu, 03 Mar 2022 16:34:28 +0100
+
+jpeg-xl (0.7.0~git20220120.0647da4+ds-5) experimental; urgency=medium
+
+ * d/rules: Remove a warning note from all buildds
+ * d/rules: Do not run test in indep builds
+ * d/patches: Add thread fix for riscv64
+ * d/patches: Rework riscv64 patch
+
+ -- Mathieu Malaterre <malat at debian.org> Mon, 07 Feb 2022 14:02:30 +0100
+
+jpeg-xl (0.7.0~git20220120.0647da4+ds-4) experimental; urgency=medium
+
+ * d/examples: Prefer doc package now
+ * d/patches: Fix incomplete HURD patch
+ * d/patches: Really fix riscv64 support
+
+ -- Mathieu Malaterre <malat at debian.org> Mon, 31 Jan 2022 13:16:53 +0100
+
+jpeg-xl (0.7.0~git20220120.0647da4+ds-3) experimental; urgency=medium
+
+ * d/control: Remove xdg-utils/xmlto dependencies (not needed)
+ * d/control: We do not need asciidoc/dblatex dependency
+ * d/control: Add jpeg-xl-doc package
+ * d/control: Update requirement for cmake version
+ * d/control: Add missing dependency docbook-xml
+ * d/patches: Fix compilation on GNU/Hurd
+ * d/patches: Add support for riscv64/atomics
+
+ -- Mathieu Malaterre <malat at debian.org> Fri, 28 Jan 2022 11:37:42 +0100
+
+jpeg-xl (0.7.0~git20220120.0647da4+ds-2) experimental; urgency=medium
+
+ * d/control: Make sure to specify minimum requirement for dependencies
+ * d/symbols: Add missing Build-Depends-Package line
+ * d/rules: Remove a warning on armel/armhf
+ * d/patches: Start adding support for latomic arches
+ * d/rules: Do not force tcmalloc implementation on all arches
+
+ -- Mathieu Malaterre <malat at debian.org> Thu, 27 Jan 2022 13:47:42 +0100
+
+jpeg-xl (0.7.0~git20220120.0647da4+ds-1) experimental; urgency=medium
+
+ * d/watch Prepare orig tarball directly from git HEAD
+ * d/copyright Upstream has simplified convenient library copy logic
+ * New upstream version 0.7.0~git20220120.0647da4+ds
+ * d/control Start building jpeg-xl 0.7
+ * d/symbols Update symbols file
+ * d/patches Remove patches applied upstream
+ * d/compat Start using compat 11
+ * d/rules Document why plugins are not built currently
+ * d/rules Start building JPEG-XL with OpenEXR option
+
+ -- Mathieu Malaterre <malat at debian.org> Thu, 20 Jan 2022 14:35:45 +0100
+
+jpeg-xl (0.6.1+ds-6) experimental; urgency=medium
+
+ * d/symbols: Fix lintian symbols-file-missing-build-depends-package-field
+ * d/rules: Start using the system installed hwy
+ * d/patches: Adapt to GCC-11 default c++ standard
+ * d/examples: Install examples folder
+ * d/install: Do not install *.a anymore
+
+ -- Mathieu Malaterre <malat at debian.org> Thu, 06 Jan 2022 15:39:42 +0100
+
+jpeg-xl (0.6.1+ds-5) experimental; urgency=medium
+
+ * d/symbols: Hide all the std namespace symbols
+ * d/rules: Add missing -latomic for armel and such
+ * d/patches: Do not force -std=c++11 flag during compilation
+
+ -- Mathieu Malaterre <malat at debian.org> Wed, 15 Dec 2021 16:19:00 +0100
+
+jpeg-xl (0.6.1+ds-4) experimental; urgency=medium
+
+ * d/patches: Properly handle a2x >= 10
+ * d/rules: Do not check the return value from test
+
+ -- Mathieu Malaterre <malat at debian.org> Wed, 15 Dec 2021 12:07:35 +0100
+
+jpeg-xl (0.6.1+ds-3) experimental; urgency=medium
+
+ * d/control: Add missing B-D on LCMS
+ * d/control: Add missing Rules-Requires-Root: no
+
+ -- Mathieu Malaterre <malat at debian.org> Wed, 15 Dec 2021 10:20:11 +0100
+
+jpeg-xl (0.6.1+ds-2) experimental; urgency=medium
+
+ * d/control: Add missing B-D on ninja
+ * d/TODO: Add documentation about C-ABI and libstdc++ exceptions
+ * d/README.Debian: Add documentation about git submodules
+
+ -- Mathieu Malaterre <malat at debian.org> Wed, 15 Dec 2021 09:13:47 +0100
+
+jpeg-xl (0.6.1+ds-1) experimental; urgency=medium
+
+ * Initial release (Closes: #948862)
+
+ -- Mathieu Malaterre <malat at debian.org> Tue, 14 Dec 2021 10:29:22 +0100
diff --git a/debian/debian/control b/debian/debian/control
new file mode 100644
index 0000000..572af28
--- /dev/null
+++ b/debian/debian/control
@@ -0,0 +1,133 @@
+Source: jpeg-xl
+Maintainer: Debian PhotoTools Maintainers <pkg-phototools-devel at lists.alioth.debian.org>
+Uploaders: Mathieu Malaterre <malat at debian.org>
+Section: graphics
+Priority: optional
+Standards-Version: 4.7.0
+Build-Depends: asciidoc-base, gcc-13 [riscv64 s390x], g++-13 [riscv64 s390x],
+ cmake (>= 3.10),
+ debhelper-compat (= 13),
+ default-jdk [amd64 arm64 armel armhf i386 mips64el ppc64el riscv64 s390x alpha ia64 m68k powerpc ppc64 sh4 sparc64 x32] <!nojava>,
+ docbook-xml,
+ help2man,
+ libavif-dev (>= 0.10.1),
+ libbrotli-dev,
+ libgdk-pixbuf-2.0-dev,
+ libgflags-dev,
+ libgif-dev (>= 5.1),
+ libgmock-dev <!nocheck>,
+ libgoogle-perftools-dev [amd64 arm64 armel armhf mips64el ppc64el riscv64 s390x loong64 powerpc ppc64 x32],
+ libgtest-dev <!nocheck>,
+ libhwy-dev (>= 1.0.3),
+ libjpeg-dev,
+ libjxl-testdata (>= 0.0~git20240106.ff8d743-2) <!nocheck>,
+ liblcms-dev | liblcms2-dev (>= 2.13),
+ libopenexr-dev,
+ libpng-dev,
+ libwebp-dev (>= 1.3),
+ ninja-build,
+ pkgconf
+Build-Depends-Indep: doxygen, graphviz
+Homepage: https://github.com/libjxl/libjxl
+Vcs-Git: https://salsa.debian.org/debian-phototools-team/libjxl.git
+Vcs-Browser: https://salsa.debian.org/debian-phototools-team/libjxl
+Rules-Requires-Root: no
+
+Package: libjxl-tools
+Architecture: any
+Section: utils
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Recommends: libjpeg-turbo-progs
+Suggests: netpbm
+Description: JPEG XL Image Coding System - "JXL" (command line utility)
+ The JPEG XL Image Coding System (ISO/IEC 18181) is a lossy and
+ lossless image compression format. It has a rich feature set and is
+ particularly optimized for responsive web environments, so that
+ content renders well on a wide range of devices. Moreover, it includes
+ several features that help transition from the legacy JPEG format.
+ .
+ This package installs the command line utilities.
+
+Package: libjxl-dev
+Architecture: any
+Section: libdevel
+Depends: libbrotli-dev,
+ libhwy-dev,
+ libjxl0.10 (= ${binary:Version}),
+ liblcms-dev,
+ ${misc:Depends}
+Multi-Arch: same
+Description: JPEG XL Image Coding System - "JXL" (development files)
+ The JPEG XL Image Coding System (ISO/IEC 18181) is a lossy and
+ lossless image compression format. It has a rich feature set and is
+ particularly optimized for responsive web environments, so that
+ content renders well on a wide range of devices. Moreover, it includes
+ several features that help transition from the legacy JPEG format.
+ .
+ This package installs development files.
+
+Package: libjxl0.10
+Architecture: any
+Multi-Arch: same
+Section: libs
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Pre-Depends: ${misc:Pre-Depends}
+Description: JPEG XL Image Coding System - "JXL" (shared libraries)
+ The JPEG XL Image Coding System (ISO/IEC 18181) is a lossy and
+ lossless image compression format. It has a rich feature set and is
+ particularly optimized for responsive web environments, so that
+ content renders well on a wide range of devices. Moreover, it includes
+ several features that help transition from the legacy JPEG format.
+ .
+ This package installs shared libraries.
+
+Package: jpeg-xl-doc
+Architecture: all
+Section: doc
+Depends: doc-base, ${misc:Depends}
+Description: JPEG XL Image Coding System - "JXL" (documentation)
+ The JPEG XL Image Coding System (ISO/IEC 18181) is a lossy and
+ lossless image compression format. It has a rich feature set and is
+ particularly optimized for responsive web environments, so that
+ content renders well on a wide range of devices. Moreover, it includes
+ several features that help transition from the legacy JPEG format.
+ .
+ This package installs the doxygen documentation.
+
+Package: libjxl-devtools
+Architecture: any
+Section: utils
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Suggests: libavif-bin
+Description: JPEG XL Image Coding System - "JXL" (dev command line utility)
+ The JPEG XL Image Coding System (ISO/IEC 18181) is a lossy and
+ lossless image compression format. It has a rich feature set and is
+ particularly optimized for responsive web environments, so that
+ content renders well on a wide range of devices. Moreover, it includes
+ several features that help transition from the legacy JPEG format.
+ .
+ This package installs the devtools command line utilities.
+
+Package: libjxl-gdk-pixbuf
+Architecture: any
+Multi-Arch: same
+Section: libs
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Pre-Depends: ${misc:Pre-Depends}
+Description: JPEG XL Plugin for gdk-pixbuf
+ This package installs the required files for reading JPEG XL files in
+ GTK applications.
+
+Package: libjpegxl-java
+Architecture: amd64 arm64 armel armhf i386 mips64el ppc64el riscv64 s390x alpha ia64 m68k powerpc ppc64 sh4 sparc64 x32
+Section: java
+Depends: ${java:Depends}, ${misc:Depends}, ${shlibs:Depends}
+Suggests: java-virtual-machine
+Description: JPEG XL Image Coding System - "JXL" (java bindings)
+ The JPEG XL Image Coding System (ISO/IEC 18181) is a lossy and
+ lossless image compression format. It has a rich feature set and is
+ particularly optimized for responsive web environments, so that
+ content renders well on a wide range of devices. Moreover, it includes
+ several features that help transition from the legacy JPEG format.
+ .
+ This package installs the Java Bindings.
diff --git a/debian/debian/control.in b/debian/debian/control.in
new file mode 100644
index 0000000..77e9312
--- /dev/null
+++ b/debian/debian/control.in
@@ -0,0 +1,133 @@
+Source: jpeg-xl
+Maintainer: Debian PhotoTools Maintainers <pkg-phototools-devel at lists.alioth.debian.org>
+Uploaders: Mathieu Malaterre <malat at debian.org>
+Section: graphics
+Priority: optional
+Standards-Version: 4.7.0
+Build-Depends: asciidoc-base, gcc-13 [s390x], g++-13 [s390x],
+ cmake (>= 3.10),
+ debhelper-compat (= 13),
+ default-jdk [@JAVA_ARCHS@] <!nojava>,
+ docbook-xml,
+ help2man,
+ libavif-dev (>= 0.10.1),
+ libbrotli-dev,
+ libgdk-pixbuf-2.0-dev,
+ libgflags-dev,
+ libgif-dev (>= 5.1),
+ libgmock-dev <!nocheck>,
+ libgoogle-perftools-dev [@TCMALLOC_ARCHS@],
+ libgtest-dev <!nocheck>,
+ libhwy-dev (>= 1.0.3),
+ libjpeg-dev,
+ libjxl-testdata (>= 0.0~git20240106.ff8d743-2) <!nocheck>,
+ liblcms-dev | liblcms2-dev (>= 2.13),
+ libopenexr-dev,
+ libpng-dev,
+ libwebp-dev (>= 1.3),
+ ninja-build,
+ pkgconf
+Build-Depends-Indep: doxygen, graphviz
+Homepage: https://github.com/libjxl/libjxl
+Vcs-Git: https://salsa.debian.org/debian-phototools-team/libjxl.git
+Vcs-Browser: https://salsa.debian.org/debian-phototools-team/libjxl
+Rules-Requires-Root: no
+
+Package: libjxl-tools
+Architecture: any
+Section: utils
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Recommends: libjpeg-turbo-progs
+Suggests: netpbm
+Description: JPEG XL Image Coding System - "JXL" (command line utility)
+ The JPEG XL Image Coding System (ISO/IEC 18181) is a lossy and
+ lossless image compression format. It has a rich feature set and is
+ particularly optimized for responsive web environments, so that
+ content renders well on a wide range of devices. Moreover, it includes
+ several features that help transition from the legacy JPEG format.
+ .
+ This package installs the command line utilities.
+
+Package: libjxl-dev
+Architecture: any
+Section: libdevel
+Depends: libbrotli-dev,
+ libhwy-dev,
+ libjxl0.10 (= ${binary:Version}),
+ liblcms-dev,
+ ${misc:Depends}
+Multi-Arch: same
+Description: JPEG XL Image Coding System - "JXL" (development files)
+ The JPEG XL Image Coding System (ISO/IEC 18181) is a lossy and
+ lossless image compression format. It has a rich feature set and is
+ particularly optimized for responsive web environments, so that
+ content renders well on a wide range of devices. Moreover, it includes
+ several features that help transition from the legacy JPEG format.
+ .
+ This package installs development files.
+
+Package: libjxl0.10
+Architecture: any
+Multi-Arch: same
+Section: libs
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Pre-Depends: ${misc:Pre-Depends}
+Description: JPEG XL Image Coding System - "JXL" (shared libraries)
+ The JPEG XL Image Coding System (ISO/IEC 18181) is a lossy and
+ lossless image compression format. It has a rich feature set and is
+ particularly optimized for responsive web environments, so that
+ content renders well on a wide range of devices. Moreover, it includes
+ several features that help transition from the legacy JPEG format.
+ .
+ This package installs shared libraries.
+
+Package: jpeg-xl-doc
+Architecture: all
+Section: doc
+Depends: doc-base, ${misc:Depends}
+Description: JPEG XL Image Coding System - "JXL" (documentation)
+ The JPEG XL Image Coding System (ISO/IEC 18181) is a lossy and
+ lossless image compression format. It has a rich feature set and is
+ particularly optimized for responsive web environments, so that
+ content renders well on a wide range of devices. Moreover, it includes
+ several features that help transition from the legacy JPEG format.
+ .
+ This package installs the doxygen documentation.
+
+Package: libjxl-devtools
+Architecture: any
+Section: utils
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Suggests: libavif-bin
+Description: JPEG XL Image Coding System - "JXL" (dev command line utility)
+ The JPEG XL Image Coding System (ISO/IEC 18181) is a lossy and
+ lossless image compression format. It has a rich feature set and is
+ particularly optimized for responsive web environments, so that
+ content renders well on a wide range of devices. Moreover, it includes
+ several features that help transition from the legacy JPEG format.
+ .
+ This package installs the devtools command line utilities.
+
+Package: libjxl-gdk-pixbuf
+Architecture: any
+Multi-Arch: same
+Section: libs
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Pre-Depends: ${misc:Pre-Depends}
+Description: JPEG XL Plugin for gdk-pixbuf
+ This package installs the required files for reading JPEG XL files in
+ GTK applications.
+
+Package: libjpegxl-java
+Architecture: @JAVA_ARCHS@
+Section: java
+Depends: ${java:Depends}, ${misc:Depends}, ${shlibs:Depends}
+Suggests: java-virtual-machine
+Description: JPEG XL Image Coding System - "JXL" (java bindings)
+ The JPEG XL Image Coding System (ISO/IEC 18181) is a lossy and
+ lossless image compression format. It has a rich feature set and is
+ particularly optimized for responsive web environments, so that
+ content renders well on a wide range of devices. Moreover, it includes
+ several features that help transition from the legacy JPEG format.
+ .
+ This package installs the Java Bindings.
diff --git a/debian/debian/copyright b/debian/debian/copyright
new file mode 100644
index 0000000..a56a2fb
--- /dev/null
+++ b/debian/debian/copyright
@@ -0,0 +1,55 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: jpeg-xl
+Source: https://github.com/libjxl/libjxl
+
+Files: *
+Copyright: 2020 the JPEG XL Project
+License: BSD-3-clause-Google
+
+Files: tools/ssimulacra.cc
+Copyright: 2005, Rabah Mehdi <mehdi.rabah at gmail.com>,
+ 2009, Philipp Klaus Krause <philipp at colecovision.eu>
+License: ISC-License
+ Permission to use, copy, modify, and/or distribute this software for any
+ purpose with or without fee is hereby granted, provided that the above
+ copyright notice and this permission notice appear in all copies.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+License: BSD-3-clause-Google
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+ .
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following disclaimer
+ in the documentation and/or other materials provided with the
+ distribution.
+ * Neither the name of Google Inc. nor the names of its
+ contributors may be used to endorse or promote products derived from
+ this software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Files: debian/*
+Copyright: 2021 Mathieu Malaterre <malat at debian.org>
+License: BSD-3-clause-Google
+ Same as above
diff --git a/debian/debian/decode_and_encode.1.in b/debian/debian/decode_and_encode.1.in
new file mode 100644
index 0000000..6b7c0e0
--- /dev/null
+++ b/debian/debian/decode_and_encode.1.in
@@ -0,0 +1,6 @@
+[NAME]
+decode_and_encode - decode_and_encode
+
+[AUTHOR]
+This manual page was written by Mathieu Malaterre <malat at debian.org> for the
+Debian GNU/Linux system (but may be used by others).
diff --git a/debian/debian/display_to_hlg.1.in b/debian/debian/display_to_hlg.1.in
new file mode 100644
index 0000000..3cd29b0
--- /dev/null
+++ b/debian/debian/display_to_hlg.1.in
@@ -0,0 +1,6 @@
+[NAME]
+display_to_hlg - display_to_hlg
+
+[AUTHOR]
+This manual page was written by Mathieu Malaterre <malat at debian.org> for the
+Debian GNU/Linux system (but may be used by others).
diff --git a/debian/debian/djxl_fuzzer_corpus.1.in b/debian/debian/djxl_fuzzer_corpus.1.in
new file mode 100644
index 0000000..a101b64
--- /dev/null
+++ b/debian/debian/djxl_fuzzer_corpus.1.in
@@ -0,0 +1,6 @@
+[NAME]
+djxl_fuzzer_corpus - djxl_fuzzer_corpus
+
+[AUTHOR]
+This manual page was written by Mathieu Malaterre <malat at debian.org> for the
+Debian GNU/Linux system (but may be used by others).
diff --git a/debian/debian/exr_to_pq.1.in b/debian/debian/exr_to_pq.1.in
new file mode 100644
index 0000000..51969f8
--- /dev/null
+++ b/debian/debian/exr_to_pq.1.in
@@ -0,0 +1,6 @@
+[NAME]
+exr_to_pq - exr_to_pq
+
+[AUTHOR]
+This manual page was written by Mathieu Malaterre <malat at debian.org> for the
+Debian GNU/Linux system (but may be used by others).
diff --git a/debian/debian/generate_lut_template.1.in b/debian/debian/generate_lut_template.1.in
new file mode 100644
index 0000000..30cbac3
--- /dev/null
+++ b/debian/debian/generate_lut_template.1.in
@@ -0,0 +1,6 @@
+[NAME]
+generate_lut_template - generate_lut_template
+
+[AUTHOR]
+This manual page was written by Mathieu Malaterre <malat at debian.org> for the
+Debian GNU/Linux system (but may be used by others).
diff --git a/debian/debian/jpeg-xl-doc.doc-base b/debian/debian/jpeg-xl-doc.doc-base
new file mode 100644
index 0000000..3f14c1e
--- /dev/null
+++ b/debian/debian/jpeg-xl-doc.doc-base
@@ -0,0 +1,9 @@
+Document: jpeg-xl-doc
+Title: JPEG XL image format reference implementation
+Author: JPEG XL Project Authors
+Abstract: JPEG XL image format reference implementation
+Section: Programming/C++
+
+Format: HTML
+Index: /usr/share/doc/jpeg-xl-doc/html/index.html
+Files: /usr/share/doc/jpeg-xl-doc/html/*
diff --git a/debian/debian/jpeg-xl-doc.examples b/debian/debian/jpeg-xl-doc.examples
new file mode 100644
index 0000000..e39721e
--- /dev/null
+++ b/debian/debian/jpeg-xl-doc.examples
@@ -0,0 +1 @@
+examples/*
diff --git a/debian/debian/jxl_from_tree.1.in b/debian/debian/jxl_from_tree.1.in
new file mode 100644
index 0000000..113b929
--- /dev/null
+++ b/debian/debian/jxl_from_tree.1.in
@@ -0,0 +1,63 @@
+[NAME]
+jxl_from_tree - jxl_from_tree
+
+[DESCRIPTION]
+jxl_from_tree originated as a debug/test tool to produce handcrafted JPEG XL
+bitstreams directly (as opposed to using the libjxl encoder in the usual way by
+giving it pixels as input). These handcrafted bitstreams are very small since
+they consist of just a context model for the entropy coding (this context model
+is described by means of a MA tree, hence the name jxl_from_tree), with the
+actual entropy-coded residuals simply being all zeroes, which compress to zero
+bits.
+
+MA stands for "meta-adaptive" and it refers to the fact that we are not using a
+fixed context model (which is the usual approach) but a context model that can
+adapt to the image contents itself. The context model itself is signaled in the
+bitstream, allowing an encoder to use a context model that works well for the
+image it is encoding. Context modeling itself is "adaptive" in the sense that
+it adapts entropy coding to local context; by allowing the context model itself
+to be changed too, we made something "meta".
+
+[EXAMPLES]
+
+ % jxl_from_tree /usr/share/libjxl-testdata/jxl/splines.tree splines.jxl
+ % jxlinfo splines.jxl
+ JPEG XL image, 320x320, (possibly) lossless, 8-bit RGB
+ Color space: RGB, D65, sRGB primaries, sRGB transfer function, rendering intent: Relative
+ % md5sum splines.jxl
+ 222fcf2d528904bc796a7c3a3c64cd76 splines.jxl
+
+However:
+
+ % djxl splines.jxl splines.ppm
+ % md5sum splines.ppm
+
+may produce either:
+
+ 77c4ccf6f23b320819610ebd5e1b2af0 splines.ppm
+
+or
+
+ 9ca111503859edaa6c3b1cb92ff657b7 splines.ppm
+
+Splines are not currently used by the encoder at all, this is a test bitstream
+that was artificially produced. Splines are additional image features that are
+represented internally in a vector form (control points for catmull-rom
+splines) and painted by the decoder on top of (added numerically) the
+underlying pixels. The jxlinfo tool only inspects the image header and sees
+that the pixels were encoded in RGB (not XYB), so it offers the suggestion that
+the image is possibly lossless, but this is in any case just a possibility
+(there is no way for it to know the history and workflow that was used to
+produce the image). In this case the pixels themselves are encoded losslessly
+using Modular, but they are just all black. The rest is painted with splines.
+
+Spline rendering is defined mathematically in the spec and with infinite
+precision it is precisely defined; however practical implementations do things
+with limited precision and there can be tiny differences caused by rounding
+errors (which can be platform dependent and compiler dependent). The same is
+true for other coding tools like the DCT. For that reason we have conformance
+tolerances.
+
+[AUTHOR]
+This manual page was written by Mathieu Malaterre <malat at debian.org> for the
+Debian GNU/Linux system (but may be used by others).
diff --git a/debian/debian/jxlinfo.1.in b/debian/debian/jxlinfo.1.in
new file mode 100644
index 0000000..89c72f5
--- /dev/null
+++ b/debian/debian/jxlinfo.1.in
@@ -0,0 +1,6 @@
+[NAME]
+jxlinfo - jxlinfo
+
+[AUTHOR]
+This manual page was written by Mathieu Malaterre <malat at debian.org> for the
+Debian GNU/Linux system (but may be used by others).
diff --git a/debian/debian/libjpegxl-java.install b/debian/debian/libjpegxl-java.install
new file mode 100644
index 0000000..b05dfd0
--- /dev/null
+++ b/debian/debian/libjpegxl-java.install
@@ -0,0 +1,2 @@
+usr/lib/*/jni/libjxl_jni.so
+usr/share/java/org.jpeg.jpegxl.jar
diff --git a/debian/debian/libjxl-dev.install b/debian/debian/libjxl-dev.install
new file mode 100644
index 0000000..ebe4ac4
--- /dev/null
+++ b/debian/debian/libjxl-dev.install
@@ -0,0 +1,3 @@
+usr/include/jxl/*.h
+usr/lib/*/*.so
+usr/lib/*/pkgconfig/*.pc
diff --git a/debian/debian/libjxl-devtools.install b/debian/debian/libjxl-devtools.install
new file mode 100644
index 0000000..3a26294
--- /dev/null
+++ b/debian/debian/libjxl-devtools.install
@@ -0,0 +1,16 @@
+usr/bin/benchmark_xl
+usr/bin/butteraugli_main
+usr/bin/decode_and_encode
+usr/bin/display_to_hlg
+usr/bin/djxl_fuzzer_corpus
+usr/bin/exr_to_pq
+usr/bin/generate_lut_template
+usr/bin/jxl_from_tree
+usr/bin/local_tone_map
+usr/bin/pq_to_hlg
+usr/bin/render_hlg
+usr/bin/ssimulacra2
+usr/bin/ssimulacra_main
+usr/bin/texture_to_cube
+usr/bin/tone_map
+usr/bin/xyb_range
diff --git a/debian/debian/libjxl-devtools.manpages b/debian/debian/libjxl-devtools.manpages
new file mode 100644
index 0000000..5719207
--- /dev/null
+++ b/debian/debian/libjxl-devtools.manpages
@@ -0,0 +1,16 @@
+debian/benchmark_xl.1
+debian/butteraugli_main.1
+debian/decode_and_encode.1
+debian/display_to_hlg.1
+debian/djxl_fuzzer_corpus.1
+debian/exr_to_pq.1
+debian/generate_lut_template.1
+debian/jxl_from_tree.1
+debian/local_tone_map.1
+debian/pq_to_hlg.1
+debian/render_hlg.1
+debian/ssimulacra2.1
+debian/ssimulacra_main.1
+debian/texture_to_cube.1
+debian/tone_map.1
+debian/xyb_range.1
diff --git a/debian/debian/libjxl-gdk-pixbuf.install b/debian/debian/libjxl-gdk-pixbuf.install
new file mode 100644
index 0000000..91a4d49
--- /dev/null
+++ b/debian/debian/libjxl-gdk-pixbuf.install
@@ -0,0 +1,2 @@
+usr/lib/*/gdk-pixbuf-*/*/loaders/*
+usr/share/thumbnailers/jxl.thumbnailer
diff --git a/debian/debian/libjxl-tools.install b/debian/debian/libjxl-tools.install
new file mode 100644
index 0000000..cd5227b
--- /dev/null
+++ b/debian/debian/libjxl-tools.install
@@ -0,0 +1,5 @@
+usr/bin/cjxl
+usr/bin/djxl
+usr/bin/jxlinfo
+usr/share/man/man1/cjxl.1
+usr/share/man/man1/djxl.1
diff --git a/debian/debian/libjxl-tools.manpages b/debian/debian/libjxl-tools.manpages
new file mode 100644
index 0000000..ad4763b
--- /dev/null
+++ b/debian/debian/libjxl-tools.manpages
@@ -0,0 +1 @@
+debian/jxlinfo.1
diff --git a/debian/debian/libjxl0.10.install b/debian/debian/libjxl0.10.install
new file mode 100644
index 0000000..cd157a7
--- /dev/null
+++ b/debian/debian/libjxl0.10.install
@@ -0,0 +1 @@
+usr/lib/*/libjxl*.so.*
diff --git a/debian/debian/libjxl0.10.symbols b/debian/debian/libjxl0.10.symbols
new file mode 100644
index 0000000..23acf04
--- /dev/null
+++ b/debian/debian/libjxl0.10.symbols
@@ -0,0 +1,193 @@
+libjxl.so.0.10 libjxl0.10 #MINVER#
+* Build-Depends-Package: libjxl-dev
+ JXL_0 at JXL_0 0.6.1
+ JxlColorEncodingSetToLinearSRGB at JXL_0 0.6.1
+ JxlColorEncodingSetToSRGB at JXL_0 0.6.1
+ JxlDecoderCloseInput at JXL_0 0.7.0
+ JxlDecoderCreate at JXL_0 0.6.1
+ JxlDecoderDestroy at JXL_0 0.6.1
+ JxlDecoderExtraChannelBufferSize at JXL_0 0.6.1
+ JxlDecoderFlushImage at JXL_0 0.6.1
+ JxlDecoderGetBasicInfo at JXL_0 0.6.1
+ JxlDecoderGetBoxSizeContents at JXL_0 0.10.3
+ JxlDecoderGetBoxSizeRaw at JXL_0 0.7.0
+ JxlDecoderGetBoxType at JXL_0 0.7.0
+ JxlDecoderGetColorAsEncodedProfile at JXL_0 0.6.1
+ JxlDecoderGetColorAsICCProfile at JXL_0 0.6.1
+ JxlDecoderGetExtraChannelBlendInfo at JXL_0 0.7.0
+ JxlDecoderGetExtraChannelInfo at JXL_0 0.6.1
+ JxlDecoderGetExtraChannelName at JXL_0 0.6.1
+ JxlDecoderGetFrameHeader at JXL_0 0.6.1
+ JxlDecoderGetFrameName at JXL_0 0.6.1
+ JxlDecoderGetICCProfileSize at JXL_0 0.6.1
+ JxlDecoderGetIntendedDownsamplingRatio at JXL_0 0.7.0
+ JxlDecoderImageOutBufferSize at JXL_0 0.6.1
+ JxlDecoderPreviewOutBufferSize at JXL_0 0.6.1
+ JxlDecoderProcessInput at JXL_0 0.6.1
+ JxlDecoderReleaseBoxBuffer at JXL_0 0.7.0
+ JxlDecoderReleaseInput at JXL_0 0.6.1
+ JxlDecoderReleaseJPEGBuffer at JXL_0 0.6.1
+ JxlDecoderReset at JXL_0 0.6.1
+ JxlDecoderRewind at JXL_0 0.6.1
+ JxlDecoderSetBoxBuffer at JXL_0 0.7.0
+ JxlDecoderSetCms at JXL_0 0.9.2
+ JxlDecoderSetCoalescing at JXL_0 0.7.0
+ JxlDecoderSetDecompressBoxes at JXL_0 0.7.0
+ JxlDecoderSetDesiredIntensityTarget at JXL_0 0.7.0
+ JxlDecoderSetExtraChannelBuffer at JXL_0 0.6.1
+ JxlDecoderSetImageOutBitDepth at JXL_0 0.8.0
+ JxlDecoderSetImageOutBuffer at JXL_0 0.6.1
+ JxlDecoderSetImageOutCallback at JXL_0 0.6.1
+ JxlDecoderSetInput at JXL_0 0.6.1
+ JxlDecoderSetJPEGBuffer at JXL_0 0.6.1
+ JxlDecoderSetKeepOrientation at JXL_0 0.6.1
+ JxlDecoderSetMultithreadedImageOutCallback at JXL_0 0.7.0
+ JxlDecoderSetOutputColorProfile at JXL_0 0.9.2
+ JxlDecoderSetParallelRunner at JXL_0 0.6.1
+ JxlDecoderSetPreferredColorProfile at JXL_0 0.6.1
+ JxlDecoderSetPreviewOutBuffer at JXL_0 0.6.1
+ JxlDecoderSetProgressiveDetail at JXL_0 0.7.0
+ JxlDecoderSetRenderSpotcolors at JXL_0 0.7.0
+ JxlDecoderSetUnpremultiplyAlpha at JXL_0 0.7.0
+ JxlDecoderSizeHintBasicInfo at JXL_0 0.6.1
+ JxlDecoderSkipCurrentFrame at JXL_0 0.7.0
+ JxlDecoderSkipFrames at JXL_0 0.6.1
+ JxlDecoderSubscribeEvents at JXL_0 0.6.1
+ JxlDecoderVersion at JXL_0 0.6.1
+ JxlEncoderAddBox at JXL_0 0.7.0
+ JxlEncoderAddChunkedFrame at JXL_0 0.9.2
+ JxlEncoderAddImageFrame at JXL_0 0.6.1
+ JxlEncoderAddJPEGFrame at JXL_0 0.6.1
+ JxlEncoderAllowExpertOptions at JXL_0 0.8.0
+ JxlEncoderCloseBoxes at JXL_0 0.7.0
+ JxlEncoderCloseFrames at JXL_0 0.7.0
+ JxlEncoderCloseInput at JXL_0 0.6.1
+ JxlEncoderCollectStats at JXL_0 0.9.2
+ JxlEncoderCreate at JXL_0 0.6.1
+ JxlEncoderDestroy at JXL_0 0.6.1
+ JxlEncoderDistanceFromQuality at JXL_0 0.9.2
+ JxlEncoderFlushInput at JXL_0 0.9.2
+ JxlEncoderFrameSettingsCreate at JXL_0 0.7.0
+ JxlEncoderFrameSettingsSetFloatOption at JXL_0 0.7.0
+ JxlEncoderFrameSettingsSetOption at JXL_0 0.7.0
+ JxlEncoderGetError at JXL_0 0.7.0
+ JxlEncoderGetRequiredCodestreamLevel at JXL_0 0.7.0
+ JxlEncoderInitBasicInfo at JXL_0 0.6.1
+ JxlEncoderInitBlendInfo at JXL_0 0.7.0
+ JxlEncoderInitExtraChannelInfo at JXL_0 0.7.0
+ JxlEncoderInitFrameHeader at JXL_0 0.7.0
+ JxlEncoderProcessOutput at JXL_0 0.6.1
+ JxlEncoderReset at JXL_0 0.6.1
+ JxlEncoderSetBasicInfo at JXL_0 0.6.1
+ JxlEncoderSetCms at JXL_0 0.7.0
+ JxlEncoderSetCodestreamLevel at JXL_0 0.7.0
+ JxlEncoderSetColorEncoding at JXL_0 0.6.1
+ JxlEncoderSetDebugImageCallback at JXL_0 0.9.2
+ JxlEncoderSetExtraChannelBlendInfo at JXL_0 0.7.0
+ JxlEncoderSetExtraChannelBuffer at JXL_0 0.7.0
+ JxlEncoderSetExtraChannelDistance at JXL_0 0.9.2
+ JxlEncoderSetExtraChannelInfo at JXL_0 0.7.0
+ JxlEncoderSetExtraChannelName at JXL_0 0.7.0
+ JxlEncoderSetFrameBitDepth at JXL_0 0.8.0
+ JxlEncoderSetFrameDistance at JXL_0 0.7.0
+ JxlEncoderSetFrameHeader at JXL_0 0.7.0
+ JxlEncoderSetFrameLossless at JXL_0 0.7.0
+ JxlEncoderSetFrameName at JXL_0 0.7.0
+ JxlEncoderSetICCProfile at JXL_0 0.6.1
+ JxlEncoderSetOutputProcessor at JXL_0 0.9.2
+ JxlEncoderSetParallelRunner at JXL_0 0.6.1
+ JxlEncoderSetUpsamplingMode at JXL_0 0.9.2
+ JxlEncoderStatsCreate at JXL_0 0.9.2
+ JxlEncoderStatsDestroy at JXL_0 0.9.2
+ JxlEncoderStatsGet at JXL_0 0.9.2
+ JxlEncoderStatsMerge at JXL_0 0.9.2
+ JxlEncoderStoreJPEGMetadata at JXL_0 0.6.1
+ JxlEncoderUseBoxes at JXL_0 0.7.0
+ JxlEncoderUseContainer at JXL_0 0.6.1
+ JxlEncoderVersion at JXL_0 0.6.1
+ JxlSignatureCheck at JXL_0 0.6.1
+libjxl_cms.so.0.10 libjxl0.10 #MINVER#
+* Build-Depends-Package: libjxl-dev
+ JxlGetDefaultCms at Base 0.9.2
+libjxl_extras_codec.so.0.10 libjxl0.10 #MINVER#
+* Build-Depends-Package: libjxl-dev
+ _ZN3jxl16MemoryMappedFile4InitEPKc at Base 0.10.3
+ _ZN3jxl16MemoryMappedFileC1EOS0_ at Base 0.10.3
+ _ZN3jxl16MemoryMappedFileC1Ev at Base 0.10.3
+ _ZN3jxl16MemoryMappedFileC2EOS0_ at Base 0.10.3
+ _ZN3jxl16MemoryMappedFileC2Ev at Base 0.10.3
+ _ZN3jxl16MemoryMappedFileD1Ev at Base 0.10.3
+ _ZN3jxl16MemoryMappedFileD2Ev at Base 0.10.3
+ _ZN3jxl16MemoryMappedFileaSEOS0_ at Base 0.10.3
+ _ZN3jxl16ParseDescriptionERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEP16JxlColorEncoding at Base 0.9.2
+ _ZN3jxl20ResetExifOrientationERSt6vectorIhSaIhEE at Base 0.9.2
+ _ZN3jxl3NowEv at Base 0.9.2
+ (arch-bits=32)_ZN3jxl6detail23MethodToCCallbackHelperIMNS_6extras20PNMChunkedInputFrameEFPKvjjjjPjEE4CallIXadL_ZNS3_21GetColorChannelDataAtEjjjjS6_EEEES5_PvjjjjS6_ at Base 0.10.3
+ (arch-bits=32)_ZN3jxl6detail23MethodToCCallbackHelperIMNS_6extras20PNMChunkedInputFrameEFPKvjjjjjPjEE4CallIXadL_ZNS3_21GetExtraChannelDataAtEjjjjjS6_EEEES5_PvjjjjjS6_ at Base 0.10.3
+ (arch-bits=64)_ZN3jxl6detail23MethodToCCallbackHelperIMNS_6extras20PNMChunkedInputFrameEFPKvmmmmPmEE4CallIXadL_ZNS3_21GetColorChannelDataAtEmmmmS6_EEEES5_PvmmmmS6_ at Base 0.10.3
+ (arch-bits=64)_ZN3jxl6detail23MethodToCCallbackHelperIMNS_6extras20PNMChunkedInputFrameEFPKvmmmmmPmEE4CallIXadL_ZNS3_21GetExtraChannelDataAtEmmmmmS6_EEEES5_PvmmmmmS6_ at Base 0.10.3
+ _ZN3jxl6detail23MethodToCCallbackHelperIMNS_6extras20PNMChunkedInputFrameEFvP14JxlPixelFormatEE4CallIXadL_ZNS3_27GetColorChannelsPixelFormatES5_EEEEvPvS5_ at Base 0.10.3
+ _ZN3jxl6detail23MethodToCCallbackHelperIMNS_6extras20PNMChunkedInputFrameEFvPKvEE4CallIXadL_ZNS3_18ReleaseCurrentDataES5_EEEEvPvS5_ at Base 0.10.3
+ (arch-bits=32)_ZN3jxl6detail23MethodToCCallbackHelperIMNS_6extras20PNMChunkedInputFrameEFvjP14JxlPixelFormatEE4CallIXadL_ZNS3_26GetExtraChannelPixelFormatEjS5_EEEEvPvjS5_ at Base 0.10.3
+ (arch-bits=64)_ZN3jxl6detail23MethodToCCallbackHelperIMNS_6extras20PNMChunkedInputFrameEFvmP14JxlPixelFormatEE4CallIXadL_ZNS3_26GetExtraChannelPixelFormatEmS5_EEEEvPvmS5_ at Base 0.10.3
+ _ZN3jxl6extras10AlphaBlendEPNS0_15PackedPixelFileEPKf at Base 0.10.3
+ (arch-bits=32)_ZN3jxl6extras10SetupFrameEP16JxlEncoderStructP29JxlEncoderFrameSettingsStructRK14JxlFrameHeaderRKNS0_17JXLCompressParamsERKNS0_15PackedPixelFileEjjjRj at Base 0.10.3
+ (arch-bits=64)_ZN3jxl6extras10SetupFrameEP16JxlEncoderStructP29JxlEncoderFrameSettingsStructRK14JxlFrameHeaderRKNS0_17JXLCompressParamsERKNS0_15PackedPixelFileEmmmRm at Base 0.9.2
+ _ZN3jxl6extras11DecodeBytesENS_4SpanIKhEERKNS0_10ColorHintsEPNS0_15PackedPixelFileEPKNS_15SizeConstraintsEPNS0_5CodecE at Base 0.9.2
+ _ZN3jxl6extras12CanDecodeEXREv at Base 0.9.2
+ _ZN3jxl6extras12CanDecodeGIFEv at Base 0.9.2
+ _ZN3jxl6extras12CanDecodeJPGEv at Base 0.9.2
+ _ZN3jxl6extras12SelectFormatERKSt6vectorI14JxlPixelFormatSaIS2_EERK12JxlBasicInfoPS2_ at Base 0.9.2
+ _ZN3jxl6extras12TestCodecPNMEv at Base 0.9.2
+ _ZN3jxl6extras13CanDecodeAPNGEv at Base 0.9.2
+ (arch-bits=32)_ZN3jxl6extras13CodecFromPathERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPjPS6_ at Base 0.10.3
+ (arch-bits=64)_ZN3jxl6extras13CodecFromPathERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPmPS6_ at Base 0.10.3
+ _ZN3jxl6extras13GetEXREncoderEv at Base 0.9.2
+ _ZN3jxl6extras13GetPAMEncoderEv at Base 0.9.2
+ _ZN3jxl6extras13GetPFMEncoderEv at Base 0.9.2
+ _ZN3jxl6extras13GetPGMEncoderEv at Base 0.9.2
+ _ZN3jxl6extras13GetPGXEncoderEv at Base 0.9.2
+ _ZN3jxl6extras13GetPNMEncoderEv at Base 0.9.2
+ _ZN3jxl6extras13GetPPMEncoderEv at Base 0.9.2
+ _ZN3jxl6extras14DecodeImageEXRENS_4SpanIKhEERKNS0_10ColorHintsEPNS0_15PackedPixelFileEPKNS_15SizeConstraintsE at Base 0.9.2
+ _ZN3jxl6extras14DecodeImageGIFENS_4SpanIKhEERKNS0_10ColorHintsEPNS0_15PackedPixelFileEPKNS_15SizeConstraintsE at Base 0.9.2
+ _ZN3jxl6extras14DecodeImageJPGENS_4SpanIKhEERKNS0_10ColorHintsEPNS0_15PackedPixelFileEPKNS_15SizeConstraintsEPKNS0_19JPGDecompressParamsE at Base 0.9.2
+ (arch-bits=32)_ZN3jxl6extras14DecodeImageJXLEPKhjRKNS0_19JXLDecompressParamsEPjPNS0_15PackedPixelFileEPSt6vectorIhSaIhEE at Base 0.10.3
+ (arch-bits=64)_ZN3jxl6extras14DecodeImageJXLEPKhmRKNS0_19JXLDecompressParamsEPmPNS0_15PackedPixelFileEPSt6vectorIhSaIhEE at Base 0.9.2
+ _ZN3jxl6extras14DecodeImagePGXENS_4SpanIKhEERKNS0_10ColorHintsEPNS0_15PackedPixelFileEPKNS_15SizeConstraintsE at Base 0.9.2
+ _ZN3jxl6extras14DecodeImagePNMENS_4SpanIKhEERKNS0_10ColorHintsEPNS0_15PackedPixelFileEPKNS_15SizeConstraintsE at Base 0.9.2
+ _ZN3jxl6extras14EncodeImageJXLERKNS0_17JXLCompressParamsERKNS0_15PackedPixelFileEPKSt6vectorIhSaIhEEPS9_ at Base 0.9.2
+ _ZN3jxl6extras14GetAPNGEncoderEv at Base 0.9.2
+ _ZN3jxl6extras14GetJPEGEncoderEv at Base 0.9.2
+ _ZN3jxl6extras15ApplyColorHintsERKNS0_10ColorHintsEbbPNS0_15PackedPixelFileE at Base 0.9.2
+ _ZN3jxl6extras15DecodeImageAPNGENS_4SpanIKhEERKNS0_10ColorHintsEPNS0_15PackedPixelFileEPKNS_15SizeConstraintsE at Base 0.9.2
+ _ZN3jxl6extras15GetNumPyEncoderEv at Base 0.9.2
+ (arch-bits=32)_ZN3jxl6extras15SetFrameOptionsERKSt6vectorINS0_9JXLOptionESaIS2_EEjPjP29JxlEncoderFrameSettingsStruct at Base 0.10.3
+ (arch-bits=64)_ZN3jxl6extras15SetFrameOptionsERKSt6vectorINS0_9JXLOptionESaIS2_EEmPmP29JxlEncoderFrameSettingsStruct at Base 0.9.2
+ _ZN3jxl6extras17ChunkedPNMDecoder13InitializePPFERKNS0_10ColorHintsEPNS0_15PackedPixelFileE at Base 0.10.3
+ _ZN3jxl6extras17ChunkedPNMDecoder4InitEPKc at Base 0.10.3
+ _ZN3jxl6extras20ReadCompressedOutputEP16JxlEncoderStructPSt6vectorIhSaIhEE at Base 0.9.2
+ _ZN3jxl6extras7Encoder13FromExtensionENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE at Base 0.9.2
+ _ZN3jxl6extras7Encoder14VerifyBitDepthE11JxlDataTypejj at Base 0.9.2
+ _ZN3jxl6extras7Encoder15VerifyBasicInfoERK12JxlBasicInfo at Base 0.9.2
+ _ZN3jxl6extras7Encoder15VerifyImageSizeERKNS0_11PackedImageERK12JxlBasicInfo at Base 0.9.2
+ _ZN3jxl6extras9CanDecodeENS0_5CodecE at Base 0.9.2
+ _ZN3jxl6extras9SetOptionERKNS0_9JXLOptionEP29JxlEncoderFrameSettingsStruct at Base 0.9.2
+ _ZNK3jxl16MemoryMappedFile4dataEv at Base 0.10.3
+ _ZNK3jxl16MemoryMappedFile4sizeEv at Base 0.10.3
+ _ZNK3jxl6extras7Encoder12VerifyFormatERK14JxlPixelFormat at Base 0.9.2
+ _ZNK3jxl6extras7Encoder17VerifyPackedImageERKNS0_11PackedImageERK12JxlBasicInfo at Base 0.9.2
+ _ZNSt17_Function_handlerIF26JxlChunkedFrameInputSourcevEN3jxl6extras20PNMChunkedInputFrameEE10_M_managerERSt9_Any_dataRKS6_St18_Manager_operation at Base 0.10.3
+ _ZNSt17_Function_handlerIF26JxlChunkedFrameInputSourcevEN3jxl6extras20PNMChunkedInputFrameEE9_M_invokeERKSt9_Any_data at Base 0.10.3
+libjxl_threads.so.0.10 libjxl0.10 #MINVER#
+* Build-Depends-Package: libjxl-dev
+ JXL_0 at JXL_0 0.6.1
+ JxlResizableParallelRunner at JXL_0 0.6.1
+ JxlResizableParallelRunnerCreate at JXL_0 0.6.1
+ JxlResizableParallelRunnerDestroy at JXL_0 0.6.1
+ JxlResizableParallelRunnerSetThreads at JXL_0 0.6.1
+ JxlResizableParallelRunnerSuggestThreads at JXL_0 0.6.1
+ JxlThreadParallelRunner at JXL_0 0.6.1
+ JxlThreadParallelRunnerCreate at JXL_0 0.6.1
+ JxlThreadParallelRunnerDefaultNumWorkerThreads at JXL_0 0.6.1
+ JxlThreadParallelRunnerDestroy at JXL_0 0.6.1
diff --git a/debian/debian/local_tone_map.1.in b/debian/debian/local_tone_map.1.in
new file mode 100644
index 0000000..e172840
--- /dev/null
+++ b/debian/debian/local_tone_map.1.in
@@ -0,0 +1,6 @@
+[NAME]
+ocal_tone_map - ocal_tone_map
+
+[AUTHOR]
+This manual page was written by Mathieu Malaterre <malat at debian.org> for the
+Debian GNU/Linux system (but may be used by others).
diff --git a/debian/debian/patches/0008-Fix-conformance-test.patch b/debian/debian/patches/0008-Fix-conformance-test.patch
new file mode 100644
index 0000000..ed2c439
--- /dev/null
+++ b/debian/debian/patches/0008-Fix-conformance-test.patch
@@ -0,0 +1,36 @@
+From: Boyuan Yang <byang at debian.org>
+Date: Fri, 22 Sep 2023 17:34:23 -0400
+Subject: Fix conformance test
+
+Bug-Debian: https://bugs.debian.org/1051560
+
+---
+ tools/conformance/generator.py | 2 +-
+ tools/conformance/tooling_test.sh | 1 +
+ 2 files changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/tools/conformance/generator.py b/tools/conformance/generator.py
+index e2a9b2e..d59c3f4 100755
+--- a/tools/conformance/generator.py
++++ b/tools/conformance/generator.py
+@@ -67,7 +67,7 @@ def GenerateConformanceCorpus(args):
+ cmd.extend(['--icc_out', pixel_prefix + '.icc'])
+
+ # Decode and generate the reference files.
+- subprocess.check_call(cmd)
++ subprocess.check_call(' '.join(cmd), shell=True)
+
+ with open(metadata_filename, 'r') as f:
+ metadata = json.load(f)
+diff --git a/tools/conformance/tooling_test.sh b/tools/conformance/tooling_test.sh
+index 95adefb..892b7a2 100755
+--- a/tools/conformance/tooling_test.sh
++++ b/tools/conformance/tooling_test.sh
+@@ -41,6 +41,7 @@ main() {
+ build_dir=$(realpath "${MYDIR}/../../build")
+ fi
+
++ export LD_LIBRARY_PATH=${build_dir}
+ local decoder="${build_dir}/tools/djxl"
+ "${MYDIR}/generator.py" \
+ --decoder="${decoder}" \
diff --git a/debian/debian/patches/0009-fast_dct-inl.h-Include-std-headers-to-solve-missing-.patch b/debian/debian/patches/0009-fast_dct-inl.h-Include-std-headers-to-solve-missing-.patch
new file mode 100644
index 0000000..be686dd
--- /dev/null
+++ b/debian/debian/patches/0009-fast_dct-inl.h-Include-std-headers-to-solve-missing-.patch
@@ -0,0 +1,28 @@
+From: Boyuan Yang <byang at debian.org>
+Date: Sat, 7 Oct 2023 20:24:01 -0400
+Subject: fast_dct-inl.h: Include std headers to solve missing std::round on
+ arm64
+
+Using std::round() needs at least <cmath>, and possibly <array>.
+This patch is a hotfix to circumvent build errors caused by the
+missing of headers on arm64.
+
+Ref: https://buildd.debian.org/status/fetch.php?pkg=jpeg-xl&arch=arm64&ver=0.7.0-10.1&stamp=1696704163&raw=0
+---
+ lib/jxl/fast_dct-inl.h | 3 +++
+ 1 file changed, 3 insertions(+)
+
+Index: libjxl/lib/jxl/fast_dct-inl.h
+===================================================================
+--- libjxl.orig/lib/jxl/fast_dct-inl.h
++++ libjxl/lib/jxl/fast_dct-inl.h
+@@ -16,6 +16,9 @@
+
+ #include "lib/jxl/base/status.h"
+
++#include <cmath>
++#include <array>
++
+ HWY_BEFORE_NAMESPACE();
+ namespace jxl {
+ namespace HWY_NAMESPACE {
diff --git a/debian/debian/patches/bigendian.patch b/debian/debian/patches/bigendian.patch
new file mode 100644
index 0000000..b29f31c
--- /dev/null
+++ b/debian/debian/patches/bigendian.patch
@@ -0,0 +1,59 @@
+Description: Remove failing tests on big-endian
+Author: Mathieu Malaterre <malat at debian.org>
+Forwarded: https://github.com/libjxl/libjxl/issues/3629
+Last-Update: 2024-06-07
+
+Index: libjxl/lib/jxl/jxl_test.cc
+===================================================================
+--- libjxl.orig/lib/jxl/jxl_test.cc
++++ libjxl/lib/jxl/jxl_test.cc
+@@ -1575,6 +1575,7 @@ TEST(JxlTest, RoundtripUnsignedCustomBit
+ }
+ }
+
++#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
+ TEST(JxlTest, LosslessPNMRoundtrip) {
+ static const char* kChannels[] = {"", "g", "ga", "rgb", "rgba"};
+ static const char* kExtension[] = {"", ".pgm", ".pam", ".ppm", ".pam"};
+@@ -1612,9 +1613,11 @@ TEST(JxlTest, LosslessPNMRoundtrip) {
+ }
+ }
+ }
++#endif
+
+ class JxlTest : public ::testing::TestWithParam<const char*> {};
+
++#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
+ TEST_P(JxlTest, LosslessSmallFewColors) {
+ ThreadPoolForTests pool(8);
+ const std::vector<uint8_t> orig = ReadTestData(GetParam());
+@@ -1631,6 +1634,9 @@ TEST_P(JxlTest, LosslessSmallFewColors)
+ Roundtrip(t.ppf(), cparams, dparams, &pool, &ppf_out);
+ EXPECT_EQ(ComputeDistance2(t.ppf(), ppf_out), 0.0);
+ }
++#else
++GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(JxlTest);
++#endif
+
+ JXL_GTEST_INSTANTIATE_TEST_SUITE_P(
+ ImageTests, JxlTest,
+Index: libjxl/lib/jxl/encode_test.cc
+===================================================================
+--- libjxl.orig/lib/jxl/encode_test.cc
++++ libjxl/lib/jxl/encode_test.cc
+@@ -1923,6 +1923,7 @@ TEST_P(EncoderStreamingTest, OutputCallb
+ EXPECT_LE(streaming_compressed.size(), compressed.size() + 1024);
+ }
+
++#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
+ TEST_P(EncoderStreamingTest, ChunkedFrame) {
+ const StreamingTestParam p = GetParam();
+ size_t xsize = p.onegroup() ? 17 : 257;
+@@ -2024,6 +2025,7 @@ TEST_P(EncoderStreamingTest, ChunkedAndO
+ EXPECT_TRUE(SameDecodedPixels(compressed, streaming_compressed));
+ EXPECT_LE(streaming_compressed.size(), compressed.size() + 1024);
+ }
++#endif
+
+ JXL_GTEST_INSTANTIATE_TEST_SUITE_P(
+ EncoderStreamingTest, EncoderStreamingTest,
diff --git a/debian/debian/patches/do_not_force_cxx11.patch b/debian/debian/patches/do_not_force_cxx11.patch
new file mode 100644
index 0000000..ea017b1
--- /dev/null
+++ b/debian/debian/patches/do_not_force_cxx11.patch
@@ -0,0 +1,23 @@
+Description: Not clear why upstream force -std=c++11
+ Current gcc default is c++17 so use that instead.
+Author: Mathieu Malaterre <malat at debian.org>
+Origin: upstream
+Forwarded: https://github.com/libjxl/libjxl/pull/1100
+Last-Update: 2021-12-15
+
+Index: libjxl/CMakeLists.txt
+===================================================================
+--- libjxl.orig/CMakeLists.txt
++++ libjxl/CMakeLists.txt
+@@ -224,9 +224,9 @@ find_package(Threads REQUIRED)
+
+ # These settings are important to drive check_cxx_source_compiles
+ # See CMP0067 (min cmake version is 3.10 anyway)
+-set(CMAKE_CXX_STANDARD 11)
++set(CMAKE_CXX_STANDARD 17)
+ set(CMAKE_CXX_EXTENSIONS OFF)
+-set(CMAKE_CXX_STANDARD_REQUIRED YES)
++set(CMAKE_CXX_STANDARD_REQUIRED NO)
+
+ # Atomics
+ find_package(Atomics REQUIRED)
diff --git a/debian/debian/patches/extras_codec_symbols.patch b/debian/debian/patches/extras_codec_symbols.patch
new file mode 100644
index 0000000..4e2712e
--- /dev/null
+++ b/debian/debian/patches/extras_codec_symbols.patch
@@ -0,0 +1,89 @@
+Description: Attempt to fix symbols mess
+Author: Mathieu Malaterre <malat at debian.org>
+Last-Update: 2024-07-05
+
+Index: libjxl/lib/jxl_extras.cmake
+===================================================================
+--- libjxl.orig/lib/jxl_extras.cmake
++++ libjxl/lib/jxl_extras.cmake
+@@ -5,6 +5,9 @@
+
+ include(jxl_lists.cmake)
+
++# Headers for exporting/importing public headers
++include(GenerateExportHeader)
++
+ # Object library for those parts of extras that do not depend on jxl internals
+ # or jpegli. We will create two versions of these object files, one with and one
+ # without external codec support compiled in.
+@@ -162,6 +165,22 @@ set_target_properties(jxl_extras_codec P
+ VERSION ${JPEGXL_LIBRARY_VERSION}
+ SOVERSION ${JPEGXL_LIBRARY_SOVERSION}
+ )
++generate_export_header(jxl_extras_codec
++ BASE_NAME JXL_EXTRAS_CODEC
++ EXPORT_FILE_NAME include/jxl/jxl_extras_codec_export.h)
++set_target_properties(jxl_extras_codec PROPERTIES
++ LINK_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/jxl/jxl.version)
++if(APPLE)
++ set_property(TARGET jxl_extras_codec APPEND_STRING PROPERTY
++ LINK_FLAGS "-Wl,-exported_symbols_list,${CMAKE_CURRENT_SOURCE_DIR}/jxl/jxl_osx.syms")
++elseif(WIN32)
++# Nothing needed here, we use __declspec(dllexport)
++else()
++ set_property(TARGET jxl_extras_codec APPEND_STRING PROPERTY
++ LINK_FLAGS " -Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/jxl/jxl.version")
++endif() # APPLE
++
++
+ install(TARGETS jxl_extras_codec
+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
+Index: libjxl/lib/jxl_threads.cmake
+===================================================================
+--- libjxl.orig/lib/jxl_threads.cmake
++++ libjxl/lib/jxl_threads.cmake
+@@ -41,7 +41,7 @@ set_target_properties(jxl_threads PROPER
+ set_target_properties(jxl_threads PROPERTIES
+ LINK_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/jxl/jxl.version)
+ if(APPLE)
+- set_property(TARGET ${target} APPEND_STRING PROPERTY
++ set_property(TARGET jxl_threads APPEND_STRING PROPERTY
+ LINK_FLAGS "-Wl,-exported_symbols_list,${CMAKE_CURRENT_SOURCE_DIR}/jxl/jxl_osx.syms")
+ elseif(WIN32)
+ # Nothing needed here, we use __declspec(dllexport) (jxl_threads_export.h)
+Index: libjxl/lib/extras/enc/jxl.h
+===================================================================
+--- libjxl.orig/lib/extras/enc/jxl.h
++++ libjxl/lib/extras/enc/jxl.h
+@@ -7,6 +7,7 @@
+ #define LIB_EXTRAS_ENC_JXL_H_
+
+ #include <jxl/encode.h>
++#include <jxl/jxl_extras_codec_export.h>
+ #include <jxl/parallel_runner.h>
+ #include <jxl/thread_parallel_runner.h>
+ #include <jxl/types.h>
+@@ -81,6 +82,7 @@ struct JXLCompressParams {
+ }
+ };
+
++JXL_EXTRAS_CODEC_EXPORT
+ bool EncodeImageJXL(const JXLCompressParams& params, const PackedPixelFile& ppf,
+ const std::vector<uint8_t>* jpeg_bytes,
+ std::vector<uint8_t>* compressed);
+Index: libjxl/lib/jxl/jxl.version
+===================================================================
+--- libjxl.orig/lib/jxl/jxl.version
++++ libjxl/lib/jxl/jxl.version
+@@ -1,6 +1,10 @@
+ JXL_0 {
+ global:
+ Jxl*;
++ *EncodeImageJXL*;
++ *DecodeImageJXL*;
++ *CodecFromPath*;
++ *FromExtension*;
+
+ local:
+ # Hide all the std namespace symbols. std namespace is explicitly marked
diff --git a/debian/debian/patches/help_return_no_error.patch b/debian/debian/patches/help_return_no_error.patch
new file mode 100644
index 0000000..cced01b
--- /dev/null
+++ b/debian/debian/patches/help_return_no_error.patch
@@ -0,0 +1,18 @@
+Description: Printing should not error
+Author: Mathieu Malaterre <malat at debian.org>
+Forwarded: not-needed
+Last-Update: 2024-07-05
+
+Index: libjxl/tools/ssimulacra2_main.cc
+===================================================================
+--- libjxl.orig/tools/ssimulacra2_main.cc
++++ libjxl/tools/ssimulacra2_main.cc
+@@ -38,7 +38,7 @@ int PrintUsage(char** argv) {
+ fprintf(stderr,
+ " average output of cjxl -q 90 or "
+ "mozjpeg -quality 90)\n");
+- return 1;
++ return 0;
+ }
+
+ int main(int argc, char** argv) {
diff --git a/debian/debian/patches/hwy.patch b/debian/debian/patches/hwy.patch
new file mode 100644
index 0000000..8eaec99
--- /dev/null
+++ b/debian/debian/patches/hwy.patch
@@ -0,0 +1,39 @@
+Description: Transition to hwy config.cmake
+Author: Mathieu Malaterre <malat at debian.org>
+Forwarded: no
+Last-Update: 2023-02-01
+
+Index: libjxl/CMakeLists.txt
+===================================================================
+--- libjxl.orig/CMakeLists.txt
++++ libjxl/CMakeLists.txt
+@@ -8,6 +8,8 @@ cmake_minimum_required(VERSION 3.16...3.
+ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
+
+ project(LIBJXL LANGUAGES C CXX)
++# Make sure HWY variable are at top-level:
++find_package(HWY 1.0.0 REQUIRED)
+
+ # TODO(sboukortt): remove once oss-fuzz passes -DBUILD_SHARED_LIBS=OFF
+ if(JPEGXL_ENABLE_FUZZERS)
+Index: libjxl/lib/jpegli.cmake
+===================================================================
+--- libjxl.orig/lib/jpegli.cmake
++++ libjxl/lib/jpegli.cmake
+@@ -3,6 +3,7 @@
+ # Use of this source code is governed by a BSD-style
+ # license that can be found in the LICENSE file.
+
++find_package(HWY CONFIG REQUIRED)
+ include(jxl_lists.cmake)
+
+ set(JPEGLI_INTERNAL_LIBS
+@@ -86,7 +87,7 @@ foreach (TESTFILE IN LISTS JPEGXL_INTERN
+ "${CMAKE_CURRENT_BINARY_DIR}/include"
+ )
+ target_link_libraries(${TESTNAME}
+- hwy
++ hwy::hwy
+ jpegli-static
+ gmock
+ GTest::GTest
diff --git a/debian/debian/patches/manpages.patch b/debian/debian/patches/manpages.patch
new file mode 100644
index 0000000..5937fb4
--- /dev/null
+++ b/debian/debian/patches/manpages.patch
@@ -0,0 +1,350 @@
+Description: Clean up man pages
+Author: Mathieu Malaterre <malat at debian.org>
+Forwarded: https://github.com/libjxl/libjxl/pull/1288
+Last-Update: 2022-03-29
+
+Index: libjxl/doc/man/cjxl.txt
+===================================================================
+--- libjxl.orig/doc/man/cjxl.txt
++++ libjxl/doc/man/cjxl.txt
+@@ -31,40 +31,31 @@ cjxl input.gif output.jxl
+ Options
+ -------
+
+--h::
+---help::
+- Displays the options that `cjxl` supports. On its own, it will only show
+- basic options. It can be combined with `-v` or `-v -v` to show increasingly
+- advanced options as well.
++--container='0|1'::
++ 0 = Do not encode using container format (strip Exif/XMP/JPEG bitstream reconstruction data).1 = Force using container format (default: use only if needed).
+
+--v::
+---verbose::
+- Increases verbosity. Can be repeated to increase it further, and also
+- applies to `--help`.
++--jpeg_store_metadata='0|1'::
++ If --lossless_jpeg=1, store JPEG reconstruction metadata in the JPEG XL container (for lossless reconstruction of the JPEG codestream).(default: 1)
+
+ -d 'distance'::
+ --distance='distance'::
+- The preferred way to specify quality. It is specified in multiples of a
+- just-noticeable difference. That is, `-d 0` is mathematically lossless,
+- `-d 1` should be visually lossless, and higher distances yield denser and
+- denser files with lower and lower fidelity. Lossy sources such as JPEG and
+- GIF files are compressed losslessly by default, and in the case of JPEG
+- files specifically, the original JPEG can then be reconstructed bit-for-bit.
+- For lossless sources, `-d 1` is the default.
++ Max. butteraugli distance, lower = higher quality.
++ 0.0 = mathematically lossless. Default for already-lossy input (JPEG/GIF).
++ 1.0 = visually lossless. Default for other input.
++ Recommended range: 0.5 .. 3.0. Mutually exclusive with --quality.
+
+ -q 'quality'::
+ --quality='quality'::
+- Alternative way to indicate the desired quality. 100 is lossless and lower
+- values yield smaller files. There is no lower bound to this quality
+- parameter, but positive values should approximately match the quality
+- setting of libjpeg.
++ Quality setting (is remapped to --distance). Range: -inf .. 100.
++ 100 = mathematically lossless. Default for already-lossy input (JPEG/GIF).
++ Other input gets encoded as per --distance default.
++ Positive quality values roughly match libjpeg quality.
++ Mutually exclusive with --distance.
+
+ -e 'effort'::
+ --effort='effort'::
+- Controls the amount of effort that goes into producing an ``optimal'' file
+- in terms of quality/size. That is to say, all other parameters being equal,
+- a higher effort should yield a file that is at least as dense and possibly
+- denser, and with at least as high and possibly higher quality.
++ Encoder effort setting. Range: 1 .. 9.
++ Default: 7. Higher number is more effort (slower).
+ +
+ Recognized effort settings, from fastest to slowest, are:
+ +
+@@ -78,6 +69,176 @@ Recognized effort settings, from fastest
+ - 8 or ``kitten''
+ - 9 or ``tortoise''
+
++--brotli_effort='B_EFFORT'::
++ Brotli effort setting. Range: 0 .. 11.
++ Default: 9. Higher number is more effort (slower).
++
++--faster_decoding='0|1|2|3|4'::
++ Favour higher decoding speed. 0 = default, higher values give higher speed at the expense of quality
++
++-p::
++--progressive::
++ Enable progressive/responsive decoding.
++
++--premultiply='-1|0|1'::
++ Force premultiplied (associated) alpha.
++
++--keep_invisible='0|1'::
++ Force disable/enable preserving color of invisible pixels (default: 1 if
++ lossless, 0 if lossy).
++
++--group_order='0|1'::
++ Order in which 256x256 groups are stored in the codestream for progressive rendering. Value not provided means 'encoder default', 0 means 'scanline order', 1 means 'center-first order'.
++
++--center_x='0..XSIZE'::
++ Determines the horizontal position of center for the center-first group order. The value -1 means 'use the middle of the image', other values [0..xsize) set this to a particular coordinate.
++
++--center_y='0..YSIZE'::
++ Determines the vertical position of center for the center-first group order. The value -1 means 'use the middle of the image', other values [0..ysize) set this to a particular coordinate.
++
++--progressive_ac::
++ Use the progressive mode for AC.
++
++--qprogressive_ac::
++ Use the progressive mode for AC with shift quantization.
++
++--progressive_dc='num_dc_frames'::
++ Progressive-DC setting. Valid values are: -1, 0, 1, 2.
++
++-m='0|1'::
++--modular='0|1'::
++ Use modular mode (not provided = encoder chooses, 0 = enforce VarDCT, 1 = enforce modular mode).
++
++-j='0|1'::
++--lossless_jpeg='0|1'::
++ If the input is JPEG, losslessly transcode JPEG, rather than using reencode pixels.
++
++--jpeg_reconstruction_cfl='0|1'::
++ Enable/disable chroma-from-luma (CFL) for lossless JPEG reconstruction.
++
++--num_threads='N'::
++ Number of worker threads (-1 == use machine default, 0 == do not use multithreading).
++
++--num_reps='N'::
++ How many times to compress. (For benchmarking).
++
++--photon_noise='ISO3200'::
++ Adds noise to the image emulating photographic film noise. The higher the given number, the grainier the image will be. As an example, a value of 100 gives low noise whereas a value of 3200 gives a lot of noise. The default value is 0.
++
++--dots='0|1'::
++ Force disable/enable dots generation. (not provided = default, 0 = disable, 1 = enable).
++
++--patches='0|1'::
++ Force disable/enable patches generation. (not provided = default, 0 = disable, 1 = enable).
++
++--resampling='-1|1|2|4|8'::
++ Resampling for extra channels. Default of -1 applies resampling only for low quality. Value 1 does no downsampling (1x1), 2 does 2x2 downsampling, 4 is for 4x4 downsampling, and 8 for 8x8 downsampling.
++
++--ec_resampling='1|2|4|8'::
++ Resampling for extra channels. Default of -1 applies resampling only for low quality. Value 1 does no downsampling (1x1), 2 does 2x2 downsampling, 4 is for 4x4 downsampling, and 8 for 8x8 downsampling.
++
++--already_downsampled::
++ Do not downsample the given input before encoding, but still signal that the decoder should upsample.
++
++--epf='-1|0|1|2|3'::
++ Edge preserving filter level, -1 to 3. Value -1 means: default (encoder chooses), 0 to 3 set a strength.
++
++--gaborish='0|1'::
++ Force disable/enable the gaborish filter. (not provided = default, 0 = disable, 1 = enable).
++
++--intensity_target='N'::
++ Upper bound on the intensity level present in the image in nits. Leaving this set to its default of 0 lets libjxl choose a sensible default value based on the color encoding.
++
++-x='key=value'::
++--dec-hints='key=value'::
++ color_space indicates the ColorEncoding, see Description(); icc_pathname refers to a binary file containing an ICC profile.
++
++--override_bitdepth=0=use from image, 1-32=override
++ If nonzero, store the given bit depth in the JPEG XL file metadata (1-32), instead of using the bit depth from the original input image.
++
++-I 'F'::
++--iterations='F'::
++ [modular encoding] Fraction of pixels used to learn MA trees as a percentage. -1 = default, 0 = no MA and fast decode, 50 = default value, 100 = all.Higher values use more encoder memory.
++
++-C 'K'::
++--modular_colorspace='K'::
++ [modular encoding] color transform: -1=default, 0=RGB (none), 1-41=RCT (6=YCoCg, default: try several, depending on speed)
++
++-g 'K'::
++--modular_group_size='K'::
++ [modular encoding] group size: -1 == default. 0 => 128, 1 => 256, 2 => 512, 3 => 1024
++
++-P 'K'::
++--modular_predictor='K'::
++ [modular encoding] predictor(s) to use:
+++
++- 0=zero,
++- 1=left,
++- 2=top,
++- 3=avg0,
++- 4=select,
++- 5=gradient,
++- 6=weighted,
++- 7=topright,
++- 8=topleft,
++- 9=leftleft,
++- 10=avg1,
++- 11=avg2,
++- 12=avg3,
++- 13=toptop predictive average
++- 14=mix 5 and 6,
++- 15=mix everything.
+++
++Default 14, at slowest speed default 15
++
++-E 'K'::
++--modular_nb_prev_channels='K'::
++ [modular encoding] number of extra MA tree properties to use
++
++--modular_palette_colors='K'::
++ [modular encoding] Use color palette if number of colors is smaller than or equal to this, or -1 to use the encoder default.
++
++--modular_lossy_palette::
++ [modular encoding] quantize to a palette that has fewer entries than would be necessary for perfect preservation; for the time being, it is recommended to set --palette=0 with this option to use the default palette only
++
++-X 'PERCENT'::
++--pre-compact='PERCENT'::
++ [modular encoding] Use Global channel palette if the number of colors is smaller than this percentage of range. Use 0-100 to set an explicit percentage, -1 to use the encoder default.
++
++-Y 'PERCENT'::
++--post-compact='PERCENT'::
++ [modular encoding] Use Local (per-group) channel palette if the number of colors is smaller than this percentage of range. Use 0-100 to set an explicit percentage, -1 to use the encoder default.
++
++--codestream_level='K'::
++ The codestream level. Either `-1`, `5` or `10`.
++
++-R 'K'::
++--responsive='K'::
++ [modular encoding] do Squeeze transform, 0=false, 1=true (default: true if lossy, false if lossless)
++
++-V
++--version::
++ Print encoder library version number and exit.
++
++--quiet::
++ Be more silent
++
++--frame_indexing='string'::
++ If non-empty, a string matching '^(0*|1[01]*)'. If this string has a '1' in i-th position, then the i-th frame will be indexed in the frame index box.
++
++-v::
++--verbose::
++ Increases verbosity. Can be repeated to increase it further, and also
++ applies to `--help`.
++
++-h::
++--help::
++ Displays the options that `cjxl` supports. On its own, it will only show
++ basic options. It can be combined with `-v` or `-v -v` to show increasingly
++ advanced options as well.
++
++
++
+ Examples
+ --------
+
+Index: libjxl/doc/man/djxl.txt
+===================================================================
+--- libjxl.orig/doc/man/djxl.txt
++++ libjxl/doc/man/djxl.txt
+@@ -24,23 +24,65 @@ produced, with names of the form "'outpu
+ Options
+ -------
+
+--h::
+---help::
+- Displays the options that `djxl` supports.
++-V::
++--version::
++ Print version number and exit
++
++--num_reps='N'::
++ Sets the number of times to decompress the image. Used for benchmarking, the default is 1.
++
++--num_threads='N'::
++ Sets the number of threads to use. The default 0 value means the machine default.
++
++--bits_per_sample='N'::
++ Sets the output bit depth. The default 0 value means the original (input) bit depth.
++
++--display_nits='0.3-250'::
++ If set to a non-zero value, tone maps the image the given peak display luminance.
++
++--color_space='RGB_D65_SRG_Rel_Lin'::
++ Defaults to original (input) color space
++
++-s 'N'::
++--downsampling='N'::
++ If set and the input JXL stream is progressive and contains hints for target downsampling ratios, the decoder will skip any progressive passes that are not needed to produce a partially decoded image intended for this downsampling ratio.
++
++--allow_partial_files::
++ Allow decoding of truncated files.
+
+ -j::
+ --pixels_to_jpeg::
+- By default, if the input JPEG XL contains a recompressed JPEG file,
+- djxl reconstructs the exact original JPEG file if the output file has the
+- `.jpg` (or `.jpeg`) filename extension.
+- This flag causes the decoder to instead decode the image to pixels and
+- encode a new (lossy) JPEG in this case.
++ By default, if the input JPEG XL contains a recompressed JPEG file, djxl reconstructs the exact original JPEG file. This flag causes the decoder to instead decode the image to pixels and encode a new (lossy) JPEG. The output file if provided must be a .jpg or .jpeg file.
++
++-q 'N'::
++--jpeg_quality='N'::
++ Sets the JPEG output quality, default is 95. Setting an output quality implies --pixels_to_jpeg.
++
++--norender_spotcolors
++ Disables rendering spot colors.
++
++--preview_out='FILENAME'::
++ If specified, writes the preview image to this file.
++
++--icc_out='FILENAME'::
++ If specified, writes the ICC profile of the decoded image to this file.
++
++--orig_icc_out='FILENAME'::
++ If specified, writes the ICC profile of the original image to this file. This can be different from the ICC profile of the decoded image if --color_space was specified, or if the image was XYB encoded and the color conversion to the original profile was not supported by the decoder.
+
++--metadata_out='FILENAME'::
++ If specified, writes decoded metadata info to this file in JSON format. Used by the conformance test script
++
++--print_read_bytes::
++ Print total number of decoded bytes.
++
++--quiet::
++ Silence output (except for errors).
++
++-h::
++--help::
++ Displays the options that `djxl` supports.
+
+--q 'quality'::
+---jpeg_quality='quality'::
+- When decoding to `.jpg`, use this output quality. This option implicitly
+- enables the --pixels_to_jpeg option.
+
+
+ Examples
+@@ -54,6 +96,25 @@ $ djxl input.jxl output.png
+ $ djxl lossless-jpeg.jxl reconstructed.jpeg
+ ----
+
++# Lossless compression
++
++Lossless pixel compression only preserves the pixels losslessly, not the input
++bitstream. To check that the pixels are identical, one can do something like
++the following (if this says 0, then the maximum pixel error is 0, so it's
++lossless):
++
++----
++# Lossless compression of PNG:
++$ cjxl -d 0.0 input.png lossless.png
++
++# Decompress a JPEG XL file to PNG
++$ djxl lossless.jxl lossless.png
++
++$ compare -metric pae input.png lossless.png null:
++0 (0)
++----
++
++
+
+ See also
+ --------
diff --git a/debian/debian/patches/series b/debian/debian/patches/series
new file mode 100644
index 0000000..208b283
--- /dev/null
+++ b/debian/debian/patches/series
@@ -0,0 +1,8 @@
+do_not_force_cxx11.patch
+manpages.patch
+0008-Fix-conformance-test.patch
+0009-fast_dct-inl.h-Include-std-headers-to-solve-missing-.patch
+hwy.patch
+bigendian.patch
+help_return_no_error.patch
+#extras_codec_symbols.patch
diff --git a/debian/debian/pq_to_hlg.1.in b/debian/debian/pq_to_hlg.1.in
new file mode 100644
index 0000000..5702bcd
--- /dev/null
+++ b/debian/debian/pq_to_hlg.1.in
@@ -0,0 +1,6 @@
+[NAME]
+pq_to_hlg - pq_to_hlg
+
+[AUTHOR]
+This manual page was written by Mathieu Malaterre <malat at debian.org> for the
+Debian GNU/Linux system (but may be used by others).
diff --git a/debian/debian/render_hlg.1.in b/debian/debian/render_hlg.1.in
new file mode 100644
index 0000000..29cf5df
--- /dev/null
+++ b/debian/debian/render_hlg.1.in
@@ -0,0 +1,6 @@
+[NAME]
+render_hlg - render_hlg
+
+[AUTHOR]
+This manual page was written by Mathieu Malaterre <malat at debian.org> for the
+Debian GNU/Linux system (but may be used by others).
diff --git a/debian/debian/rules b/debian/debian/rules
new file mode 100755
index 0000000..b06133c
--- /dev/null
+++ b/debian/debian/rules
@@ -0,0 +1,140 @@
+#!/usr/bin/make -f
+
+include /usr/share/dpkg/default.mk
+
+GCC_13_ARCHS=riscv64 s390x
+ifeq ($(DEB_HOST_ARCH),$(filter $(DEB_HOST_ARCH),$(GCC_13_ARCHS)))
+ export CC=gcc-13
+ export CXX=g++-13
+endif
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=+lto
+
+# keep same order as https://buildd.debian.org/status/package.php?p=google-perftools&suite=sid
+# purposely remove i386 for Ubuntu compat
+TCMALLOC_ARCHS=amd64 arm64 armel armhf mips64el ppc64el riscv64 s390x loong64 powerpc ppc64 x32
+ifeq ($(DEB_HOST_ARCH),$(filter $(DEB_HOST_ARCH),$(TCMALLOC_ARCHS)))
+ ENABLE_TCMALLOC=ON
+else
+ ENABLE_TCMALLOC=OFF
+endif
+
+# https://buildd.debian.org/status/package.php?p=openjdk-21
+JAVA_ARCHS=amd64 arm64 armel armhf i386 mips64el ppc64el riscv64 s390x alpha ia64 m68k powerpc ppc64 sh4 sparc64 x32
+ifeq ($(DEB_HOST_ARCH),$(filter $(DEB_HOST_ARCH),$(JAVA_ARCHS)))
+ ENABLE_JNI=ON
+else
+ ENABLE_JNI=OFF
+endif
+
+# Override if profile states so:
+ifneq (,$(filter nojava,$(DEB_BUILD_PROFILES)))
+ ENABLE_JNI=OFF
+endif
+
+# Temp fix for 0.7.0-10.x i386/s390x build; see https://bugs.debian.org/1053641
+DEB_CXXFLAGS_MAINT_APPEND += -fexcess-precision=fast
+
+ifneq (,$(filter $(DEB_HOST_ARCH), arm64 armel armhf ppc64el))
+ # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728
+ DEB_CXXFLAGS_MAINT_APPEND += -Wno-psabi
+endif
+export DEB_CXXFLAGS_MAINT_APPEND
+
+ifeq ($(shell dpkg-vendor --derives-from Ubuntu && echo yes),yes)
+ ENABLE_OPENEXR=OFF
+else
+ ENABLE_OPENEXR=ON
+endif
+
+# Copy/paste from ci.sh `cmd_opt`:
+DEB_CXXFLAGS_MAINT_APPEND += -DJXL_DEBUG_WARNING -DJXL_DEBUG_ON_ERROR
+
+# deduce documentation option (build-indep target)
+ifeq "" "$(filter %-doc,$(shell dh_listpackages))"
+ ENABLE_DOXYGEN = OFF
+else
+ ENABLE_DOXYGEN = ON
+endif
+
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+ BUILD_TESTING=ON
+else
+ BUILD_TESTING=OFF
+endif
+
+%:
+ dh $@ --buildsystem=cmake+ninja
+
+CMAKE_EXTRA_FLAGS += \
+ -DBUILD_TESTING:BOOL=$(BUILD_TESTING) \
+ -DCMAKE_BUILD_RPATH_USE_ORIGIN=OFF \
+ -DJPEGXL_BUNDLE_SKCMS:BOOL=OFF \
+ -DJPEGXL_ENABLE_BENCHMARK:BOOL=ON \
+ -DJPEGXL_ENABLE_DEVTOOLS:BOOL=ON \
+ -DJPEGXL_ENABLE_DOXYGEN:BOOL=$(ENABLE_DOXYGEN) \
+ -DJPEGXL_ENABLE_EXAMPLES:BOOL=ON \
+ -DJPEGXL_ENABLE_JNI:BOOL=$(ENABLE_JNI) \
+ -DJPEGXL_ENABLE_OPENEXR:BOOL=$(ENABLE_OPENEXR) \
+ -DJPEGXL_ENABLE_PLUGINS:BOOL=ON \
+ -DJPEGXL_ENABLE_PLUGIN_GDKPIXBUF:BOOL=ON \
+ -DJPEGXL_ENABLE_PLUGIN_GIMP210:BOOL=OFF \
+ -DJPEGXL_ENABLE_PLUGIN_MIME:BOOL=OFF \
+ -DJPEGXL_ENABLE_SJPEG:BOOL=OFF \
+ -DJPEGXL_ENABLE_SKCMS:BOOL=OFF \
+ -DJPEGXL_ENABLE_TCMALLOC:BOOL=$(ENABLE_TCMALLOC) \
+ -DJPEGXL_FORCE_SYSTEM_BROTLI:BOOL=ON \
+ -DJPEGXL_FORCE_SYSTEM_GTEST:BOOL=ON \
+ -DJPEGXL_FORCE_SYSTEM_HWY:BOOL=ON \
+ -DJPEGXL_FORCE_SYSTEM_LCMS2:BOOL=ON \
+ -DJPEGXL_INSTALL_JARDIR:PATH=share/java \
+ -DJPEGXL_INSTALL_JNIDIR:PATH=lib/$(DEB_HOST_MULTIARCH)/jni \
+ -DJPEGXL_TEST_DATA_PATH:PATH=/usr/share/libjxl-testdata \
+
+override_dh_auto_configure:
+ dh_auto_configure -- $(CMAKE_EXTRA_FLAGS)
+
+override_dh_auto_build-indep:
+ dh_auto_build -- doc
+
+override_dh_auto_install-indep:
+
+override_dh_install-indep:
+ dh_install -X.md5 -pjpeg-xl-doc obj-*/html usr/share/doc/jpeg-xl-doc
+
+override_dh_auto_test-indep:
+
+override_dh_auto_test-arch:
+ # armel requires 7h to run complete testsuite:
+ timeout 7h dh_auto_test --
+
+override_dh_installman-arch: tools_manpages devtools_manpages
+ dh_installman
+
+override_dh_clean-arch:
+ dh_clean debian/*.1
+ # by-product of `conformance_tooling_test`:
+ dh_clean tools/conformance/__pycache__/lcms2.cpython-*.pyc
+
+debian/control: debian/control.in
+ sed -e "s/@TCMALLOC_ARCHS@/$(TCMALLOC_ARCHS)/g;s/@JAVA_ARCHS@/$(JAVA_ARCHS)/g;" $< > $@
+
+FILE=debian/libjxl-devtools.install
+DEVTOOLS=`cat $(FILE) | sed 's at usr/bin at debian@' | sed 's/$$/.1/' | tr '\n' ' '`
+
+VER_FULL = $(DEB_VERSION_UPSTREAM)
+
+debian/%.1: debian/%.1.in
+ LD_PRELOAD= LD_LIBRARY_PATH=./debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH) help2man --no-discard-stderr --include=$< --output=$@ --help-option=--help --version-string=$(VER_FULL) --no-info ./debian/tmp/usr/bin/`basename $@ .1`
+
+.PHONY: tools_manpages devtools_manpages get-orig-source
+
+tools_manpages: debian/jxlinfo.1
+ echo "all tools manpages generated"
+
+devtools_manpages: debian/butteraugli_main.1 debian/decode_and_encode.1 debian/display_to_hlg.1 debian/djxl_fuzzer_corpus.1 debian/generate_lut_template.1 debian/jxl_from_tree.1 debian/pq_to_hlg.1 debian/render_hlg.1 debian/ssimulacra_main.1 debian/texture_to_cube.1 debian/tone_map.1 debian/xyb_range.1 debian/benchmark_xl.1 debian/ssimulacra2.1 debian/local_tone_map.1 debian/exr_to_pq.1
+ echo $(DEVTOOLS)
+ echo "all devtools manpages generated"
+
+# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=902846
+get-orig-source:
+ uscan --download --force-download --rename
diff --git a/debian/debian/source/format b/debian/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/debian/ssimulacra2.1.in b/debian/debian/ssimulacra2.1.in
new file mode 100644
index 0000000..e4a053f
--- /dev/null
+++ b/debian/debian/ssimulacra2.1.in
@@ -0,0 +1,6 @@
+[NAME]
+ssimulacra2 - ssimulacra2
+
+[AUTHOR]
+This manual page was written by Mathieu Malaterre <malat at debian.org> for the
+Debian GNU/Linux system (but may be used by others).
diff --git a/debian/debian/ssimulacra_main.1.in b/debian/debian/ssimulacra_main.1.in
new file mode 100644
index 0000000..8c2f650
--- /dev/null
+++ b/debian/debian/ssimulacra_main.1.in
@@ -0,0 +1,6 @@
+[NAME]
+ssimulacra_main - ssimulacra_main
+
+[AUTHOR]
+This manual page was written by Mathieu Malaterre <malat at debian.org> for the
+Debian GNU/Linux system (but may be used by others).
diff --git a/debian/debian/tests/control b/debian/debian/tests/control
new file mode 100644
index 0000000..9afe37f
--- /dev/null
+++ b/debian/debian/tests/control
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @, libjxl-testdata
+Restrictions: allow-stderr
diff --git a/debian/debian/tests/run-unit-test b/debian/debian/tests/run-unit-test
new file mode 100644
index 0000000..d73a98e
--- /dev/null
+++ b/debian/debian/tests/run-unit-test
@@ -0,0 +1,61 @@
+#!/bin/sh
+set -e
+
+pkg=jpeg-xl
+
+CUR_DIR=`pwd`
+
+export LC_ALL=C.UTF-8
+if [ "${AUTOPKGTEST_TMP}" = "" ] ; then
+ AUTOPKGTEST_TMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
+ trap "rm -rf ${AUTOPKGTEST_TMP}" 0 INT QUIT ABRT PIPE TERM
+fi
+
+cd "${AUTOPKGTEST_TMP}"
+
+echo "Running Tests"
+
+echo "Test - Compression Ratio"
+
+cjxl /usr/share/libjxl-testdata/jxl/flower/flower.png flower.jxl
+jxlinfo flower.jxl
+djxl flower.jxl flower.png
+fsize=$(du -sb flower.jxl | cut -f1)
+
+if [ $fsize -gt 451040 ]; then
+ echo "Invalid compression size: $fsize";
+fi
+
+echo "Test - Lossless Roundtrip"
+
+cjxl -d 0.0 /usr/share/libjxl-testdata/jxl/splines.pfm splines1.jxl
+djxl splines1.jxl splines1.pfm
+
+echo "8e701bd2ec27c4a2ea3ea0cdb12084e2 splines1.pfm" >> checksums
+
+# Simply verify we can decompress it. The decompression does not always gives
+# the same exact output. See: https://github.com/libjxl/libjxl/issues/1811
+djxl /usr/share/libjxl-testdata/jxl/splines.jxl splines2.ppm
+
+cjxl -d 0.0 /usr/share/libjxl-testdata/jxl/grayscale_patches.png grayscale_patches.jxl
+djxl grayscale_patches.jxl grayscale_patches.pgm
+
+echo "0982d900a5829bbcba4a02b49f9a3bd9 grayscale_patches.pgm" >> checksums
+
+cjxl /usr/share/libjxl-testdata/jxl/traffic_light.gif traffic_light.jxl
+djxl traffic_light.jxl traffic_light.ppm
+
+echo "c75218992ba79d5234ecbb8597920143 traffic_light.ppm" >> checksums
+
+cjxl /usr/share/libjxl-testdata/jxl/animation_patches.gif animation_patches.jxl
+djxl animation_patches.jxl animation_patches.ppm
+
+echo "2d08eaa57fa44b705bd2c9213cc23b5b animation_patches.ppm" >> checksums
+
+djxl /usr/share/libjxl-testdata/jxl/pq_gradient.jxl pq_gradient.pgm
+
+echo "d7ae3496cd5b0acae95280d84b9f78ff pq_gradient.pgm" >> checksums
+
+md5sum --check checksums
+
+echo "run-unit-test: OK"
diff --git a/debian/debian/texture_to_cube.1.in b/debian/debian/texture_to_cube.1.in
new file mode 100644
index 0000000..008ed01
--- /dev/null
+++ b/debian/debian/texture_to_cube.1.in
@@ -0,0 +1,6 @@
+[NAME]
+texture_to_cube - texture_to_cube
+
+[AUTHOR]
+This manual page was written by Mathieu Malaterre <malat at debian.org> for the
+Debian GNU/Linux system (but may be used by others).
diff --git a/debian/debian/tone_map.1.in b/debian/debian/tone_map.1.in
new file mode 100644
index 0000000..be30581
--- /dev/null
+++ b/debian/debian/tone_map.1.in
@@ -0,0 +1,6 @@
+[NAME]
+tone_map - tone_map
+
+[AUTHOR]
+This manual page was written by Mathieu Malaterre <malat at debian.org> for the
+Debian GNU/Linux system (but may be used by others).
diff --git a/debian/debian/upstream/metadata b/debian/debian/upstream/metadata
new file mode 100644
index 0000000..c6e06a8
--- /dev/null
+++ b/debian/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/libjxl/libjxl/issues
+Bug-Submit: https://github.com/libjxl/libjxl/issues/new
+Repository: https://github.com/libjxl/libjxl.git
+Repository-Browse: https://github.com/libjxl/libjxl
diff --git a/debian/debian/watch b/debian/debian/watch
new file mode 100644
index 0000000..4a84369
--- /dev/null
+++ b/debian/debian/watch
@@ -0,0 +1,3 @@
+version=4
+opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/libjxl-$1\.tar\.gz/ \
+ https://github.com/libjxl/libjxl/tags .*/v?(\d\S+)\.tar\.gz
diff --git a/debian/debian/xyb_range.1.in b/debian/debian/xyb_range.1.in
new file mode 100644
index 0000000..5c15e26
--- /dev/null
+++ b/debian/debian/xyb_range.1.in
@@ -0,0 +1,6 @@
+[NAME]
+xyb_range - xyb_range
+
+[AUTHOR]
+This manual page was written by Mathieu Malaterre <malat at debian.org> for the
+Debian GNU/Linux system (but may be used by others).
More information about the Neon-commits
mailing list