Skip to contentSkip to conversation

xfce4-session: update for emptty

PATCH New [email protected] 1 participant 1 message Mar 10

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xfce4-session: update for emptty

From: Randolph Sapp <[email protected]>

The x-session-manager alternative link has been removed. Instead a distro should choose what the default session is by using the DEFAULT_SESSION variable of xserver-nodm-init.

If the default session cannot be found the user will be presented with a menu to pick the session themselves. This relies on the xsession and wayland-sessions desktop entries, which XFCE already provides.

---

Sending this now that emptty has been picked up on oe-core's master-next branch.

 .../recipes-xfce/xfce4-session/xfce4-session_4.20.3.bb      | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.20.3.bb +1 -5
index af7ab98ae5..3690078daf 100644
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 
 DEPENDS = "libwnck3 libsm libxfce4ui libxfce4windowing virtual/libx11"
 
-inherit xfce update-alternatives features_check
+inherit xfce features_check
 
 SRC_URI += "file://0001-configure.in-hard-code-path-to-iceauth.patch"
 SRC_URI[sha256sum] = "dbf00672c5316a30b7001fe852e6a5ba9f889afeab8a247545a160d4302f1fa2"
@@ -19,10 +19,6 @@ PACKAGECONFIG[polkit] = "--enable-polkit, --disable-polkit, polkit"
 EXTRA_OECONF = "GDBUS_CODEGEN=${STAGING_BINDIR_NATIVE}/gdbus-codegen \
                 GLIB_COMPILE_RESOURCES=${STAGING_BINDIR_NATIVE}/glib-compile-resources"
 
-ALTERNATIVE:${PN} = "x-session-manager"
-ALTERNATIVE_TARGET[x-session-manager] = "${bindir}/xfce4-session"
-ALTERNATIVE_PRIORITY_${PN} = "150"
-
 FILES:${PN} += " \
     ${libdir}/xfce4/*/*/*.so \
     ${libdir}/xfce4/session/*-*-* \

--
2.53.0