diff --git a/.gitignore b/.gitignore index 58ed17c..276ded4 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,4 @@ /libimagequant-2.13.1.tar.gz /libimagequant-2.14.0.tar.gz /libimagequant-2.14.1.tar.gz +/libimagequant-2.15.0.tar.gz diff --git a/5d4c07aa46e58d41146df5bed19c44c6f23c3349.patch b/5d4c07aa46e58d41146df5bed19c44c6f23c3349.patch new file mode 100644 index 0000000..ab674f5 --- /dev/null +++ b/5d4c07aa46e58d41146df5bed19c44c6f23c3349.patch @@ -0,0 +1,24 @@ +From aaf1fc320b1109c194eb094a26a9d4b67326d4a5 Mon Sep 17 00:00:00 2001 +From: Markus +Date: Tue, 11 May 2021 23:21:47 +0800 +Subject: [PATCH] Fixes Makefile for imagequant.pc + +removing extra `@`s in produced imagequant.pc which was introduced for cmake building +closes #54 +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index 8eeea63..3210d54 100644 +--- a/Makefile ++++ b/Makefile +@@ -134,7 +134,7 @@ ifeq ($(filter %clean %distclean, $(MAKECMDGOALS)), ) + endif + + $(PKGCONFIG): config.mk +- sed 's|PREFIX|$(PREFIX)|;s|VERSION|$(VERSION)|' < imagequant.pc.in > $(PKGCONFIG) ++ sed 's|@PREFIX@|$(PREFIX)|;s|@VERSION@|$(VERSION)|' < imagequant.pc.in > $(PKGCONFIG) + + .PHONY: all static shared clean dist distclean dll java cargo + .DELETE_ON_ERROR: diff --git a/libimagequant.spec b/libimagequant.spec index ec26976..b3f1d42 100644 --- a/libimagequant.spec +++ b/libimagequant.spec @@ -1,5 +1,5 @@ Name: libimagequant -Version: 2.14.1 +Version: 2.15.0 Release: 1%{?dist} Summary: Palette quantization library @@ -9,6 +9,8 @@ Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz # Fix shared library permissions Patch0: libimagequant_solibperm.patch +# Backport fix for pkgconfig file generation +Patch1: https://github.com/ImageOptim/libimagequant/commit/5d4c07aa46e58d41146df5bed19c44c6f23c3349.patch BuildRequires: gcc BuildRequires: make @@ -58,6 +60,9 @@ rm -f %{buildroot}%{_libdir}/%{name}.a %changelog +* Wed May 12 2021 Sandro Mani - 2.15.0-1 +- Update to 2.15.0 + * Wed Mar 03 2021 Sandro Mani - 2.14.1-1 - Update to 2.14.1 diff --git a/sources b/sources index 406eda2..d8c6af8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libimagequant-2.14.1.tar.gz) = 2219d767555c69cdb47bb46cdeb18362358e9465d6e3a249d75c55e5a9dabd434f44908cb4756fbc12e9a786ee602192c0eb8e9d1932ade43781e80ba029bd67 +SHA512 (libimagequant-2.15.0.tar.gz) = b856daaf79dd748ed3bb4cdc432dcffebf6678f8dffd6b4b0e79b96ec9c64ebf19597de35cf56ed47d3202947f3f5f208745c2c2c92fadf6c5b62f17e61b3f13