summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-core
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2011-10-29 10:19:30 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2011-11-01 09:57:03 +0100
commit8f79297046d8bda340ebf00d004d44288dae93ee (patch)
tree453efbc0c0d981cf2d788a10b1dab9e9ecee9a29 /meta-oe/recipes-core
parent776cb915ff4123a55eb1a03fa11c705339118da3 (diff)
downloadmeta-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.bb41
-rw-r--r--meta-oe/recipes-core/tasks/task-x11_1.0.bb30
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 @@
1DESCRIPTION = "The X Window System -- install this task to get a client/server based display multiplexer."
2SECTION = "x11/server"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
5PV = "1.0"
6PR = "r8"
7
8# WORK IN PROGRESS
9
10inherit task
11
12PACKAGES += "\
13 ${PN}-server \
14 ${PN}-utils \
15"
16
17RRECOMMENDS_${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
24XSERVER ?= "xserver-xorg"
25XSERVER_COMMON ?= "xserver-common"
26
27PACKAGE_ARCH = "${MACHINE_ARCH}"
28
29RDEPENDS_${PN}-server = "\
30 ${XSERVER} \
31"
32
33RDEPENDS_${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 @@
1DESCRIPTION = "The X Window System -- install this task to get a client/server based display multiplexer."
2SECTION = "x11/server"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
5PR = "r9"
6
7inherit task
8
9PACKAGES += "${PN}-utils"
10
11RRECOMMENDS_${PN} = "\
12 ${PN}-server \
13 ${PN}-utils \
14"
15
16# xserver-common, x11-common
17VIRTUAL-RUNTIME_xserver_common ?= "xserver-common"
18
19# elsa, xserver-nodm-init
20VIRTUAL-RUNTIME_graphical_init_manager ?= "xserver-nodm-init"
21
22RDEPENDS_${PN}-utils = "\
23 ${VIRTUAL-RUNTIME_xserver_common} \
24 ${VIRTUAL-RUNTIME_graphical_init_manager} \
25 xauth \
26 xhost \
27 xset \
28 xrandr \
29"
30