[oe] [PATCH] gnome-desktop-2.32.1: disable desktop docs

Paul Menzel paulepanter at users.sourceforge.net
Tue May 10 15:39:20 UTC 2011


Am Dienstag, den 10.05.2011, 12:43 +0200 schrieb Martin Jansa:
> * 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

The problem is the path

	/usr/share/xml/gnome/xslt/docbook/omf/db2omf.xsl

is constructed from the variable `datadir` in the pc file of
gnome-doc-utils. I only see a problem that we cannot just put
`PKG_CONFIG_SYSROOT_DIR` in front of it, that some programs could take
this value during compile time to actually store data in it during run
time.

Evince suffers from the same problem as far as I know [1]. How should
that be fixed properly upstream? Any ideas [2]?

> Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

[…]

With the bit Phil pointed out corrected this patch is

Acked-by: Paul Menzel <paulepanter at users.sourceforge.net>

I build tested it using `angstrom-2010.x` for `MACHINE = "beagleboard"`.


Thanks,

Paul


[1] http://lists.freedesktop.org/archives/pkg-config/2011-April/000717.html
[2] http://lists.freedesktop.org/archives/pkg-config/2011-May/000742.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20110510/de39aa83/attachment-0002.sig>


More information about the Openembedded-devel mailing list