task-x11: remove server parts and add VIRTUAL_RUNTIME variables to be able to select...
authorMartin Jansa <Martin.Jansa@gmail.com>
Sat, 29 Oct 2011 08:19:30 +0000 (10:19 +0200)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:16:17 +0000 (08:16 -0800)
(From meta-openembedded rev: 8f79297046d8bda340ebf00d004d44288dae93ee)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-oe/recipes-core/tasks/task-x11.bb [deleted file]
meta-openembedded/meta-oe/recipes-core/tasks/task-x11_1.0.bb [new file with mode: 0644]

diff --git a/meta-openembedded/meta-oe/recipes-core/tasks/task-x11.bb b/meta-openembedded/meta-oe/recipes-core/tasks/task-x11.bb
deleted file mode 100644 (file)
index a7faa00..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-DESCRIPTION = "The X Window System -- install this task to get a client/server based display multiplexer."
-SECTION = "x11/server"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
-PV = "1.0"
-PR = "r8"
-
-# WORK IN PROGRESS
-
-inherit task
-
-PACKAGES += "\
-  ${PN}-server \
-  ${PN}-utils \
-"
-
-RRECOMMENDS_${PN} = "\
-  ${PN}-server \
-  ${PN}-utils \
-"
-
-# Some machines don't set a *runtime* provider for X, so default to Xfbdev here
-# virtual/xserver won't work, since the kdrive recipes will build multiple xserver packages
-XSERVER ?= "xserver-xorg"
-XSERVER_COMMON ?= "xserver-common"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-RDEPENDS_${PN}-server = "\
-  ${XSERVER} \
-"
-
-RDEPENDS_${PN}-utils = "\
-  ${XSERVER_COMMON} \
-  xserver-nodm-init \
-  xauth \
-  xhost \
-  xset \
-  xrandr \
-"
-
diff --git a/meta-openembedded/meta-oe/recipes-core/tasks/task-x11_1.0.bb b/meta-openembedded/meta-oe/recipes-core/tasks/task-x11_1.0.bb
new file mode 100644 (file)
index 0000000..67ff93b
--- /dev/null
@@ -0,0 +1,30 @@
+DESCRIPTION = "The X Window System -- install this task to get a client/server based display multiplexer."
+SECTION = "x11/server"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+PR = "r9"
+
+inherit task
+
+PACKAGES += "${PN}-utils"
+
+RRECOMMENDS_${PN} = "\
+  ${PN}-server \
+  ${PN}-utils \
+"
+
+# xserver-common, x11-common
+VIRTUAL-RUNTIME_xserver_common ?= "xserver-common"
+
+# elsa, xserver-nodm-init
+VIRTUAL-RUNTIME_graphical_init_manager ?= "xserver-nodm-init"
+
+RDEPENDS_${PN}-utils = "\
+  ${VIRTUAL-RUNTIME_xserver_common} \
+  ${VIRTUAL-RUNTIME_graphical_init_manager} \
+  xauth \
+  xhost \
+  xset \
+  xrandr \
+"
+