diff options
Diffstat (limited to 'meta-openmoko/packages/openmoko2/openmoko-session2.bb')
-rw-r--r-- | meta-openmoko/packages/openmoko2/openmoko-session2.bb | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/meta-openmoko/packages/openmoko2/openmoko-session2.bb b/meta-openmoko/packages/openmoko2/openmoko-session2.bb deleted file mode 100644 index d0c3268e0c..0000000000 --- a/meta-openmoko/packages/openmoko2/openmoko-session2.bb +++ /dev/null | |||
@@ -1,53 +0,0 @@ | |||
1 | DESCRIPTION = "Custom Matchbox session files for Openmoko" | ||
2 | LICENSE = "GPL" | ||
3 | SECTION = "x11" | ||
4 | RDEPENDS_${PN} = "matchbox-panel-2 openmoko-common2 openmoko-today2 openmoko-dialer2" | ||
5 | RCONFLICTS_${PN} = "openmoko-session matchbox-common" | ||
6 | PR = "r69" | ||
7 | |||
8 | SRC_URI = "\ | ||
9 | file://etc \ | ||
10 | file://matchbox-session \ | ||
11 | " | ||
12 | |||
13 | S = "${WORKDIR}" | ||
14 | |||
15 | inherit update-alternatives | ||
16 | |||
17 | do_install() { | ||
18 | install -d ${D}${bindir} | ||
19 | install -m 0655 ${WORKDIR}/matchbox-session ${D}${bindir} | ||
20 | install -d ${D}${sysconfdir} | ||
21 | cp -R ${S}/etc/* ${D}${sysconfdir} | ||
22 | rm -fR ${D}${sysconfdir}/.svn | ||
23 | rm -fR ${D}${sysconfdir}/matchbox/.svn | ||
24 | chmod -R 755 ${D}${sysconfdir}/ | ||
25 | } | ||
26 | |||
27 | PACKAGE_ARCH = "all" | ||
28 | |||
29 | pkg_postinst_openmoko-session2 () { | ||
30 | #!/bin/sh -e | ||
31 | if [ "x$D" != "x" ]; then | ||
32 | exit 1 | ||
33 | fi | ||
34 | |||
35 | gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type string --set /desktop/poky/interface/theme Moko | ||
36 | gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type string --set /desktop/poky/interface/icon_theme openmoko-standard | ||
37 | gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type string --set /desktop/poky/interface/font_name "Sans 5" | ||
38 | gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type string --set /desktop/poky/interface/wallpaper ${datadir}/pixmaps/wallpaper.png | ||
39 | gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type bool --set /desktop/poky/interface/digital_clock 1 | ||
40 | gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type int --set /desktop/poky/peripherals/mouse/drag_threshold 8 | ||
41 | gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type int --set /desktop/openmoko/neod/power_management 2 | ||
42 | # gstreamer audio settings | ||
43 | gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct -t string --set /system/gstreamer/0.10/default/audiosink pulsesink | ||
44 | gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct -t string --set /system/gstreamer/0.10/default/audiosrc pulsesrc | ||
45 | |||
46 | } | ||
47 | |||
48 | ALTERNATIVE_NAME = "x-window-manager" | ||
49 | ALTERNATIVE_PATH = "${bindir}/matchbox-session" | ||
50 | ALTERNATIVE_LINK = "${bindir}/x-window-manager" | ||
51 | ALTERNATIVE_PRIORITY = "11" | ||
52 | |||
53 | CONFFILES_${PN} = "${sysconfdir}/matchbox/session" | ||