diff --git a/.gitignore b/.gitignore index 2afdccb..58ed17c 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,4 @@ /libimagequant-2.13.0.tar.gz /libimagequant-2.13.1.tar.gz /libimagequant-2.14.0.tar.gz +/libimagequant-2.14.1.tar.gz diff --git a/libimagequant.spec b/libimagequant.spec index 8a8170e..ec26976 100644 --- a/libimagequant.spec +++ b/libimagequant.spec @@ -1,5 +1,5 @@ Name: libimagequant -Version: 2.14.0 +Version: 2.14.1 Release: 1%{?dist} Summary: Palette quantization library @@ -9,8 +9,6 @@ Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz # Fix shared library permissions Patch0: libimagequant_solibperm.patch -# Mark additional variable as shared in omp for loop -Patch1: libimagequant_omp.patch BuildRequires: gcc BuildRequires: make @@ -60,6 +58,9 @@ rm -f %{buildroot}%{_libdir}/%{name}.a %changelog +* Wed Mar 03 2021 Sandro Mani - 2.14.1-1 +- Update to 2.14.1 + * Thu Jan 28 2021 Sandro Mani - 2.14.0-1 - Update to 2.14.0 diff --git a/libimagequant_omp.patch b/libimagequant_omp.patch deleted file mode 100644 index 28e571f..0000000 --- a/libimagequant_omp.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -rupN libimagequant-2.14.0/libimagequant.c libimagequant-2.14.0-new/libimagequant.c ---- libimagequant-2.14.0/libimagequant.c 2021-01-27 17:20:26.000000000 +0100 -+++ libimagequant-2.14.0-new/libimagequant.c 2021-01-28 13:34:35.583742796 +0100 -@@ -1279,7 +1279,7 @@ LIQ_NONNULL static float remap_to_palett - - #if __GNUC__ >= 9 || __clang__ - #pragma omp parallel for if (rows*cols > 3000) \ -- schedule(static) default(none) shared(acolormap,average_color,cols,input_image,map,n,output_pixels,rows,transparent_index) reduction(+:remapping_error) -+ schedule(static) default(none) shared(acolormap,average_color,cols,input_image,map,n,output_pixels,rows,transparent_index,background) reduction(+:remapping_error) - #else - #pragma omp parallel for if (rows*cols > 3000) \ - schedule(static) default(none) shared(acolormap) shared(average_color) reduction(+:remapping_error) diff --git a/libimagequant_solibperm.patch b/libimagequant_solibperm.patch index ab88820..4a1d7d2 100644 --- a/libimagequant_solibperm.patch +++ b/libimagequant_solibperm.patch @@ -1,7 +1,7 @@ -diff -rupN --no-dereference libimagequant-2.14.0/Makefile libimagequant-2.14.0-new/Makefile ---- libimagequant-2.14.0/Makefile 2021-01-27 17:20:26.000000000 +0100 -+++ libimagequant-2.14.0-new/Makefile 2021-01-28 13:26:22.023156465 +0100 -@@ -114,7 +114,7 @@ install: all $(PKGCONFIG) +diff -rupN --no-dereference libimagequant-2.14.1/Makefile libimagequant-2.14.1-new/Makefile +--- libimagequant-2.14.1/Makefile 2021-02-28 19:12:44.000000000 +0100 ++++ libimagequant-2.14.1-new/Makefile 2021-03-03 00:00:30.634870628 +0100 +@@ -115,7 +115,7 @@ install: all $(PKGCONFIG) install -d $(DESTDIR)$(PKGCONFIGDIR) install -d $(DESTDIR)$(INCLUDEDIR) install -m 644 $(STATICLIB) $(DESTDIR)$(LIBDIR)/$(STATICLIB) diff --git a/sources b/sources index 523c2a6..406eda2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libimagequant-2.14.0.tar.gz) = d34aa2ac9f08eebd80fb9e3e7fe22a3f10ce840152c4192735d57ae37c223350af09eeff6870ee2634b3fc51b03d1663cd6afd17daeab923af3b5f60fbef57d4 +SHA512 (libimagequant-2.14.1.tar.gz) = 2219d767555c69cdb47bb46cdeb18362358e9465d6e3a249d75c55e5a9dabd434f44908cb4756fbc12e9a786ee602192c0eb8e9d1932ade43781e80ba029bd67