From d92c965865fca0a5a95bcc756f16afe994b57823 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 4 Feb 2021 09:57:52 +0100 Subject: update to 2.3.1 in sync with Fedora --- .gitignore | 2 + compat_reports/2.3.0_to_2.3.1/compat_report.html | 572 +++++++++++++++++++++++ gd.spec | 53 +-- 3 files changed, 595 insertions(+), 32 deletions(-) create mode 100644 compat_reports/2.3.0_to_2.3.1/compat_report.html diff --git a/.gitignore b/.gitignore index 1ab5c4f..01f0400 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,7 @@ +clog package-*.xml *.tgz +*.tar.bz2 *.tar.gz *.tar.xz *.tar.xz.asc diff --git a/compat_reports/2.3.0_to_2.3.1/compat_report.html b/compat_reports/2.3.0_to_2.3.1/compat_report.html new file mode 100644 index 0000000..f89468d --- /dev/null +++ b/compat_reports/2.3.0_to_2.3.1/compat_report.html @@ -0,0 +1,572 @@ + + + + + + + + + +libgd: 2.3.0 to 2.3.1 compatibility report + + + +

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

+ +
+
+ Binary
Compatibility
+ Source
Compatibility
+
+

Test Info


+ + + + + + + +
Library Namelibgd
Version #12.3.0
Version #22.3.1
Archx86_64
GCC Version10
SubjectBinary Compatibility
+

Test Results


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

Problem Summary


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

Other Changes in Constants  1 


+gd.h
+ +[+] GD_FLIP_HORIZONTAL +
+ + +
+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.8
+
+
to the top
+


+

Test Info


+ + + + + + +
Library Namelibgd
Version #12.3.0
Version #22.3.1
Archx86_64
SubjectSource Compatibility
+

Test Results


+ + + + + + +
Total Header Files10
Total Libraries1
Total Symbols / Types495 / 122
Compatibility99.6%
+

Problem Summary


+ + + + + + + + + + +
SeverityCount
Added Symbols-0
Removed SymbolsHigh2
Problems with
Data Types
High0
Medium0
Low0
Problems with
Symbols
High0
Medium0
Low0
Problems with
Constants
Low1
Other Changes
in Constants
-1
+ +

Removed Symbols  2 


+gd_io.h
+Putchar ( int c, gdIOCtx* ctx )
+Putword ( int w, gdIOCtx* ctx )
+
+to the top
+ +

Problems with Constants, Low Severity  1 


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

Other Changes in Constants  1 


+gd.h
+ +[+] GD_FLIP_HORIZONTAL +
+ + +
+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.8
+
+
to the top
+



+ +
+ + diff --git a/gd.spec b/gd.spec index fc66ff4..1c754f6 100644 --- a/gd.spec +++ b/gd.spec @@ -12,22 +12,18 @@ #global commit 725ba9de4005144d137d2a7a70f760068fc3d306 #global short %%(c=%%{commit}; echo ${c:0:7}) -%global with_webp 1 +%bcond_without webp +%bcond_without raqm %if 0%{?fedora} >= 29 || 0%{?rhel} >= 8 -%global with_liq 1 +%bcond_without liq %else # requested by https://bugzilla.redhat.com/1468338 # this break gdimagefile/gdnametest: # gdimagefile/gdnametest.c:122: 255 pixels different on /tmp/gdtest.CrpdIb/img.gif # gdimagefile/gdnametest.c:122: 255 pixels different on /tmp/gdtest.CrpdIb/img.GIF # FAIL gdimagefile/gdnametest (exit status: 2) -%global with_liq 0 -%endif -%if 0%{?fedora} >= 22 || 0%{?rhel} >= 7 -%global with_raqm 1 -%else -%global with_raqm 0 +%bcond_with liq %endif Summary: A graphics library for quick creation of PNG or JPEG images @@ -36,8 +32,8 @@ Name: gd %else Name: gd-last %endif -Version: 2.3.0 -Release: 2%{?prever}%{?short}%{?dist} +Version: 2.3.1 +Release: 1%{?prever}%{?short}%{?dist} License: MIT URL: http://libgd.github.io/ %if 0%{?commit:1} @@ -50,25 +46,23 @@ Source0: https://github.com/libgd/libgd/releases/download/gd-%{version}/li # Missing, temporary workaround, fixed upstream for next version Source1: https://raw.githubusercontent.com/libgd/libgd/gd-%{version}/config/getlib.sh -Patch0: gd-bug615.patch - BuildRequires: freetype-devel BuildRequires: fontconfig-devel BuildRequires: gettext-devel BuildRequires: libjpeg-devel BuildRequires: libpng-devel BuildRequires: libtiff-devel -%if %{with_webp} +%if %{with webp} %if 0%{?rhel} == 7 BuildRequires: libwebp7-devel %else BuildRequires: libwebp-devel %endif %endif -%if %{with_liq} +%if %{with liq} BuildRequires: libimagequant-devel %endif -%if %{with_raqm} +%if %{with raqm} BuildRequires: libraqm-devel %endif BuildRequires: libX11-devel @@ -122,16 +116,16 @@ Requires: fontconfig-devel%{?_isa} Requires: libjpeg-devel%{?_isa} Requires: libpng-devel%{?_isa} Requires: libtiff-devel%{?_isa} -%if %{with_webp} +%if %{with webp} Requires: libwebp-devel%{?_isa} %endif Requires: libX11-devel%{?_isa} Requires: libXpm-devel%{?_isa} Requires: zlib-devel%{?_isa} -%if %{with_liq} +%if %{with liq} Requires: libimagequant-devel%{?_isa} %endif -%if %{with_raqm} +%if %{with raqm} Requires: libraqm-devel %endif @@ -150,16 +144,10 @@ files for gd, a graphics library for creating PNG and JPEG graphics. %prep %setup -q -n libgd-%{version}%{?prever:-%{prever}} -%patch0 -p1 install -m 0755 %{SOURCE1} config/ : $(perl config/getver.pl) -# RHEL-6 auto* are too old -%if 0%{?rhel} == 6 -sed -e 's/-Werror//' -i configure -touch tests/Makefile.in -%else : regenerate autotool stuff if [ -f configure ]; then libtoolize --copy --force @@ -167,7 +155,6 @@ if [ -f configure ]; then else ./bootstrap.sh fi -%endif %build @@ -205,19 +192,12 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/libgd.a %check # minor diff in size XFAIL_TESTS="gdimagestringft/gdimagestringft_bbox" -%ifarch s390x -XFAIL_TESTS="gdimagestring16/gdimagestring16 gdimagestringup16/gdimagestringup16 $XFAIL_TESTS" -%endif %if 0%{?fedora} <= 28 && 0%{?rhel} <= 7 %ifarch %{ix86} # See https://github.com/libgd/libgd/issues/359 XFAIL_TESTS="gdimagegrayscale/basic $XFAIL_TESTS" %endif %endif -%if 0%{?rhel} > 0 && 0%{?rhel} <= 6 -# See https://github.com/libgd/libgd/issues/363 -XFAIL_TESTS="freetype/bug00132 $XFAIL_TESTS" -%endif export XFAIL_TESTS @@ -249,6 +229,15 @@ grep %{version} $RPM_BUILD_ROOT%{_libdir}/pkgconfig/gdlib.pc %changelog +* Thu Feb 4 2021 Remi Collet - 2.3.1-1 +- update to 2.3.1 in sync with Fedora + +* Wed Feb 3 2021 Filip Januš - 2.3.1-1 +- Upstream released new version 2.3.1 +- patch bug615 is no more needed - fixed by upstream in release +- gdimagestring16/gdimagestring16 gdimagestringup16/gdimagestringup16 passed on + x390s - XFAIL_TEST definition for x390s is no more necessary + * Wed Jul 15 2020 Remi Collet - 2.3.0-2 - fix gdImageStringFT() fails for empty strings https://github.com/libgd/libgd/issues/615 -- cgit