Review: jpeg-xl 0.12.0-1~exp2
New Package Report
.changes
| Date | Tue, 10 Nov 2026 09:33:45 +0800 |
|---|---|
| Source | jpeg-xl |
| Version | 0.12.0-1~exp2 |
| Changed-By | xiao sheng wen <atzlinux@debian.org> |
| Architecture | source all loong64 |
| Distribution | experimental |
Changelog
jpeg-xl (0.12.0-1~exp2) experimental; urgency=medium . * Team upload. * a new version as ftp-master Thorsten suggestion
.dsc
| Priority | optional |
|---|---|
| Component | main |
| Package-List | jpeg-xl-doc deb doc optional arch=all libjpegxl-java deb java optional arch=amd64,arm64,armel,armhf,i386,mips64el,ppc64el,riscv64,s390x,loong64,alpha,ia64,m68k,powerpc,ppc64,sh4,sparc64,x32 profile=!nojava profile:v1=!nojava libjxl-dev deb libdevel optional arch=any libjxl-devtools deb utils optional arch=any libjxl-gdk-pixbuf deb libs optional arch=any libjxl-tools deb utils optional arch=any libjxl0.12 deb libs optional arch=any |
| Section | doc |
debian/copyright
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:
lib/extras/dec/apng.cc
lib/extras/enc/apng.cc
lib/extras/LICENSE.apngdis
Copyright: 2010-2015 Max Stepin
License: Zlib
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
.
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
Files:
third_party/dirent.cc
third_party/dirent.h
third_party/CMakeLists.txt
third_party/*.cmake
Copyright: the JPEG XL Project
License: Apache-2.0
On Debian GNU/Linux systems, the complete text of Apache 2.0 License
is in `/usr/share/common-licenses/Apache-2.0'.
Files:
third_party/dirent.cc
Copyright: 2010 Wildfire Games
License: MIT
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
.
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Files: third_party/HEVCSoftware/*
Copyright: 2010-2017, ITU/ISO/IEC
License: BSD-3-clause
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 the ITU/ISO/IEC 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 HOLDER 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: tools/ssimulacra.txt
Copyright: 2005, Rabah Mehdi <mehdi.rabah@gmail.com>,
2009, Philipp Klaus Krause <philipp@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@debian.org>
2026 xiao sheng wen <atzlinux@debian.org>
License: BSD-3-clause-Google
Same as above
DFSG Assistant LLM REVIEW 0 blocker, 2 important, 2 minor
This is an LLM based review using a Debian Inference based workflow. It was not written by a member of the DFSG team and has not been checked by one. It is not a decision on the package: it may be wrong, and it may have missed things.
Reviewed 13 days ago.
Report
DFSG NEW review for jpeg-xl version 0.12.0-1~exp2
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: No - Packaging is of good quality: Yes
- Issues: 0 blocker, 2 important, 2 minor
- debian/watch: version 5
- debian/copyright: machine-readable
- Scan before the review: 3 found
Licensing
Every licence in the tree is free and mutually compatible (project BSD-3-clause, Apache-2.0 for third_party/{dirent,*.cmake}, MIT for the Wildfire Games part of dirent.cc, Zlib for the apngdis parts, ISC for the SSIMULACRA predecessor code, CC0 for one data file), and no GPL/LGPL/MPL, field-of-use or non-commercial wording exists anywhere; the three test_cost zips are CTest timing data, not built binaries. debian/copyright is DEP-5 and mostly right, but it is inaccurate for five files: tools/example_tree2.txt is CC0 by Jon Sneyers yet falls under Files: * (BSD-3-clause-Google, the JPEG XL Project), and four overriding stanzas replace, instead of complement, the JPEG XL Project copyright and BSD-3/Apache-2.0 licence that those files also carry.
Packaging
The packaging is of good quality: debhelper compat 14 with dh $@ --buildsystem=cmake+ninja, hardening=+all, a clean seven-package split with matching .install/.manpages files, Multi-Arch: same on the libraries and -dev, a symbols file for the new 0.12 SOVERSION, a nojava build profile honoured both in control and rules, and an autopkgtest. Two minor defects remain: the versioned build dependency on libjxl-testdata cannot be satisfied from the archive, and the autopkgtest's compression-ratio check can never fail.
Issues
important licensing 1. debian/copyright puts tools/example_tree2.txt under Files: * (BSD-3-clause-Google, the JPEG XL Project) but the file is CC0 by Jon Sneyers ◂
- Files:
tools/example_tree2.txt:1-2,debian/copyright:5-7 - Basis: checked, in the package or with a reference tool
- Evidence:
/* by Jon Sneyers, license: CC0 */in tools/example_tree2.txt versusFiles: */Copyright: 2020 the JPEG XL Project/License: BSD-3-clause-Google - Problem: The holder and licence of this shipped data file are both wrong in debian/copyright, which therefore does not accurately describe the file. CC0 is free and compatible with the rest, so this is not a DFSG problem, but Policy 12.5 requires the copyright file to record the actual copyright and licence of every file.
- Fix: Add a
Files: tools/example_tree2.txtstanza withCopyright: Jon SneyersandLicense: CC0-1.0(with the CC0 1.0 text or a pointer to it, since CC0 is not in /usr/share/common-licenses).
important licensing 2. Overriding Files stanzas for apng.cc, dirent.cc and ssimulacra.txt replace the JPEG XL Project's copyright and licence instead of adding to them ◂
- Files:
debian/copyright:9-14,debian/copyright:41-44,debian/copyright:91-94,lib/extras/dec/apng.cc:1-5,lib/extras/enc/apng.cc:1-5,third_party/dirent.cc:1-3,tools/ssimulacra.txt:1-4 - Basis: checked, in the package or with a reference tool
- Evidence: apng.cc:
// Copyright (c) the JPEG XL Project Authors ... governed by a BSD-style license that can be found in the LICENSE file.followed byParts of this code are taken from apngdis; dirent.cc:// Copyright (c) the JPEG XL Project/// Licensed under the Apache License, Version 2.0; ssimulacra.txt:// Copyright (c) the JPEG XL Project Authors/BSD-style license ... LICENSE. The stanzas giveCopyright: 2010-2015 Max Stepin/Zlib,Copyright: 2010 Wildfire Games/MITandCopyright: 2005, Rabah Mehdi .../ISC-Licenseonly. - Problem: copyright-format 6.9:
The last stanza that matches a particular file applies to it.These stanzas therefore make the copyright file say these files are Zlib/MIT/ISC only, dropping both the JPEG XL Project copyright and the BSD-3/Apache-2.0 terms under which the bulk of each file is distributed. The declared licences are free and compatible, so nothing is non-distributable, but the file misdescribes four files' licensing and omits their main holder. - Fix: In each of these three stanzas, list both holders and both licences, e.g.
Copyright: 2020 the JPEG XL Project Authorsplus the third-party holder, andLicense: BSD-3-clause-Google and Zlib(resp.Apache-2.0 and MIT,BSD-3-clause-Google and ISC-License), keepinglib/extras/LICENSE.apngdisas Zlib-only.
minor packaging 3. Build-Depends requires libjxl-testdata >= 0.0~git20250513.73695d3-5, but only -4 is in the archive ◂
- Files:
debian/control:22,debian/rules:82-90 - Basis: checked, in the package or with a reference tool
- Evidence:
libjxl-testdata (>= 0.0~git20250513.73695d3-5) <!nocheck>;apt-cache show libjxl-testdatareturns onlyVersion: 0.0~git20250513.73695d3-4(not among the package under review's binaries or NEW uploads either). - Problem: With BUILD_TESTING=ON by default, every clean non-nocheck build needs that testdata version, and no published version satisfies the constraint, so the package cannot build until a -5 of libjxl-testdata is in the archive (CMakeLists.txt:429 needs
.../README.mdpresent, which is presumably why the version was bumped). Only a build dependency, so minor, and it resolves once the paired upload is accepted. - Fix: Upload libjxl-testdata -5 first (or drop the version constraint if -4 already has README.md and the bump is not needed).
minor packaging 4. autopkgtest compression-ratio check only prints on failure and never fails the test ◂
- Files:
debian/tests/run-unit-test:24-26 - Basis: checked, in the package or with a reference tool
- Evidence:
if [ $fsize -gt 451040 ]; then/echo "Invalid compression size: $fsize";/fi - Problem: The script runs under
set -e, but a trueifbranch whose command succeeds does not abort, so a regression that inflates the encoded size is reported in stderr and the autopkgtest still passes, defeating the check. - Fix: Add
exit 1(orfalse) inside the branch.
Verified ◂
- Read debian/ in full: control, rules, changelog (head and recent entries), copyright, patches/series and 0008-Fix-conformance-test.patch, tests/{control,run-unit-test}, all *.install, .manpages, jpeg-xl-doc.{doc-base,examples}, upstream/metadata, gbp.conf, README.source, TODO, clean, source/format, man/.mid, *.1.in.
- tools/scripts/test_cost-armhf.zip, tools/scripts/test_cost-i386.zip and tools/scripts/test_cost-x64.zip each contain only CTestCostData.txt: CTest timing data that .github/workflows/build_test_cross.yml:175 unpacks into build/Testing/Temporary to order tests in CI. They are generated test data committed for CI, not built binaries and not needed by the Debian build; no source is missing (ctest regenerates them).
- Prescan author check: Max Stepin (lib/extras/dec/apng.cc:13, lib/extras/enc/apng.cc:13) is named by the Zlib stanza together with lib/extras/LICENSE.apngdis; no other holder from the check is unrepresented.
- Full-tree grep for Copyright/(C)/©, SPDX-License-Identifier, GNU/LGPL/Affero, Mozilla Public, Apache, public domain, non-commercial, 'All rights reserved', MIT/zlib/ISC wording: apart from the files covered by the second issue and tools/example_tree2.txt, every file carrying a notice carries 'Copyright (c) the JPEG XL Project Authors' plus the BSD-style licence in LICENSE; the only other holders are the ones already in debian/copyright (Max Stepin, Wildfire Games, ITU/ISO/IEC at third_party/HEVCSoftware/cfg/LICENSE, Rabah Mehdi and Philipp Klaus Krause in tools/ssimulacra.txt). No non-free or field-of-use wording anywhere, and tools/benchmark/metrics/hdrvdp-fixes.patch is the project's own diff against downloaded HDR-VDP code, not copied third-party source.
- third_party/{brotli,googletest,highway,lcms,libjpeg-turbo,libpng,sjpeg,skcms,zlib} are empty submodule mount points (.gitmodules), so no third-party library is embedded; rules forces the system libraries (JPEGXL_FORCE_SYSTEM_{BROTLI,GTEST,HWY,LCMS2}, SKCMS off) and libpng/zlib come from libpng-dev.
- PATENTS adds only a defensive-termination patent grant; no restriction on use or modification.
- Debian-specific files (debian/) are described by the debian/ stanza under the same BSD-3-clause-Google; the generated man pages and generated doxygen docs follow from sources in the tree.
- Standards-Version 4.7.4 against Policy 4.7.4.1 (policy tool) is current enough.
- Build-Depends alternatives and availability: liblcms-dev is a virtual package provided by liblcms2-dev (apt-cache), so
liblcms-dev | liblcms2-devis satisfiable; libhwy-dev 1.3.1 is available for upstream'sfind_package(HWY 1.0.7). - Build-Depends-Indep (doxygen, graphviz) are safe for arch-only builds: doc/CMakeLists.txt uses
find_package(Doxygen OPTIONAL_COMPONENTS dot)and only warns when they are absent, so an -B build without them configures and skips thedoctarget. - debian/rules matches what debhelper 14 does: BUILD_TESTING follows
nocheckand the<!nocheck>build dependencies agree; the help2man man-page step sits in execute_before_dh_installman-arch, which is neither dh_auto_test, dh_dwz nor dh_strip and so still runs under nocheck/nostrip. - Patches: 0008-Fix-conformance-test.patch has From/Date/Subject/Bug-Debian and patches the conformance tooling that tools/conformance/CMakeLists.txt still registers as
conformance_tooling_test, so it is neither obsolete nor untraceable; it lacks aForwarded:field, which is a nicety rather than a defect. - SOVERSION consistency: lib/CMakeLists.txt sets SO minor 12 and debian/libjxl0.12.{install,symbols} follow; the three shipped libraries (libjxl, libjxl_cms, libjxl_threads) are all installed by usr/lib//libjxl.so.*.
- Man pages: every binary in libjxl-tools.install (3) and libjxl-devtools.install (18) has a page in the corresponding .manpages file.
- doc, examples and testdata: testdata/ is empty (test data comes from libjxl-testdata at /usr/share/libjxl-testdata); jpeg-xl-doc ships the doxygen HTML and examples/* as examples.
- I did not read .pc/ or debian/cargo-checksum.json, did not look inside the zip payloads, and did not read binary or large files.
- uscan found the packaged version as the newest upstream release (upstream
0.12.0, packaged0.12.0). - Every pointer of
debian/copyrightto /usr/share/common-licenses names a file that is there (Apache-2.0).
Not confirmed ◂
- debian/libjxl0.12.symbols: the symbol list cannot be verified without building; it is internally consistent (libjxl.so.0.12/jxl_cms/threads, Build-Depends-Package: libjxl-dev) but the minimum versions and the optional=lto C++ symbols were not checked against an actual library.
- debian/rules:36 keeps
DEB_CXXFLAGS_MAINT_APPEND += -fexcess-precision=fast, described as a temporary workaround for 0.7.0-era i386/s390x builds; whether it is still needed (and its effect on decoded output on x87 targets) cannot be determined without a build. - Whether a libjxl-testdata -5 upload is in preparation outside the reviewing system's package lists and NEW queues; apt-cache knows only -4.
Proposed changes ◂
None.
Uploader's response to the LLM review
The uploader hasn't responded yet, and is welcome to at any time. The 24-hour hold has ended, so the package is now open for review as usual.
Review Information
accepted — allocated to awm 11 days ago, started 11 days ago, completed 11 days ago.
Final Comment
Superseded by review of later version
Other Reviews of this Package
| Version | Hash | Allocated | Completed | Reviewer | Status | Details |
|---|---|---|---|---|---|---|
| 0.13.0-1~exp1 | 8134d8eb… | 2026-11-12 13:15 | 2026-11-12 13:15 | awm | accepted | VIEW |
| 0.12.0-1~exp3 | c7cc2482… | 2026-11-12 07:55 | 2026-11-12 08:59 | awm | accepted | VIEW |
| 0.12.0-1~exp1 | a8a43ae6… | 2026-11-12 08:59 | 2026-11-12 08:59 | awm | accepted | VIEW |