summaryrefslogtreecommitdiffstats
path: root/meta/packages/matchbox-sato/matchbox-sato_0.1.bb
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2008-04-09 10:32:10 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2008-04-09 10:32:10 +0000
commitc9ecfc0f2ec2438df7bd0a20d6d8b1a6acdd6af7 (patch)
treee10b957679b070e493046746304a3ef65aaf1b2f /meta/packages/matchbox-sato/matchbox-sato_0.1.bb
parentac82765a4b5cbab72ec5b8de4e1ae9354dc389c3 (diff)
downloadpoky-c9ecfc0f2ec2438df7bd0a20d6d8b1a6acdd6af7.tar.gz
matchbox-session-sato: start Sato components
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4216 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/matchbox-sato/matchbox-sato_0.1.bb')
-rw-r--r--meta/packages/matchbox-sato/matchbox-sato_0.1.bb45
1 files changed, 0 insertions, 45 deletions
diff --git a/meta/packages/matchbox-sato/matchbox-sato_0.1.bb b/meta/packages/matchbox-sato/matchbox-sato_0.1.bb
deleted file mode 100644
index b8d6d7151a..0000000000
--- a/meta/packages/matchbox-sato/matchbox-sato_0.1.bb
+++ /dev/null
@@ -1,45 +0,0 @@
1DESCRIPTION = "Custom MB session files for poky"
2LICENSE = "GPL"
3SECTION = "x11"
4RDEPENDS = "formfactor gtk-sato-engine matchbox-theme-sato gtk-theme-sato matchbox-panel-2 matchbox-desktop-sato initscripts"
5RCONFLICTS = "matchbox-common"
6PR = "r21"
7
8SRC_URI = "file://etc file://matchbox-session"
9S = ${WORKDIR}
10
11inherit update-alternatives
12
13ALTERNATIVE_NAME = "x-session-manager"
14ALTERNATIVE_LINK = "${bindir}/x-session-manager"
15ALTERNATIVE_PATH = "${bindir}/matchbox-session"
16ALTERNATIVE_PRIORITY = "10"
17
18do_install() {
19 install -d ${D}/${bindir}
20 install -m 0755 ${S}/matchbox-session ${D}/${bindir}
21 cp -R ${S}/etc ${D}/etc
22 rm -fR ${D}/etc/.svn
23 rm -fR ${D}/etc/matchbox/.svn
24 chmod -R 755 ${D}/etc
25}
26
27pkg_postinst_matchbox-sato () {
28#!/bin/sh -e
29if [ "x$D" != "x" ]; then
30 exit 1
31fi
32
33. ${sysconfdir}/init.d/functions
34
35gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type string --set /desktop/poky/interface/theme Sato
36gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type string --set /desktop/poky/interface/icon_theme Sato
37gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type bool --set /desktop/poky/interface/touchscreen true
38
39if [ "`cpuinfo_id`" = "GTA01" ]
40then
41 gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type string --set /desktop/poky/interface/font_name "Sans 6"
42else
43 gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type string --set /desktop/poky/interface/font_name "Sans 9"
44fi
45}