All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] [honister][PATCH]weston-init: when x11 is enabled set xwayland=true
@ 2022-06-07 11:54 Süsens, Sebastian
  2022-06-07 13:51 ` [poky] " Alexander Kanavin
  0 siblings, 1 reply; 5+ messages in thread
From: Süsens, Sebastian @ 2022-06-07 11:54 UTC (permalink / raw)
  To: poky

[-- Attachment #1: Type: text/plain, Size: 1218 bytes --]

When weston is build with x11 support xwayland is also build.
To get xwayland support in weston xwayland has to be enabled via weston.ini file.

This patch enable xwayland support in weston.

From 583bce5a1f5de91306bee5dbd914de577519247a Mon Sep 17 00:00:00 2001
From: ssuesens <sebastian.suesens@baslerweb.com>
Date: Tue, 7 Jun 2022 11:47:27 +0000
Subject: [PATCH] [honister][PATCH]weston-init: when x11 is enabled set
xwayland=true

Signed-off-by: ssuesens <sebastian.suesens@baslerweb.com>
---
meta/recipes-graphics/wayland/weston-init.bb | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/meta/recipes-graphics/wayland/weston-init.bb b/meta/recipes-graphics/wayland/weston-init.bb
index e02da0c358..51b634cb5c 100644
--- a/meta/recipes-graphics/wayland/weston-init.bb
+++ b/meta/recipes-graphics/wayland/weston-init.bb
@@ -57,6 +57,10 @@ do_install() {
sed -i -e "/^\[core\]/a idle-time=0" ${D}${sysconfdir}/xdg/weston/weston.ini
fi

+ if [ "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'yes', 'no', d)}" = "yes" ]; then
+ sed -i -e "/^\[core\]/a xwayland=true" ${D}${sysconfdir}/xdg/weston/weston.ini
+ fi
+
install -dm 755 -o weston -g weston ${D}/home/weston
}

--
2.25.1

[-- Attachment #2: Type: text/html, Size: 1867 bytes --]

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

* Re: [poky] [PATCH] [honister][PATCH]weston-init: when x11 is enabled set xwayland=true
  2022-06-07 11:54 [PATCH] [honister][PATCH]weston-init: when x11 is enabled set xwayland=true Süsens, Sebastian
@ 2022-06-07 13:51 ` Alexander Kanavin
  2022-06-07 14:49   ` Süsens, Sebastian
  2022-06-10  6:27   ` Süsens, Sebastian
  0 siblings, 2 replies; 5+ messages in thread
From: Alexander Kanavin @ 2022-06-07 13:51 UTC (permalink / raw)
  To: Sebastian.Suesens; +Cc: poky

This needs to go to oe-core list; also should this go to master branch
first? Can you provide a test that fails without the patch and
succeeds with it? (see weston test in meta/lib/oeqa/runtime/cases)

Alex

On Tue, 7 Jun 2022 at 13:54, Süsens, Sebastian via
lists.yoctoproject.org
<Sebastian.Suesens=baslerweb.com@lists.yoctoproject.org> wrote:
>
> When weston is build with x11 support xwayland is also build.
> To get xwayland support in weston xwayland has to be enabled via weston.ini file.
>
> This patch enable xwayland support in weston.
>
> From 583bce5a1f5de91306bee5dbd914de577519247a Mon Sep 17 00:00:00 2001
> From: ssuesens <sebastian.suesens@baslerweb.com>
> Date: Tue, 7 Jun 2022 11:47:27 +0000
> Subject: [PATCH] [honister][PATCH]weston-init: when x11 is enabled set
>  xwayland=true
>
> Signed-off-by: ssuesens <sebastian.suesens@baslerweb.com>
> ---
>  meta/recipes-graphics/wayland/weston-init.bb | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/meta/recipes-graphics/wayland/weston-init.bb b/meta/recipes-graphics/wayland/weston-init.bb
> index e02da0c358..51b634cb5c 100644
> --- a/meta/recipes-graphics/wayland/weston-init.bb
> +++ b/meta/recipes-graphics/wayland/weston-init.bb
> @@ -57,6 +57,10 @@ do_install() {
>   sed -i -e "/^\[core\]/a idle-time=0" ${D}${sysconfdir}/xdg/weston/weston.ini
>   fi
>
> + if [ "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'yes', 'no', d)}" = "yes" ]; then
> + sed -i -e "/^\[core\]/a xwayland=true" ${D}${sysconfdir}/xdg/weston/weston.ini
> + fi
> +
>   install -dm 755 -o weston -g weston ${D}/home/weston
>  }
>
> --
> 2.25.1
>
> 
>

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

* Re: [PATCH] [honister][PATCH]weston-init: when x11 is enabled set xwayland=true
  2022-06-07 13:51 ` [poky] " Alexander Kanavin
@ 2022-06-07 14:49   ` Süsens, Sebastian
  2022-06-07 14:52     ` [poky] " Alexander Kanavin
  2022-06-10  6:27   ` Süsens, Sebastian
  1 sibling, 1 reply; 5+ messages in thread
From: Süsens, Sebastian @ 2022-06-07 14:49 UTC (permalink / raw)
  To: poky

[-- Attachment #1: Type: text/plain, Size: 95 bytes --]

Hey Alex,

where can I find a description how to test weston like you suggest?

Sebastian

[-- Attachment #2: Type: text/html, Size: 117 bytes --]

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

* Re: [poky] [PATCH] [honister][PATCH]weston-init: when x11 is enabled set xwayland=true
  2022-06-07 14:49   ` Süsens, Sebastian
@ 2022-06-07 14:52     ` Alexander Kanavin
  0 siblings, 0 replies; 5+ messages in thread
From: Alexander Kanavin @ 2022-06-07 14:52 UTC (permalink / raw)
  To: Sebastian.Suesens; +Cc: poky

You need to read weston tests in meta/lib/oeqa/runtime/cases, then
execute them like this (build for the qemux86-64 machine):
bitbake -c testimage core-image-weston

Alex

On Tue, 7 Jun 2022 at 16:49, Süsens, Sebastian via
lists.yoctoproject.org
<Sebastian.Suesens=baslerweb.com@lists.yoctoproject.org> wrote:
>
> Hey Alex,
>
> where can I find a description how to test weston like you suggest?
>
> Sebastian
> 
>

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

* Re: [PATCH] [honister][PATCH]weston-init: when x11 is enabled set xwayland=true
  2022-06-07 13:51 ` [poky] " Alexander Kanavin
  2022-06-07 14:49   ` Süsens, Sebastian
@ 2022-06-10  6:27   ` Süsens, Sebastian
  1 sibling, 0 replies; 5+ messages in thread
From: Süsens, Sebastian @ 2022-06-10  6:27 UTC (permalink / raw)
  To: poky

[-- Attachment #1: Type: text/plain, Size: 206 bytes --]

Hello Alex,

how shall I test xwayland support?

My proposal is to install xterm on the image and test the return value.

What does you think?
Perhaps you have a better idea.

Regards,
Sebastian

[-- Attachment #2: Type: text/html, Size: 246 bytes --]

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

end of thread, other threads:[~2022-06-10  6:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-07 11:54 [PATCH] [honister][PATCH]weston-init: when x11 is enabled set xwayland=true Süsens, Sebastian
2022-06-07 13:51 ` [poky] " Alexander Kanavin
2022-06-07 14:49   ` Süsens, Sebastian
2022-06-07 14:52     ` [poky] " Alexander Kanavin
2022-06-10  6:27   ` Süsens, Sebastian

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.