summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/matchbox-session
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2015-10-09 22:59:03 +0200
committerTudor Florea <tudor.florea@enea.com>2015-10-09 22:59:03 +0200
commit972dcfcdbfe75dcfeb777150c136576cf1a71e99 (patch)
tree97a61cd7e293d7ae9d56ef7ed0f81253365bb026 /meta/recipes-graphics/matchbox-session
downloadpoky-972dcfcdbfe75dcfeb777150c136576cf1a71e99.tar.gz
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/recipes-graphics/matchbox-session')
-rw-r--r--meta/recipes-graphics/matchbox-session/matchbox-session/matchbox-session24
-rw-r--r--meta/recipes-graphics/matchbox-session/matchbox-session_0.1.bb25
2 files changed, 49 insertions, 0 deletions
diff --git a/meta/recipes-graphics/matchbox-session/matchbox-session/matchbox-session b/meta/recipes-graphics/matchbox-session/matchbox-session/matchbox-session
new file mode 100644
index 0000000000..4d6caa0c5a
--- /dev/null
+++ b/meta/recipes-graphics/matchbox-session/matchbox-session/matchbox-session
@@ -0,0 +1,24 @@
1#!/bin/sh
2#
3# Very simple session manager for matchbox tools
4#
5
6# Uncomment below to enable parsing of debian menu entrys
7# export MB_USE_DEB_MENUS=1
8
9if [ -e $HOME/.matchbox/session ]
10then
11exec $HOME/.matchbox/session
12fi
13
14if [ -e /etc/matchbox/session ]
15then
16exec /etc/matchbox/session
17fi
18
19# Default files to run if $HOME/.matchbox/session or /etc/matchbox/session
20# dont exist.
21
22matchbox-desktop &
23matchbox-panel &
24exec matchbox-window-manager $@
diff --git a/meta/recipes-graphics/matchbox-session/matchbox-session_0.1.bb b/meta/recipes-graphics/matchbox-session/matchbox-session_0.1.bb
new file mode 100644
index 0000000000..cbaf054365
--- /dev/null
+++ b/meta/recipes-graphics/matchbox-session/matchbox-session_0.1.bb
@@ -0,0 +1,25 @@
1SUMMARY = "Custom Matchbox session files"
2HOMEPAGE = "http://www.matchbox-project.org/"
3BUGTRACKER = "http://bugzilla.yoctoproject.org/"
4
5LICENSE = "GPLv2"
6LIC_FILES_CHKSUM = "file://matchbox-session;endline=20;md5=180f1c169a15d059a56c30094f6fb5ea"
7
8SECTION = "x11"
9RCONFLICTS_${PN} = "matchbox-common"
10
11SRC_URI = "file://matchbox-session"
12S = "${WORKDIR}"
13
14PR = "r4"
15
16inherit update-alternatives
17
18ALTERNATIVE_${PN} = "x-session-manager"
19ALTERNATIVE_TARGET[x-session-manager] = "${bindir}/matchbox-session"
20ALTERNATIVE_PRIORITY = "100"
21
22do_install() {
23 install -d ${D}/${bindir}
24 install -m 0755 ${S}/matchbox-session ${D}/${bindir}
25}