diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2011-10-29 10:19:30 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2011-11-01 09:57:03 +0100 |
commit | 8f79297046d8bda340ebf00d004d44288dae93ee (patch) | |
tree | 453efbc0c0d981cf2d788a10b1dab9e9ecee9a29 /meta-oe/recipes-core | |
parent | 776cb915ff4123a55eb1a03fa11c705339118da3 (diff) | |
download | meta-openembedded-8f79297046d8bda340ebf00d004d44288dae93ee.tar.gz |
task-x11: remove server parts and add VIRTUAL_RUNTIME variables to be able to select different -common and init providers
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-core')
-rw-r--r-- | meta-oe/recipes-core/tasks/task-x11.bb | 41 | ||||
-rw-r--r-- | meta-oe/recipes-core/tasks/task-x11_1.0.bb | 30 |
2 files changed, 30 insertions, 41 deletions
diff --git a/meta-oe/recipes-core/tasks/task-x11.bb b/meta-oe/recipes-core/tasks/task-x11.bb deleted file mode 100644 index a7faa00a0..000000000 --- a/meta-oe/recipes-core/tasks/task-x11.bb +++ /dev/null | |||
@@ -1,41 +0,0 @@ | |||
1 | DESCRIPTION = "The X Window System -- install this task to get a client/server based display multiplexer." | ||
2 | SECTION = "x11/server" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | ||
5 | PV = "1.0" | ||
6 | PR = "r8" | ||
7 | |||
8 | # WORK IN PROGRESS | ||
9 | |||
10 | inherit task | ||
11 | |||
12 | PACKAGES += "\ | ||
13 | ${PN}-server \ | ||
14 | ${PN}-utils \ | ||
15 | " | ||
16 | |||
17 | RRECOMMENDS_${PN} = "\ | ||
18 | ${PN}-server \ | ||
19 | ${PN}-utils \ | ||
20 | " | ||
21 | |||
22 | # Some machines don't set a *runtime* provider for X, so default to Xfbdev here | ||
23 | # virtual/xserver won't work, since the kdrive recipes will build multiple xserver packages | ||
24 | XSERVER ?= "xserver-xorg" | ||
25 | XSERVER_COMMON ?= "xserver-common" | ||
26 | |||
27 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
28 | |||
29 | RDEPENDS_${PN}-server = "\ | ||
30 | ${XSERVER} \ | ||
31 | " | ||
32 | |||
33 | RDEPENDS_${PN}-utils = "\ | ||
34 | ${XSERVER_COMMON} \ | ||
35 | xserver-nodm-init \ | ||
36 | xauth \ | ||
37 | xhost \ | ||
38 | xset \ | ||
39 | xrandr \ | ||
40 | " | ||
41 | |||
diff --git a/meta-oe/recipes-core/tasks/task-x11_1.0.bb b/meta-oe/recipes-core/tasks/task-x11_1.0.bb new file mode 100644 index 000000000..67ff93b1f --- /dev/null +++ b/meta-oe/recipes-core/tasks/task-x11_1.0.bb | |||
@@ -0,0 +1,30 @@ | |||
1 | DESCRIPTION = "The X Window System -- install this task to get a client/server based display multiplexer." | ||
2 | SECTION = "x11/server" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | ||
5 | PR = "r9" | ||
6 | |||
7 | inherit task | ||
8 | |||
9 | PACKAGES += "${PN}-utils" | ||
10 | |||
11 | RRECOMMENDS_${PN} = "\ | ||
12 | ${PN}-server \ | ||
13 | ${PN}-utils \ | ||
14 | " | ||
15 | |||
16 | # xserver-common, x11-common | ||
17 | VIRTUAL-RUNTIME_xserver_common ?= "xserver-common" | ||
18 | |||
19 | # elsa, xserver-nodm-init | ||
20 | VIRTUAL-RUNTIME_graphical_init_manager ?= "xserver-nodm-init" | ||
21 | |||
22 | RDEPENDS_${PN}-utils = "\ | ||
23 | ${VIRTUAL-RUNTIME_xserver_common} \ | ||
24 | ${VIRTUAL-RUNTIME_graphical_init_manager} \ | ||
25 | xauth \ | ||
26 | xhost \ | ||
27 | xset \ | ||
28 | xrandr \ | ||
29 | " | ||
30 | |||