Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes: https://github.com/AOMediaCodec/libavif/releases/tag/v1.0.0 Reported by: GitHub (watch releases)
- Loading branch information
Showing
13 changed files
with
92 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
CMake Warning at CMakeLists.txt:54 (find_package): | ||
Could not find a configuration file for package "libavif" that is | ||
compatible with requested version "0.8.2". | ||
|
||
The following configuration files were considered but not accepted: | ||
|
||
/usr/local/lib/cmake/libavif/libavif-config.cmake, version: 1.0.0 | ||
[...] | ||
===> Checking for items in pkg-plist which are not in STAGEDIR | ||
Error: Missing: %%QT_PLUGINDIR%%/imageformats/kimg_avif.so | ||
Error: Missing: share/kservices5/qimageioplugins/avif.desktop | ||
|
||
--- CMakeLists.txt.orig 2023-08-05 12:37:26 UTC | ||
+++ CMakeLists.txt | ||
@@ -51,7 +51,7 @@ set_package_properties(OpenEXR PROPERTIES | ||
PURPOSE "Required for the QImage plugin for OpenEXR images" | ||
) | ||
|
||
-find_package(libavif 0.8.2 CONFIG) | ||
+find_package(libavif CONFIG) | ||
set_package_properties(libavif PROPERTIES | ||
TYPE OPTIONAL | ||
PURPOSE "Required for the QImage plugin for AVIF images" |
15 changes: 15 additions & 0 deletions
15
graphics/kf5-kimageformats/files/patch-src_imageformats_avif.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
src/imageformats/avif.cpp:428:40: error: no member named 'mode' in 'avifImageMirror' | ||
switch (m_decoder->image->imir.mode) { | ||
~~~~~~~~~~~~~~~~~~~~~~ ^ | ||
|
||
--- src/imageformats/avif.cpp.orig 2023-08-05 12:37:26 UTC | ||
+++ src/imageformats/avif.cpp | ||
@@ -424,7 +424,7 @@ bool QAVIFHandler::decode_one_frame() | ||
} | ||
|
||
if (m_decoder->image->transformFlags & AVIF_TRANSFORM_IMIR) { | ||
-#if AVIF_VERSION > 90100 | ||
+#if AVIF_VERSION > 90100 && AVIF_VERSION < 1000000 | ||
switch (m_decoder->image->imir.mode) { | ||
#else | ||
switch (m_decoder->image->imir.axis) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
TIMESTAMP = 1666215155 | ||
SHA256 (AOMediaCodec-libavif-v0.11.1_GH0.tar.gz) = 0eb49965562a0e5e5de58389650d434cff32af84c34185b6c9b7b2fccae06d4e | ||
SIZE (AOMediaCodec-libavif-v0.11.1_GH0.tar.gz) = 5826813 | ||
SHA256 (2340cdb5f0c2.patch) = 20ee35cb5581d7be24d7a455eebdd21e89d71bbed093e7fd76cd5caac4d3ed52 | ||
SIZE (2340cdb5f0c2.patch) = 1716 | ||
TIMESTAMP = 1693260220 | ||
SHA256 (AOMediaCodec-libavif-v1.0.0_GH0.tar.gz) = 410f85cf0d13f403b41197c0774da469f5d73b89aa06d40fc726165377f215a0 | ||
SIZE (AOMediaCodec-libavif-v1.0.0_GH0.tar.gz) = 10569801 | ||
SHA256 (648f8d0dd03f.patch) = 2f6962ca019598dee5ec1d5c7db63e26ed462ae74f9701674dc8f79332bde3a8 | ||
SIZE (648f8d0dd03f.patch) = 1680 | ||
SHA256 (d854bb762db6.patch) = 00bdf5822e16c391b5b4854db92e848a057b346288a14b85c64e55fd11602c55 | ||
SIZE (d854bb762db6.patch) = 1056 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
CMake Error at CMakeLists.txt:348 (find_package): | ||
Could not find a configuration file for package "libavif" that is | ||
compatible with requested version "0.9.1". | ||
|
||
The following configuration files were considered but not accepted: | ||
|
||
/usr/local/lib/cmake/libavif/libavif-config.cmake, version: 1.0.0 | ||
|
||
--- CMakeLists.txt.orig 2023-02-07 00:38:32 UTC | ||
+++ CMakeLists.txt | ||
@@ -81,7 +81,6 @@ cmake_dependent_option(SDL2IMAGE_PNG_SAVE "Add PNG sav | ||
cmake_dependent_option(SDL2IMAGE_JPG_SAVE "Add JPEG save support" ON SDL2IMAGE_JPG OFF) | ||
cmake_dependent_option(SDL2IMAGE_PNG_SAVE "Add PNG save support" ON SDL2IMAGE_PNG OFF) | ||
|
||
-set(LIBAVIF_MINIMUM_VERSION "0.9.1") | ||
if(SDL2IMAGE_VENDORED AND SDL2IMAGE_AVIF) | ||
set(SDL2IMAGE_AVIF_VENDORED ON) | ||
else() | ||
@@ -345,7 +344,7 @@ if(SDL2IMAGE_AVIF) | ||
endif() | ||
else() | ||
message(STATUS "${PROJECT_NAME}: Using system libavif") | ||
- find_package(libavif ${LIBAVIF_MINIMUM_VERSION} REQUIRED) | ||
+ find_package(libavif REQUIRED) | ||
list(APPEND PC_REQUIRES libavif) | ||
endif() | ||
if(SDL2IMAGE_AVIF_SHARED) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters