openembedded-core.lists.openembedded.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] xwayland: Add xkbcomp runtime dependency
@ 2022-01-19 23:48 Tom Hochstein
  2022-01-31 17:51 ` Tom Hochstein
  0 siblings, 1 reply; 2+ messages in thread
From: Tom Hochstein @ 2022-01-19 23:48 UTC (permalink / raw)
  To: openembedded-core; +Cc: Tom Hochstein

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

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
---
 meta/recipes-graphics/xwayland/xwayland_21.1.3.bb | 1 +
 1 file changed, 1 insertion(+)

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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* RE: [PATCH] xwayland: Add xkbcomp runtime dependency
  2022-01-19 23:48 [PATCH] xwayland: Add xkbcomp runtime dependency Tom Hochstein
@ 2022-01-31 17:51 ` Tom Hochstein
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Hochstein @ 2022-01-31 17:51 UTC (permalink / raw)
  To: openembedded-core

Ping.

> -----Original Message-----
> From: Tom Hochstein
> Sent: Wednesday, January 19, 2022 5:49 PM
> To: openembedded-core@lists.openembedded.org
> Cc: Tom Hochstein <tom.hochstein@nxp.com>
> 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
> 
> Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
> ---
>  meta/recipes-graphics/xwayland/xwayland_21.1.3.bb | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/meta/recipes-graphics/xwayland/xwayland_21.1.3.bb
> b/meta/recipes-graphics/xwayland/xwayland_21.1.3.bb
> index 5d083e8ada..7ea40d9486 100644
> --- a/meta/recipes-graphics/xwayland/xwayland_21.1.3.bb
> +++ b/meta/recipes-graphics/xwayland/xwayland_21.1.3.bb
> @@ -42,3 +42,4 @@ do_install:append() {
> 
>  FILES:${PN} += "${libdir}/xorg/protocol.txt"
> 
> +RDEPENDS:${PN} += "xkbcomp"
> --
> 2.17.1



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-31 17:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-19 23:48 [PATCH] xwayland: Add xkbcomp runtime dependency Tom Hochstein
2022-01-31 17:51 ` Tom Hochstein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).