summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-12-09 19:10:41 +0100
committerKoen Kooi <koen@openembedded.org>2008-12-09 19:10:41 +0100
commit9771c86014114e703dac8f45b5f82e16d30735d2 (patch)
tree91d71f68a64a992ab902c844bfeaf6071c992c0a /packages
parentb7040d5e843b3172a040f119ed1f047a1c880aa8 (diff)
tracker: add xsession file to launch daemon in low-mem mode, only indexing $HOME
Diffstat (limited to 'packages')
-rwxr-xr-xpackages/tracker/files/90tracker4
-rw-r--r--packages/tracker/tracker_0.5.4.bb9
2 files changed, 11 insertions, 2 deletions
diff --git a/packages/tracker/files/90tracker b/packages/tracker/files/90tracker
new file mode 100755
index 0000000000..9594b91689
--- /dev/null
+++ b/packages/tracker/files/90tracker
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+/usr/bin/trackerd -m &
+
diff --git a/packages/tracker/tracker_0.5.4.bb b/packages/tracker/tracker_0.5.4.bb
index 1bbd89e628..4753280190 100644
--- a/packages/tracker/tracker_0.5.4.bb
+++ b/packages/tracker/tracker_0.5.4.bb
@@ -2,15 +2,18 @@ DESCRIPTION = "Tracker is a tool designed to extract information and metadata ab
LICENSE = "GPLv2"
DEPENDS = "file gtk+ gstreamer gamin libgmime dbus poppler libexif libgsf"
-PR = "r2"
+PR = "r3"
SRC_URI = "http://www.gnome.org/~jamiemcc/tracker/tracker-${PV}.tar.gz \
- file://no-ioprio.patch;patch=1"
+ file://no-ioprio.patch;patch=1 \
+ file://90tracker "
inherit autotools pkgconfig
do_install_append() {
cp -dPr ${D}${STAGING_DATADIR}/* ${D}${datadir}/ || true
+ install -d ${D}/${sysconfdir}/X11/Xsession.d/
+ install -m 0755 ${WORKDIR}/90tracker ${D}/${sysconfdir}/X11/Xsession.d/
}
do_stage() {
@@ -18,3 +21,5 @@ do_stage() {
}
FILES_${PN} += "${datadir}/dbus-1/"
+CONFFILES_${PN} += "${sysconfdir}/X11/Xsession.d/90tracker"
+