<commit_before>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 = "r7"

# 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-kdrive-fbdev"
XSERVER_COMMON ?= "xserver-kdrive-common"
XSERVER_COMMON_shr = "xserver-common"

# This is also the reason why we have to make this package machine specific :/
PACKAGE_ARCH_${PN}-server = "${MACHINE_ARCH}"

RDEPENDS_${PN}-server = "\
  ${XSERVER} \
"

RDEPENDS_${PN}-utils = "\
  ${XSERVER_COMMON} \
  xserver-nodm-init \
  xauth \
  xhost \
  xset \
  xrandr \
"

<commit_msg>task-x11: define better default XSERVER/XSERVER_COMMON values and make whole recipe MACHINE_ARCH<commit_after>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 \
"


{'fraction_non_alphanumeric': 0.13874614594039056, 'fraction_numerical': 0.02774922918807811, 'mean_word_length': 3.8796992481203008, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3854370', 'n_tokens_mistral': 778, 'n_tokens_neox': 740, 'n_words': 180}