]> git.pld-linux.org Git - packages/exact-image.git/commitdiff
upgraded to 0.8.9, reenabled PNG support
authorTomasz Pala <gotar@pld-linux.org>
Mon, 6 Oct 2014 12:21:03 +0000 (14:21 +0200)
committerTomasz Pala <gotar@pld-linux.org>
Mon, 6 Oct 2014 12:21:03 +0000 (14:21 +0200)
exact-image-libs.patch
exact-image.spec

index 05d1a4b556c288f0cb10da49ced65dc56dddb57c..f3983cb00ac75f263cbb7d7e1a5b13d62878e03c 100644 (file)
@@ -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
index 441dcd93b20394167c79b89af999caa6cd7beae6..d231ec26f7d372eda0c85fb6078ee182ec460301 100644 (file)
@@ -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
This page took 0.17903 seconds and 4 git commands to generate.