Skip to contentSkip to conversation

xwayland: Add xkbcomp runtime dependency

PATCH In review Tom Hochstein 1 participant 2 messages Jan 19, 2022 – Jan 31, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xwayland: Add xkbcomp runtime dependency

Trying to run an xterm fails with the error:
xterm: Xt error: Can't open display: :0

Checking systemctl status weston shows an error:

Jan 19 21:24:16 imx8mq-evk weston[396]: sh: line 1: /usr/bin/xkbcomp: No such file or directory

Adding xkbcomp to the rootfs fixes these errors. Checking the history one finds that the runtime dependency for the old xserver was removed because it wasn't in the correct location [1], then restored because it was still needed [2].

[1] https://github.com/openembedded/openembedded-core/commit/bdcc5e8f1286d288baf410458efc39a59b68d751
[2] https://github.com/openembedded/openembedded-core/commit/f2330ebc3071d780cbc6d1ddab5c54bfadf8fffc

---
 meta/recipes-graphics/xwayland/xwayland_21.1.3.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-graphics/xwayland/xwayland_21.1.3.bb +1 -0
index 5d083e8ada..7ea40d9486 100644
@@ -42,3 +42,4 @@ do_install:append() {
 
 FILES:${PN} += "${libdir}/xorg/protocol.txt"
 
+RDEPENDS:${PN} += "xkbcomp"
Signature · 1 line
2.17.1
#1 lore raw

Ping.

Quoted 40 lines

-----Original Message-----
From: Tom Hochstein
Sent: Wednesday, January 19, 2022 5:49 PM
To: [email protected]
Cc: Tom Hochstein <[email protected]>
Subject: [PATCH] xwayland: Add xkbcomp runtime dependency

Trying to run an xterm fails with the error:
xterm: Xt error: Can't open display: :0

Checking systemctl status weston shows an error:

Jan 19 21:24:16 imx8mq-evk weston[396]: sh: line 1: /usr/bin/xkbcomp: No such

file or directory

Adding xkbcomp to the rootfs fixes these errors. Checking the history one finds that the runtime dependency for the old xserver was removed because it wasn't in the correct location [1], then restored because it was still needed [2].

[1] https://github.com/openembedded/openembedded-
core/commit/bdcc5e8f1286d288baf410458efc39a59b68d751
[2] https://github.com/openembedded/openembedded-
core/commit/f2330ebc3071d780cbc6d1ddab5c54bfadf8fffc

---
 meta/recipes-graphics/xwayland/xwayland_21.1.3.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-graphics/xwayland/xwayland_21.1.3.bb +1 -1
index 5d083e8ada..7ea40d9486 100644
@@ -42,3 +42,4 @@ do_install:append() {
 
 FILES:${PN} += "${libdir}/xorg/protocol.txt"
 
+RDEPENDS:${PN} += "xkbcomp"
--

2.17.1