diff options
Diffstat (limited to 'meta/recipes-gnome/gnome/gobject-introspection')
-rw-r--r-- | meta/recipes-gnome/gnome/gobject-introspection/configure.patch | 25 | ||||
-rw-r--r-- | meta/recipes-gnome/gnome/gobject-introspection/pathfix.patch | 38 |
2 files changed, 63 insertions, 0 deletions
diff --git a/meta/recipes-gnome/gnome/gobject-introspection/configure.patch b/meta/recipes-gnome/gnome/gobject-introspection/configure.patch new file mode 100644 index 0000000000..c441799b23 --- /dev/null +++ b/meta/recipes-gnome/gnome/gobject-introspection/configure.patch @@ -0,0 +1,25 @@ +Index: git/common.mk +=================================================================== +--- git.orig/common.mk 2009-08-19 11:11:26.000000000 +0100 ++++ git/common.mk 2009-08-19 11:12:05.000000000 +0100 +@@ -4,7 +4,7 @@ + UNINSTALLED_INTROSPECTION_SRCDIR=$(top_srcdir) \ + UNINSTALLED_INTROSPECTION_BUILDDIR=$(top_builddir) + SCANNER_ARGS = -v --add-include-path=$(top_builddir)/gir --add-include-path=. +-SCANNER = $(AM_V_GEN) env LPATH=.libs $(CHECK_DEBUG) $(SCANNER_ENV) $(SCANNER_BIN) $(SCANNER_ARGS) ++SCANNER = $(AM_V_GEN) env LPATH=.libs $(CHECK_DEBUG) $(SCANNER_ENV) g-ir-scanner $(SCANNER_ARGS) + SCANNER_LIBS = \ + $(top_srcdir)/giscanner/*.py \ + $(top_builddir)/giscanner/libgiscanner.la \ +Index: git/configure.ac +=================================================================== +--- git.orig/configure.ac 2009-08-19 11:11:26.000000000 +0100 ++++ git/configure.ac 2009-08-19 11:11:28.000000000 +0100 +@@ -201,7 +201,6 @@ + pyexecdir=`echo $pyexecdir | tr '\\\\' '/'` + ;; + esac +-AM_CHECK_PYTHON_HEADERS(,AC_MSG_ERROR([Python headers not found])) + + AC_CONFIG_FILES([ + Makefile diff --git a/meta/recipes-gnome/gnome/gobject-introspection/pathfix.patch b/meta/recipes-gnome/gnome/gobject-introspection/pathfix.patch new file mode 100644 index 0000000000..b4582e2eaa --- /dev/null +++ b/meta/recipes-gnome/gnome/gobject-introspection/pathfix.patch @@ -0,0 +1,38 @@ +Index: git/gir/Makefile.am +=================================================================== +--- git.orig/gir/Makefile.am 2009-08-19 11:11:26.000000000 +0100 ++++ git/gir/Makefile.am 2009-08-19 11:12:45.000000000 +0100 +@@ -41,7 +41,7 @@ + -I$(GLIB_LIBDIR)/glib-2.0/include \ + -DGETTEXT_PACKAGE=Dummy \ + -D__G_I18N_LIB_H__ \ +- $(GLIB_LIBDIR)/glib-2.0/include/glibconfig.h \ ++ $(GLIB_INCLUDEDIR)/glibconfig.h \ + $(srcdir)/glib-2.0.c \ + -DGLIB_COMPILATION \ + $(GLIB_INCLUDEDIR)/glib/*.h +Index: git/giscanner/dumper.py +=================================================================== +--- git.orig/giscanner/dumper.py 2009-08-19 11:11:26.000000000 +0100 ++++ git/giscanner/dumper.py 2009-08-19 11:12:45.000000000 +0100 +@@ -82,7 +82,7 @@ + self._tmpdir = tempfile.mkdtemp('', 'tmp-introspect', dir=os.getcwd()) + + self._compiler_cmd = os.environ.get('CC', 'gcc') +- self._linker_cmd = os.environ.get('LD', self._compiler_cmd) ++ self._linker_cmd = os.environ.get('CCLD', self._compiler_cmd) + self._pkgconfig_cmd = os.environ.get('PKG_CONFIG', 'pkg-config') + + self._uninst_srcdir = os.environ.get( +Index: git/giscanner/scannermain.py +=================================================================== +--- git.orig/giscanner/scannermain.py 2009-08-19 11:11:26.000000000 +0100 ++++ git/giscanner/scannermain.py 2009-08-19 11:12:45.000000000 +0100 +@@ -283,6 +283,7 @@ + shown_include_warning = False + for include in options.includes: + if os.sep in include: ++ continue + raise ValueError("Invalid include path %r" % (include, )) + include_obj = Include.from_string(include) + transformer.register_include(include_obj) |