forked from pool/libavif
Accepting request 1129716 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1129716 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libavif?expand=0&rev=22
This commit is contained in:
commit
3cb35de3a1
@ -1,24 +0,0 @@
|
|||||||
From 8e79701b2d2b8cd872d23b7c9e5e746b61cab65e Mon Sep 17 00:00:00 2001
|
|
||||||
From: Xi Ruoyao <xry111@xry111.site>
|
|
||||||
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;
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:410f85cf0d13f403b41197c0774da469f5d73b89aa06d40fc726165377f215a0
|
|
||||||
size 10569801
|
|
3
libavif-1.0.2.tar.gz
Normal file
3
libavif-1.0.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:de8bf79488c5b523b77358df8b85ae69c3078e6b3f1636fc1f313f952269ad20
|
||||||
|
size 10576546
|
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 28 20:40:32 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 1.0.2:
|
||||||
|
* Update avifCropRectConvertCleanApertureBox() to the revised
|
||||||
|
requirements in ISO/IEC 23000-22:2019/Amd. 2:2021 Section
|
||||||
|
7.3.6.7.
|
||||||
|
* CVE-2023-6350: Out of bounds memory to alphaItemIndices (boo#1217614)
|
||||||
|
* CVE-2023-6351: use-after-free in colorProperties (boo#1217615)
|
||||||
|
- drop fix-gdkpixbuf.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Aug 29 05:18:59 UTC 2023 - Paolo Stivanin <info@paolostivanin.com>
|
Tue Aug 29 05:18:59 UTC 2023 - Paolo Stivanin <info@paolostivanin.com>
|
||||||
|
|
||||||
|
18
libavif.spec
18
libavif.spec
@ -16,6 +16,9 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
# Also update baselibs.conf if you bump the version
|
||||||
|
%global lib_soversion 16
|
||||||
|
%global lib_name libavif%{lib_soversion}
|
||||||
%if 0%{?suse_version} >= 1550
|
%if 0%{?suse_version} >= 1550
|
||||||
%bcond_without aom
|
%bcond_without aom
|
||||||
%bcond_without yuv
|
%bcond_without yuv
|
||||||
@ -23,13 +26,8 @@
|
|||||||
%bcond_with aom
|
%bcond_with aom
|
||||||
%bcond_with yuv
|
%bcond_with yuv
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# Also update baselibs.conf if you bump the version
|
|
||||||
%global lib_soversion 16
|
|
||||||
%global lib_name libavif%{lib_soversion}
|
|
||||||
|
|
||||||
Name: libavif
|
Name: libavif
|
||||||
Version: 1.0.0
|
Version: 1.0.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Library for encoding and decoding .avif files
|
Summary: Library for encoding and decoding .avif files
|
||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
@ -37,11 +35,10 @@ Group: Development/Libraries/C and C++
|
|||||||
URL: https://github.com/AOMediaCodec/libavif
|
URL: https://github.com/AOMediaCodec/libavif
|
||||||
Source: https://github.com/AOMediaCodec/libavif/archive/v%{version}/%{name}-%{version}.tar.gz
|
Source: https://github.com/AOMediaCodec/libavif/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||||
Source99: baselibs.conf
|
Source99: baselibs.conf
|
||||||
# PATCH-FIX-UPSTREAM https://github.com/AOMediaCodec/libavif/pull/1528
|
BuildRequires: c++_compiler
|
||||||
Patch0: fix-gdkpixbuf.patch
|
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: gcc-c++
|
|
||||||
BuildRequires: libjpeg8-devel
|
BuildRequires: libjpeg8-devel
|
||||||
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: pkgconfig(dav1d)
|
BuildRequires: pkgconfig(dav1d)
|
||||||
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
|
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
|
||||||
BuildRequires: pkgconfig(glib-2.0)
|
BuildRequires: pkgconfig(glib-2.0)
|
||||||
@ -97,10 +94,10 @@ Group: Development/Libraries/C and C++
|
|||||||
A pixbuf-loader plugin to load AVIF images in GTK+ applications.
|
A pixbuf-loader plugin to load AVIF images in GTK+ applications.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Requires: %{lib_name} = %{version}-%{release}
|
|
||||||
#
|
#
|
||||||
Summary: Development files for libavif
|
Summary: Development files for libavif
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
|
Requires: %{lib_name} = %{version}-%{release}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This library aims to be a friendly, portable C implementation of the AV1 Image
|
This library aims to be a friendly, portable C implementation of the AV1 Image
|
||||||
@ -148,6 +145,7 @@ This package holds the development files for libavif.
|
|||||||
%{_bindir}/avifenc
|
%{_bindir}/avifenc
|
||||||
|
|
||||||
%files -n gdk-pixbuf-loader-libavif
|
%files -n gdk-pixbuf-loader-libavif
|
||||||
|
%license LICENSE
|
||||||
%{_libdir}/gdk-pixbuf-2.0/*/loaders/libpixbufloader-avif.so
|
%{_libdir}/gdk-pixbuf-2.0/*/loaders/libpixbufloader-avif.so
|
||||||
%dir %{_datadir}/thumbnailers
|
%dir %{_datadir}/thumbnailers
|
||||||
%{_datadir}/thumbnailers/avif.thumbnailer
|
%{_datadir}/thumbnailers/avif.thumbnailer
|
||||||
|
Loading…
x
Reference in New Issue
Block a user