]> code.ossystems Code Review - openembedded-core.git/commit
font-util: stage encoding maps into sysroot
authorBen Shelton <ben.shelton@ni.com>
Fri, 20 Feb 2015 19:02:33 +0000 (13:02 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 21 Feb 2015 22:04:25 +0000 (22:04 +0000)
commita1598266c828ad0b73df971b22d6a2e3e1dd5cab
treec10537f8eb7d9dfc244fba38fa403723dc31188a
parentbb8a7b906204b25f07fe568883c2d605593c323c
font-util: stage encoding maps into sysroot

font-util installs encoding maps into /usr/share/fonts/X11. This path
may not exist on the host (many distros install these into
/usr/share/fonts/util) so they must exist in the sysroot in order for
e.g. `pkg-config --variable=mapdir fontutil` to work correctly. However,
currently /usr/share/fonts is explicitly not installed into sysroots, so
the encoding maps were not getting found.

Fix this by explicitly staging ${datadir}/fonts/ into the sysroot.

Signed-off-by: Ben Shelton <ben.shelton@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-graphics/xorg-font/font-util_1.3.0.bb