packages: exact-image/exact-image-libs.patch (NEW), exact-image/exact-image...
gotar
gotar at pld-linux.org
Sat May 14 00:48:54 CEST 2011
Author: gotar Date: Fri May 13 22:48:54 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- initial PLD release
---- Files affected:
packages/exact-image:
exact-image-libs.patch (NONE -> 1.1) (NEW), exact-image.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/exact-image/exact-image-libs.patch
diff -u /dev/null packages/exact-image/exact-image-libs.patch:1.1
--- /dev/null Sat May 14 00:48:54 2011
+++ packages/exact-image/exact-image-libs.patch Sat May 14 00:48:49 2011
@@ -0,0 +1,45 @@
+diff -ur -urp exact-image-0.8.5.orig/api/lua/Makefile exact-image-0.8.5/api/lua/Makefile
+--- exact-image-0.8.5.orig/api/lua/Makefile 2008-10-18 11:11:43.000000000 +0200
++++ exact-image-0.8.5/api/lua/Makefile 2011-05-14 00:01:05.000000000 +0200
+@@ -16,7 +16,7 @@ X_BUILD_IMPLICIT := 0
+ include build/bottom.make
+ X_BUILD_IMPLICIT := $(_X_BUILD_IMPLICIT)
+
+-api/lua/libdir := $(shell pkg-config lua --variable INSTALL_CMOD)
++api/lua/libdir := $(shell pkg-config lua51 --variable INSTALL_CMOD)
+
+ # install
+ all:: $($(X_MODULE)_BINARY)
+diff -ur -urp exact-image-0.8.5.orig/codecs/png.cc exact-image-0.8.5/codecs/png.cc
+--- exact-image-0.8.5.orig/codecs/png.cc 2010-03-03 22:04:44.000000000 +0100
++++ exact-image-0.8.5/codecs/png.cc 2011-05-14 00:28:20.000000000 +0200
+@@ -16,7 +16,7 @@
+ */
+
+ #include <stdlib.h>
+-#include <png.h>
++#include <libpng12/png.h>
+
+ #include <iostream>
+
+diff -ur -urp exact-image-0.8.5.orig/configure exact-image-0.8.5/configure
+--- exact-image-0.8.5.orig/configure 2010-11-21 11:01:04.000000000 +0100
++++ exact-image-0.8.5/configure 2011-05-14 00:22:45.000000000 +0200
+@@ -63,7 +63,7 @@ fi
+
+ pkgcheck libjpeg header LIBJPEG cc jconfig.h
+ pkgcheck libtiff header LIBTIFF c++ tiffconf.h tiffio.h tiffio.hxx
+-pkgcheck libpng pkg-config LIBPNG atleast 1.2
++pkgcheck libpng12 pkg-config LIBPNG atleast 1.2
+ pkgcheck libungif header LIBUNGIF c++ gif_lib.h
+ pkgcheck jasper header JASPER c++ jasper/jasper.h
+ if pkgcheck expat header EXPAT c++ expat.h; then # just for the SVG parser
+@@ -91,7 +91,7 @@ pkgcheck swig shell SWIG 'swig -version
+
+ # supported swig target languages so far
+
+-pkgcheck lua pkg-config LUA atleast 5.1
++pkgcheck lua51 pkg-config LUA atleast 5.1
+
+ 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`"
================================================================
Index: packages/exact-image/exact-image.spec
diff -u /dev/null packages/exact-image/exact-image.spec:1.1
--- /dev/null Sat May 14 00:48:54 2011
+++ packages/exact-image/exact-image.spec Sat May 14 00:48:49 2011
@@ -0,0 +1,67 @@
+# $Revision$, $Date$
+Summary: A fast, modern and generic image processing library
+Name: exact-image
+Version: 0.8.5
+Release: 1
+License: GPL v2
+Group: Applications/Graphics
+Source0: http://dl.exactcode.de/oss/exact-image/%{name}-%{version}.tar.bz2
+# Source0-md5: 54c5dc9afd86ec573e7e2e9a80f45c71
+Patch0: %{name}-libs.patch
+URL: http://www.exactcode.de/site/open_source/exactimage/
+BuildRequires: OpenEXR-devel >= 1.2.0
+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: libstdc++-devel
+BuildRequires: libtiff-cxx-devel
+BuildRequires: libungif-devel
+BuildRequires: lua51-devel
+BuildRequires: perl-devel >= 5.8.0
+BuildRequires: php-devel >= 5.2.0
+BuildRequires: python-devel >= 2.5.0
+BuildRequires: ruby >= 1.8.5
+BuildRequires: swig-perl >= 1.3.32
+BuildRequires: swig-php >= 1.3.32
+BuildRequires: swig-python >= 1.3.32
+BuildRequires: xorg-lib-libX11-devel >= 1.3
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A fast, modern and generic (template) based C++ image processing library,
+alternative to ImageMagick.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+./configure --prefix=%{_prefix}
+%{__make} \
+ CFLAGS="%{rpmcflags}" \
+ CXXFLAGS="%{rpmcflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README TODO
+%attr(755,root,root) %{_bindir}/*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2011/05/13 22:48:49 gotar
+- initial PLD release
================================================================
More information about the pld-cvs-commit
mailing list