mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 02:50:46 +00:00
xfce4-session: Add x-session-manager alternative
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Martin Jansa
parent
334f77d587
commit
1f425a0658
@@ -5,9 +5,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=9ac2e7cff1ddaf48b6eab6028f23ef88"
|
||||
DEPENDS = "virtual/libx11 libsm libxfce4util libxfce4ui gtk+ libwnck dbus dbus-glib xfconf"
|
||||
DEPENDS += "${@base_contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}"
|
||||
RDEPENDS_${PN} = "netbase xinit dbus-x11 iceauth consolekit upower"
|
||||
PR = "r5"
|
||||
PR = "r6"
|
||||
|
||||
inherit xfce
|
||||
inherit xfce update-alternatives
|
||||
|
||||
SRC_URI[md5sum] = "4768e1a41a0287af6aad18b329a0f230"
|
||||
SRC_URI[sha256sum] = "bb8aa9a74c3d382840596fb4875144d66c7f3f47c8e9ee81d31e3428a72c46ce"
|
||||
@@ -17,6 +17,9 @@ SRC_URI += "file://0001-Handle-multiple-interactive-session-save-bug-5379.patch
|
||||
file://0001-Add-shutdown-reboot-functionality-for-systemd-bug-87.patch \
|
||||
"
|
||||
|
||||
ALTERNATIVE_${PN} = "x-session-manager"
|
||||
ALTERNATIVE_TARGET[x-session-manager] = "${bindir}/xfce4-session"
|
||||
|
||||
# protect from frightening message that xfce might not work correctly
|
||||
pkg_postinst_${PN} () {
|
||||
echo 127.0.0.1 ${MACHINE} >> /etc/hosts
|
||||
|
||||
Reference in New Issue
Block a user