diff options
author | Jonathan Liu <net147@gmail.com> | 2013-06-20 11:54:56 +1000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-06-28 09:14:05 +0100 |
commit | 9106cfb2f4927a96ab749f97ed268940d75c9bf8 (patch) | |
tree | 10440c53c6d5560e0e0fe9ed57b1e98b9779d587 /meta/recipes-graphics/xorg-lib/libx11.inc | |
parent | 337125545ddc4d7a350130503e088e16d20b7cb2 (diff) | |
download | poky-9106cfb2f4927a96ab749f97ed268940d75c9bf8.tar.gz |
libx11: enable Xcms by default
The following do not work if Xcms is not enabled in libx11:
- starting xterm and doing ls --color / fails to color code the
directories:
xterm: Cannot allocate color "rgb:5c/5c/ff"
- xsetroot -solid rgb:5c/5c/ff fails with the following error:
xsetroot: unknown color "rgb:5c/5c/ff"
- xsetroot -solid rgbi:1.0/1.0/1.0 fails with the following error:
xsetroot: unknown color "rgbi:1.0/1.0/1.0"
More specifically, applications that pass Xcms color names to
XParseColor do not work properly.
[YOCTO #4576]
(From OE-Core rev: d860ee68208b84efb8049669ca18acc69f2f2d1b)
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/xorg-lib/libx11.inc')
-rw-r--r-- | meta/recipes-graphics/xorg-lib/libx11.inc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/meta/recipes-graphics/xorg-lib/libx11.inc b/meta/recipes-graphics/xorg-lib/libx11.inc index e0fce3eba2..b4eb7d8cc6 100644 --- a/meta/recipes-graphics/xorg-lib/libx11.inc +++ b/meta/recipes-graphics/xorg-lib/libx11.inc | |||
@@ -25,9 +25,7 @@ DEPENDS += "xproto-native" | |||
25 | EXTRA_OECONF += "--with-keysymdefdir=${STAGING_INCDIR}/X11/ --disable-xf86bigfont" | 25 | EXTRA_OECONF += "--with-keysymdefdir=${STAGING_INCDIR}/X11/ --disable-xf86bigfont" |
26 | EXTRA_OEMAKE += 'CWARNFLAGS=""' | 26 | EXTRA_OEMAKE += 'CWARNFLAGS=""' |
27 | 27 | ||
28 | # Let people with incredibly archaic requirements enable Xcms, but disable it by | 28 | PACKAGECONFIG ??= "xcms" |
29 | # default. | ||
30 | PACKAGECONFIG ??= "" | ||
31 | PACKAGECONFIG[xcms] = "--enable-xcms,--disable-xcms" | 29 | PACKAGECONFIG[xcms] = "--enable-xcms,--disable-xcms" |
32 | 30 | ||
33 | # src/util/makekeys is built natively but needs -D_GNU_SOURCE defined. | 31 | # src/util/makekeys is built natively but needs -D_GNU_SOURCE defined. |