diff options
Diffstat (limited to 'meta/recipes-gnome/gnome')
4 files changed, 38 insertions, 68 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 @@ | |||
1 | Upstream-Status: Inappropriate [configuration] | ||
2 | |||
3 | Index: 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 \ | ||
16 | Index: 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 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | Index: 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( | ||
16 | Index: 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 @@ | |||
1 | Index: 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 | ||
11 | Index: 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 | ||
diff --git a/meta/recipes-gnome/gnome/gobject-introspection_git.bb b/meta/recipes-gnome/gnome/gobject-introspection_git.bb index 5e37255285..83523845d8 100644 --- a/meta/recipes-gnome/gnome/gobject-introspection_git.bb +++ b/meta/recipes-gnome/gnome/gobject-introspection_git.bb | |||
@@ -1,29 +1,33 @@ | |||
1 | SRC_URI = "git://git.gnome.org/gobject-introspection;protocol=git \ | 1 | # NOTE: WIP! This recipe does not cross-compile atm., only -native |
2 | file://configure.patch \ | 2 | DEPENDS = "glib-2.0 libffi python-native gobject-introspection-native" |
3 | file://pathfix.patch" | 3 | DEPENDS_virtclass-native = "glib-2.0-native libffi-native python-native bison-native flex-native" |
4 | BBCLASSEXTEND = "native" | ||
4 | 5 | ||
5 | SRC_URI_virtclass-native = "git://git.gnome.org/gobject-introspection;protocol=git \ | 6 | SRC_URI = "git://git.gnome.org/gobject-introspection;protocol=git \ |
6 | file://pathfix.patch" | 7 | file://use-usr-bin-env-for-python.patch \ |
8 | " | ||
7 | 9 | ||
8 | LICENSE = "GPLv2+ & LGPLv2+" | 10 | LICENSE = "GPLv2+ & LGPLv2+" |
9 | LIC_FILES_CHKSUM = "file://COPYING.tools;md5=94d55d512a9ba36caa9b7df079bae19f \ | 11 | LIC_FILES_CHKSUM = "file://COPYING.tools;md5=94d55d512a9ba36caa9b7df079bae19f \ |
10 | file://COPYING.lib;md5=3bf50002aefd002f49e7bb854063f7e7" | 12 | file://COPYING.lib;md5=3bf50002aefd002f49e7bb854063f7e7" |
11 | 13 | ||
12 | SRCREV = "efa7266bcf78478ce62e8dd778a4f0417bfd4d15" | 14 | SRCREV = "8d64bc23d2b837421ecf9c7b0e4b8d5d95ca0d21" |
13 | PV = "0.10.8+git${SRCPV}" | 15 | PV = "1.29.0+gitr${SRCPV}" |
14 | PR = "r4" | 16 | DEFAULT_PREFERENCE = "-1" |
15 | 17 | ||
16 | S = "${WORKDIR}/git" | 18 | S = "${WORKDIR}/git" |
17 | 19 | ||
18 | DEPENDS = "libffi python-native gobject-introspection-native" | ||
19 | DEPENDS_virtclass-native = "libffi-native python-native bison-native flex-native" | ||
20 | |||
21 | inherit autotools | 20 | inherit autotools |
22 | 21 | ||
23 | TARGET_CFLAGS += "-I${STAGING_INCDIR_NATIVE}/python2.5" | 22 | BBCLASSEXTEND = "native" |
24 | 23 | ||
25 | do_configure_prepend () { | 24 | do_configure_prepend () { |
26 | echo "EXTRA_DIST = " > ${S}/gtk-doc.make | 25 | echo "EXTRA_DIST = " > ${S}/gtk-doc.make |
27 | } | 26 | } |
28 | 27 | ||
29 | BBCLASSEXTEND = "native" | 28 | EXTRA_OECONF = "\ |
29 | --disable-gtk-doc \ | ||
30 | --disable-gtk-doc-html \ | ||
31 | --disable-gtk-doc-pdf \ | ||
32 | --disable-tests \ | ||
33 | " | ||