[oe] [PATCH] gnome-desktop-2.32.1: disable desktop docs
Martin Jansa
martin.jansa at gmail.com
Tue May 10 10:43:10 UTC 2011
* we don't have gnome-doc-utils-native in DEPENDS to provide xml2po and it calls
`which xml2po` -m docbook -e -t "${mo}"
which doesnt work on host without xml2po
* if we add gnome-doc-utils-native to DEPENDS then it still fails:
| xsltproc -o fdl-C.omf --stringparam db2omf.basename fdl --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD DocBook XML V4.1.2//EN" --stringparam db2omf.lang C --stringparam db2omf.omf_dir "/usr/share/omf" --stringparam db2omf.help_dir "/usr/share/gnome/help" --stringparam db2omf.omf_in "/OE/tmpdir-shr/work/armv4t-oe-linux-gnueabi/gnome-desktop-2.32.1-r0/gnome-desktop-2.32.1/desktop-docs/fdl/fdl.omf.in" `/OE/tmpdir-shr/sysroots/x86_64-linux/usr/bin/pkg-config --variable db2omf gnome-doc-utils` C/fdl.xml || { rm -f "fdl-C.omf"; exit 1; }
| warning: failed to load external entity "/usr/share/xml/gnome/xslt/docbook/omf/db2omf.xsl"
because pkg-config returns xsl path without sysroot prefix
/OE/tmpdir-shr/sysroots/x86_64-linux/usr/bin/pkg-config --variable db2omf gnome-doc-utils
/usr/share/xml/gnome/xslt/docbook/omf/db2omf.xsl
* feel free to fix gnome-doc-utils-native/gnome-doc-utils if you care about desktop docs
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
recipes/gnome/gnome-desktop_2.32.1.bb | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/recipes/gnome/gnome-desktop_2.32.1.bb b/recipes/gnome/gnome-desktop_2.32.1.bb
index be055c9..e2f5c57 100644
--- a/recipes/gnome/gnome-desktop_2.32.1.bb
+++ b/recipes/gnome/gnome-desktop_2.32.1.bb
@@ -8,6 +8,8 @@ inherit gnome pkgconfig
SRC_URI[archive.md5sum] = "5c80d628a240eb9d9ff78913b31f2f67"
SRC_URI[archive.sha256sum] = "55cbecf67efe1fa1e57ac966520a7c46d799c8ba3c652a1219f60cafccb3739d"
+EXTRA_OECONF += " --disable-desktop-docs"
+
do_install_append() {
sed -i 's:#!.*/usr/bin/python:#!/usr/bin/python:' ${D}${bindir}/gnome-about
}
--
1.7.5.rc3
More information about the Openembedded-devel
mailing list