diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-07-13 17:08:12 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-07-13 17:08:12 +0100 |
commit | fbee24dbe54479881c20e9b9f3a45e49dd5f0a45 (patch) | |
tree | 0f8580ca4e29deff7e76e1757f24db0b6c375e4d /meta-moblin | |
parent | 3c47e342d46d1b944c94f563419aafb554170eaa (diff) | |
download | openembedded-core-fbee24dbe54479881c20e9b9f3a45e49dd5f0a45.tar.gz openembedded-core-fbee24dbe54479881c20e9b9f3a45e49dd5f0a45.tar.bz2 openembedded-core-fbee24dbe54479881c20e9b9f3a45e49dd5f0a45.zip |
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.sh | 3 | ||||
-rw-r--r-- | meta-moblin/packages/mutter-moblin/mutter-moblin_git.bb | 14 |
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 @@ +for APP in /usr/libexec/moblin-panel-*; do + $APP & +done 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" LICENSE = "GPLv3" DEPENDS = "nbtk mutter gnome-menus mojito libjana anerley clutter-mozembed bickley" PV = "2.25.2+git${SRCPV}" -PR = "r6" +PR = "r8" SRC_URI = "git://git.moblin.org/${PN}.git;protocol=git \ file://startup-notify.patch;patch=1 \ + file://88mutter-panelapps.sh \ file://background-tile.png" FILES_${PN} += "\ + ${sysconfdir}/X11 \ ${libdir}/metacity/plugins/clutter/*.so* \ ${libdir}/mutter/plugins/*.so* \ ${datadir}/mutter-moblin-netbook-plugin \ @@ -32,6 +34,12 @@ do_configure_prepend () { cp ${WORKDIR}/background-tile.png ${S}/data/theme/panel/ } +do_install_append () { + install -d ${D}${sysconfdir}/X11/Xsession.d/ + install ${WORKDIR}/88mutter-panelapps.sh ${D}${sysconfdir}/X11/Xsession.d/ +} + + pkg_postinst_${PN} () { #!/bin/sh -e if [ "x$D" != "x" ]; then @@ -41,4 +49,6 @@ fi . ${sysconfdir}/init.d/functions gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type list --list-type string --set /apps/metacity/general/clutter_plugins '[moblin-netbook]' -} + +nbtk-create-image-cache ${datadir}/mutter-moblin/theme +} |