Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libjxl for openSUSE:Factory checked in at 2024-07-01 11:19:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libjxl (Old) and /work/SRC/openSUSE:Factory/.libjxl.new.18349 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libjxl" Mon Jul 1 11:19:17 2024 rev:18 rq:1183951 version:0.10.3 Changes: -------- --- /work/SRC/openSUSE:Factory/libjxl/libjxl.changes 2024-06-22 13:23:21.378519710 +0200 +++ /work/SRC/openSUSE:Factory/.libjxl.new.18349/libjxl.changes 2024-07-01 11:19:19.428772998 +0200 @@ -1,0 +2,6 @@ +Sat Jun 29 03:56:34 UTC 2024 - Jan Engelhardt <jeng...@inai.de> + +- Update to release 0.10.3 + * fix bug in huffman-rle-gradient (e1) specialized decode path + +------------------------------------------------------------------- Old: ---- v0.10.2.tar.gz New: ---- v0.10.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libjxl.spec ++++++ --- /var/tmp/diff_new_pack.WhjJKG/_old 2024-07-01 11:19:20.428809429 +0200 +++ /var/tmp/diff_new_pack.WhjJKG/_new 2024-07-01 11:19:20.432809575 +0200 @@ -24,7 +24,7 @@ Name: libjxl %bcond_with gtk %endif -Version: 0.10.2 +Version: 0.10.3 Release: 0 Summary: JPEG XL reference implementation License: BSD-3-Clause ++++++ v0.10.2.tar.gz -> v0.10.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libjxl-0.10.2/.github/workflows/conformance.yml new/libjxl-0.10.3/.github/workflows/conformance.yml --- old/libjxl-0.10.2/.github/workflows/conformance.yml 2024-03-08 09:10:58.000000000 +0100 +++ new/libjxl-0.10.3/.github/workflows/conformance.yml 2024-06-27 14:10:08.000000000 +0200 @@ -20,7 +20,7 @@ env: CONFORMANCE_REPO_HASH: ee6008ef151489a5330cd886b422af8f6ed58881 - LIBJXL_VERSION: "0.10.2" + LIBJXL_VERSION: "0.10.3" LIBJXL_ABI_VERSION: "0.10" concurrency: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libjxl-0.10.2/CHANGELOG.md new/libjxl-0.10.3/CHANGELOG.md --- old/libjxl-0.10.2/CHANGELOG.md 2024-03-08 09:10:58.000000000 +0100 +++ new/libjxl-0.10.3/CHANGELOG.md 2024-06-27 14:10:08.000000000 +0200 @@ -5,6 +5,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.10.3] - 2024-06-27 + +### Fixed + - fix decoding of some special images (#3662) + ## [0.10.2] - 2024-03-08 ### Fixed diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libjxl-0.10.2/WORKSPACE new/libjxl-0.10.3/WORKSPACE --- old/libjxl-0.10.2/WORKSPACE 2024-03-08 09:10:58.000000000 +0100 +++ new/libjxl-0.10.3/WORKSPACE 2024-06-27 14:10:08.000000000 +0200 @@ -1,5 +1,5 @@ -load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository", "new_git_repository") +load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") workspace(name = "libjxl") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libjxl-0.10.2/debian/changelog new/libjxl-0.10.3/debian/changelog --- old/libjxl-0.10.2/debian/changelog 2024-03-08 09:10:58.000000000 +0100 +++ new/libjxl-0.10.3/debian/changelog 2024-06-27 14:10:08.000000000 +0200 @@ -1,4 +1,10 @@ -jpeg-xl (0.10.2) UNRELEASED; urgency=medium +jpeg-xl (0.10.3) UNRELEASED; urgency=medium + + * Bump JPEG XL version to 0.10.3. + + -- JPEG XL Maintainers <jpe...@google.com> Thu, 27 Jun 2024 12:23:45 +0200 + +jpeg-xl (0.10.2) unstable; urgency=medium * Bump JPEG XL version to 0.10.2. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libjxl-0.10.2/lib/BUILD new/libjxl-0.10.3/lib/BUILD --- old/libjxl-0.10.2/lib/BUILD 2024-03-08 09:10:58.000000000 +0100 +++ new/libjxl-0.10.3/lib/BUILD 2024-06-27 14:10:08.000000000 +0200 @@ -3,6 +3,9 @@ # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. +load("@bazel_skylib//rules:copy_file.bzl", "copy_file") +load("@bazel_skylib//rules:expand_template.bzl", "expand_template") + # Load sources/headers/tests lists. load( "jxl_lists.bzl", @@ -56,8 +59,6 @@ "libjxl_test_shards", "libjxl_test_timeouts", ) -load("@bazel_skylib//rules:expand_template.bzl", "expand_template") -load("@bazel_skylib//rules:copy_file.bzl", "copy_file") DEFAULT_VISIBILITY = ["//:__subpackages__"] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libjxl-0.10.2/lib/CMakeLists.txt new/libjxl-0.10.3/lib/CMakeLists.txt --- old/libjxl-0.10.2/lib/CMakeLists.txt 2024-03-08 09:10:58.000000000 +0100 +++ new/libjxl-0.10.3/lib/CMakeLists.txt 2024-06-27 14:10:08.000000000 +0200 @@ -5,7 +5,7 @@ set(JPEGXL_MAJOR_VERSION 0) set(JPEGXL_MINOR_VERSION 10) -set(JPEGXL_PATCH_VERSION 2) +set(JPEGXL_PATCH_VERSION 3) set(JPEGXL_LIBRARY_VERSION "${JPEGXL_MAJOR_VERSION}.${JPEGXL_MINOR_VERSION}.${JPEGXL_PATCH_VERSION}") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libjxl-0.10.2/lib/jxl/modular/encoding/encoding.cc new/libjxl-0.10.3/lib/jxl/modular/encoding/encoding.cc --- old/libjxl-0.10.2/lib/jxl/modular/encoding/encoding.cc 2024-03-08 09:10:58.000000000 +0100 +++ new/libjxl-0.10.3/lib/jxl/modular/encoding/encoding.cc 2024-06-27 14:10:08.000000000 +0200 @@ -138,8 +138,8 @@ const Tree &global_tree, const weighted::Header &wp_header, pixel_type chan, size_t group_id, - TreeLut<uint8_t, true> &tree_lut, - Image *image) { + TreeLut<uint8_t, true> &tree_lut, Image *image, + uint32_t &fl_run, uint32_t &fl_v) { Channel &channel = image->channel[chan]; std::array<pixel_type, kNumStaticProperties> static_props = { @@ -222,20 +222,19 @@ } else if (uses_lz77 && predictor == Predictor::Gradient && offset == 0 && multiplier == 1 && reader->HuffRleOnly()) { JXL_DEBUG_V(8, "Gradient RLE (fjxl) very fast track."); - uint32_t run = 0; - uint32_t v = 0; - pixel_type_w sv = 0; + pixel_type_w sv = UnpackSigned(fl_v); for (size_t y = 0; y < channel.h; y++) { pixel_type *JXL_RESTRICT r = channel.Row(y); const pixel_type *JXL_RESTRICT rtop = (y ? channel.Row(y - 1) : r - 1); const pixel_type *JXL_RESTRICT rtopleft = (y ? channel.Row(y - 1) - 1 : r - 1); pixel_type_w guess = (y ? rtop[0] : 0); - if (run == 0) { - reader->ReadHybridUintClusteredHuffRleOnly(ctx_id, br, &v, &run); - sv = UnpackSigned(v); + if (fl_run == 0) { + reader->ReadHybridUintClusteredHuffRleOnly(ctx_id, br, &fl_v, + &fl_run); + sv = UnpackSigned(fl_v); } else { - run--; + fl_run--; } r[0] = sv + guess; for (size_t x = 1; x < channel.w; x++) { @@ -243,11 +242,12 @@ pixel_type top = rtop[x]; pixel_type topleft = rtopleft[x]; pixel_type_w guess = ClampedGradient(top, left, topleft); - if (!run) { - reader->ReadHybridUintClusteredHuffRleOnly(ctx_id, br, &v, &run); - sv = UnpackSigned(v); + if (!fl_run) { + reader->ReadHybridUintClusteredHuffRleOnly(ctx_id, br, &fl_v, + &fl_run); + sv = UnpackSigned(fl_v); } else { - run--; + fl_run--; } r[x] = sv + guess; } @@ -484,16 +484,16 @@ const Tree &global_tree, const weighted::Header &wp_header, pixel_type chan, size_t group_id, - TreeLut<uint8_t, true> &tree_lut, - Image *image) { + TreeLut<uint8_t, true> &tree_lut, Image *image, + uint32_t &fl_run, uint32_t &fl_v) { if (reader->UsesLZ77()) { return detail::DecodeModularChannelMAANS</*uses_lz77=*/true>( br, reader, context_map, global_tree, wp_header, chan, group_id, - tree_lut, image); + tree_lut, image, fl_run, fl_v); } else { return detail::DecodeModularChannelMAANS</*uses_lz77=*/false>( br, reader, context_map, global_tree, wp_header, chan, group_id, - tree_lut, image); + tree_lut, image, fl_run, fl_v); } } @@ -619,6 +619,8 @@ // Read channels ANSSymbolReader reader(code, br, distance_multiplier); auto tree_lut = jxl::make_unique<TreeLut<uint8_t, true>>(); + uint32_t fl_run = 0; + uint32_t fl_v = 0; for (; next_channel < nb_channels; next_channel++) { Channel &channel = image.channel[next_channel]; if (!channel.w || !channel.h) { @@ -631,7 +633,7 @@ } JXL_RETURN_IF_ERROR(DecodeModularChannelMAANS( br, &reader, *context_map, *tree, header.wp_header, next_channel, - group_id, *tree_lut, &image)); + group_id, *tree_lut, &image, fl_run, fl_v)); // Truncated group. if (!br->AllReadsWithinBounds()) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libjxl-0.10.2/lib/jxl_lists.bzl new/libjxl-0.10.3/lib/jxl_lists.bzl --- old/libjxl-0.10.2/lib/jxl_lists.bzl 2024-03-08 09:10:58.000000000 +0100 +++ new/libjxl-0.10.3/lib/jxl_lists.bzl 2024-06-27 14:10:08.000000000 +0200 @@ -551,7 +551,7 @@ libjxl_minor_version = 10 -libjxl_patch_version = 2 +libjxl_patch_version = 3 libjxl_public_headers = [ "include/jxl/cms.h", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libjxl-0.10.2/lib/lib.gni new/libjxl-0.10.3/lib/lib.gni --- old/libjxl-0.10.2/lib/lib.gni 2024-03-08 09:10:58.000000000 +0100 +++ new/libjxl-0.10.3/lib/lib.gni 2024-06-27 14:10:08.000000000 +0200 @@ -549,7 +549,7 @@ libjxl_minor_version = 10 -libjxl_patch_version = 2 +libjxl_patch_version = 3 libjxl_public_headers = [ "include/jxl/cms.h",