Accepting request 881806 from graphics

- Enable AVIF support (forwarded request 881525 from gladiac)

OBS-URL: https://build.opensuse.org/request/show/881806
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gd?expand=0&rev=55
This commit is contained in:
2021-04-14 08:10:11 +00:00
committed by Git OBS Bridge
4 changed files with 48 additions and 5 deletions

View File

@@ -1,3 +1,40 @@
-------------------------------------------------------------------
Fri Mar 26 14:17:24 UTC 2021 - Andreas Schneider <asn@cryptomilk.org>
- Enable AVIF support
-------------------------------------------------------------------
Mon Mar 8 19:59:24 UTC 2021 - Matthias Eliasson <elimat@opensuse.org>
- update to 2.3.2:
* gif: allow decodin when both Global and Local Colormaps (#494)
* avif: Support for AVIF images via libavif (#557)
* heif: Support for HEIF/AVIF images via libheif (#395) (#557)
* webp: Drop ../deps/ search when building with cmake
* Windows: Remove unused snprintf fallback
-------------------------------------------------------------------
Tue Feb 23 19:03:44 UTC 2021 - Dirk Müller <dmueller@suse.com>
- update to 2.3.1:
- Fix potential integer overflow detected by oss-fuzz
- Fix #615 using libraqm
- Fix #303: gdlib.pc: use Requires instead of Libs (#537)
- Fixed #472: Adjusting CMakeLists.txt (#582)
- Fix #615: gdImageStringFT() fails for empty strings as of libgd 2.3.0 (#633)
- Fix typo but preserve BC
- Compute average in gdGuessBackgroundColorFromCorners properly (#483)
- CMakeLists.txt: zlib is enabled implicitly
- src/config.h.cmake: replace #cmakedefine01 with #define in macro ENABLE_GD_FOORMATS (#622)
- gdlib.pc: use prefixes for pkgconfig file
- cmake: remove required host includes (#617)
- Move initial declaration out of `for` loop
- distribute getlib script
- Make gd_nnquant.c less likely to introduce duplicate definitions (#601)
- webp: support pkg-config file
- gd_io: replace internal Putchar with gdPutC
- gd_io: trim unused Putword function
-------------------------------------------------------------------
Sun Aug 9 20:39:07 UTC 2020 - Matthias Eliasson <elimat@opensuse.org>

10
gd.spec
View File

@@ -1,7 +1,7 @@
#
# spec file for package gd
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
%define prjname libgd
%define lname libgd3
Name: gd
Version: 2.3.0
Version: 2.3.2
Release: 0
Summary: A Drawing Library for Programs That Use PNG and JPEG Output
License: MIT
@@ -39,6 +39,9 @@ BuildRequires: libpng-devel
BuildRequires: pkgconfig
BuildRequires: pkgconfig(fontconfig)
BuildRequires: pkgconfig(freetype2)
%if 0%{?suse_version} >= 1550 || 0%{?sle_version} > 150300
BuildRequires: pkgconfig(libavif)
%endif
BuildRequires: pkgconfig(libtiff-4)
BuildRequires: pkgconfig(libwebp)
BuildRequires: pkgconfig(xpm)
@@ -104,6 +107,9 @@ export CFLAGS="%{optflags} -ffp-contract=off"
--with-png \
--with-xpm \
--with-webp \
%if 0%{?suse_version} >= 1550 || 0%{?sle_version} > 150300
--with-avif \
%endif
--with-zlib \
--disable-static
%make_build

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ecd9155b9a417fb3f837f29e5966323796de247789163761dd72dbf83bfcac58
size 2539188

3
libgd-2.3.2.tar.xz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:478a047084e0d89b83616e4c2cf3c9438175fb0cc55d8c8967f06e0427f7d7fb
size 2821096