diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
commit | 972dcfcdbfe75dcfeb777150c136576cf1a71e99 (patch) | |
tree | 97a61cd7e293d7ae9d56ef7ed0f81253365bb026 /meta/recipes-graphics/matchbox-session | |
download | poky-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-session | 24 | ||||
-rw-r--r-- | meta/recipes-graphics/matchbox-session/matchbox-session_0.1.bb | 25 |
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 | |||
9 | if [ -e $HOME/.matchbox/session ] | ||
10 | then | ||
11 | exec $HOME/.matchbox/session | ||
12 | fi | ||
13 | |||
14 | if [ -e /etc/matchbox/session ] | ||
15 | then | ||
16 | exec /etc/matchbox/session | ||
17 | fi | ||
18 | |||
19 | # Default files to run if $HOME/.matchbox/session or /etc/matchbox/session | ||
20 | # dont exist. | ||
21 | |||
22 | matchbox-desktop & | ||
23 | matchbox-panel & | ||
24 | exec 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 @@ | |||
1 | SUMMARY = "Custom Matchbox session files" | ||
2 | HOMEPAGE = "http://www.matchbox-project.org/" | ||
3 | BUGTRACKER = "http://bugzilla.yoctoproject.org/" | ||
4 | |||
5 | LICENSE = "GPLv2" | ||
6 | LIC_FILES_CHKSUM = "file://matchbox-session;endline=20;md5=180f1c169a15d059a56c30094f6fb5ea" | ||
7 | |||
8 | SECTION = "x11" | ||
9 | RCONFLICTS_${PN} = "matchbox-common" | ||
10 | |||
11 | SRC_URI = "file://matchbox-session" | ||
12 | S = "${WORKDIR}" | ||
13 | |||
14 | PR = "r4" | ||
15 | |||
16 | inherit update-alternatives | ||
17 | |||
18 | ALTERNATIVE_${PN} = "x-session-manager" | ||
19 | ALTERNATIVE_TARGET[x-session-manager] = "${bindir}/matchbox-session" | ||
20 | ALTERNATIVE_PRIORITY = "100" | ||
21 | |||
22 | do_install() { | ||
23 | install -d ${D}/${bindir} | ||
24 | install -m 0755 ${S}/matchbox-session ${D}/${bindir} | ||
25 | } | ||