aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/gobject-introspection
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/gobject-introspection')
-rw-r--r--recipes/gobject-introspection/gobject-introspection/use-usr-bin-env-for-python.patch20
-rw-r--r--recipes/gobject-introspection/gobject-introspection_0.9.10.bb4
2 files changed, 23 insertions, 1 deletions
diff --git a/recipes/gobject-introspection/gobject-introspection/use-usr-bin-env-for-python.patch b/recipes/gobject-introspection/gobject-introspection/use-usr-bin-env-for-python.patch
new file mode 100644
index 0000000000..67b85470d3
--- /dev/null
+++ b/recipes/gobject-introspection/gobject-introspection/use-usr-bin-env-for-python.patch
@@ -0,0 +1,20 @@
+Index: gobject-introspection-0.9.10/tools/g-ir-annotation-tool.in
+===================================================================
+--- gobject-introspection-0.9.10.orig/tools/g-ir-annotation-tool.in
++++ gobject-introspection-0.9.10/tools/g-ir-annotation-tool.in
+@@ -1,4 +1,4 @@
+-#!@PYTHON@
++#!/usr/bin/env python
+ # -*- Mode: Python -*-
+ # GObject-Introspection - a framework for introspecting GObject libraries
+ # Copyright (C) 2008 Johan Dahlin
+Index: gobject-introspection-0.9.10/tools/g-ir-scanner.in
+===================================================================
+--- gobject-introspection-0.9.10.orig/tools/g-ir-scanner.in
++++ gobject-introspection-0.9.10/tools/g-ir-scanner.in
+@@ -1,4 +1,4 @@
+-#!@PYTHON@
++#!/usr/bin/env python
+ # -*- Mode: Python -*-
+ # GObject-Introspection - a framework for introspecting GObject libraries
+ # Copyright (C) 2008 Johan Dahlin
diff --git a/recipes/gobject-introspection/gobject-introspection_0.9.10.bb b/recipes/gobject-introspection/gobject-introspection_0.9.10.bb
index b982ce92fa..72836d56ca 100644
--- a/recipes/gobject-introspection/gobject-introspection_0.9.10.bb
+++ b/recipes/gobject-introspection/gobject-introspection_0.9.10.bb
@@ -4,12 +4,14 @@ DEPENDS = "glib-2.0 libffi"
BBCLASSEXTEND = "native"
DEPENDS_virtclass-native = "glib-2.0-native libffi-native"
LICENSE = "LGPL"
+PR = "r1"
SRC_URI[md5sum] = "e5cd63d6bcc5c105e898e7c33cf42175"
SRC_URI[sha256sum] = "4bf244db75df04499dea704e7734376c0fc5a3a17fb59be2123c8d76111e6fb8"
SRC_URI = "\
- http://ftp.acc.umu.se/pub/GNOME/sources/gobject-introspection/0.9/${BPN}-${PV}.tar.bz2 \
+ ${GNOME_MIRROR}/gobject-introspection/0.9/${BPN}-${PV}.tar.bz2 \
+ file://use-usr-bin-env-for-python.patch \
"
S = "${WORKDIR}/${BPN}-${PV}"