From 30b9130ae67b7c64023ddb39ae7b4aad8023c1fa Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 8 Mar 2021 11:24:40 +0100 Subject: update to 2.3.2 open https://github.com/libgd/libgd/issues/677 avif test failure open https://github.com/libgd/libgd/issues/678 heif segfault --- compat_reports/2.3.1_to_2.3.2/compat_report.html | 682 +++++++++++++++++++++++ gd.spec | 37 +- 2 files changed, 715 insertions(+), 4 deletions(-) create mode 100644 compat_reports/2.3.1_to_2.3.2/compat_report.html diff --git a/compat_reports/2.3.1_to_2.3.2/compat_report.html b/compat_reports/2.3.1_to_2.3.2/compat_report.html new file mode 100644 index 0000000..1420324 --- /dev/null +++ b/compat_reports/2.3.1_to_2.3.2/compat_report.html @@ -0,0 +1,682 @@ + + + + + + + + + +libgd: 2.3.1 to 2.3.2 compatibility report + + + +

API compatibility report for the libgd library between 2.3.1 and 2.3.2 versions on x86_64

+ +
+
+ Binary
Compatibility
+ Source
Compatibility
+
+

Test Info


+ + + + + + + +
Library Namelibgd
Version #12.3.1
Version #22.3.2
Archx86_64
GCC Version10
SubjectBinary Compatibility
+

Test Results


+ + + + + + +
Total Header Files10
Total Libraries1
Total Symbols / Types236 / 58
Compatibility100%
+

Problem Summary


+ + + + + + + + + + +
SeverityCount
Added Symbols-16
Removed SymbolsHigh0
Problems with
Data Types
High0
Medium0
Low0
Problems with
Symbols
High0
Medium0
Low0
Problems with
Constants
Low0
Other Changes
in Constants
-3
+ +

Added Symbols  16 


+gd.h, libgd.so.3.0.10
+gdImageAvif ( gdImagePtr im, FILE* outFile )
+gdImageAvifCtx ( gdImagePtr im, gdIOCtx* outfile, int quality, int speed )
+gdImageAvifEx ( gdImagePtr im, FILE* outFile, int quality, int speed )
+gdImageAvifPtr ( gdImagePtr im, int* size )
+gdImageAvifPtrEx ( gdImagePtr im, int* size, int quality, int speed )
+gdImageCreateFromAvif ( FILE* inFile )
+gdImageCreateFromAvifCtx ( gdIOCtx* infile )
+gdImageCreateFromAvifPtr ( int size, void* data )
+gdImageCreateFromHeif ( FILE* inFile )
+gdImageCreateFromHeifCtx ( gdIOCtx* infile )
+gdImageCreateFromHeifPtr ( int size, void* data )
+gdImageHeif ( gdImagePtr im, FILE* outFile )
+gdImageHeifCtx ( gdImagePtr im, gdIOCtx* outfile, int quality, enum gdHeifCodec codec, gdHeifChroma chroma )
+gdImageHeifEx ( gdImagePtr im, FILE* outFile, int quality, enum gdHeifCodec codec, gdHeifChroma chroma )
+gdImageHeifPtr ( gdImagePtr im, int* size )
+gdImageHeifPtrEx ( gdImagePtr im, int* size, int quality, enum gdHeifCodec codec, gdHeifChroma chroma )
+
+to the top
+ +

Other Changes in Constants  3 


+gd.h
+ +[+] GD_HEIF_CHROMA_420 +
+ + + +[+] GD_HEIF_CHROMA_422 +
+ + + +[+] GD_HEIF_CHROMA_444 +
+ + +
+to the top
+

Header Files  10 


+
+entities.h
+gd.h
+gd_io.h
+gdcache.h
+gdfontg.h
+gdfontl.h
+gdfontmb.h
+gdfonts.h
+gdfontt.h
+gdfx.h
+
+
to the top
+

Libraries  1 


+
+libgd.so.3.0.9
+
+
to the top
+


+

Test Info


+ + + + + + +
Library Namelibgd
Version #12.3.1
Version #22.3.2
Archx86_64
SubjectSource Compatibility
+

Test Results


+ + + + + + +
Total Header Files10
Total Libraries1
Total Symbols / Types493 / 122
Compatibility100%
+

Problem Summary


+ + + + + + + + + + +
SeverityCount
Added Symbols-16
Removed SymbolsHigh0
Problems with
Data Types
High0
Medium0
Low0
Problems with
Symbols
High0
Medium0
Low0
Problems with
Constants
Low1
Other Changes
in Constants
-3
+ +

Added Symbols  16 


+gd.h
+gdImageAvif ( gdImagePtr im, FILE* outFile )
+gdImageAvifCtx ( gdImagePtr im, gdIOCtx* outfile, int quality, int speed )
+gdImageAvifEx ( gdImagePtr im, FILE* outFile, int quality, int speed )
+gdImageAvifPtr ( gdImagePtr im, int* size )
+gdImageAvifPtrEx ( gdImagePtr im, int* size, int quality, int speed )
+gdImageCreateFromAvif ( FILE* inFile )
+gdImageCreateFromAvifCtx ( gdIOCtx* infile )
+gdImageCreateFromAvifPtr ( int size, void* data )
+gdImageCreateFromHeif ( FILE* inFile )
+gdImageCreateFromHeifCtx ( gdIOCtx* infile )
+gdImageCreateFromHeifPtr ( int size, void* data )
+gdImageHeif ( gdImagePtr im, FILE* outFile )
+gdImageHeifCtx ( gdImagePtr im, gdIOCtx* outfile, int quality, enum gdHeifCodec codec, gdHeifChroma chroma )
+gdImageHeifEx ( gdImagePtr im, FILE* outFile, int quality, enum gdHeifCodec codec, gdHeifChroma chroma )
+gdImageHeifPtr ( gdImagePtr im, int* size )
+gdImageHeifPtrEx ( gdImagePtr im, int* size, int quality, enum gdHeifCodec codec, gdHeifChroma chroma )
+
+to the top
+ +

Problems with Constants, Low Severity  1 


+gd.h
+ +[+] GD_RELEASE_VERSION +
+ + +
+to the top
+ +

Other Changes in Constants  3 


+gd.h
+ +[+] GD_HEIF_CHROMA_420 +
+ + + +[+] GD_HEIF_CHROMA_422 +
+ + + +[+] GD_HEIF_CHROMA_444 +
+ + +
+to the top
+

Header Files  10 


+
+entities.h
+gd.h
+gd_io.h
+gdcache.h
+gdfontg.h
+gdfontl.h
+gdfontmb.h
+gdfonts.h
+gdfontt.h
+gdfx.h
+
+
to the top
+

Libraries  1 


+
+libgd.so.3.0.9
+
+
to the top
+



+ +
+ + diff --git a/gd.spec b/gd.spec index 1c754f6..e354dec 100644 --- a/gd.spec +++ b/gd.spec @@ -15,6 +15,17 @@ %bcond_without webp %bcond_without raqm +%if 0%{?fedora} >= 33 +# See https://github.com/libgd/libgd/issues/677 - avif test failure +%bcond_with avif +%else +%bcond_with avif +%endif + +# Disabled as only in rpmfusion +# Also see https://github.com/libgd/libgd/issues/678 - heif segfault +%bcond_with heif + %if 0%{?fedora} >= 29 || 0%{?rhel} >= 8 %bcond_without liq %else @@ -32,7 +43,7 @@ Name: gd %else Name: gd-last %endif -Version: 2.3.1 +Version: 2.3.2 Release: 1%{?prever}%{?short}%{?dist} License: MIT URL: http://libgd.github.io/ @@ -65,6 +76,12 @@ BuildRequires: libimagequant-devel %if %{with raqm} BuildRequires: libraqm-devel %endif +%if %{with avif} +BuildRequires: libavif-devel +%endif +%if %{with heif} +BuildRequires: libheif-devel +%endif BuildRequires: libX11-devel BuildRequires: libXpm-devel BuildRequires: zlib-devel @@ -75,9 +92,6 @@ BuildRequires: perl-generators BuildRequires: perl(FindBin) # for fontconfig/basic test BuildRequires: liberation-sans-fonts -%if 0%{?fedora} >= 29 -BuildRequires: libimagequant-devel -%endif %if "%{name}" != "gd-last" Obsoletes: gd-last <= %{version} @@ -179,6 +193,16 @@ export CFLAGS="$CFLAGS -ffp-contract=off" %configure \ --with-tiff=%{_prefix} \ +%if %{with avif} + --with-avif \ +%else + --without-avif \ +%endif +%if %{with heif} + --with-heif \ +%else + --without-heif \ +%endif --disable-rpath make %{?_smp_mflags} @@ -229,6 +253,11 @@ grep %{version} $RPM_BUILD_ROOT%{_libdir}/pkgconfig/gdlib.pc %changelog +* Mon Mar 8 2021 Remi Collet - 2.3.2-1 +- update to 2.3.2 +- open https://github.com/libgd/libgd/issues/677 avif test failure +- open https://github.com/libgd/libgd/issues/678 heif segfault + * Thu Feb 4 2021 Remi Collet - 2.3.1-1 - update to 2.3.1 in sync with Fedora -- cgit