summaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome/gnome/gobject-introspection/use-usr-bin-env-for-python.patch
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2011-11-15 12:58:47 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-16 17:32:46 +0000
commitd4a31b7ce9077ef90665480a1a4a30a2ba68707d (patch)
tree8b01ffdbc378b562a98afd2e97b82eb36f6df1d4 /meta/recipes-gnome/gnome/gobject-introspection/use-usr-bin-env-for-python.patch
parent0f9c30468a4793589961e59cc07206060cacd832 (diff)
downloadpoky-d4a31b7ce9077ef90665480a1a4a30a2ba68707d.tar.gz
gobject-introspection: update frome meta-oe
OE-Core uses very old version of gobject-introspection. The recipe says 0.10.8, but in reality it's GOBJECT_INTROSPECTION_0_6_3-41-gefa7266. That version e.g. doesn't compile with python 2.7 (default in some versions), etc. (From OE-Core rev: 04e4b3757b7ee6ed0a11e9feaee7c971a46f88ee) Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-gnome/gnome/gobject-introspection/use-usr-bin-env-for-python.patch')
-rw-r--r--meta/recipes-gnome/gnome/gobject-introspection/use-usr-bin-env-for-python.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/meta/recipes-gnome/gnome/gobject-introspection/use-usr-bin-env-for-python.patch b/meta/recipes-gnome/gnome/gobject-introspection/use-usr-bin-env-for-python.patch
new file mode 100644
index 0000000000..67b85470d3
--- /dev/null
+++ b/meta/recipes-gnome/gnome/gobject-introspection/use-usr-bin-env-for-python.patch
@@ -0,0 +1,20 @@
1Index: gobject-introspection-0.9.10/tools/g-ir-annotation-tool.in
2===================================================================
3--- gobject-introspection-0.9.10.orig/tools/g-ir-annotation-tool.in
4+++ gobject-introspection-0.9.10/tools/g-ir-annotation-tool.in
5@@ -1,4 +1,4 @@
6-#!@PYTHON@
7+#!/usr/bin/env python
8 # -*- Mode: Python -*-
9 # GObject-Introspection - a framework for introspecting GObject libraries
10 # Copyright (C) 2008 Johan Dahlin
11Index: gobject-introspection-0.9.10/tools/g-ir-scanner.in
12===================================================================
13--- gobject-introspection-0.9.10.orig/tools/g-ir-scanner.in
14+++ gobject-introspection-0.9.10/tools/g-ir-scanner.in
15@@ -1,4 +1,4 @@
16-#!@PYTHON@
17+#!/usr/bin/env python
18 # -*- Mode: Python -*-
19 # GObject-Introspection - a framework for introspecting GObject libraries
20 # Copyright (C) 2008 Johan Dahlin