Skip to contentSkip to conversation

weston: default to launcher-seatd

PATCH In review Sean Nyekjaer 2 participants 4 messages Oct 19, 2023 – Oct 20, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 weston: default to launcher-seatd

Lets use the launcher-seatd as default, launcher-logind is "sometimes" failing to provide input events. Further more is the launcher-logind depricated in newer versions of weston.

---
 meta/recipes-graphics/wayland/weston_11.0.1.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-graphics/wayland/weston_11.0.1.bb +2 -2
index 0838791a6b..09753e7c51 100644
@@ -37,7 +37,7 @@ PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'kms wayla
                    ${@bb.utils.contains('DISTRO_FEATURES', 'x11 wayland', 'xwayland', '', d)} \
                    ${@bb.utils.filter('DISTRO_FEATURES', 'systemd x11', d)} \
                    ${@bb.utils.contains_any('DISTRO_FEATURES', 'wayland x11', '', 'headless', d)} \
-                   ${@oe.utils.conditional('VIRTUAL-RUNTIME_init_manager', 'sysvinit', 'launcher-libseat', '', d)} \
+                   launcher-libseat \
                    image-jpeg \
                    screenshare \
                    shell-desktop \
@@ -71,7 +71,7 @@ PACKAGECONFIG[lcms] = "-Dcolor-management-lcms=true,-Dcolor-management-lcms=fals
 # Weston with webp support
 PACKAGECONFIG[webp] = "-Dimage-webp=true,-Dimage-webp=false,libwebp"
 # Weston with systemd-login support
-PACKAGECONFIG[systemd] = "-Dsystemd=true -Dlauncher-logind=true,-Dsystemd=false -Dlauncher-logind=false,systemd dbus"
+PACKAGECONFIG[systemd] = "-Dsystemd=true,-Dsystemd=false,systemd dbus"
 # Weston with Xwayland support (requires X11 and Wayland)
 PACKAGECONFIG[xwayland] = "-Dxwayland=true,-Dxwayland=false,libxcb libxcursor xwayland"
 # colord CMS support
Signature · 1 line
2.42.0
#1 lore raw
Quoted 4 lines · Sean Nyekjaer

Lets use the launcher-seatd as default, launcher-logind is "sometimes" failing to provide input events. Further more is the launcher-logind depricated in newer versions of weston.

Changing behaviour is typically not allowed in stable branches.

In any event, this change would need to go into the master branch before it could be backported to stable branches. So please submit this for the master branch!

Steve

Quoted 31 lines
---
 meta/recipes-graphics/wayland/weston_11.0.1.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-graphics/wayland/weston_11.0.1.bb +2 -3
index 0838791a6b..09753e7c51 100644
@@ -37,7 +37,7 @@ PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'kms wayla
                    ${@bb.utils.contains('DISTRO_FEATURES', 'x11 wayland', 'xwayland', '', d)} \
                    ${@bb.utils.filter('DISTRO_FEATURES', 'systemd x11', d)} \
                    ${@bb.utils.contains_any('DISTRO_FEATURES', 'wayland x11', '', 'headless', d)} \
-                   ${@oe.utils.conditional('VIRTUAL-RUNTIME_init_manager', 'sysvinit', 'launcher-libseat', '', d)} \
+                   launcher-libseat \
                    image-jpeg \
                    screenshare \
                    shell-desktop \
@@ -71,7 +71,7 @@ PACKAGECONFIG[lcms] = "-Dcolor-management-lcms=true,-Dcolor-management-lcms=fals
 # Weston with webp support
 PACKAGECONFIG[webp] = "-Dimage-webp=true,-Dimage-webp=false,libwebp"
 # Weston with systemd-login support
-PACKAGECONFIG[systemd] = "-Dsystemd=true -Dlauncher-logind=true,-Dsystemd=false -Dlauncher-logind=false,systemd dbus"
+PACKAGECONFIG[systemd] = "-Dsystemd=true,-Dsystemd=false,systemd dbus"
 # Weston with Xwayland support (requires X11 and Wayland)
 PACKAGECONFIG[xwayland] = "-Dxwayland=true,-Dxwayland=false,libxcb libxcursor xwayland"
 # colord CMS support
--

2.42.0

#2 lore raw

Quoting Steve Sakoman <[email protected]>:

Quoted 6 lines · Sean Nyekjaer
Quoted 4 lines

Lets use the launcher-seatd as default, launcher-logind is "sometimes" failing to provide input events. Further more is the launcher-logind depricated in newer versions of weston.

Quoted 7 lines

Changing behaviour is typically not allowed in stable branches.

In any event, this change would need to go into the master branch before it could be backported to stable branches. So please submit this for the master branch!

Steve

Hi Steve,

It is part of the master branch be7da75 “weston: update 11.0.1 - 12.0.1”

/Sean

Quoted 41 lines
Quoted 41 lines
---
 meta/recipes-graphics/wayland/weston_11.0.1.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-graphics/wayland/weston_11.0.1.bb +0 -0
index 0838791a6b..09753e7c51 100644
@@ -37,7 +37,7 @@ PACKAGECONFIG ??=  

"${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'kms wayla

                    ${@bb.utils.contains('DISTRO_FEATURES', 'x11  
wayland', 'xwayland', '', d)} \
                    ${@bb.utils.filter('DISTRO_FEATURES', 'systemd  
x11', d)} \
                    ${@bb.utils.contains_any('DISTRO_FEATURES',  

'wayland x11', '', 'headless', d)} \
-
${@oe.utils.conditional('VIRTUAL-RUNTIME_init_manager', 'sysvinit', 'launcher-libseat', '', d)} \

meta/recipes-graphics/wayland/weston_11.0.1.bb +1 -0
+                   launcher-libseat \
                    image-jpeg \
                    screenshare \
                    shell-desktop \
@@ -71,7 +71,7 @@ PACKAGECONFIG[lcms] =  

"-Dcolor-management-lcms=true,-Dcolor-management-lcms=fals
# Weston with webp support
PACKAGECONFIG[webp] = "-Dimage-webp=true,-Dimage-webp=false,libwebp" # Weston with systemd-login support

meta/recipes-graphics/wayland/weston_11.0.1.bb +1 -3
-PACKAGECONFIG[systemd] = "-Dsystemd=true  
-Dlauncher-logind=true,-Dsystemd=false  
-Dlauncher-logind=false,systemd dbus"
+PACKAGECONFIG[systemd] = "-Dsystemd=true,-Dsystemd=false,systemd dbus"
 # Weston with Xwayland support (requires X11 and Wayland)
 PACKAGECONFIG[xwayland] = "-Dxwayland=true,-Dxwayland=false,libxcb  

libxcursor xwayland"

 # colord CMS support
--
2.42.0
#3 lore raw
Quoted 15 lines · On Fri, Oct 20, 2023 at 7:26 AM <[email protected]> wrote:

Quoting Steve Sakoman <[email protected]>:

Quoted 12 lines · Sean Nyekjaer
Quoted 4 lines

Lets use the launcher-seatd as default, launcher-logind is "sometimes" failing to provide input events. Further more is the launcher-logind depricated in newer versions of weston.

Changing behaviour is typically not allowed in stable branches.

In any event, this change would need to go into the master branch before it could be backported to stable branches. So please submit this for the master branch!

Quoted 5 lines
Quoted 1 line

Steve

Hi Steve,

It is part of the master branch be7da75 “weston: update 11.0.1 - 12.0.1”

OK, then no need to submit for master :-)

I'm still not able to take this for mickledore though, since it would cause a behaviour change for people already shipping product with mickledore.

Steve

Quoted 44 lines
Quoted 41 lines
Quoted 41 lines
---
 meta/recipes-graphics/wayland/weston_11.0.1.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-graphics/wayland/weston_11.0.1.bb +0 -0
index 0838791a6b..09753e7c51 100644
@@ -37,7 +37,7 @@ PACKAGECONFIG ??=

"${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'kms wayla

                    ${@bb.utils.contains('DISTRO_FEATURES', 'x11
wayland', 'xwayland', '', d)} \
                    ${@bb.utils.filter('DISTRO_FEATURES', 'systemd
x11', d)} \
                    ${@bb.utils.contains_any('DISTRO_FEATURES',

'wayland x11', '', 'headless', d)} \
- ${@oe.utils.conditional('VIRTUAL-RUNTIME_init_manager', 'sysvinit', 'launcher-libseat', '', d)} \

meta/recipes-graphics/wayland/weston_11.0.1.bb +1 -0
+                   launcher-libseat \
                    image-jpeg \
                    screenshare \
                    shell-desktop \
@@ -71,7 +71,7 @@ PACKAGECONFIG[lcms] =

"-Dcolor-management-lcms=true,-Dcolor-management-lcms=fals
# Weston with webp support
PACKAGECONFIG[webp] = "-Dimage-webp=true,-Dimage-webp=false,libwebp" # Weston with systemd-login support

meta/recipes-graphics/wayland/weston_11.0.1.bb +1 -3
-PACKAGECONFIG[systemd] = "-Dsystemd=true
-Dlauncher-logind=true,-Dsystemd=false
-Dlauncher-logind=false,systemd dbus"
+PACKAGECONFIG[systemd] = "-Dsystemd=true,-Dsystemd=false,systemd dbus"
 # Weston with Xwayland support (requires X11 and Wayland)
 PACKAGECONFIG[xwayland] = "-Dxwayland=true,-Dxwayland=false,libxcb

libxcursor xwayland"

 # colord CMS support
--
2.42.0