diff options
author | Ross Burton <ross.burton@intel.com> | 2012-09-11 20:17:55 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-09-12 15:13:47 +0100 |
commit | c0fff56ef0681214e0813bf7d68969d951acafd5 (patch) | |
tree | 92d74cfd848bcd9272a5d21bfb10f916851e6de5 /meta | |
parent | 85816c84eb929954447a9abbea1e473351a71c50 (diff) | |
download | poky-c0fff56ef0681214e0813bf7d68969d951acafd5.tar.gz |
libx11: move xcms disabling to PACKAGECONFIG in libx11.inc
(From OE-Core rev: ea17d1365b0425b0f6ddd4daf8d166116ac26f26)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-graphics/xorg-lib/libx11-diet_1.5.0.bb | 2 | ||||
-rw-r--r-- | meta/recipes-graphics/xorg-lib/libx11-trim_1.5.0.bb | 2 | ||||
-rw-r--r-- | meta/recipes-graphics/xorg-lib/libx11.inc | 6 |
3 files changed, 7 insertions, 3 deletions
diff --git a/meta/recipes-graphics/xorg-lib/libx11-diet_1.5.0.bb b/meta/recipes-graphics/xorg-lib/libx11-diet_1.5.0.bb index e6aa63f2c1..dd9e7d9450 100644 --- a/meta/recipes-graphics/xorg-lib/libx11-diet_1.5.0.bb +++ b/meta/recipes-graphics/xorg-lib/libx11-diet_1.5.0.bb | |||
@@ -25,6 +25,6 @@ DEPENDS += "libxcb bigreqsproto xproto xextproto xtrans libxau xcmiscproto \ | |||
25 | 25 | ||
26 | FILESDIR = "${@os.path.dirname(d.getVar('FILE', True))}/libx11" | 26 | FILESDIR = "${@os.path.dirname(d.getVar('FILE', True))}/libx11" |
27 | 27 | ||
28 | EXTRA_OECONF += "--disable-xcms --disable-xlocale --with-keysymdefdir=${STAGING_INCDIR}/X11" | 28 | EXTRA_OECONF += "--disable-xlocale --with-keysymdefdir=${STAGING_INCDIR}/X11" |
29 | CFLAGS += "-D_GNU_SOURCE" | 29 | CFLAGS += "-D_GNU_SOURCE" |
30 | 30 | ||
diff --git a/meta/recipes-graphics/xorg-lib/libx11-trim_1.5.0.bb b/meta/recipes-graphics/xorg-lib/libx11-trim_1.5.0.bb index e8661f3203..9e88d456f8 100644 --- a/meta/recipes-graphics/xorg-lib/libx11-trim_1.5.0.bb +++ b/meta/recipes-graphics/xorg-lib/libx11-trim_1.5.0.bb | |||
@@ -19,4 +19,4 @@ RPROVIDES_${PN}-locale = "libx11-locale" | |||
19 | SRC_URI[md5sum] = "78b4b3bab4acbdf0abcfca30a8c70cc6" | 19 | SRC_URI[md5sum] = "78b4b3bab4acbdf0abcfca30a8c70cc6" |
20 | SRC_URI[sha256sum] = "c382efd7e92bfc3cef39a4b7f1ecf2744ba4414a705e3bc1e697f75502bd4d86" | 20 | SRC_URI[sha256sum] = "c382efd7e92bfc3cef39a4b7f1ecf2744ba4414a705e3bc1e697f75502bd4d86" |
21 | 21 | ||
22 | EXTRA_OECONF += "--with-keysymdefdir=${STAGING_INCDIR}/X11/ --disable-xcms " | 22 | EXTRA_OECONF += "--with-keysymdefdir=${STAGING_INCDIR}/X11/" |
diff --git a/meta/recipes-graphics/xorg-lib/libx11.inc b/meta/recipes-graphics/xorg-lib/libx11.inc index fb1daf2e0a..22b26cc277 100644 --- a/meta/recipes-graphics/xorg-lib/libx11.inc +++ b/meta/recipes-graphics/xorg-lib/libx11.inc | |||
@@ -9,7 +9,7 @@ require xorg-lib-common.inc | |||
9 | inherit siteinfo | 9 | inherit siteinfo |
10 | 10 | ||
11 | PE = "1" | 11 | PE = "1" |
12 | INC_PR = "r2" | 12 | INC_PR = "r3" |
13 | 13 | ||
14 | PROVIDES = "virtual/libx11" | 14 | PROVIDES = "virtual/libx11" |
15 | 15 | ||
@@ -23,6 +23,10 @@ FILES_${PN} += "${datadir}/X11/XKeysymDB ${datadir}/X11/XErrorDB ${libdir}/X11/X | |||
23 | FILES_${PN}-xcb += "${libdir}/libX11-xcb.so.*" | 23 | FILES_${PN}-xcb += "${libdir}/libX11-xcb.so.*" |
24 | FILES_${PN}-locale += "${datadir}/X11/locale ${libdir}/X11/locale" | 24 | FILES_${PN}-locale += "${datadir}/X11/locale ${libdir}/X11/locale" |
25 | 25 | ||
26 | # Almost nothing uses XCMS | ||
27 | PACKAGECONFIG ??= "" | ||
28 | PACKAGECONFIG[xcms] = "--enable-xcms,--disable-xcms" | ||
29 | |||
26 | do_compile_prepend() { | 30 | do_compile_prepend() { |
27 | cd ${S}/src/util | 31 | cd ${S}/src/util |
28 | mv makekeys.c.orig makekeys.c || true | 32 | mv makekeys.c.orig makekeys.c || true |