diff options
author | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 03:20:04 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 03:20:04 +0200 |
commit | 1b8dfe266937a37a4c642f96ceb2347bf4c00a17 (patch) | |
tree | 0c6aab146bb3c82efd9c7846a9a4e70dcb0ec84f /meta-oe/recipes-support/tracker/tracker-0.14.2 | |
download | meta-openembedded-daisy-140929.tar.gz |
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-oe/recipes-support/tracker/tracker-0.14.2')
3 files changed, 60 insertions, 0 deletions
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 0000000000..8701f58547 --- /dev/null +++ b/meta-oe/recipes-support/tracker/tracker-0.14.2/0005-Fix-missing-gobject-introspection-checks.patch | |||
@@ -0,0 +1,17 @@ | |||
1 | diff -Naur ../tracker-0.10.8/configure.ac tracker-0.10.8//configure.ac | ||
2 | --- ../tracker-0.10.8/configure.ac 2011-04-08 15:03:30.000000000 +0300 | ||
3 | +++ tracker-0.10.8//configure.ac 2011-04-11 13:47:16.625914002 +0300 | ||
4 | @@ -218,7 +218,12 @@ | ||
5 | |||
6 | # Needed to generate .gir files, | ||
7 | # see http://live.gnome.org/GnomeGoals/AddGObjectIntrospectionSupport | ||
8 | -GOBJECT_INTROSPECTION_CHECK([0.9.5]) | ||
9 | +#GOBJECT_INTROSPECTION_CHECK([0.9.5]) | ||
10 | +# Satisfy missing introspection foo | ||
11 | +AM_CONDITIONAL(HAVE_INTROSPECTION, test "0" == "1") | ||
12 | + | ||
13 | +INTROSPECTION_CFLAGS="" | ||
14 | +AC_SUBST(INTROSPECTION_CFLAGS) | ||
15 | |||
16 | # NOTE: dbus and dbus-glib-1 are only used now for libtracker-client | ||
17 | # 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 0000000000..5dadda2a29 --- /dev/null +++ b/meta-oe/recipes-support/tracker/tracker-0.14.2/enable-sqlite-crosscompile.patch | |||
@@ -0,0 +1,13 @@ | |||
1 | Index: tracker-0.10.17/m4/sqlite-threadsafe.m4 | ||
2 | =================================================================== | ||
3 | --- tracker-0.10.17.orig/m4/sqlite-threadsafe.m4 | ||
4 | +++ tracker-0.10.17/m4/sqlite-threadsafe.m4 | ||
5 | @@ -45,7 +45,7 @@ int main () | ||
6 | ]])], | ||
7 | [ax_cv_sqlite_threadsafe=yes], | ||
8 | [ax_cv_sqlite_threadsafe=no], | ||
9 | - [ax_cv_sqlite_threadsafe=no])]) | ||
10 | + [ax_cv_sqlite_threadsafe=yes])]) | ||
11 | |||
12 | LIBS="$save_LIBS" | ||
13 | ]) | ||
diff --git a/meta-oe/recipes-support/tracker/tracker-0.14.2/fix-removable-media-detection.patch b/meta-oe/recipes-support/tracker/tracker-0.14.2/fix-removable-media-detection.patch new file mode 100644 index 0000000000..6c3d9de107 --- /dev/null +++ b/meta-oe/recipes-support/tracker/tracker-0.14.2/fix-removable-media-detection.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | Index: tracker-0.14.2/src/libtracker-miner/tracker-storage.c | ||
2 | =================================================================== | ||
3 | --- tracker-0.14.2.orig/src/libtracker-miner/tracker-storage.c 2011-08-03 13:53:16.000000000 +0100 | ||
4 | +++ tracker-0.14.2/src/libtracker-miner/tracker-storage.c 2012-09-10 08:25:18.322215126 +0100 | ||
5 | @@ -20,6 +20,7 @@ | ||
6 | #include "config.h" | ||
7 | |||
8 | #include <string.h> | ||
9 | +#include <sys/stat.h> | ||
10 | |||
11 | #include <gio/gio.h> | ||
12 | #include <gio/gunixmounts.h> | ||
13 | @@ -646,6 +647,17 @@ | ||
14 | gchar *content_type; | ||
15 | gboolean is_multimedia; | ||
16 | gboolean is_blank; | ||
17 | + struct stat st; | ||
18 | + | ||
19 | + /* | ||
20 | + * Consider all files under /media to be | ||
21 | + * removable unless the file .this-is-root is | ||
22 | + * present. | ||
23 | + */ | ||
24 | + if (!strncmp (mount_path, "/media/", | ||
25 | + strlen ("/media/")) && | ||
26 | + stat ("/media/.this-is-root", &st)) | ||
27 | + is_removable = TRUE; | ||
28 | |||
29 | content_type = mount_guess_content_type (mount, &is_optical, &is_multimedia, &is_blank); | ||
30 | |||