diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2016-02-22 19:16:24 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-03-14 12:15:26 +0100 |
commit | 78645f999f21204f34ce3e3934c8bbe92ba481b4 (patch) | |
tree | 6381c7a57927dc1c9d3f0c0688dcb8a171c45b9b /meta-gnome | |
parent | 67d7b820640d742fc5a350cea9a08beb867bc174 (diff) | |
download | meta-openembedded-78645f999f21204f34ce3e3934c8bbe92ba481b4.tar.gz |
goffice: fix gobject introspection
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Diffstat (limited to 'meta-gnome')
-rw-r--r-- | meta-gnome/recipes-support/goffice/goffice/0001-configure.ac-fix-paths-to-introspection-tools.patch | 41 | ||||
-rw-r--r-- | meta-gnome/recipes-support/goffice/goffice_0.10.1.bb | 4 |
2 files changed, 44 insertions, 1 deletions
diff --git a/meta-gnome/recipes-support/goffice/goffice/0001-configure.ac-fix-paths-to-introspection-tools.patch b/meta-gnome/recipes-support/goffice/goffice/0001-configure.ac-fix-paths-to-introspection-tools.patch new file mode 100644 index 000000000..a645978d9 --- /dev/null +++ b/meta-gnome/recipes-support/goffice/goffice/0001-configure.ac-fix-paths-to-introspection-tools.patch | |||
@@ -0,0 +1,41 @@ | |||
1 | From 8e158c16cd15fff08b42ed86edc55816d3387837 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Fri, 19 Feb 2016 16:04:24 +0200 | ||
4 | Subject: [PATCH] configure.ac: fix paths to introspection tools | ||
5 | |||
6 | They need to be prefixed with $PKG_CONFIG_SYSROOT_DIR | ||
7 | |||
8 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
9 | --- | ||
10 | configure.ac | 8 ++++---- | ||
11 | 1 file changed, 4 insertions(+), 4 deletions(-) | ||
12 | |||
13 | diff --git a/configure.ac b/configure.ac | ||
14 | index 6d2b747..3b28463 100644 | ||
15 | --- a/configure.ac | ||
16 | +++ b/configure.ac | ||
17 | @@ -706,9 +706,9 @@ if test "x$found_introspection" = "xyes"; then | ||
18 | dnl python where to find libgoffice, so you might also need to set | ||
19 | dnl LD_LIBRARY_PATH. | ||
20 | |||
21 | - INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0` | ||
22 | - INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0` | ||
23 | - INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0` | ||
24 | + INTROSPECTION_SCANNER=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0` | ||
25 | + INTROSPECTION_COMPILER=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0` | ||
26 | + INTROSPECTION_GENERATE=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0` | ||
27 | if test "x$INTROSPECTION_GIRDIR" = x; then | ||
28 | INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0` | ||
29 | fi | ||
30 | @@ -717,7 +717,7 @@ if test "x$found_introspection" = "xyes"; then | ||
31 | fi | ||
32 | INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0` | ||
33 | INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0` | ||
34 | - INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection | ||
35 | + INTROSPECTION_MAKEFILE=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection | ||
36 | else | ||
37 | INTROSPECTION_SCANNER= | ||
38 | INTROSPECTION_COMPILER= | ||
39 | -- | ||
40 | 2.7.0 | ||
41 | |||
diff --git a/meta-gnome/recipes-support/goffice/goffice_0.10.1.bb b/meta-gnome/recipes-support/goffice/goffice_0.10.1.bb index 1e9ec4cfd..919aa7bca 100644 --- a/meta-gnome/recipes-support/goffice/goffice_0.10.1.bb +++ b/meta-gnome/recipes-support/goffice/goffice_0.10.1.bb | |||
@@ -5,10 +5,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=6dc33ff21e1ba1ac1a2a1069d361e29e" | |||
5 | 5 | ||
6 | DEPENDS = "libxml-parser-perl-native glib-2.0 gtk+3 pango cairo libgsf libpcre libxml2 libart-lgpl librsvg intltool" | 6 | DEPENDS = "libxml-parser-perl-native glib-2.0 gtk+3 pango cairo libgsf libpcre libxml2 libart-lgpl librsvg intltool" |
7 | 7 | ||
8 | inherit gnomebase pkgconfig perlnative | 8 | inherit gnomebase pkgconfig perlnative gobject-introspection |
9 | 9 | ||
10 | GNOME_COMPRESS_TYPE = "xz" | 10 | GNOME_COMPRESS_TYPE = "xz" |
11 | 11 | ||
12 | SRC_URI += "file://0001-configure.ac-fix-paths-to-introspection-tools.patch" | ||
13 | |||
12 | SRC_URI[archive.md5sum] = "90fd17c6fe205b779571e00d9b0b4727" | 14 | SRC_URI[archive.md5sum] = "90fd17c6fe205b779571e00d9b0b4727" |
13 | SRC_URI[archive.sha256sum] = "5c38f4e81e874cc8e89481b080f77c47c72bfd6fe2526f4fc2ef87c17f96cad0" | 15 | SRC_URI[archive.sha256sum] = "5c38f4e81e874cc8e89481b080f77c47c72bfd6fe2526f4fc2ef87c17f96cad0" |
14 | 16 | ||