generic-poky/meta/recipes-graphics/xorg-font
Richard Tollerton 629b91b4be 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.)

(From OE-Core rev: 5cd320d8d21cd784b32f12a6944dc647a75abf94)

Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-21 22:05:35 +00:00
..
encodings Patch Upstream Status Updates 2011-12-15 14:36:26 +00:00
font-alias-1.0.3 Patch Upstream Status Updates 2011-12-15 14:36:26 +00:00
xorg-minimal-fonts/misc xorg-minimal-fonts: depend on font-alias instead of shipping fonts.alias 2013-01-28 12:29:30 +00:00
encodings_1.0.4.bb encodings: Set RDEPENDS correctly 2013-04-15 15:57:30 +01:00
font-alias_1.0.3.bb Replace one-line DESCRIPTION with SUMMARY 2014-01-02 12:50:18 +00:00
font-util_1.3.0.bb font-util: remove MAPFILES_PATH override 2015-02-21 22:05:35 +00:00
xorg-font-common.inc xorg-font-common: fix sysroot injection for encoding maps 2015-02-21 22:05:35 +00:00
xorg-minimal-fonts.bb xorg-minimal-fonts: set and handle S in a proper way 2015-01-23 11:36:27 +00:00