diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-04-09 10:32:10 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-04-09 10:32:10 +0000 |
commit | c9ecfc0f2ec2438df7bd0a20d6d8b1a6acdd6af7 (patch) | |
tree | e10b957679b070e493046746304a3ef65aaf1b2f /meta/packages/matchbox-sato/matchbox-sato_0.1.bb | |
parent | ac82765a4b5cbab72ec5b8de4e1ae9354dc389c3 (diff) | |
download | poky-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.bb | 45 |
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 @@ | |||
1 | DESCRIPTION = "Custom MB session files for poky" | ||
2 | LICENSE = "GPL" | ||
3 | SECTION = "x11" | ||
4 | RDEPENDS = "formfactor gtk-sato-engine matchbox-theme-sato gtk-theme-sato matchbox-panel-2 matchbox-desktop-sato initscripts" | ||
5 | RCONFLICTS = "matchbox-common" | ||
6 | PR = "r21" | ||
7 | |||
8 | SRC_URI = "file://etc file://matchbox-session" | ||
9 | S = ${WORKDIR} | ||
10 | |||
11 | inherit update-alternatives | ||
12 | |||
13 | ALTERNATIVE_NAME = "x-session-manager" | ||
14 | ALTERNATIVE_LINK = "${bindir}/x-session-manager" | ||
15 | ALTERNATIVE_PATH = "${bindir}/matchbox-session" | ||
16 | ALTERNATIVE_PRIORITY = "10" | ||
17 | |||
18 | do_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 | |||
27 | pkg_postinst_matchbox-sato () { | ||
28 | #!/bin/sh -e | ||
29 | if [ "x$D" != "x" ]; then | ||
30 | exit 1 | ||
31 | fi | ||
32 | |||
33 | . ${sysconfdir}/init.d/functions | ||
34 | |||
35 | gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type string --set /desktop/poky/interface/theme Sato | ||
36 | gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type string --set /desktop/poky/interface/icon_theme Sato | ||
37 | gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type bool --set /desktop/poky/interface/touchscreen true | ||
38 | |||
39 | if [ "`cpuinfo_id`" = "GTA01" ] | ||
40 | then | ||
41 | gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type string --set /desktop/poky/interface/font_name "Sans 6" | ||
42 | else | ||
43 | gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type string --set /desktop/poky/interface/font_name "Sans 9" | ||
44 | fi | ||
45 | } | ||