mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-03 14:19:52 +00:00
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>
This commit is contained in:
@@ -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 \
|
|
||||||
"
|
|
||||||
|
|
||||||
@@ -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 \
|
||||||
|
"
|
||||||
|
|
||||||
Reference in New Issue
Block a user