[arch-commits] CVS update of extra/multimedia/gimp-ufraw (PKGBUILD exiv2-0.14.patch)
Tobias Kieslich
tobias at archlinux.org
Mon Jun 11 23:29:12 UTC 2007
Date: Monday, June 11, 2007 @ 19:29:12
Author: tobias
Path: /home/cvs-extra/extra/multimedia/gimp-ufraw
Added: exiv2-0.14.patch (1.1)
Modified: PKGBUILD (1.17 -> 1.18)
openbox obconf rox cinepaint perl-event -> updates
ufraw -> rebuld with exiv2 patch
dvdrip -> add postinstall message about ogmtools
------------------+
PKGBUILD | 11 +++++++----
exiv2-0.14.patch | 31 +++++++++++++++++++++++++++++++
2 files changed, 38 insertions(+), 4 deletions(-)
Index: extra/multimedia/gimp-ufraw/PKGBUILD
diff -u extra/multimedia/gimp-ufraw/PKGBUILD:1.17 extra/multimedia/gimp-ufraw/PKGBUILD:1.18
--- extra/multimedia/gimp-ufraw/PKGBUILD:1.17 Sun Apr 15 10:53:43 2007
+++ extra/multimedia/gimp-ufraw/PKGBUILD Mon Jun 11 19:29:12 2007
@@ -1,21 +1,24 @@
-# $Id: PKGBUILD,v 1.17 2007/04/15 14:53:43 tpowa Exp $
+# $Id: PKGBUILD,v 1.18 2007/06/11 23:29:12 tobias Exp $
# Maintainer: tobias <tobias at archlinux.org>
# Contributor: Tobias Kieslich <tobias at justdreams.de>
pkgname=gimp-ufraw
_srcname=ufraw
pkgver=0.11
-pkgrel=2
+pkgrel=3
pkgdesc="standalone or gimp plugin converter for raw files"
url="http://ufraw.sourceforge.net/"
arch=(i686 x86_64)
depends=('lcms' 'gtk2' 'libexif' 'exiv2')
makedepends=('gimp')
-source=(http://heanet.dl.sourceforge.net/sourceforge/${_srcname}/${_srcname}-${pkgver}.tar.gz)
-md5sums=('e7e5930a872657830a77dc9ddbfce93b')
+source=(http://dl.sourceforge.net/sourceforge/${_srcname}/${_srcname}-${pkgver}.tar.gz \
+ exiv2-0.14.patch)
+md5sums=('e7e5930a872657830a77dc9ddbfce93b'
+ '7ed23923654cf3fbfb64c099f494de09')
build() {
cd ${startdir}/src/${_srcname}-${pkgver}
+ patch -Np1 -i ../exiv2-0.14.patch || return 1
./configure --prefix=/usr \
--enable-extras \
--with-libexif --with-exiv2
Index: extra/multimedia/gimp-ufraw/exiv2-0.14.patch
diff -u /dev/null extra/multimedia/gimp-ufraw/exiv2-0.14.patch:1.1
--- /dev/null Mon Jun 11 19:29:12 2007
+++ extra/multimedia/gimp-ufraw/exiv2-0.14.patch Mon Jun 11 19:29:12 2007
@@ -0,0 +1,31 @@
+--- ufraw-0.11/configure.ac.exiv2 2007-03-06 15:02:40.000000000 -0600
++++ ufraw-0.11/configure.ac 2007-04-25 13:09:06.000000000 -0500
+@@ -185,12 +185,17 @@
+ AC_MSG_RESULT($with_exiv2)
+ have_exiv2=no
+ if test $with_exiv2 = yes; then
++PKG_CHECK_MODULES(EXIV2, exiv2 >= 0.14,
++ [ have_exiv2=yes
++ AC_DEFINE(HAVE_EXIV2, 1, have exiv2)],
++ [
+ AC_CHECK_PROGS(EXIV2_CONFIG, exiv2-config, , $PATH)
+ if test -n "$EXIV2_CONFIG"; then
+ have_exiv2=yes
+ AC_DEFINE(HAVE_EXIV2, 1, have exiv2)
+ EXIV2_LIBS=`$EXIV2_CONFIG --libs`
+ fi
++ ])
+ fi
+
+ UFRAW_CFLAGS="$UFRAW_CFLAGS $EXIF_CFLAGS $GIMP_CFLAGS $GTK_CFLAGS $GLIB_CFLAGS $LCMS_CFLAGS"
+--- ufraw-0.11/ufraw_exiv2.cc.exiv2 2007-02-08 15:28:41.000000000 -0600
++++ ufraw-0.11/ufraw_exiv2.cc 2007-04-25 13:10:16.000000000 -0500
+@@ -201,7 +201,7 @@
+ }
+ catch (Exiv2::AnyError& e) {
+ std::cerr.rdbuf(savecerr);
+- ufraw_message(UFRAW_SET_WARNING, "%s\n", e.what().c_str());
++ ufraw_message(UFRAW_SET_WARNING, "%s\n", e.what());
+ return UFRAW_ERROR;
+ }
+
More information about the arch-commits
mailing list