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 <[email protected]>

[…]

With the bit Phil pointed out corrected this patch is

Acked-by: Paul Menzel <[email protected]>

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

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to