Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libavif for openSUSE:Factory checked in at 2022-04-26 20:15:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libavif (Old) and /work/SRC/openSUSE:Factory/.libavif.new.1538 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libavif" Tue Apr 26 20:15:00 2022 rev:15 rq:972437 version:0.10.1 Changes: -------- --- /work/SRC/openSUSE:Factory/libavif/libavif.changes 2022-04-10 19:05:36.902359709 +0200 +++ /work/SRC/openSUSE:Factory/.libavif.new.1538/libavif.changes 2022-04-26 20:17:00.692705722 +0200 @@ -1,0 +2,9 @@ +Sun Apr 24 20:01:35 UTC 2022 - Dirk M??ller <dmuel...@suse.com> + +- update to 0.10.1: + * tests/docker/build.sh: Build SVT-AV1 using cmake and ninja directly + * Fix a Visual Studio 2017 compiler warning in src\reformat.c: warning C4204: + nonstandard extension used: non-constant aggregate initializer + * Fix the help message of avifdec: --index takes a value + +------------------------------------------------------------------- Old: ---- libavif-0.10.0.tar.gz New: ---- libavif-0.10.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libavif.spec ++++++ --- /var/tmp/diff_new_pack.cgkF4j/_old 2022-04-26 20:17:01.148706275 +0200 +++ /var/tmp/diff_new_pack.cgkF4j/_new 2022-04-26 20:17:01.152706279 +0200 @@ -27,7 +27,7 @@ %global lib_name libavif%{lib_soversion} Name: libavif -Version: 0.10.0 +Version: 0.10.1 Release: 0 Summary: Library for encoding and decoding .avif files License: BSD-2-Clause @@ -129,7 +129,7 @@ %files -n %{lib_name} %license LICENSE %{_libdir}/libavif.so.%{lib_soversion} -%{_libdir}/libavif.so.%{lib_soversion}.0.0 +%{_libdir}/libavif.so.%{lib_soversion}.0.1 %files devel %license LICENSE ++++++ libavif-0.10.0.tar.gz -> libavif-0.10.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libavif-0.10.0/CHANGELOG.md new/libavif-0.10.1/CHANGELOG.md --- old/libavif-0.10.0/CHANGELOG.md 2022-04-06 23:01:45.000000000 +0200 +++ new/libavif-0.10.1/CHANGELOG.md 2022-04-12 00:55:49.000000000 +0200 @@ -6,6 +6,14 @@ ## [Unreleased] +## [0.10.1] - 2022-04-11 + +### Changed +* tests/docker/build.sh: Build SVT-AV1 using cmake and ninja directly +* Fix a Visual Studio 2017 compiler warning in src\reformat.c: warning C4204: + nonstandard extension used: non-constant aggregate initializer +* Fix the help message of avifdec: --index takes a value + ## [0.10.0] - 2022-04-06 There is an incompatible ABI change in this release. New members were added to @@ -774,7 +782,8 @@ - Constants `AVIF_VERSION`, `AVIF_VERSION_MAJOR`, `AVIF_VERSION_MINOR`, `AVIF_VERSION_PATCH` - `avifVersion()` function -[Unreleased]: https://github.com/AOMediaCodec/libavif/compare/v0.10.0...HEAD +[Unreleased]: https://github.com/AOMediaCodec/libavif/compare/v0.10.1...HEAD +[0.10.1]: https://github.com/AOMediaCodec/libavif/compare/v0.10.0...v0.10.1 [0.10.0]: https://github.com/AOMediaCodec/libavif/compare/v0.9.3...v0.10.0 [0.9.3]: https://github.com/AOMediaCodec/libavif/compare/v0.9.2...v0.9.3 [0.9.2]: https://github.com/AOMediaCodec/libavif/compare/v0.9.1...v0.9.2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libavif-0.10.0/CMakeLists.txt new/libavif-0.10.1/CMakeLists.txt --- old/libavif-0.10.0/CMakeLists.txt 2022-04-06 23:01:45.000000000 +0200 +++ new/libavif-0.10.1/CMakeLists.txt 2022-04-12 00:55:49.000000000 +0200 @@ -7,7 +7,7 @@ # and find_package() list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/Modules") -project(libavif LANGUAGES C VERSION 0.10.0) +project(libavif LANGUAGES C VERSION 0.10.1) # Set C99 as the default set(CMAKE_C_STANDARD 99) @@ -21,7 +21,7 @@ # Increment PATCH. set(LIBRARY_VERSION_MAJOR 14) set(LIBRARY_VERSION_MINOR 0) -set(LIBRARY_VERSION_PATCH 0) +set(LIBRARY_VERSION_PATCH 1) set(LIBRARY_VERSION "${LIBRARY_VERSION_MAJOR}.${LIBRARY_VERSION_MINOR}.${LIBRARY_VERSION_PATCH}") set(LIBRARY_SOVERSION ${LIBRARY_VERSION_MAJOR}) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libavif-0.10.0/apps/avifdec.c new/libavif-0.10.1/apps/avifdec.c --- old/libavif-0.10.0/apps/avifdec.c 2022-04-06 23:01:45.000000000 +0200 +++ new/libavif-0.10.1/apps/avifdec.c 2022-04-12 00:55:49.000000000 +0200 @@ -37,7 +37,7 @@ printf(" -u,--upsampling U : Chroma upsampling (for 420/422). automatic (default), fastest, best, nearest, or bilinear\n"); printf(" -r,--raw-color : Output raw RGB values instead of multiplying by alpha when saving to opaque formats\n"); printf(" (JPEG only; not applicable to y4m)\n"); - printf(" --index : When decoding an image sequence or progressive image, specify which frame index to decode (Default: 0)\n"); + printf(" --index I : When decoding an image sequence or progressive image, specify which frame index to decode (Default: 0)\n"); printf(" --progressive : Enable progressive AVIF processing. If a progressive image is encountered and --progressive is passed,\n"); printf(" avifdec will use --index to choose which layer to decode (in progressive order).\n"); printf(" --no-strict : Disable strict decoding, which disables strict validation checks and errors\n"); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libavif-0.10.0/include/avif/avif.h new/libavif-0.10.1/include/avif/avif.h --- old/libavif-0.10.0/include/avif/avif.h 2022-04-06 23:01:45.000000000 +0200 +++ new/libavif-0.10.1/include/avif/avif.h 2022-04-12 00:55:49.000000000 +0200 @@ -57,7 +57,7 @@ // to leverage in-development code without breaking their stable builds. #define AVIF_VERSION_MAJOR 0 #define AVIF_VERSION_MINOR 10 -#define AVIF_VERSION_PATCH 0 +#define AVIF_VERSION_PATCH 1 #define AVIF_VERSION_DEVEL 0 #define AVIF_VERSION \ ((AVIF_VERSION_MAJOR * 1000000) + (AVIF_VERSION_MINOR * 10000) + (AVIF_VERSION_PATCH * 100) + AVIF_VERSION_DEVEL) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libavif-0.10.0/src/reformat.c new/libavif-0.10.1/src/reformat.c --- old/libavif-0.10.0/src/reformat.c 2022-04-06 23:01:45.000000000 +0200 +++ new/libavif-0.10.1/src/reformat.c 2022-04-12 00:55:49.000000000 +0200 @@ -1096,11 +1096,12 @@ for (uint32_t j = 0; j < rgb->height; ++j) { uint16_t * pixel = pixelRowBase; for (uint32_t i = 0; i < rgb->width * channelCount; ++i, ++pixel) { - const union + union { float f; uint32_t u32; - } f16 = { .f = *pixel * multiplier }; + } f16; + f16.f = *pixel * multiplier; *pixel = (uint16_t)(f16.u32 >> 13); } pixelRowBase += stride; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libavif-0.10.0/tests/docker/build.sh new/libavif-0.10.1/tests/docker/build.sh --- old/libavif-0.10.0/tests/docker/build.sh 2022-04-06 23:01:45.000000000 +0200 +++ new/libavif-0.10.1/tests/docker/build.sh 2022-04-12 00:55:49.000000000 +0200 @@ -15,6 +15,8 @@ # # bash docker_ubuntu_shared_libs.sh +set -e + # build env apt update DEBIAN_FRONTEND="noninteractive" apt install -y build-essential libjpeg-dev libpng-dev libssl-dev ninja-build cmake pkg-config git perl vim curl python3-pip @@ -70,8 +72,9 @@ cd git clone -b v0.9.1 --depth 1 https://gitlab.com/AOMediaCodec/SVT-AV1.git cd SVT-AV1 -cd Build/linux -./build.sh --prefix=/usr release install +cd Build +cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .. +ninja install # libavif cd