Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libavif for openSUSE:Factory checked in at 2023-08-31 13:42:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libavif (Old) and /work/SRC/openSUSE:Factory/.libavif.new.1766 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libavif" Thu Aug 31 13:42:21 2023 rev:21 rq:1107858 version:1.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/libavif/libavif.changes 2023-05-09 13:07:28.837071970 +0200 +++ /work/SRC/openSUSE:Factory/.libavif.new.1766/libavif.changes 2023-08-31 13:42:48.181972032 +0200 @@ -1,0 +2,56 @@ +Tue Aug 29 05:18:59 UTC 2023 - Paolo Stivanin <[email protected]> + +- Update to 1.0.0: + * Incompatible changes: + + The clli member was added to the avifImage struct. + + The repetitionCount member was added to the avifEncoder and avifDecoder + structs. + + The quality and qualityAlpha members were added to the avifEncoder struct. + + Check that functions returning pointers do not return NULL before accessing + those pointers. + + Check the return value of avifEncoderSetCodecSpecificOption(). + + The maxThreads member was added to the avifRGBImage struct. + + Check the return value of avifRGBImageAllocatePixels(), avifRWDataRealloc(), + avifRWDataSet(), avifImageSetProfileICC(), avifImageSetMetadataExif() and + avifImageSetMetadataXMP(). + + The meaning of the keyframeInterval member of avifEncoder struct has changed + slightly. When set to a value of "n", + Before: It forces a keyframe on every nth frame. + After: Any set of "n" consecutive frame will have at least one keyframe + (every nth frame may or may not be a keyframe). + * Added: + + Add clli metadata read and write support + + Add repetitionCount member to avifEncoder and avifDecoder structs to specify + the number of repetitions for animated image sequences. + + Add quality and qualityAlpha to avifEncoder. Note: minQuantizer, + maxQuantizer, minQuantizerAlpha, and maxQuantizerAlpha are deprecated. Code + should be updated to set quality (and qualityAlpha if applicable) and leave + minQuantizer, maxQuantizer, minQuantizerAlpha, and maxQuantizerAlpha + initialized to the default values. + + The --target-size flag in avifenc was added to adapt the quality so that the + output file size is as close to the given number of bytes as possible. + + Add the public API function avifImageIsOpaque() in avif.h. + + Add the public API functions avifImagePlane(), avifImagePlaneRowBytes(), + avifImagePlaneWidth(), and avifImagePlaneHeight() in avif.h. + + Add API for multi-threaded YUV to RGB color conversion. + + Allow lossless 4:0:0 on grayscale input. + + Add avifenc --no-overwrite flag to avoid overwriting output file. + + Add avifenc --clli flag to set clli. + + Add support for all transfer functions when using libsharpyuv. + * Changed: + + Exif and XMP metadata is exported to PNG and JPEG files by default, + except XMP payloads larger than 65502 bytes in JPEG. + + The --grid flag in avifenc can be used for images that are not evenly divided + into cells. + + Change the encoder to write the boxes within the "stbl" box in the order of + stsd, stts, stsc, stsz, stco, stss. + + avifImageRGBToYUV() and avifImageYUVToRGB() handle avifImage bit depths 8, 10, + 12 and now also 16. Files read by apps/shared/ can output 16-bit avifImage + instances. + + avifImageCreate(), avifImageCreateEmpty(), avifEncoderCreate() and other + internal functions now return NULL if a memory allocation failed. + + avifEncoderSetCodecSpecificOption() now returns avifResult instead of void to + report memory allocation failures. +- Add fix-gdkpixbuf.patch. + +------------------------------------------------------------------- Old: ---- libavif-0.11.1.tar.gz New: ---- fix-gdkpixbuf.patch libavif-1.0.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libavif.spec ++++++ --- /var/tmp/diff_new_pack.5rDIqF/_old 2023-08-31 13:42:49.574021787 +0200 +++ /var/tmp/diff_new_pack.5rDIqF/_new 2023-08-31 13:42:49.578021930 +0200 @@ -25,20 +25,20 @@ %endif # Also update baselibs.conf if you bump the version -%global lib_soversion 15 +%global lib_soversion 16 %global lib_name libavif%{lib_soversion} Name: libavif -Version: 0.11.1 +Version: 1.0.0 Release: 0 Summary: Library for encoding and decoding .avif files License: BSD-2-Clause Group: Development/Libraries/C and C++ URL: https://github.com/AOMediaCodec/libavif -# Source: https://github.com/AOMediaCodec/libavif/archive/v%{version}/%{name}-%{version}.tar.gz Source99: baselibs.conf -# +# PATCH-FIX-UPSTREAM https://github.com/AOMediaCodec/libavif/pull/1528 +Patch0: fix-gdkpixbuf.patch BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: libjpeg8-devel @@ -46,7 +46,7 @@ BuildRequires: pkgconfig(gdk-pixbuf-2.0) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gobject-2.0) -BuildRequires: pkgconfig(libpng) +BuildRequires: pkgconfig(libpng) >= 1.6.32 BuildRequires: pkgconfig(libwebp) BuildRequires: pkgconfig(rav1e) >= 0.5.0 %if %{with aom} ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.5rDIqF/_old 2023-08-31 13:42:49.610023074 +0200 +++ /var/tmp/diff_new_pack.5rDIqF/_new 2023-08-31 13:42:49.614023217 +0200 @@ -1,2 +1,2 @@ -libavif15 +libavif16 ++++++ fix-gdkpixbuf.patch ++++++ >From 8e79701b2d2b8cd872d23b7c9e5e746b61cab65e Mon Sep 17 00:00:00 2001 From: Xi Ruoyao <[email protected]> Date: Tue, 29 Aug 2023 13:08:33 +0800 Subject: [PATCH] gdk-pixbuf: Fix build failure after imir.mode -> imir.axis rename Fixes #1526. --- contrib/gdk-pixbuf/loader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/gdk-pixbuf/loader.c b/contrib/gdk-pixbuf/loader.c index 47e25a13b..868b054fb 100644 --- a/contrib/gdk-pixbuf/loader.c +++ b/contrib/gdk-pixbuf/loader.c @@ -209,7 +209,7 @@ static gboolean avif_context_try_load(struct avif_context * context, GError ** e if (image->transformFlags & AVIF_TRANSFORM_IMIR) { GdkPixbuf *output_mirrored = NULL; - switch (image->imir.mode) { + switch (image->imir.axis) { case 0: output_mirrored = gdk_pixbuf_flip(output, FALSE); break; ++++++ libavif-0.11.1.tar.gz -> libavif-1.0.0.tar.gz ++++++ /work/SRC/openSUSE:Factory/libavif/libavif-0.11.1.tar.gz /work/SRC/openSUSE:Factory/.libavif.new.1766/libavif-1.0.0.tar.gz differ: char 17, line 1
