Patchwork [meta-xfce] xfce4-session: Take the precedence over mini-x-session

login
register
mail settings
Submitter Adam YH Lee
Date April 7, 2014, 9:30 p.m.
Message ID <1396906203-25158-1-git-send-email-adam.yh.lee@gmail.com>
Download mbox | patch
Permalink /patch/70221/
State Accepted, archived
Headers show

Comments

Adam YH Lee - April 7, 2014, 9:30 p.m.
If x11-base is included in the image, XFCE4 session does not correctly
start because mini-x-session has higher priority at 50.
---
 .../xfce4-session/xfce4-session_4.10.1.bb          |    1 +
 1 file changed, 1 insertion(+)
Martin Jansa - April 20, 2014, 11:46 a.m.
On Mon, Apr 07, 2014 at 02:30:03PM -0700, Adam YH Lee wrote:
> If x11-base is included in the image, XFCE4 session does not correctly
> start because mini-x-session has higher priority at 50.

Merged, thanks!

> ---
>  .../xfce4-session/xfce4-session_4.10.1.bb          |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.10.1.bb b/meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.10.1.bb
> index f7aec5e..74289fb 100644
> --- a/meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.10.1.bb
> +++ b/meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.10.1.bb
> @@ -15,6 +15,7 @@ SRC_URI += " \
>  
>  ALTERNATIVE_${PN} = "x-session-manager"
>  ALTERNATIVE_TARGET[x-session-manager] = "${bindir}/xfce4-session"
> +ALTERNATIVE_PRIORITY_${PN} = "100"
>  
>  # protect from frightening message that xfce might not work correctly
>  pkg_postinst_${PN} () {
> -- 
> 1.7.9.5
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Patch

diff --git a/meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.10.1.bb b/meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.10.1.bb
index f7aec5e..74289fb 100644
--- a/meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.10.1.bb
+++ b/meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.10.1.bb
@@ -15,6 +15,7 @@  SRC_URI += " \
 
 ALTERNATIVE_${PN} = "x-session-manager"
 ALTERNATIVE_TARGET[x-session-manager] = "${bindir}/xfce4-session"
+ALTERNATIVE_PRIORITY_${PN} = "100"
 
 # protect from frightening message that xfce might not work correctly
 pkg_postinst_${PN} () {