summaryrefslogtreecommitdiffstats
path: root/meta-moblin
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-07-13 17:08:12 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-07-13 17:08:12 +0100
commitfbee24dbe54479881c20e9b9f3a45e49dd5f0a45 (patch)
tree0f8580ca4e29deff7e76e1757f24db0b6c375e4d /meta-moblin
parent3c47e342d46d1b944c94f563419aafb554170eaa (diff)
downloadpoky-fbee24dbe54479881c20e9b9f3a45e49dd5f0a45.tar.gz
mutter-moblin: Add init script for plugins and populate the nbtk cache
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta-moblin')
-rw-r--r--meta-moblin/packages/mutter-moblin/files/88mutter-panelapps.sh3
-rw-r--r--meta-moblin/packages/mutter-moblin/mutter-moblin_git.bb14
2 files changed, 15 insertions, 2 deletions
diff --git a/meta-moblin/packages/mutter-moblin/files/88mutter-panelapps.sh b/meta-moblin/packages/mutter-moblin/files/88mutter-panelapps.sh
new file mode 100644
index 0000000000..1df0d06481
--- /dev/null
+++ b/meta-moblin/packages/mutter-moblin/files/88mutter-panelapps.sh
@@ -0,0 +1,3 @@
1for APP in /usr/libexec/moblin-panel-*; do
2 $APP &
3done
diff --git a/meta-moblin/packages/mutter-moblin/mutter-moblin_git.bb b/meta-moblin/packages/mutter-moblin/mutter-moblin_git.bb
index bb19f5b140..394117c864 100644
--- a/meta-moblin/packages/mutter-moblin/mutter-moblin_git.bb
+++ b/meta-moblin/packages/mutter-moblin/mutter-moblin_git.bb
@@ -3,13 +3,15 @@ SECTION = "x11/wm"
3LICENSE = "GPLv3" 3LICENSE = "GPLv3"
4DEPENDS = "nbtk mutter gnome-menus mojito libjana anerley clutter-mozembed bickley" 4DEPENDS = "nbtk mutter gnome-menus mojito libjana anerley clutter-mozembed bickley"
5PV = "2.25.2+git${SRCPV}" 5PV = "2.25.2+git${SRCPV}"
6PR = "r6" 6PR = "r8"
7 7
8SRC_URI = "git://git.moblin.org/${PN}.git;protocol=git \ 8SRC_URI = "git://git.moblin.org/${PN}.git;protocol=git \
9 file://startup-notify.patch;patch=1 \ 9 file://startup-notify.patch;patch=1 \
10 file://88mutter-panelapps.sh \
10 file://background-tile.png" 11 file://background-tile.png"
11 12
12FILES_${PN} += "\ 13FILES_${PN} += "\
14 ${sysconfdir}/X11 \
13 ${libdir}/metacity/plugins/clutter/*.so* \ 15 ${libdir}/metacity/plugins/clutter/*.so* \
14 ${libdir}/mutter/plugins/*.so* \ 16 ${libdir}/mutter/plugins/*.so* \
15 ${datadir}/mutter-moblin-netbook-plugin \ 17 ${datadir}/mutter-moblin-netbook-plugin \
@@ -32,6 +34,12 @@ do_configure_prepend () {
32 cp ${WORKDIR}/background-tile.png ${S}/data/theme/panel/ 34 cp ${WORKDIR}/background-tile.png ${S}/data/theme/panel/
33} 35}
34 36
37do_install_append () {
38 install -d ${D}${sysconfdir}/X11/Xsession.d/
39 install ${WORKDIR}/88mutter-panelapps.sh ${D}${sysconfdir}/X11/Xsession.d/
40}
41
42
35pkg_postinst_${PN} () { 43pkg_postinst_${PN} () {
36#!/bin/sh -e 44#!/bin/sh -e
37if [ "x$D" != "x" ]; then 45if [ "x$D" != "x" ]; then
@@ -41,4 +49,6 @@ fi
41. ${sysconfdir}/init.d/functions 49. ${sysconfdir}/init.d/functions
42 50
43gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type list --list-type string --set /apps/metacity/general/clutter_plugins '[moblin-netbook]' 51gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type list --list-type string --set /apps/metacity/general/clutter_plugins '[moblin-netbook]'
44} 52
53nbtk-create-image-cache ${datadir}/mutter-moblin/theme
54}