aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/gthumb
diff options
context:
space:
mode:
authorTom Rini <tom_rini@mentor.com>2011-02-24 12:39:17 -0700
committerTom Rini <tom_rini@mentor.com>2011-02-24 12:39:17 -0700
commitafebb0563363d1563c87601e84bc2337e60ed2e2 (patch)
tree38bd123d72e64374b056bcf9c7b19eb03def279e /recipes/gthumb
parent4efc9b0446c8fd083db8bcaa1b7697686de3fe09 (diff)
downloadopenembedded-afebb0563363d1563c87601e84bc2337e60ed2e2.tar.gz
gthumb: Fix long path to perl in local intltools scripts
Signed-off-by: Tom Rini <tom_rini@mentor.com>
Diffstat (limited to 'recipes/gthumb')
-rw-r--r--recipes/gthumb/gthumb_2.10.11.bb7
-rw-r--r--recipes/gthumb/gthumb_2.6.9.bb8
2 files changed, 11 insertions, 4 deletions
diff --git a/recipes/gthumb/gthumb_2.10.11.bb b/recipes/gthumb/gthumb_2.10.11.bb
index 079e3bd477..42dc02a32b 100644
--- a/recipes/gthumb/gthumb_2.10.11.bb
+++ b/recipes/gthumb/gthumb_2.10.11.bb
@@ -7,7 +7,7 @@ inherit gnome
SRC_URI += "file://pkg-config-hack.patch"
-PR = "r2"
+PR = "r3"
FILES_${PN} += "${libdir}/*.so ${datadir}/gnome* ${datadir}/application-registry/*"
FILES_${PN}-dbg += "${libdir}/gthumb/modules/.debug"
@@ -16,5 +16,10 @@ do_configure_prepend() {
sed -i "s|HACK_STAGING_DIR_HOST|${STAGING_DIR_HOST}|" ${S}/add-include-prefix
}
+do_configure_append() {
+ # replace paths to STAGING_BINDIR_NATIVE/perl with ${bindir}/perl
+ sed -i -e "1s:#!.*:#! /usr/bin/env perl:" ${S}/intltool*.in
+}
+
SRC_URI[archive.md5sum] = "498c583800a05593f7493e8f27991c7d"
SRC_URI[archive.sha256sum] = "68ac6835afdbe32cba09504b4d61ad4f5d98a97776bfb58698338add56eb520e"
diff --git a/recipes/gthumb/gthumb_2.6.9.bb b/recipes/gthumb/gthumb_2.6.9.bb
index 3eb0661395..b1963420c5 100644
--- a/recipes/gthumb/gthumb_2.6.9.bb
+++ b/recipes/gthumb/gthumb_2.6.9.bb
@@ -1,15 +1,17 @@
DESCRIPTION = "gThumb is an image viewer and browser for the GNOME Desktop."
LICENSE = "GPL"
-
DEPENDS = "gtk+ libexif libgnome libgnomeui libgnomeprintui"
+PR = "r1"
SRC_URI = "${SOURCEFORGE_MIRROR}/${PN}/${P}.tar.gz"
inherit autotools pkgconfig
FILES_${PN} += "${datadir}/gnome* ${datadir}/application-registry/*"
-
-
+do_configure_append() {
+ # replace paths to STAGING_BINDIR_NATIVE/perl with ${bindir}/perl
+ sed -i -e "1s:#!.*:#! /usr/bin/env perl:" ${S}/intltool*.in
+}
SRC_URI[md5sum] = "2819ec911a7cc4f46b95240b65f2b3e2"
SRC_URI[sha256sum] = "b02423f0dc9f82a3e1a56cfd470c1cee5d351654fdc55c1a3cd5cff150828b3c"