[72812] trunk/dports/graphics/libopenraw
devans at macports.org
devans at macports.org
Wed Oct 27 15:34:17 PDT 2010
Revision: 72812
http://trac.macports.org/changeset/72812
Author: devans at macports.org
Date: 2010-10-27 15:34:14 -0700 (Wed, 27 Oct 2010)
Log Message:
-----------
libopenraw: patch to install gdk-pixbuf loaders in correct location, closes #27032.
Modified Paths:
--------------
trunk/dports/graphics/libopenraw/Portfile
Added Paths:
-----------
trunk/dports/graphics/libopenraw/files/patch-configure.diff
Modified: trunk/dports/graphics/libopenraw/Portfile
===================================================================
--- trunk/dports/graphics/libopenraw/Portfile 2010-10-27 22:29:48 UTC (rev 72811)
+++ trunk/dports/graphics/libopenraw/Portfile 2010-10-27 22:34:14 UTC (rev 72812)
@@ -5,7 +5,7 @@
name libopenraw
version 0.0.8
-revision 2
+revision 3
categories graphics
maintainers devans openmaintainer
platforms darwin
@@ -27,7 +27,8 @@
sha1 6eb19679f3b5cdc566a4caa459811121a78ac0d9 \
rmd160 ae653949812c0b248515837d08e0dd8f28a4e5d1
-patchfiles patch-Makefile.in.diff
+patchfiles patch-Makefile.in.diff \
+ patch-configure.diff
depends_build port:pkgconfig
@@ -41,6 +42,13 @@
configure.args-append --disable-gnome
}
+post-activate {
+ if {![variant_isset no_gnome]} {
+ ui_debug "Updating gdk-pixbuf.loaders..."
+ system "${prefix}/bin/gdk-pixbuf-query-loaders --update-cache"
+ }
+}
+
livecheck.type regex
livecheck.url ${homepage}
livecheck.regex {version\ (\d+(?:\.\d+)*)}
Added: trunk/dports/graphics/libopenraw/files/patch-configure.diff
===================================================================
--- trunk/dports/graphics/libopenraw/files/patch-configure.diff (rev 0)
+++ trunk/dports/graphics/libopenraw/files/patch-configure.diff 2010-10-27 22:34:14 UTC (rev 72812)
@@ -0,0 +1,11 @@
+--- configure.old 2010-10-27 19:46:21.000000000 +0200
++++ configure 2010-10-27 19:47:45.000000000 +0200
+@@ -17568,7 +17568,7 @@
+ _ACEOF
+
+ GTK_VERSION=`$PKG_CONFIG --variable=gtk_binary_version gtk+-2.0`
+- GDK_PIXBUF_DIR="gtk-2.0/$GTK_VERSION/loaders"
++ GDK_PIXBUF_DIR="gdk-pixbuf-2.0/$GTK_VERSION/loaders"
+
+ HAVE_LIBGDKPIXBUF=yes
+ fi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101027/1fd930db/attachment-0001.html>
More information about the macports-changes
mailing list