On 06/18/2013 01:29 PM, Fahad Usman wrote:
- copy tracker recipe from meta-guacamayo layer to meta-oe
- package files that were not being shipped
- add systemd suppert for tracker
Signed-off-by: Fahad Usman
---
meta-oe/recipes-support/tracker/files/90tracker| 4 ++
.../tracker/files/tracker-dbus.service | 15 +
.../tracker/files/tracker-miner-fs.service | 12
.../tracker/files/tracker-store.service| 12
...-Fix-missing-gobject-introspection-checks.patch | 17 ++
.../enable-sqlite-crosscompile.patch | 13
.../fix-removable-media-detection.patch| 30 ++
meta-oe/recipes-support/tracker/tracker_0.14.2.bb | 70 ++
8 files changed, 173 insertions(+)
create mode 100644 meta-oe/recipes-support/tracker/files/90tracker
create mode 100644 meta-oe/recipes-support/tracker/files/tracker-dbus.service
create mode 100644
meta-oe/recipes-support/tracker/files/tracker-miner-fs.service
create mode 100644 meta-oe/recipes-support/tracker/files/tracker-store.service
create mode 100644
meta-oe/recipes-support/tracker/tracker-0.14.2/0005-Fix-missing-gobject-introspection-checks.patch
create mode 100644
meta-oe/recipes-support/tracker/tracker-0.14.2/enable-sqlite-crosscompile.patch
create mode 100644
meta-oe/recipes-support/tracker/tracker-0.14.2/fix-removable-media-detection.patch
create mode 100644 meta-oe/recipes-support/tracker/tracker_0.14.2.bb
diff --git a/meta-oe/recipes-support/tracker/files/90tracker
b/meta-oe/recipes-support/tracker/files/90tracker
new file mode 100644
index 000..9594b91
--- /dev/null
+++ b/meta-oe/recipes-support/tracker/files/90tracker
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+/usr/bin/trackerd -m &
+
diff --git a/meta-oe/recipes-support/tracker/files/tracker-dbus.service
b/meta-oe/recipes-support/tracker/files/tracker-dbus.service
new file mode 100644
index 000..9d4fb74
--- /dev/null
+++ b/meta-oe/recipes-support/tracker/files/tracker-dbus.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=tracker DBus session bus handler
+Before=tracker-store.service
+After=dbus.service
+Requires=dbus.service
+BindTo=tracker-store.service
+
+[Service]
+Type=forking
+EnvironmentFile=-/tmp/tracker.env
+ExecStartPre=/bin/rm -rf /tmp/tracker.env
+ExecStart=/bin/sh -c 'echo "DBUS_SESSION_BUS_ADDRESS=`dbus-daemon --fork --session
--print-address`" > /tmp/tracker.env'
+
+[Install]
+WantedBy=multi-user.target
diff --git a/meta-oe/recipes-support/tracker/files/tracker-miner-fs.service
b/meta-oe/recipes-support/tracker/files/tracker-miner-fs.service
new file mode 100644
index 000..f143924
--- /dev/null
+++ b/meta-oe/recipes-support/tracker/files/tracker-miner-fs.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=tracker-miner-fs
+After=syslog.target local-fs.target udev.service dbus.service
tracker-store.service
+Requires=tracker-store.service
+
+[Service]
+Environment=HOME=/home/root
+EnvironmentFile=-/tmp/tracker.env
+ExecStart=/usr/libexec/tracker-miner-fs
+
+[Install]
+WantedBy=multi-user.target
diff --git a/meta-oe/recipes-support/tracker/files/tracker-store.service
b/meta-oe/recipes-support/tracker/files/tracker-store.service
new file mode 100644
index 000..7ca9ff0
--- /dev/null
+++ b/meta-oe/recipes-support/tracker/files/tracker-store.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=tracker-store
+After=syslog.target local-fs.target dbus.service
+Requires=dbus.service tracker-dbus.service
+BindTo=tracker-dbus.service
+
+[Service]
+EnvironmentFile=-/tmp/tracker.env
+ExecStart=/usr/libexec/tracker-store
+
+[Install]
+WantedBy=multi-user.target
diff --git
a/meta-oe/recipes-support/tracker/tracker-0.14.2/0005-Fix-missing-gobject-introspection-checks.patch
b/meta-oe/recipes-support/tracker/tracker-0.14.2/0005-Fix-missing-gobject-introspection-checks.patch
new file mode 100644
index 000..8701f58
--- /dev/null
+++
b/meta-oe/recipes-support/tracker/tracker-0.14.2/0005-Fix-missing-gobject-introspection-checks.patch
@@ -0,0 +1,17 @@
+diff -Naur ../tracker-0.10.8/configure.ac tracker-0.10.8//configure.ac
+--- ../tracker-0.10.8/configure.ac 2011-04-08 15:03:30.0 +0300
tracker-0.10.8//configure.ac 2011-04-11 13:47:16.625914002 +0300
+@@ -218,7 +218,12 @@
+
+ # Needed to generate .gir files,
+ # see http://live.gnome.org/GnomeGoals/AddGObjectIntrospectionSupport
+-GOBJECT_INTROSPECTION_CHECK([0.9.5])
++#GOBJECT_INTROSPECTION_CHECK([0.9.5])
++# Satisfy missing introspection foo
++AM_CONDITIONAL(HAVE_INTROSPECTION, test "0" == "1")
++
++INTROSPECTION_CFLAGS=""
++AC_SUBST(INTROSPECTION_CFLAGS)
+
+ # NOTE: dbus and dbus-glib-1 are only used now for libtracker-client
+ # which is deprecated and tracker-writeback which will be refactored
diff --git
a/meta-oe/recipes-support/tracker/tracker-0.14.2/enable-sqlite-crosscompile.patch
b/meta-oe/recipes-support/tracker/tracker-0.14.2/enable-sqlite-crosscompile.patch
new file mode 100644
index 000..5dadda2
--- /dev/n