[oe-commits] Martin Jansa : task-x11: remove server parts and add VIRTUAL_RUNTIME variables to be able to select different -common and init providers

git at git.openembedded.org git at git.openembedded.org
Tue Nov 1 09:41:42 UTC 2011


Module: meta-openembedded.git
Branch: master
Commit: 8f79297046d8bda340ebf00d004d44288dae93ee
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=8f79297046d8bda340ebf00d004d44288dae93ee

Author: Martin Jansa <Martin.Jansa at gmail.com>
Date:   Sat Oct 29 10:19:30 2011 +0200

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 at gmail.com>

---

 meta-oe/recipes-core/tasks/task-x11.bb     |   41 ----------------------------
 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 a7faa00..0000000
--- a/meta-oe/recipes-core/tasks/task-x11.bb
+++ /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-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 0000000..67ff93b
--- /dev/null
+++ b/meta-oe/recipes-core/tasks/task-x11_1.0.bb
@@ -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 \
+"
+





More information about the Openembedded-commits mailing list