mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
matchbox-session-sato: start Sato components
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4216 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -1,24 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
#
|
|
||||||
# Very simple session manager for matchbox tools
|
|
||||||
#
|
|
||||||
|
|
||||||
# Uncomment below to enable parsing of debian menu entrys
|
|
||||||
# export MB_USE_DEB_MENUS=1
|
|
||||||
|
|
||||||
if [ -e $HOME/.matchbox/session ]
|
|
||||||
then
|
|
||||||
exec $HOME/.matchbox/session
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -e /etc/matchbox/session ]
|
|
||||||
then
|
|
||||||
exec /etc/matchbox/session
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Default files to run if $HOME/.matchbox/session or /etc/matchbox/session
|
|
||||||
# dont exist.
|
|
||||||
|
|
||||||
matchbox-desktop &
|
|
||||||
matchbox-panel &
|
|
||||||
exec matchbox-window-manager $@
|
|
||||||
Executable → Regular
+6
-18
@@ -1,27 +1,15 @@
|
|||||||
DESCRIPTION = "Custom MB session files for poky"
|
DESCRIPTION = "Custom MB session files for poky"
|
||||||
LICENSE = "GPL"
|
LICENSE = "GPL"
|
||||||
SECTION = "x11"
|
SECTION = "x11"
|
||||||
RDEPENDS = "formfactor gtk-sato-engine matchbox-theme-sato gtk-theme-sato matchbox-panel-2 matchbox-desktop-sato initscripts"
|
RDEPENDS = "formfactor gtk-sato-engine matchbox-theme-sato gtk-theme-sato matchbox-panel-2 matchbox-desktop-sato initscripts matchbox-session"
|
||||||
RCONFLICTS = "matchbox-common"
|
PR = "r22"
|
||||||
PR = "r21"
|
|
||||||
|
|
||||||
SRC_URI = "file://etc file://matchbox-session"
|
SRC_URI = "file://session"
|
||||||
S = ${WORKDIR}
|
S = "${WORKDIR}"
|
||||||
|
|
||||||
inherit update-alternatives
|
|
||||||
|
|
||||||
ALTERNATIVE_NAME = "x-session-manager"
|
|
||||||
ALTERNATIVE_LINK = "${bindir}/x-session-manager"
|
|
||||||
ALTERNATIVE_PATH = "${bindir}/matchbox-session"
|
|
||||||
ALTERNATIVE_PRIORITY = "10"
|
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
install -d ${D}/${bindir}
|
install -d ${D}/${sysconfdir}/matchbox
|
||||||
install -m 0755 ${S}/matchbox-session ${D}/${bindir}
|
install -m 0755 ${S}/session ${D}/${sysconfdir}/matchbox/
|
||||||
cp -R ${S}/etc ${D}/etc
|
|
||||||
rm -fR ${D}/etc/.svn
|
|
||||||
rm -fR ${D}/etc/matchbox/.svn
|
|
||||||
chmod -R 755 ${D}/etc
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_postinst_matchbox-sato () {
|
pkg_postinst_matchbox-sato () {
|
||||||
Reference in New Issue
Block a user