[packages/exact-image] upgraded to 0.8.9, reenabled PNG support
gotar
gotar at pld-linux.org
Mon Oct 6 14:20:43 CEST 2014
commit ad41e958418a6d710deb2c90a0e121827cd3c68c
Author: Tomasz Pala <gotar at pld-linux.org>
Date: Mon Oct 6 14:21:03 2014 +0200
upgraded to 0.8.9, reenabled PNG support
exact-image-libs.patch | 12 ++++++++++++
exact-image.spec | 17 ++++++++++++-----
2 files changed, 24 insertions(+), 5 deletions(-)
---
diff --git a/exact-image.spec b/exact-image.spec
index 441dcd9..d231ec2 100644
--- a/exact-image.spec
+++ b/exact-image.spec
@@ -1,11 +1,11 @@
Summary: A fast, modern and generic image processing library
Name: exact-image
-Version: 0.8.8
+Version: 0.8.9
Release: 1
License: GPL v2
Group: Applications/Graphics
Source0: http://dl.exactcode.de/oss/exact-image/%{name}-%{version}.tar.bz2
-# Source0-md5: a25c8cebc1f34bb90794606c5e8aad5e
+# Source0-md5: a8694722cd7cc9aa9407950a8440f0cd
Patch0: %{name}-libs.patch
URL: http://www.exactcode.de/site/open_source/exactimage/
BuildRequires: OpenEXR-devel >= 1.2.0
@@ -13,7 +13,7 @@ BuildRequires: agg-devel >= 2.3
BuildRequires: evas-devel >= 0.9.9
BuildRequires: jasper-devel
BuildRequires: lcms-devel >= 1.10
-#BuildRequires: libpng12-devel >= 1.2
+BuildRequires: libpng12-devel >= 1.2
BuildRequires: libstdc++-devel
BuildRequires: libtiff-cxx-devel
BuildRequires: giflib4-devel
@@ -37,7 +37,7 @@ alternative to ImageMagick.
%patch0 -p1
%build
-./configure --prefix=%{_prefix} --without-libpng --without-php \
+./configure --prefix=%{_prefix} --without-php \
%ifarch %{x8664}
--without-lua --without-perl --without-python
%endif
@@ -58,4 +58,11 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc README TODO
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/bardecode
+%attr(755,root,root) %{_bindir}/e2mtiff
+%attr(755,root,root) %{_bindir}/econvert
+%attr(755,root,root) %{_bindir}/edentify
+%attr(755,root,root) %{_bindir}/edisplay
+%attr(755,root,root) %{_bindir}/empty-page
+%attr(755,root,root) %{_bindir}/hocr2pdf
+%attr(755,root,root) %{_bindir}/optimize2bw
diff --git a/exact-image-libs.patch b/exact-image-libs.patch
index 05d1a4b..f3983cb 100644
--- a/exact-image-libs.patch
+++ b/exact-image-libs.patch
@@ -43,3 +43,15 @@ diff -ur -urp exact-image-0.8.5.orig/configure exact-image-0.8.5/configure
pkgcheck perl shell PERL 'perl -version 2>/dev/null | sed -n "s/This is perl.*v\([0-9.]*\).*built.*/\1/p"' atleast 5.8.0 &&
PERLINCS="`perl -MExtUtils::Embed -e ccopts`"
+diff -ur -x .svn -x .git -x .bzr -x CVS -urN exact-image-0.8.9/codecs/Makefile b/codecs/Makefile
+--- exact-image-0.8.9/codecs/Makefile 2011-06-30 23:23:25.000000000 +0200
++++ b/codecs/Makefile 2014-10-06 14:17:34.479107173 +0200
+@@ -13,7 +13,7 @@
+ endif
+
+ ifeq "$(WITHLIBPNG)" "1"
+-LDFLAGS += -lpng
++LDFLAGS += -lpng12
+ else
+ NOT_SRCS += png.cc
+ endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/exact-image.git/commitdiff/ad41e958418a6d710deb2c90a0e121827cd3c68c
More information about the pld-cvs-commit
mailing list