summaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome/gnome/gobject-introspection
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
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')
-rw-r--r--meta/recipes-gnome/gnome/gobject-introspection/configure.patch27
-rw-r--r--meta/recipes-gnome/gnome/gobject-introspection/pathfix.patch27
-rw-r--r--meta/recipes-gnome/gnome/gobject-introspection/use-usr-bin-env-for-python.patch20
3 files changed, 20 insertions, 54 deletions
diff --git a/meta/recipes-gnome/gnome/gobject-introspection/configure.patch b/meta/recipes-gnome/gnome/gobject-introspection/configure.patch
deleted file mode 100644
index 5dcd9b0259..0000000000
--- a/meta/recipes-gnome/gnome/gobject-introspection/configure.patch
+++ /dev/null
@@ -1,27 +0,0 @@
1Upstream-Status: Inappropriate [configuration]
2
3Index: git/common.mk
4===================================================================
5--- git.orig/common.mk 2009-08-19 11:11:26.000000000 +0100
6+++ git/common.mk 2009-08-19 11:12:05.000000000 +0100
7@@ -4,7 +4,7 @@
8 UNINSTALLED_INTROSPECTION_SRCDIR=$(top_srcdir) \
9 UNINSTALLED_INTROSPECTION_BUILDDIR=$(top_builddir)
10 SCANNER_ARGS = -v --add-include-path=$(top_builddir)/gir --add-include-path=.
11-SCANNER = $(AM_V_GEN) env LPATH=.libs $(CHECK_DEBUG) $(SCANNER_ENV) $(SCANNER_BIN) $(SCANNER_ARGS)
12+SCANNER = $(AM_V_GEN) env LPATH=.libs $(CHECK_DEBUG) $(SCANNER_ENV) g-ir-scanner $(SCANNER_ARGS)
13 SCANNER_LIBS = \
14 $(top_srcdir)/giscanner/*.py \
15 $(top_builddir)/giscanner/libgiscanner.la \
16Index: git/configure.ac
17===================================================================
18--- git.orig/configure.ac 2009-08-19 11:11:26.000000000 +0100
19+++ git/configure.ac 2009-08-19 11:11:28.000000000 +0100
20@@ -201,7 +201,6 @@
21 pyexecdir=`echo $pyexecdir | tr '\\\\' '/'`
22 ;;
23 esac
24-AM_CHECK_PYTHON_HEADERS(,AC_MSG_ERROR([Python headers not found]))
25
26 AC_CONFIG_FILES([
27 Makefile
diff --git a/meta/recipes-gnome/gnome/gobject-introspection/pathfix.patch b/meta/recipes-gnome/gnome/gobject-introspection/pathfix.patch
deleted file mode 100644
index a96e4b1a92..0000000000
--- a/meta/recipes-gnome/gnome/gobject-introspection/pathfix.patch
+++ /dev/null
@@ -1,27 +0,0 @@
1Upstream-Status: Pending
2
3Index: git/giscanner/dumper.py
4===================================================================
5--- git.orig/giscanner/dumper.py 2010-11-29 15:14:35.000000000 -0800
6+++ git/giscanner/dumper.py 2010-11-29 15:14:57.115747154 -0800
7@@ -82,7 +82,7 @@
8 self._tmpdir = tempfile.mkdtemp('', 'tmp-introspect', dir=os.getcwd())
9
10 self._compiler_cmd = os.environ.get('CC', 'gcc')
11- self._linker_cmd = os.environ.get('LD', self._compiler_cmd)
12+ self._linker_cmd = os.environ.get('CCLD', self._compiler_cmd)
13 self._pkgconfig_cmd = os.environ.get('PKG_CONFIG', 'pkg-config')
14
15 self._uninst_srcdir = os.environ.get(
16Index: git/giscanner/scannermain.py
17===================================================================
18--- git.orig/giscanner/scannermain.py 2010-11-29 15:14:35.000000000 -0800
19+++ git/giscanner/scannermain.py 2010-11-29 15:14:57.120747321 -0800
20@@ -283,6 +283,7 @@
21 shown_include_warning = False
22 for include in options.includes:
23 if os.sep in include:
24+ continue
25 raise ValueError("Invalid include path %r" % (include, ))
26 include_obj = Include.from_string(include)
27 transformer.register_include(include_obj)
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