pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/graphics/libjxl
Module Name: pkgsrc
Committed By: adam
Date: Thu Nov 12 09:06:30 UTC 2026
Modified Files:
pkgsrc/graphics/libjxl: Makefile Makefile.common PLIST distinfo
Log Message:
libjxl: updated to 0.13.0
0.13.0 - 2026-11-11
Security
- bumped brotli to v1.2.1
- sized low-memory render pipeline ring buffers by simulating the actual stage
schedule, fixing use-of-uninitialized-memory bugs with vertically subsampled
stages
- reset JPEG reconstruction state, fixing potential use-after-free writes across
decoder resets
- security and hardening fixes across the core decoder/encoder,
JPEG reconstruction, splines, and codec plugins (EXR, APNG, PGX, PNM); this
includes fixes for integer overflows in JPEG coefficient buffer allocations
and spline area budgets, out-of-bounds read/write guards in chunked frame
adapters and truncated EXR scanline streams, bounds-checked `Span::subspan`
slicing, and null pointer guards
- decoder: more consistent image_out cleanup;
reported-by: Alejandro Pacheco (@alepacheco) and Eunji Ham
- harden patch rect calculations;
reported-by: Robert McConnell and freezagent
- make another decoding path aware of overflows;
reported-by: Robert McConnell
- decoder: guard against using wrong out buffer;
reported-by: Lakshit Verma
- ensure CmsStage when converting CMYK has access to actual black channel;
reported-by: Marinko Ružić
- fix using wrong subsampling when reconstructing gray JPEGs;
reported-by: synawk dsx, ptrstr and Lakshit Verma
Added
- encoder API: added `JXL_ENC_FRAME_SETTING_STRIP_ALPHA` frame setting and
`--strip_alpha` CLI flag to control stripping of alpha channels on
single-frame images with a single extra channel
- encoder API: added `JXL_ENC_FRAME_SETTING_JPEG_RECON_LFS` frame setting and
`--jpeg_reconstruction_lfs` CLI flag to control LF (adaptive DC) smoothing
during lossless JPEG recompression; allows non-444 transcoded JPEGs with
adaptive DC/LF smoothing to decode
- release & CI: added native Linux AArch64 static release artifacts
Windows ARM64 CI build and release support
attestation for published release assets
Changed
- rewrote LZ77 implementation for lossless image compression
- compression density & encoder improvements:
- enabled LF smoothing by default for 4:4:4 lossless JPEG transcoding
- re-enabled squeezed delta palette
- signaled the default 39-entry block context map, saving 22-23 bytes per
frame when using the default block context map
- improved histogram clustering with forced prefix codes (force_huffman) by
accounting for merges that turn a zero-cost single-symbol histogram into a
multi-symbol histogram
- modular encoder: skipped `EstimateWPCost` weighted-predictor mode search
when a custom fixed tree is provided
- performance & memory:
- optimized `EstimateWPCost`
- allocated `allowed_counts` on the heap during initialization in to reduce
stack usage
- tools: `jxl_from_tree` now automatically uses 16-bit buffers when bit depth is
12 or less
Fixed
- disabled adaptive DC smoothing during lossless JPEG reconstruction
- cleared all patch dictionary state, preventing patches from being blended
using a previous frame's blend modes
- forgot extra channel output buffers in `JxlDecoderSkipCurrentFrame()`
- reset `prog_detail` on `JxlDecoderReset()` and rewind
- copied ANS lookup data from the containing entry in `InitAliasDistribution`
and added compile-time size verification
- guarded PerformBlending against empty segments
- fixed `Forward`/`Meta` and `Inverse` squeeze transform agreement on
hshift/vshift updates
- fixed luminance calculation and multiplicative factor in photon noise
synthesis (`enc_photon_noise`)
- scaled `center_x` and `center_y` coordinates by `dc_scale` for LF frames when
encoding with center-first group ordering
- handled legacy non-conforming Display P3 v4 ICC profiles
- fixed possible stream inconsistency in streaming encoding mode
- fixed formal data races in `enc_cache.cc` and modular `FillSigma`
initialization
- validated packed frame extra-channel counts before encoding
- PNM/PAM decoder: rejected sample values exceeding `MaxVal`
- PNG/APNG decoder: zeroed rows left undecoded by truncated PNGs
- Gain Map API: avoided calling memcpy with a nullptr source
- NumPy encoder: properly escaped frame names per RFC 8259 in `--metadata_out`
JSON output
- extras: derived file extensions from the final path component only in
`CodecFromPath`.
- build & platform fixes:
- fixed build with Highway 1.3+
- dropped `-lm` from `libjxl_cms.pc` and `libjxl_threads.pc` pkg-config files
on MSVC
- fixed MSVC intrinsics include order so `_sub_overflow_i32` is visible on
x86/x64
- enabled `JXL_UNUSED` macro under clang-cl
- checked whether `Qt` has feature xcb before enabling xcb in tools/ CMake
build
- fixed mingw32 build
build races on macOS/multi-core machines
To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/graphics/libjxl/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/graphics/libjxl/Makefile.common \
pkgsrc/graphics/libjxl/PLIST
cvs rdiff -u -r1.8 -r1.9 pkgsrc/graphics/libjxl/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/graphics/libjxl/Makefile
diff -u pkgsrc/graphics/libjxl/Makefile:1.19 pkgsrc/graphics/libjxl/Makefile:1.20
--- pkgsrc/graphics/libjxl/Makefile:1.19 Sun Nov 8 15:43:59 2026
+++ pkgsrc/graphics/libjxl/Makefile Thu Nov 12 09:06:30 2026
@@ -1,6 +1,5 @@
-# $NetBSD: Makefile,v 1.19 2026/11/08 15:43:59 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2026/11/12 09:06:30 adam Exp $
-PKGREVISION= 3
.include "Makefile.common"
COMMENT= JpegXL reference codec
Index: pkgsrc/graphics/libjxl/Makefile.common
diff -u pkgsrc/graphics/libjxl/Makefile.common:1.6 pkgsrc/graphics/libjxl/Makefile.common:1.7
--- pkgsrc/graphics/libjxl/Makefile.common:1.6 Thu Jul 2 03:13:36 2026
+++ pkgsrc/graphics/libjxl/Makefile.common Thu Nov 12 09:06:30 2026
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile.common,v 1.6 2026/07/02 03:13:36 adam Exp $
+# $NetBSD: Makefile.common,v 1.7 2026/11/12 09:06:30 adam Exp $
# used by graphics/gdk-pixbuf2-jxl/Makefile
-DISTNAME= libjxl-0.12.0
+DISTNAME= libjxl-0.13.0
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_GITHUB:=libjxl/}
GITHUB_TAG= v${PKGVERSION_NOREV}
Index: pkgsrc/graphics/libjxl/PLIST
diff -u pkgsrc/graphics/libjxl/PLIST:1.6 pkgsrc/graphics/libjxl/PLIST:1.7
--- pkgsrc/graphics/libjxl/PLIST:1.6 Thu Jul 2 03:13:36 2026
+++ pkgsrc/graphics/libjxl/PLIST Thu Nov 12 09:06:30 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2026/07/02 03:13:36 adam Exp $
+@comment $NetBSD: PLIST,v 1.7 2026/11/12 09:06:30 adam Exp $
bin/cjxl
bin/djxl
bin/jxlinfo
@@ -27,14 +27,14 @@ include/jxl/types.h
include/jxl/version.h
lib/libjxl.so
lib/libjxl.so.${PKGVERSION}
-lib/libjxl.so.0.12
+lib/libjxl.so.0.13
lib/libjxl_cms.so
lib/libjxl_cms.so.${PKGVERSION}
-lib/libjxl_cms.so.0.12
+lib/libjxl_cms.so.0.13
lib/libjxl_extras_codec.a
lib/libjxl_threads.so
lib/libjxl_threads.so.${PKGVERSION}
-lib/libjxl_threads.so.0.12
+lib/libjxl_threads.so.0.13
lib/pkgconfig/libjxl.pc
lib/pkgconfig/libjxl_cms.pc
lib/pkgconfig/libjxl_threads.pc
Index: pkgsrc/graphics/libjxl/distinfo
diff -u pkgsrc/graphics/libjxl/distinfo:1.8 pkgsrc/graphics/libjxl/distinfo:1.9
--- pkgsrc/graphics/libjxl/distinfo:1.8 Thu Jul 2 03:13:36 2026
+++ pkgsrc/graphics/libjxl/distinfo Thu Nov 12 09:06:30 2026
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.8 2026/07/02 03:13:36 adam Exp $
+$NetBSD: distinfo,v 1.9 2026/11/12 09:06:30 adam Exp $
-BLAKE2s (libjxl-0.12.0.tar.gz) = 975f06d153d23eefc6184e4afebfb9c9746ad2f2ffb9a9c8f377f28b0d26242a
-SHA512 (libjxl-0.12.0.tar.gz) = 71d45123e47588c8028c0e01a7820c7a18d98df05c29b5318ab6858eaff5f249879763907201ba19a93f817c6ef75c393c1974d2a0cc8e461c4e2709ca6fa45f
-Size (libjxl-0.12.0.tar.gz) = 1698757 bytes
+BLAKE2s (libjxl-0.13.0.tar.gz) = a5fed835d2381c0938e21cd91a584a78b7aa93d3302b418ca6ce29f29f02c608
+SHA512 (libjxl-0.13.0.tar.gz) = f5a6cc4c875c9cdd217001096d34e5912afffdf3a58bae816c1c28c7e241eb0909ea37af0bef6d4b2fb8fae20ae94e29b2ef30fb65f778d4a7d62e07e20e3f85
+Size (libjxl-0.13.0.tar.gz) = 1734982 bytes
SHA1 (patch-CMakeLists.txt) = 61a53fd1bd533f8c488b8e8c3db04fba3373a617
SHA1 (patch-lib_jxl.cmake) = a0ddd494e1d7a4992ce22161602c44aae2c44267
SHA1 (patch-lib_jxl__threads.cmake) = a18c85c6ab0111bad03eaa52b005d8f3204fcf58
Home |
Main Index |
Thread Index |
Old Index