xfce4-session: Make libpam and systemd dependencies conditional
Please ignore it.
Quoted 43 lines · On 4/23/2026 11:17 AM, [email protected] via lists.openembedded.org…
From: Wenlin Kang <[email protected]>
libpam and systemd require the settings below:
INIT_MANAGER= "systemd" DISTRO_FEATURES:append = " pam systemd usrmerge"So remove hardcoded libpam and systemd dependencies from DEPENDS. Add conditional logic to include these dependencies only when the corresponding
DISTRO_FEATURESare enabled.Signed-off-by Wenlin Kang <[email protected]>--- .../xfce4-screensaver/xfce4-screensaver_4.20.2.bb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)meta-xfce/recipes-apps/xfce4-screensaver/xfce4-screensaver_4.20.2.bb +7
-2@@ -10,7 +10,13 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ XFCE_COMPRESS_TYPE = "xz" XFCEBASEBUILDCLASS = "meson" -DEPENDS = "dbus-glib garcon gtk+3 libxklavier libxscrnsaver virtual/libx11 xfconf libwnck3 libpam systemd" +DEPENDS = "dbus-glib garcon gtk+3 libxklavier libxscrnsaver virtual/libx11 xfconf libwnck3" + +EXTRA_OEMESON += "${@bb.utils.contains('DISTRO_FEATURES', 'pam', '', '-Dauthentication-scheme=none', d)}" +DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" + +EXTRA_OEMESON += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '', '-Dsession-manager=none', d)}" +DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" inherit xfce-app -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to this group.
View/Reply Online (#126567): https://lists.openembedded.org/g/openembedded-devel/message/126567
Mute This Topic: https://lists.openembedded.org/mt/118966722/3617706
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-