diff options
author | Ben Shelton <ben.shelton@ni.com> | 2015-02-20 13:02:33 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-02-21 22:05:35 +0000 |
commit | f220b969a18cb505f7a74679c5e9c27f2b8811b6 (patch) | |
tree | 4c74a6e03be1778b17413ea099cd780f4d2d1807 /meta/recipes-graphics | |
parent | bc309f0901bad79cfab8ff986cf063375cc48ec4 (diff) | |
download | poky-f220b969a18cb505f7a74679c5e9c27f2b8811b6.tar.gz |
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.
(From OE-Core rev: a1598266c828ad0b73df971b22d6a2e3e1dd5cab)
Signed-off-by: Ben Shelton <ben.shelton@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r-- | meta/recipes-graphics/xorg-font/font-util_1.3.0.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-font/font-util_1.3.0.bb b/meta/recipes-graphics/xorg-font/font-util_1.3.0.bb index cc4258ad7b..a067a75869 100644 --- a/meta/recipes-graphics/xorg-font/font-util_1.3.0.bb +++ b/meta/recipes-graphics/xorg-font/font-util_1.3.0.bb | |||
@@ -24,3 +24,8 @@ BBCLASSEXTEND = "native" | |||
24 | 24 | ||
25 | SRC_URI[md5sum] = "ddfc8a89d597651408369d940d03d06b" | 25 | SRC_URI[md5sum] = "ddfc8a89d597651408369d940d03d06b" |
26 | SRC_URI[sha256sum] = "dfa9e55625a4e0250f32fabab1fd5c8ffcd2d1ff2720d6fcf0f74bc8a5929195" | 26 | SRC_URI[sha256sum] = "dfa9e55625a4e0250f32fabab1fd5c8ffcd2d1ff2720d6fcf0f74bc8a5929195" |
27 | |||
28 | SYSROOT_PREPROCESS_FUNCS += "fontutil_sysroot_preprocess" | ||
29 | fontutil_sysroot_preprocess () { | ||
30 | sysroot_stage_dir ${D}${datadir}/fonts/ ${SYSROOT_DESTDIR}${datadir}/fonts/ | ||
31 | } | ||