diff options
author | Khem Raj <raj.khem@gmail.com> | 2011-09-26 09:10:41 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2011-09-27 17:40:02 -0700 |
commit | 1dd63580daf20e9c96433d4b4f5b673baa3be29b (patch) | |
tree | 14364712251dc020cf5f75e21daaa97b7fd9a961 /meta-gnome/recipes-gnome | |
parent | 2ec214472d5b6734973314e1aca28fc101e8835c (diff) | |
download | meta-openembedded-1dd63580daf20e9c96433d4b4f5b673baa3be29b.tar.gz |
gnome-disk-utility: Fix build on gnomelss host systems
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-gnome/recipes-gnome')
-rw-r--r-- | meta-gnome/recipes-gnome/gnome-disk-utility/gnome-disk-utility/sysrooted-pkg-config.patch | 37 | ||||
-rw-r--r-- | meta-gnome/recipes-gnome/gnome-disk-utility/gnome-disk-utility_2.32.0.bb | 3 |
2 files changed, 40 insertions, 0 deletions
diff --git a/meta-gnome/recipes-gnome/gnome-disk-utility/gnome-disk-utility/sysrooted-pkg-config.patch b/meta-gnome/recipes-gnome/gnome-disk-utility/gnome-disk-utility/sysrooted-pkg-config.patch new file mode 100644 index 000000000..48e63b1ea --- /dev/null +++ b/meta-gnome/recipes-gnome/gnome-disk-utility/gnome-disk-utility/sysrooted-pkg-config.patch | |||
@@ -0,0 +1,37 @@ | |||
1 | In cross environment we have to prepend the sysroot to the path found by | ||
2 | pkgconfig since the path returned from pkgconfig does not have sysroot prefixed | ||
3 | it ends up using the files from host system. Now usually people have gnome installed | ||
4 | so the build succeeds but if you dont have gnome installed on build host then | ||
5 | it wont find the files on host system and packages using gnome-doc-utils wont | ||
6 | compile. | ||
7 | |||
8 | This should work ok with non sysrooted builds too since in those cases PKG_CONFIG_SYSROOT_DIR | ||
9 | will be empty | ||
10 | |||
11 | Upstream-Status: Pending | ||
12 | |||
13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
14 | |||
15 | Index: gnome-disk-utility-2.32.0/gnome-doc-utils.make | ||
16 | =================================================================== | ||
17 | --- gnome-disk-utility-2.32.0.orig/gnome-doc-utils.make 2010-09-15 08:27:46.000000000 -0700 | ||
18 | +++ gnome-disk-utility-2.32.0/gnome-doc-utils.make 2011-09-25 16:04:30.693795591 -0700 | ||
19 | @@ -133,12 +133,12 @@ | ||
20 | _xml2po ?= `which xml2po` | ||
21 | _xml2po_mode = $(if $(DOC_ID),mallard,docbook) | ||
22 | |||
23 | -_db2html ?= `$(PKG_CONFIG) --variable db2html gnome-doc-utils` | ||
24 | -_db2omf ?= `$(PKG_CONFIG) --variable db2omf gnome-doc-utils` | ||
25 | -_malrng ?= `$(PKG_CONFIG) --variable malrng gnome-doc-utils` | ||
26 | -_chunks ?= `$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/chunks.xsl | ||
27 | -_credits ?= `$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/credits.xsl | ||
28 | -_ids ?= `$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/ids.xsl | ||
29 | +_db2html ?= ${PKG_CONFIG_SYSROOT_DIR}`$(PKG_CONFIG) --variable db2html gnome-doc-utils` | ||
30 | +_db2omf ?= ${PKG_CONFIG_SYSROOT_DIR}`$(PKG_CONFIG) --variable db2omf gnome-doc-utils` | ||
31 | +_malrng ?= ${PKG_CONFIG_SYSROOT_DIR}`$(PKG_CONFIG) --variable malrng gnome-doc-utils` | ||
32 | +_chunks ?= ${PKG_CONFIG_SYSROOT_DIR}`$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/chunks.xsl | ||
33 | +_credits ?= ${PKG_CONFIG_SYSROOT_DIR}`$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/credits.xsl | ||
34 | +_ids ?= ${PKG_CONFIG_SYSROOT_DIR}`$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/ids.xsl | ||
35 | |||
36 | if ENABLE_SK | ||
37 | _ENABLE_SK = true | ||
diff --git a/meta-gnome/recipes-gnome/gnome-disk-utility/gnome-disk-utility_2.32.0.bb b/meta-gnome/recipes-gnome/gnome-disk-utility/gnome-disk-utility_2.32.0.bb index ab1113cfa..dab938f80 100644 --- a/meta-gnome/recipes-gnome/gnome-disk-utility/gnome-disk-utility_2.32.0.bb +++ b/meta-gnome/recipes-gnome/gnome-disk-utility/gnome-disk-utility_2.32.0.bb | |||
@@ -5,6 +5,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=e9115d11797a5e6b746b4e9b90194564" | |||
5 | 5 | ||
6 | DEPENDS = "glib-2.0 gtk+ libnotify libunique udisks avahi-ui virtual/libx11 libatasmart nautilus" | 6 | DEPENDS = "glib-2.0 gtk+ libnotify libunique udisks avahi-ui virtual/libx11 libatasmart nautilus" |
7 | 7 | ||
8 | PR = "r1" | ||
9 | |||
8 | inherit gnome | 10 | inherit gnome |
9 | SRC_URI[archive.md5sum] = "f0366c8baebca0404d190b2d78f3582d" | 11 | SRC_URI[archive.md5sum] = "f0366c8baebca0404d190b2d78f3582d" |
10 | SRC_URI[archive.sha256sum] = "03e461b6bda7f773f8018d25fa3213d3073d4dc83a76e6b39d962652f4de6a98" | 12 | SRC_URI[archive.sha256sum] = "03e461b6bda7f773f8018d25fa3213d3073d4dc83a76e6b39d962652f4de6a98" |
@@ -12,6 +14,7 @@ SRC_URI[archive.sha256sum] = "03e461b6bda7f773f8018d25fa3213d3073d4dc83a76e6b39d | |||
12 | SRC_URI += "\ | 14 | SRC_URI += "\ |
13 | file://disable-scrollkeeper.patch \ | 15 | file://disable-scrollkeeper.patch \ |
14 | file://fix-dbus-interfaces.patch \ | 16 | file://fix-dbus-interfaces.patch \ |
17 | file://sysrooted-pkg-config.patch \ | ||
15 | " | 18 | " |
16 | 19 | ||
17 | EXTRA_OECONF += "--disable-scrollkeeper" | 20 | EXTRA_OECONF += "--disable-scrollkeeper" |