diff options
author | Richard Tollerton <rich.tollerton@ni.com> | 2015-02-20 13:02:35 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-02-21 22:04:25 +0000 |
commit | 5cd320d8d21cd784b32f12a6944dc647a75abf94 (patch) | |
tree | f5b657329dd68a100f891e55b3e627536ee9a928 /meta/recipes-graphics/cogl/cogl-1.0.inc | |
parent | 4199703db82d79408e0575e1332ad79375e14c39 (diff) | |
download | openembedded-core-5cd320d8d21cd784b32f12a6944dc647a75abf94.tar.gz openembedded-core-5cd320d8d21cd784b32f12a6944dc647a75abf94.tar.bz2 openembedded-core-5cd320d8d21cd784b32f12a6944dc647a75abf94.zip |
xorg-font-common: fix sysroot injection for encoding maps
The xorg font builds use `pkg-config --variable=mapdir fontutil` to
locate encoding maps. This variable ought to be sysroot-relative, but
neither pkg-config nor font-util nor the fonts themselves provide any
facility to add the sysroot back in.
We're presently adding the sysroot by by twiddling MAPFILES_PATH in
configure.ac. This is broken; it's actually defined in aclocal.m4,
because the definition is provided by fontutil.m4. Another (more
speculative) criticism is that it also hardcodes a build-specific
absolute path into builds which might (incorrectly) encode it into
target-installable packages.
A somewhat more robust, focused, and clear solution is to override
UTIL_DIR on the make command line. (UTIL_DIR, not MAPFILES_PATH, is what
is actually referenced in the build.)
Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-graphics/cogl/cogl-1.0.inc')
0 files changed, 0 insertions, 0 deletions