diff options
author | Richard Purdie <richard@openedhand.com> | 2007-08-14 12:34:51 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-08-14 12:34:51 +0000 |
commit | da5f93acafbdd3d74488945db29782f757d35d49 (patch) | |
tree | 2add49a5f28d35914f37e315e9c6de477a5c8f75 /meta-openmoko/packages/openmoko2/openmoko-session2.bb | |
parent | fd817142ba52cd0b15d5836112ead2fb00b7f4c4 (diff) | |
download | openembedded-core-da5f93acafbdd3d74488945db29782f757d35d49.tar.gz openembedded-core-da5f93acafbdd3d74488945db29782f757d35d49.tar.bz2 openembedded-core-da5f93acafbdd3d74488945db29782f757d35d49.zip |
Add meta-openmoko
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2492 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta-openmoko/packages/openmoko2/openmoko-session2.bb')
-rw-r--r-- | meta-openmoko/packages/openmoko2/openmoko-session2.bb | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-openmoko/packages/openmoko2/openmoko-session2.bb b/meta-openmoko/packages/openmoko2/openmoko-session2.bb new file mode 100644 index 0000000000..38a560461d --- /dev/null +++ b/meta-openmoko/packages/openmoko2/openmoko-session2.bb @@ -0,0 +1,30 @@ +DESCRIPTION = "Custom MB session files for poky" +LICENSE = "GPL" +SECTION = "x11" +RDEPENDS = "matchbox-applet-startup-monitor gtk-sato-engine matchbox-theme-sato gtk-theme-sato matchbox-panel-2 matchbox-desktop-sato" +RCONFLICTS = "matchbox-common matchbox-sato" +PR = "r19" + +SRC_URI = "file://etc file://matchbox-session" +S = ${WORKDIR} + +do_install() { + install -d ${D}/${bindir} + install -m 0755 ${S}/matchbox-session ${D}/${bindir} + cp -R ${S}/etc ${D}/etc + rm -fR ${D}/etc/.svn + rm -fR ${D}/etc/matchbox/.svn + chmod -R 755 ${D}/etc +} + +pkg_postinst_openmoko-session2 () { +#!/bin/sh -e +if [ "x$D" != "x" ]; then + exit 1 +fi + +gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type string --set /desktop/poky/interface/theme openmoko-standard-2 +gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type string --set /desktop/poky/interface/icon_theme openmoko-standard +gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type string --set /desktop/poky/interface/font_name "Sans 5" +gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type int --set /desktop/poky/peripherals/mouse/drag_threshold 8 +} |