[oe-commits] [meta-openembedded] 70/95: openbox: Improve handling of openbox-session / gnome-openbox-session

git at git.openembedded.org git at git.openembedded.org
Sun Mar 18 02:36:12 UTC 2018


This is an automated email from the git hooks/post-receive script.

armin_kuster pushed a commit to branch stagging/master-next
in repository meta-openembedded.

commit ca24932478837ad461639dfe227b2a59aa3bdc5d
Author: Tom Rini <trini at konsulko.com>
AuthorDate: Tue Mar 6 17:58:47 2018 -0500

    openbox: Improve handling of openbox-session / gnome-openbox-session
    
    Without providing an alternative for x-session-manager we cannot drop
    openbox into the standard x11 images and have openbox take over as the
    session manager.  Add openbox-session to ${PN}-core as well as an
    ALTERNATIVE line for it.  Set the priority based on how other session
    managers do this.  As we also have openbox-gnome-session move this from
    the full package and in to ${PN}-gnome.
    
    Cc: Andreas Müller <schnitzeltony at googlemail.com>
    Signed-off-by: Tom Rini <trini at konsulko.com>
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 meta-oe/recipes-graphics/openbox/openbox_3.6.1.bb | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-graphics/openbox/openbox_3.6.1.bb b/meta-oe/recipes-graphics/openbox/openbox_3.6.1.bb
index b354ae7..c35a0c7 100644
--- a/meta-oe/recipes-graphics/openbox/openbox_3.6.1.bb
+++ b/meta-oe/recipes-graphics/openbox/openbox_3.6.1.bb
@@ -16,9 +16,11 @@ inherit autotools gettext update-alternatives pkgconfig distro_features_check
 # depends on virtual/libx11
 REQUIRED_DISTRO_FEATURES = "x11"
 
-ALTERNATIVE_${PN}-core = "x-window-manager"
+ALTERNATIVE_${PN}-core = "x-window-manager x-session-manager"
 ALTERNATIVE_TARGET[x-window-manager] = "${bindir}/openbox"
 ALTERNATIVE_PRIORITY[x-window-manager] = "10"
+ALTERNATIVE_TARGET[x-session-manager] = "${bindir}/openbox-session"
+ALTERNATIVE_PRIORITY[x-session-manager] = "100"
 
 PACKAGECONFIG ??= ""
 PACKAGECONFIG[imlib2] = "--enable-imlib2,--disable-imlib2,imlib2"
@@ -38,7 +40,7 @@ python populate_packages_prepend() {
 }
 
 RDEPENDS_${PN} += "${PN}-core ${PN}-config ${PN}-theme-clearlooks"
-FILES_${PN}-core = "${bindir}/openbox ${libdir}/*${SOLIBS}"
+FILES_${PN}-core = "${bindir}/openbox ${bindir}/openbox-session ${libdir}/*${SOLIBS}"
 
 FILES_${PN}-lxde += "${datadir}/lxde/ \
                      ${datadir}/lxpanel \
@@ -46,6 +48,7 @@ FILES_${PN}-lxde += "${datadir}/lxde/ \
                      ${datadir}/icons"
 
 FILES_${PN}-gnome += " \
+    ${bindir}/openbox-gnome-session \
     ${datadir}/gnome \
     ${datadir}/gnome-session \
 "

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list