[oe] [meta-xfce PATCH] xfce4-session: Add x-session-manager alternative

Andreas Müller schnitzeltony at googlemail.com
Tue Apr 16 21:42:14 UTC 2013


On Sat, Apr 13, 2013 at 7:13 PM, Otavio Salvador
<otavio at ossystems.com.br> wrote:
> Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
> ---
>  meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.10.0.bb | 7 +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)
>
> diff --git a/meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.10.0.bb b/meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.10.0.bb
> index 6ad834d..d00e466 100644
> --- a/meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.10.0.bb
> +++ b/meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.10.0.bb
> @@ -4,9 +4,9 @@ LICENSE = "GPLv2"
>  LIC_FILES_CHKSUM = "file://COPYING;md5=9ac2e7cff1ddaf48b6eab6028f23ef88"
>  DEPENDS = "virtual/libx11 libsm libxfce4util libxfce4ui gtk+ libwnck dbus dbus-glib xfconf"
>  RDEPENDS_${PN} = "netbase xinit dbus-x11 iceauth consolekit upower"
> -PR = "r2"
> +PR = "r3"
>
> -inherit xfce
> +inherit xfce update-alternatives
>
>  SRC_URI[md5sum] = "4768e1a41a0287af6aad18b329a0f230"
>  SRC_URI[sha256sum] = "bb8aa9a74c3d382840596fb4875144d66c7f3f47c8e9ee81d31e3428a72c46ce"
> @@ -15,6 +15,9 @@ SRC_URI += "file://0001-Handle-multiple-interactive-session-save-bug-5379.patch
>              file://0003-configure.in-hard-code-path-to-iceauth.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
> --
> 1.8.1
>
Hi Otavio,

As pure xfce user I never had a thought about this. I have no time to
test but I think it looks fine and should go in. Not sure if it still
applies...

Andreas




More information about the Openembedded-devel mailing list