All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] gnome-desktop: Fix python location on recent distros
@ 2012-08-02 21:31 Richard Purdie
  0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2012-08-02 21:31 UTC (permalink / raw)
  To: openembedded-core

This fixes errors on distros with python as /bin/python of the form:

| error: Failed dependencies:
| 	/bin/python is needed by gnome-desktop-2.32.1-r5.i586

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
diff --git a/meta/recipes-gnome/gnome/gnome-desktop.inc b/meta/recipes-gnome/gnome/gnome-desktop.inc
index 51933b2..4687a7b 100644
--- a/meta/recipes-gnome/gnome/gnome-desktop.inc
+++ b/meta/recipes-gnome/gnome/gnome-desktop.inc
@@ -11,12 +11,13 @@ do_configure_prepend () {
 
 FILES_${PN} += "${datadir}/gnome-about ${datadir}/libgnome-desktop/pnp.ids"
 
-PR = "r5"
+PR = "r6"
 
 inherit gnome pkgconfig
 
 do_install_append () {
 	sed -i -e's,${STAGING_BINDIR_NATIVE},${bindir},g' ${D}${bindir}/gnome-about
+	sed -i -e '1s,#!.*python,#! ${USRBINPATH}/env python,' ${D}${bindir}/gnome-about
 }
 
 





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-08-02 21:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-02 21:31 [PATCH] gnome-desktop: Fix python location on recent distros Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.