Accepting request 46409 from GNOME:Apps
Copy from GNOME:Apps/tracker based on submit request 46409 from user dimstar OBS-URL: https://build.opensuse.org/request/show/46409 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tracker?expand=0&rev=6
This commit is contained in:
parent
b9f30a4da9
commit
c1e62a6cd3
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:84ed39c1babb037423a63c393ce768f9f856ae9e45bb54a77b8717cc1a3a0d85
|
||||
size 5210538
|
3
tracker-0.9.16.tar.bz2
Normal file
3
tracker-0.9.16.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:71afb2171cc1d907527efbf4549f1d2ae0a7466913987d2d23ca2fe82ac3b372
|
||||
size 5498313
|
355
tracker-fix-new-evo.patch
Normal file
355
tracker-fix-new-evo.patch
Normal file
@ -0,0 +1,355 @@
|
||||
Index: tracker-0.9.14/configure.ac
|
||||
===================================================================
|
||||
--- tracker-0.9.14.orig/configure.ac
|
||||
+++ tracker-0.9.14/configure.ac
|
||||
@@ -911,6 +911,8 @@ if test "x$enable_miner_evolution" != "x
|
||||
|
||||
PKG_CHECK_EXISTS([evolution-data-server-1.2 >= 2.29.1],
|
||||
[AC_DEFINE(HAVE_EDS_2_29_1, 1, [Define if we have eds 2.29.1 or newer])])
|
||||
+ PKG_CHECK_EXISTS([evolution-data-server-1.2 >= 2.31.2],
|
||||
+ [AC_DEFINE(HAVE_EDS_2_31_2, 1, [Define if we have eds 2.31.2 or newer])])
|
||||
|
||||
AC_SUBST(EVOLUTION_PLUGIN_CFLAGS)
|
||||
AC_SUBST(EVOLUTION_PLUGIN_LIBS)
|
||||
Index: tracker-0.9.14/src/plugins/evolution/tracker-evolution-plugin.c
|
||||
===================================================================
|
||||
--- tracker-0.9.14.orig/src/plugins/evolution/tracker-evolution-plugin.c
|
||||
+++ tracker-0.9.14/src/plugins/evolution/tracker-evolution-plugin.c
|
||||
@@ -34,32 +34,13 @@
|
||||
#include <time.h>
|
||||
#include <inttypes.h>
|
||||
|
||||
+#include <glib/gi18n-lib.h>
|
||||
#include <glib-object.h>
|
||||
#include <gio/gio.h>
|
||||
|
||||
#include <sqlite3.h>
|
||||
|
||||
-#include <camel/camel-mime-message.h>
|
||||
-#include <camel/camel-i18n.h>
|
||||
-#include <camel/camel-store.h>
|
||||
-#include <camel/camel-folder.h>
|
||||
-#include <camel/camel-db.h>
|
||||
-#include <camel/camel-offline-store.h>
|
||||
-#include <camel/camel-session.h>
|
||||
-#include <camel/camel-url.h>
|
||||
-#include <camel/camel-stream.h>
|
||||
-#include <camel/camel-stream-mem.h>
|
||||
-#include <camel/camel-multipart.h>
|
||||
-#include <camel/camel-multipart-encrypted.h>
|
||||
-#include <camel/camel-multipart-signed.h>
|
||||
-#include <camel/camel-medium.h>
|
||||
-#include <camel/camel-gpg-context.h>
|
||||
-#include <camel/camel-smime-context.h>
|
||||
-#include <camel/camel-string-utils.h>
|
||||
-#include <camel/camel-stream-filter.h>
|
||||
-#include <camel/camel-stream-null.h>
|
||||
-#include <camel/camel-mime-filter-charset.h>
|
||||
-#include <camel/camel-mime-filter-windows.h>
|
||||
+#include <camel/camel.h>
|
||||
|
||||
#include <mail/mail-config.h>
|
||||
#include <mail/mail-session.h>
|
||||
@@ -303,8 +284,16 @@ get_email_and_fullname (const gchar *lin
|
||||
static void
|
||||
folder_registry_free (FolderRegistry *registry)
|
||||
{
|
||||
+#ifdef HAVE_EDS_2_31_2
|
||||
+ g_signal_handler_disconnect (registry->folder, registry->hook_info->hook_id);
|
||||
+#else
|
||||
camel_object_remove_event (registry->folder, registry->hook_info->hook_id);
|
||||
+#endif
|
||||
+#ifdef HAVE_EDS_2_31_2
|
||||
+ g_object_unref (registry->folder);
|
||||
+#else
|
||||
camel_object_unref (registry->folder);
|
||||
+#endif
|
||||
g_free (registry->hook_info->account_uri);
|
||||
g_slice_free (OnSummaryChangedInfo, registry->hook_info);
|
||||
g_slice_free (FolderRegistry, registry);
|
||||
@@ -321,7 +310,11 @@ folder_registry_new (const gchar *accoun
|
||||
registry->hook_info->account_uri = g_strdup (account_uri);
|
||||
registry->hook_info->self = self; /* weak */
|
||||
registry->hook_info->hook_id = 0;
|
||||
+#ifdef HAVE_EDS_2_31_2
|
||||
+ g_object_ref (folder);
|
||||
+#else
|
||||
camel_object_ref (folder);
|
||||
+#endif
|
||||
registry->folder = folder;
|
||||
|
||||
return registry;
|
||||
@@ -1267,7 +1260,6 @@ get_last_deleted_time (TrackerEvolutionP
|
||||
EAccount *account = (EAccount *) e_iterator_get (it);
|
||||
CamelProvider *provider;
|
||||
CamelStore *store;
|
||||
- CamelException ex;
|
||||
char *uri;
|
||||
CamelDB *cdb_r;
|
||||
sqlite3_stmt *stmt = NULL;
|
||||
@@ -1275,13 +1267,10 @@ get_last_deleted_time (TrackerEvolutionP
|
||||
guint ret = SQLITE_OK;
|
||||
guint64 latest = smallest;
|
||||
|
||||
- camel_exception_init (&ex);
|
||||
-
|
||||
if (!account->enabled || !(uri = account->source->url))
|
||||
continue;
|
||||
|
||||
if (!(provider = camel_provider_get(uri, NULL))) {
|
||||
- camel_exception_clear (&ex);
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -1289,8 +1278,7 @@ get_last_deleted_time (TrackerEvolutionP
|
||||
continue;
|
||||
}
|
||||
|
||||
- if (!(store = (CamelStore *) camel_session_get_service (session, uri, CAMEL_PROVIDER_STORE, &ex))) {
|
||||
- camel_exception_clear (&ex);
|
||||
+ if (!(store = (CamelStore *) camel_session_get_service (session, uri, CAMEL_PROVIDER_STORE, NULL))) {
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -1345,9 +1333,15 @@ register_on_get_folder (gchar *uri, Came
|
||||
goto not_ready;
|
||||
}
|
||||
|
||||
+#ifdef HAVE_EDS_2_31_2
|
||||
+ hook_id = g_signal_connect (folder, "changed",
|
||||
+ G_CALLBACK (on_folder_summary_changed),
|
||||
+ registry->hook_info);
|
||||
+#else
|
||||
hook_id = camel_object_hook_event (folder, "folder_changed",
|
||||
CAMEL_CALLBACK (on_folder_summary_changed),
|
||||
registry->hook_info);
|
||||
+#endif
|
||||
registry->hook_info->hook_id = hook_id;
|
||||
|
||||
g_hash_table_replace (priv->registered_folders,
|
||||
@@ -1524,7 +1518,11 @@ free_worker_thread_info (gpointer data,
|
||||
/* Ownership was transfered to us in try_again */
|
||||
free_introduction_info (winfo->intro_info);
|
||||
camel_db_close (winfo->cdb_r);
|
||||
+#ifdef HAVE_EDS_2_31_2
|
||||
+ g_object_unref (winfo->store);
|
||||
+#else
|
||||
camel_object_unref (winfo->store);
|
||||
+#endif
|
||||
camel_folder_info_free (winfo->iter);
|
||||
g_free (winfo);
|
||||
}
|
||||
@@ -1579,7 +1577,11 @@ on_got_folderinfo_introduce (CamelStore
|
||||
|
||||
/* Ownership of these is transfered in try_again */
|
||||
|
||||
+#ifdef HAVE_EDS_2_31_2
|
||||
+ g_object_ref (store);
|
||||
+#else
|
||||
camel_object_ref (store);
|
||||
+#endif
|
||||
info->store = store;
|
||||
/* This apparently creates a thread */
|
||||
info->cdb_r = camel_db_clone (store->cdb_r, NULL);
|
||||
@@ -1622,24 +1624,20 @@ introduce_account_to (TrackerEvolutionPl
|
||||
{
|
||||
CamelProvider *provider;
|
||||
CamelStore *store;
|
||||
- CamelException ex;
|
||||
char *uri, *account_uri, *ptr;
|
||||
IntroductionInfo *intro_info;
|
||||
|
||||
if (!account->enabled || !(uri = account->source->url))
|
||||
return;
|
||||
|
||||
- camel_exception_init (&ex);
|
||||
- if (!(provider = camel_provider_get(uri, &ex))) {
|
||||
- camel_exception_clear (&ex);
|
||||
+ if (!(provider = camel_provider_get(uri, NULL))) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!(provider->flags & CAMEL_PROVIDER_IS_STORAGE))
|
||||
return;
|
||||
|
||||
- if (!(store = (CamelStore *) camel_session_get_service (session, uri, CAMEL_PROVIDER_STORE, &ex))) {
|
||||
- camel_exception_clear (&ex);
|
||||
+ if (!(store = (CamelStore *) camel_session_get_service (session, uri, CAMEL_PROVIDER_STORE, NULL))) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -1660,7 +1658,11 @@ introduce_account_to (TrackerEvolutionPl
|
||||
|
||||
mail_get_folderinfo (store, NULL, on_got_folderinfo_introduce, intro_info);
|
||||
|
||||
+#ifdef HAVE_EDS_2_31_2
|
||||
+ g_object_unref (store);
|
||||
+#else
|
||||
camel_object_unref (store);
|
||||
+#endif
|
||||
|
||||
}
|
||||
|
||||
@@ -1821,7 +1823,11 @@ on_folder_deleted (CamelStore *store,
|
||||
|
||||
static void
|
||||
on_folder_renamed (CamelStore *store,
|
||||
+#ifdef HAVE_EDS_2_31_2
|
||||
+ gchar *old_name,
|
||||
+#else
|
||||
CamelRenameInfo *info,
|
||||
+#endif
|
||||
StoreRegistry *registry)
|
||||
{
|
||||
unregister_account (registry->self, registry->account);
|
||||
@@ -1839,7 +1845,11 @@ store_registry_new (gpointer co,
|
||||
registry->store = co;
|
||||
registry->account = account; /* weak */
|
||||
registry->self = self; /* weak */
|
||||
+#ifdef HAVE_EDS_2_31_2
|
||||
+ g_object_ref (co);
|
||||
+#else
|
||||
camel_object_ref (co);
|
||||
+#endif
|
||||
|
||||
return registry;
|
||||
}
|
||||
@@ -1847,8 +1857,16 @@ store_registry_new (gpointer co,
|
||||
static void
|
||||
store_registry_free (StoreRegistry *registry)
|
||||
{
|
||||
+#ifdef HAVE_EDS_2_31_2
|
||||
+ g_signal_handler_disconnect (registry->store, registry->hook_id);
|
||||
+#else
|
||||
camel_object_remove_event (registry->store, registry->hook_id);
|
||||
+#endif
|
||||
+#ifdef HAVE_EDS_2_31_2
|
||||
+ g_object_unref (registry->store);
|
||||
+#else
|
||||
camel_object_unref (registry->store);
|
||||
+#endif
|
||||
g_slice_free (StoreRegistry, registry);
|
||||
}
|
||||
|
||||
@@ -1876,27 +1894,45 @@ on_got_folderinfo_register (CamelStore *
|
||||
|
||||
/* Hook up catching folder changes in the store */
|
||||
registry = store_registry_new (store, account, self);
|
||||
+#ifdef HAVE_EDS_2_31_2
|
||||
+ hook_id = g_signal_connect (store, "folder-created",
|
||||
+ G_CALLBACK (on_folder_created),
|
||||
+ registry);
|
||||
+#else
|
||||
hook_id = camel_object_hook_event (store, "folder_created",
|
||||
CAMEL_CALLBACK (on_folder_created),
|
||||
registry);
|
||||
+#endif
|
||||
registry->hook_id = hook_id;
|
||||
g_hash_table_replace (priv->registered_stores,
|
||||
GINT_TO_POINTER (hook_id),
|
||||
registry);
|
||||
|
||||
registry = store_registry_new (store, account, self);
|
||||
+#ifdef HAVE_EDS_2_31_2
|
||||
+ hook_id = g_signal_connect (store, "folder-renamed",
|
||||
+ G_CALLBACK (on_folder_renamed),
|
||||
+ registry);
|
||||
+#else
|
||||
hook_id = camel_object_hook_event (store, "folder_renamed",
|
||||
CAMEL_CALLBACK (on_folder_renamed),
|
||||
registry);
|
||||
+#endif
|
||||
registry->hook_id = hook_id;
|
||||
g_hash_table_replace (priv->registered_stores,
|
||||
GINT_TO_POINTER (hook_id),
|
||||
registry);
|
||||
|
||||
registry = store_registry_new (store, account, self);
|
||||
+#ifdef HAVE_EDS_2_31_2
|
||||
+ hook_id = g_signal_connect (store, "folder-deleted",
|
||||
+ G_CALLBACK (on_folder_deleted),
|
||||
+ registry);
|
||||
+#else
|
||||
hook_id = camel_object_hook_event (store, "folder_deleted",
|
||||
CAMEL_CALLBACK (on_folder_deleted),
|
||||
registry);
|
||||
+#endif
|
||||
registry->hook_id = hook_id;
|
||||
g_hash_table_replace (priv->registered_stores,
|
||||
GINT_TO_POINTER (hook_id),
|
||||
@@ -1921,24 +1957,20 @@ register_account (TrackerEvolutionPlugin
|
||||
{
|
||||
CamelProvider *provider;
|
||||
CamelStore *store;
|
||||
- CamelException ex;
|
||||
char *uri;
|
||||
RegisterInfo *reg_info;
|
||||
|
||||
if (!account->enabled || !(uri = account->source->url))
|
||||
return;
|
||||
|
||||
- camel_exception_init (&ex);
|
||||
- if (!(provider = camel_provider_get(uri, &ex))) {
|
||||
- camel_exception_clear (&ex);
|
||||
+ if (!(provider = camel_provider_get(uri, NULL))) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!(provider->flags & CAMEL_PROVIDER_IS_STORAGE))
|
||||
return;
|
||||
|
||||
- if (!(store = (CamelStore *) camel_session_get_service (session, uri, CAMEL_PROVIDER_STORE, &ex))) {
|
||||
- camel_exception_clear (&ex);
|
||||
+ if (!(store = (CamelStore *) camel_session_get_service (session, uri, CAMEL_PROVIDER_STORE, NULL))) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -1953,7 +1985,11 @@ register_account (TrackerEvolutionPlugin
|
||||
/* Get the account's folder-info and register it asynchronously */
|
||||
mail_get_folderinfo (store, NULL, on_got_folderinfo_register, reg_info);
|
||||
|
||||
+#ifdef HAVE_EDS_2_31_2
|
||||
+ g_object_unref (store);
|
||||
+#else
|
||||
camel_object_unref (store);
|
||||
+#endif
|
||||
}
|
||||
|
||||
static gboolean
|
||||
@@ -1992,22 +2028,18 @@ unregister_account (TrackerEvolutionPlug
|
||||
{
|
||||
CamelProvider *provider;
|
||||
CamelStore *store;
|
||||
- CamelException ex;
|
||||
char *uri = account->source->url;
|
||||
RegisterInfo *reg_info;
|
||||
|
||||
|
||||
- camel_exception_init (&ex);
|
||||
- if (!(provider = camel_provider_get(uri, &ex))) {
|
||||
- camel_exception_clear (&ex);
|
||||
+ if (!(provider = camel_provider_get(uri, NULL))) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!(provider->flags & CAMEL_PROVIDER_IS_STORAGE))
|
||||
return;
|
||||
|
||||
- if (!(store = (CamelStore *) camel_session_get_service (session, uri, CAMEL_PROVIDER_STORE, &ex))) {
|
||||
- camel_exception_clear (&ex);
|
||||
+ if (!(store = (CamelStore *) camel_session_get_service (session, uri, CAMEL_PROVIDER_STORE, NULL))) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -2020,7 +2052,11 @@ unregister_account (TrackerEvolutionPlug
|
||||
/* Get the account's folder-info and unregister asynchronously */
|
||||
mail_get_folderinfo (store, NULL, on_got_folderinfo_unregister, reg_info);
|
||||
|
||||
+#ifdef HAVE_EDS_2_31_2
|
||||
+ g_object_unref (store);
|
||||
+#else
|
||||
camel_object_unref (store);
|
||||
+#endif
|
||||
}
|
||||
|
||||
static void
|
@ -1,197 +0,0 @@
|
||||
diff -ur '--exclude=*.c' tracker-0.8.6/configure.ac tracker-0.8.6-patched/configure.ac
|
||||
--- tracker-0.8.6/configure.ac 2010-05-13 16:27:51.000000000 +0200
|
||||
+++ tracker-0.8.6-patched/configure.ac 2010-06-18 17:02:22.562245099 +0200
|
||||
@@ -921,6 +921,7 @@
|
||||
####################################################################
|
||||
|
||||
APP_REQUIREMENTS="glib-2.0 >= $GLIB_REQUIRED
|
||||
+ gio-unix-2.0 >= $GLIB_REQUIRED
|
||||
gthread-2.0 >= $GLIB_REQUIRED
|
||||
gmodule-2.0 >= $GLIB_REQUIRED
|
||||
gtk+-2.0 >= $GTK_REQUIRED
|
||||
diff -ur '--exclude=*.c' tracker-0.8.6/src/tracker-search-tool/Makefile.am tracker-0.8.6-patched/src/tracker-search-tool/Makefile.am
|
||||
--- tracker-0.8.6/src/tracker-search-tool/Makefile.am 2010-04-21 15:08:46.000000000 +0200
|
||||
+++ tracker-0.8.6-patched/src/tracker-search-tool/Makefile.am 2010-06-18 16:58:30.264022830 +0200
|
||||
@@ -17,7 +17,7 @@
|
||||
$(tracker_search_tool_VALASOURCES:.gs=.c)
|
||||
|
||||
tracker_search_tool.gs.stamp: $(tracker_search_tool_VALASOURCES)
|
||||
- $(VALAC) -C -g --pkg dbus-glib-1 --pkg gee-1.0 --pkg gtk+-2.0 $^
|
||||
+ $(VALAC) -C -g --pkg dbus-glib-1 --pkg gee-1.0 --pkg gio-unix-2.0 --pkg gtk+-2.0 $^
|
||||
touch tracker_search_tool.gs.stamp
|
||||
|
||||
tracker_search_tool_CFLAGS = \
|
||||
diff -ur '--exclude=*.c' tracker-0.8.6/src/tracker-search-tool/tracker-metadata-tile.gs tracker-0.8.6-patched/src/tracker-search-tool/tracker-metadata-tile.gs
|
||||
--- tracker-0.8.6/src/tracker-search-tool/tracker-metadata-tile.gs 2010-05-11 13:41:59.000000000 +0200
|
||||
+++ tracker-0.8.6-patched/src/tracker-search-tool/tracker-metadata-tile.gs 2010-06-18 17:55:48.896030513 +0200
|
||||
@@ -206,6 +206,7 @@
|
||||
info_value4.set_text ("")
|
||||
info_value5.set_text ("")
|
||||
info_value6.set_text ("")
|
||||
+ info_label1.set_text (N_("Type:"))
|
||||
info_label4.set_text ("")
|
||||
info_label5.set_text ("")
|
||||
info_label6.set_text ("")
|
||||
@@ -216,7 +217,13 @@
|
||||
path_link.label = ""
|
||||
|
||||
name_link.set_sensitive (false)
|
||||
- path_link.set_sensitive (false);
|
||||
+ path_link.set_sensitive (false)
|
||||
+
|
||||
+ name_label.show ()
|
||||
+ path_label.show ()
|
||||
+ info_label1.show ()
|
||||
+ info_label2.show ()
|
||||
+ info_label3.show ()
|
||||
|
||||
|
||||
def SetLabelValue (label : Label, val : string)
|
||||
@@ -358,7 +365,31 @@
|
||||
SetLabelValue (info_value4, result[0])
|
||||
SetLabelValue (info_value5, result[1])
|
||||
SetLabelValue (info_value6, result[2])
|
||||
+
|
||||
+
|
||||
+ def private DisplayApplicationDetails (uri : string)
|
||||
+ app_info : AppInfo
|
||||
+
|
||||
+ var file = File.new_for_uri (uri)
|
||||
+ app_info = new DesktopAppInfo.from_filename (file.get_path ())
|
||||
+ if app_info is null
|
||||
+ DisplayFileDetails (uri, "")
|
||||
+ return
|
||||
|
||||
+ //name_link.set_sensitive (false)
|
||||
+ path_link.set_sensitive (false)
|
||||
+ path_label.hide ()
|
||||
+ info_label2.hide ()
|
||||
+ info_label3.hide ()
|
||||
+
|
||||
+ name_link.uri = uri
|
||||
+ name_link.label = app_info.get_display_name ()
|
||||
+ info_label1.set_text (N_("Description:"))
|
||||
+
|
||||
+ var description = app_info.get_description ()
|
||||
+ if description is not null
|
||||
+ SetLabelValue (info_value1, description)
|
||||
+
|
||||
|
||||
def LoadUri (path : TreePath?)
|
||||
ClearLabels ()
|
||||
@@ -377,17 +408,19 @@
|
||||
_result_grid.store.get_iter (out iter, path)
|
||||
_result_grid.store.get (iter, ResultColumns.Id, out id, ResultColumns.Uri, out uri, ResultColumns.Mime, out mime, ResultColumns.Icon, out icon)
|
||||
|
||||
+ image.set_from_pixbuf (icon)
|
||||
+
|
||||
/* determine category type */
|
||||
var cat = GetCategory (uri)
|
||||
|
||||
if cat is not Categories.Application
|
||||
DisplayFileDetails (uri, mime)
|
||||
- image.set_from_pixbuf (icon)
|
||||
|
||||
case cat
|
||||
when Categories.Audio do DisplayAudioDetails (uri)
|
||||
when Categories.Video do DisplayVideoDetails (uri)
|
||||
when Categories.Image do DisplayImageDetails (uri)
|
||||
when Categories.Document do DisplayDocumentDetails (uri)
|
||||
+ when Categories.Application do DisplayApplicationDetails (uri)
|
||||
default do return
|
||||
|
||||
diff -ur '--exclude=*.c' tracker-0.8.6/src/tracker-search-tool/tracker-result-grid.gs tracker-0.8.6-patched/src/tracker-search-tool/tracker-result-grid.gs
|
||||
--- tracker-0.8.6/src/tracker-search-tool/tracker-result-grid.gs 2010-05-11 13:41:59.000000000 +0200
|
||||
+++ tracker-0.8.6-patched/src/tracker-search-tool/tracker-result-grid.gs 2010-06-18 17:55:26.992072975 +0200
|
||||
@@ -137,21 +137,37 @@
|
||||
if uri.has_prefix ("file://")
|
||||
|
||||
has_results = true
|
||||
+ var handled = false
|
||||
|
||||
var file = File.new_for_uri (uri)
|
||||
|
||||
- try
|
||||
- var info = file.query_info ("standard::display-name,standard::icon,thumbnail::path", \
|
||||
- FileQueryInfoFlags.NONE, null)
|
||||
-
|
||||
- var filetype = info.get_file_type ()
|
||||
- store.append (out iter);
|
||||
- store.set (iter, ResultColumns.Id, id, ResultColumns.Uri, uri, ResultColumns.Mime, mime, ResultColumns.Icon, GetThumbNail (info, 64, 48, get_screen()), \
|
||||
- ResultColumns.DisplayName, info.get_display_name(), ResultColumns.IsDirectory, \
|
||||
- (filetype is FileType.DIRECTORY) , -1)
|
||||
-
|
||||
- except e:Error
|
||||
- print "Could not get file info for %s", uri
|
||||
+ var query = "SELECT rdf:type(?s) where { ?s nie:url \"%s\" }".printf(uri)
|
||||
+ var qresults = Query.Query (query)
|
||||
+
|
||||
+ if qresults is not null and qresults[0].contains ("nfo#Software")
|
||||
+ app_info : AppInfo
|
||||
+ app_info = new DesktopAppInfo.from_filename (file.get_path ())
|
||||
+
|
||||
+ if app_info is not null
|
||||
+ store.append (out iter);
|
||||
+ store.set (iter, ResultColumns.Id, id, ResultColumns.Uri, uri, ResultColumns.Mime, mime, ResultColumns.Icon, GetThemeIconPixbuf (app_info.get_icon (), 48, get_screen()), \
|
||||
+ ResultColumns.DisplayName, app_info.get_display_name(), ResultColumns.IsDirectory, \
|
||||
+ false , -1)
|
||||
+ handled = true
|
||||
+
|
||||
+ if not handled
|
||||
+ try
|
||||
+ var info = file.query_info ("standard::display-name,standard::icon,thumbnail::path", \
|
||||
+ FileQueryInfoFlags.NONE, null)
|
||||
+
|
||||
+ var filetype = info.get_file_type ()
|
||||
+ store.append (out iter);
|
||||
+ store.set (iter, ResultColumns.Id, id, ResultColumns.Uri, uri, ResultColumns.Mime, mime, ResultColumns.Icon, GetThumbNail (info, 64, 48, get_screen()), \
|
||||
+ ResultColumns.DisplayName, info.get_display_name(), ResultColumns.IsDirectory, \
|
||||
+ (filetype is FileType.DIRECTORY) , -1)
|
||||
+
|
||||
+ except e:Error
|
||||
+ print "Could not get file info for %s", uri
|
||||
|
||||
/* select first result */
|
||||
if has_results
|
||||
@@ -171,4 +187,9 @@
|
||||
store.get (iter, ResultColumns.Uri, out uri);
|
||||
store.get (iter, ResultColumns.IsDirectory, out is_dir);
|
||||
|
||||
- OpenUri (uri, is_dir)
|
||||
+ var query = "SELECT rdf:type(?s) where { ?s nie:url \"%s\" }".printf(uri)
|
||||
+ var results = Query.Query (query)
|
||||
+ if results is not null and results[0].contains ("nfo#Software")
|
||||
+ LaunchApp (uri)
|
||||
+ else
|
||||
+ OpenUri (uri, is_dir)
|
||||
diff -ur '--exclude=*.c' tracker-0.8.6/src/tracker-search-tool/tracker-utils.gs tracker-0.8.6-patched/src/tracker-search-tool/tracker-utils.gs
|
||||
--- tracker-0.8.6/src/tracker-search-tool/tracker-utils.gs 2010-05-11 13:41:59.000000000 +0200
|
||||
+++ tracker-0.8.6-patched/src/tracker-search-tool/tracker-utils.gs 2010-06-18 17:56:46.256030861 +0200
|
||||
@@ -83,6 +83,27 @@
|
||||
|
||||
|
||||
|
||||
+ def static LaunchApp (uri : string) : bool
|
||||
+ app_info : AppInfo
|
||||
+ context : AppLaunchContext
|
||||
+
|
||||
+ var file = File.new_for_uri (uri)
|
||||
+
|
||||
+ app_info = new DesktopAppInfo.from_filename (file.get_path ())
|
||||
+ if app_info is null
|
||||
+ return OpenUri (uri, false)
|
||||
+
|
||||
+ context = new Gdk.AppLaunchContext ()
|
||||
+ try
|
||||
+ app_info.launch (null, context)
|
||||
+ except e:Error
|
||||
+ var msg = new MessageDialog (null, DialogFlags.MODAL, MessageType.ERROR, ButtonsType.OK, \
|
||||
+ N_("Could not launch \"%s\"\nError: %s\n"), app_info.get_display_name (), e.message)
|
||||
+ msg.run ();
|
||||
+ return false
|
||||
+
|
||||
+ return true
|
||||
+
|
||||
|
||||
def static OpenUri (uri : string, is_dir :bool) : bool
|
||||
app_info : AppInfo
|
@ -1,9 +1,11 @@
|
||||
--- tracker-0.8.5/src/miners/fs/tracker-config.c 2010-05-06 17:52:04.000000000 +0530
|
||||
+++ tracker-0.8.5-patched/src/miners/fs/tracker-config.c 2010-06-21 20:10:00.580688087 +0530
|
||||
Index: tracker-0.9.14/src/miners/fs/tracker-config.c
|
||||
===================================================================
|
||||
--- tracker-0.9.14.orig/src/miners/fs/tracker-config.c
|
||||
+++ tracker-0.9.14/src/miners/fs/tracker-config.c
|
||||
@@ -46,7 +46,7 @@
|
||||
#define DEFAULT_THROTTLE 0 /* 0->20 */
|
||||
#define DEFAULT_SCAN_TIMEOUT 0 /* 0->1000 */
|
||||
#define DEFAULT_CACHE_TIMEOUT 60 /* 0->1000 */
|
||||
#define DEFAULT_INDEX_MOUNTED_DIRECTORIES TRUE
|
||||
-#define DEFAULT_INDEX_REMOVABLE_DEVICES TRUE
|
||||
+#define DEFAULT_INDEX_REMOVABLE_DEVICES FALSE
|
||||
#define DEFAULT_INDEX_OPTICAL_DISCS FALSE
|
||||
|
143
tracker.changes
143
tracker.changes
@ -1,3 +1,146 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 15 16:29:10 CEST 2010 - dimstar@opensuse.org
|
||||
|
||||
- Update to version 0.9.16:
|
||||
+ tracker-extract: Added a GUPnP DLNA extractor
|
||||
+ libtracker-sparql: Client library for direct/dbus access
|
||||
+ libtracker-common: New environment variable TRACKER_VERBOSITY
|
||||
to override config
|
||||
+ Fix unsupported ontology change preventing tracker for booting
|
||||
+ Fix tracker not harvesting ID3v2 tags
|
||||
+ Fix duplicates when monitor events processed before directory
|
||||
is created in store
|
||||
+ libtracker-data: Fixed support for IN, NOT IN with <resources>
|
||||
+ libtracker-miner: If parent GFile being processed, serialise by
|
||||
waiting
|
||||
+ libtracker-miner: Print URIs not paths for CREATE monitor event
|
||||
debugging
|
||||
- New subpackage libtracker-sparql-0_9-0
|
||||
- Fix Regquires: in -devel subpackage, require *-0_9-0 instead of
|
||||
*-0_8-0.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 12 21:30:26 CEST 2010 - vuntz@opensuse.org
|
||||
|
||||
- Add libgrss-devel BuildRequires to build the RSS miner.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 11 01:40:52 CEST 2010 - vuntz@opensuse.org
|
||||
|
||||
- Update to version 0.9.15:
|
||||
+ Ontology, MTP: Fix mtp:hidden
|
||||
+ libtracker-data: Support for SPARQL 1.1's IN operator
|
||||
+ libtracker-data: Implement progress indication for rotated
|
||||
journals
|
||||
+ tracker-store: Queue queries while busy
|
||||
+ Add test cases.
|
||||
+ Bug fixes.
|
||||
+ Updated translations.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 11 00:14:58 CEST 2010 - vuntz@opensuse.org
|
||||
|
||||
- Fill .changes for update to 0.9.14.
|
||||
- Replace id3lib-devel BuildRequires with taglib-devel.
|
||||
- Replace DeviceKit-power-devel BuildRequires with
|
||||
libupower-glib-devel.
|
||||
- Add libicu-devel for better unicode support.
|
||||
- Add NetworkManager-devel BuildRequires for network status
|
||||
detection.
|
||||
- Add librest-devel BuildRequires for flickr data miner.
|
||||
- Add giflib-devel BuildRequires for gif metadata support.
|
||||
- Add tracker-fix-new-evo.patch to fix build with recent
|
||||
evolution-data-server.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 3 23:28:02 CEST 2010 - dimstar@opensuse.org
|
||||
|
||||
- Update to version 0.9.14:
|
||||
+ For a complete overview of changes, see NEWS file. Here are
|
||||
some highlights (excluding many bug fixes).
|
||||
+ The database version has been incremented, this will force a
|
||||
reindex for any existing Tracker installation.
|
||||
- Highlights from version 0.9.14:
|
||||
+ SPARQL: Add support for EXISTS and NOT EXISTS
|
||||
+ Plug some memory leaks.
|
||||
+ Some ontology changes.
|
||||
+ libtracker-data: improvements in read-only mode.
|
||||
- Highlights from version 0.9.13:
|
||||
+ Added domain specific indexes, adding a column to DB tables to
|
||||
avoid full table scans/joins with larger tables for performance.
|
||||
+ Journal compression and rotation using 50Mb chunk sizes
|
||||
+ Improve logging in libtracker-miner.
|
||||
+ tracker-miner-fs: Use 60s as default DBus timeout for requests
|
||||
to extractor
|
||||
- Highlights from version 0.9.12:
|
||||
+ Removed libinotify imported module and use GIO completely
|
||||
- Highlights from version 0.9.11:
|
||||
+ Remove the option to index remote mounted directories
|
||||
+ Plug memory leaks in extractors.
|
||||
- Highlights from version 0.9.10:
|
||||
+ Support D-Bus FD passing (avoids much memory copying)
|
||||
+ Make tracker-search-tool history persistent
|
||||
+ Correctly handle applications in tracker-search-tool results
|
||||
+ Don't recheck all monitored directories needlessly
|
||||
+ Fix tracker listing the files under Ignore directories
|
||||
+ tracker-miner-fs: Force recheck on IgnoredFiles changes
|
||||
- Highlights from version 0.9.9:
|
||||
+ Ontology changes.
|
||||
+ libtracker-miner: Update the database when config changes for
|
||||
optical/removable media
|
||||
+ libtracker-miner: Improved detection of removable devices.
|
||||
- Highlights from version 0.9.8:
|
||||
+ Vaarious SPARQL changes.
|
||||
+ Ontology changes.
|
||||
- Highlights from version 0.9.7:
|
||||
+ Ontology changes.
|
||||
+ tracker-store: Added support for TRACKER_STORE_TASK_MAX_TIME
|
||||
environment variable to set maximum time allowed before
|
||||
interrupting a query
|
||||
+ tracker-miner-fs: Added 'CrawlingInterval' config option to
|
||||
disable or only mtime check file system after n days, default
|
||||
is same as previously (every startup)
|
||||
- Highlights from version 0.9.6:
|
||||
+ Ontology: Added SLO (Simplified Location Ontology) for testing
|
||||
- Highlights from version 0.9.5:
|
||||
+ Added support for libunistring and libicu, to fix word
|
||||
breaking, word normalization, word case folding, and multi
|
||||
language extraction per file
|
||||
+ libtracker-miner: Added TrackerNetworkProvider for miners which
|
||||
need to know about connection status
|
||||
+ tracker-extract: Added specific GIF file extractor
|
||||
+ tracker-search-tool: add search history and auto-completion
|
||||
- Highlights from version 0.9.4:
|
||||
+ Ontology changes.
|
||||
+ tracker-writeback: Added MP4 and 3GPP video files xmp module
|
||||
+ tracker-search-tool: Added "Folders" category
|
||||
- Highlights from version 0.9.3:
|
||||
+ Ontology: Added nco:contactLocalUID property
|
||||
+ Port from libdevkit-power-gobject to libupower-glib
|
||||
+ libtracker-miner: Improve crawling queries (3693 dirs, 27678
|
||||
files, was 651s, now 166s)
|
||||
+ tracker-miner-flickr: Added new miner for Flickr web service
|
||||
- Highlights from version 0.9.2:
|
||||
+ Ontology changes.
|
||||
+ Add html content extraction
|
||||
+ Improved OASIS extractor
|
||||
+ Improved reading PS and PS-GZ files
|
||||
+ Improved reading msoffice/* files
|
||||
- Highlights from version 0.9.1:
|
||||
+ Ontology changes.
|
||||
+ tracker-writeback: Replaced id3lib module (known to corrupt
|
||||
mp3s) for taglib module
|
||||
- Highlights from version 0.9.0:
|
||||
+ Ontology changes.
|
||||
+ Plug memory leak.
|
||||
+ tracker-preferences: UI improvements.
|
||||
- Drop upstreamed tracker-launch-applications-in-results.patch and
|
||||
remove gnome-common BuildRequires and call to autogen.
|
||||
- Rebase tracker-removeable-media-off.patch.
|
||||
- Rename library packages to reflect libraries version bumps:
|
||||
libtracker-client-0_9-0, libtracker-extract-0_9-0,
|
||||
libtracker-miner-0_9-0 instead of *-0_8-0.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 21 17:02:28 CEST 2010 - badshah400@gmail.com
|
||||
|
||||
|
104
tracker.spec
104
tracker.spec
@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package tracker (Version 0.8.5)
|
||||
# spec file for package tracker (Version 0.9.16)
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2010 Luis Medinas, Portugal
|
||||
@ -19,19 +19,20 @@
|
||||
|
||||
|
||||
Name: tracker
|
||||
Version: 0.8.5
|
||||
Release: 2
|
||||
Version: 0.9.16
|
||||
Release: 1
|
||||
# FIXME: add libgupnp-dlna-devel BuildRequires when it's in Factory
|
||||
# FIXME: 2010-03-24 building gtk-doc fails because of a bug in graphviz
|
||||
License: GPLv2+
|
||||
Summary: Powerful object database, tag/metadata database, search tool and indexer
|
||||
Url: http://projects.gnome.org/tracker/
|
||||
Group: Productivity/Other
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
# PATCH-FIX-UPSTREAM tracker-launch-applications-in-results.patch bgo621987 vuntz@opensuse.org -- Correctly handle applications in search results of the search tool
|
||||
Patch0: tracker-launch-applications-in-results.patch
|
||||
# PATCH-FIX-UPSTREAM tracker-fix-new-evo.patch bgo623207 vuntz@opensuse.org -- Fix build with recent e-d-s
|
||||
Patch0: tracker-fix-new-evo.patch
|
||||
# PATCH-FIX-OPENSUSE tracker-removeable-media-off.patch bgo622288 badshah400@gmail.com -- Disable indexing on removable media by default. See bgo#622288 for how it should be done properly.
|
||||
Patch1: tracker-removeable-media-off.patch
|
||||
BuildRequires: DeviceKit-power-devel
|
||||
BuildRequires: NetworkManager-devel
|
||||
BuildRequires: dbus-1-glib-devel
|
||||
BuildRequires: enca-devel
|
||||
BuildRequires: evolution-data-server-devel
|
||||
@ -39,15 +40,13 @@ BuildRequires: evolution-devel
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: flac-devel
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: giflib-devel
|
||||
BuildRequires: glib2-devel
|
||||
# Only needed for patch0: tracker-launch-applications-in-results.patch
|
||||
BuildRequires: gnome-common
|
||||
BuildRequires: gnome-panel-devel
|
||||
BuildRequires: graphviz
|
||||
BuildRequires: gstreamer-0_10-plugins-base-devel
|
||||
BuildRequires: gtk-doc
|
||||
BuildRequires: gtk2-devel
|
||||
BuildRequires: id3lib-devel
|
||||
BuildRequires: intltool
|
||||
BuildRequires: libexempi-devel
|
||||
BuildRequires: libexif-devel
|
||||
@ -57,16 +56,21 @@ BuildRequires: libgnome-keyring-devel
|
||||
%else
|
||||
BuildRequires: gnome-keyring-devel
|
||||
%endif
|
||||
BuildRequires: libgrss-devel
|
||||
BuildRequires: libgsf-devel
|
||||
BuildRequires: libicu-devel
|
||||
BuildRequires: libiptcdata-devel
|
||||
BuildRequires: libpng-devel
|
||||
BuildRequires: libpoppler-glib-devel
|
||||
BuildRequires: librest-devel
|
||||
BuildRequires: libtiff-devel
|
||||
BuildRequires: libupower-glib-devel
|
||||
BuildRequires: libuuid-devel
|
||||
BuildRequires: libvorbis-devel
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: nautilus-devel
|
||||
BuildRequires: sqlite3-devel
|
||||
BuildRequires: taglib-devel
|
||||
BuildRequires: totem-pl-parser-devel
|
||||
BuildRequires: translation-update-upstream
|
||||
BuildRequires: update-desktop-files
|
||||
@ -112,13 +116,13 @@ including context linking and audit trails for a file object.
|
||||
It has the ability to index, store, harvest metadata, retrieve
|
||||
and search all types of files and other first class objects.
|
||||
|
||||
%package -n libtracker-client-0_8-0
|
||||
%package -n libtracker-client-0_9-0
|
||||
License: GPLv2+
|
||||
Summary: Client library for Tracker
|
||||
Group: System/Libraries
|
||||
Recommends: %{name}
|
||||
|
||||
%description -n libtracker-client-0_8-0
|
||||
%description -n libtracker-client-0_9-0
|
||||
Tracker is a powerful desktop-neutral first class object
|
||||
database, tag/metadata database, search tool and indexer.
|
||||
|
||||
@ -133,13 +137,13 @@ including context linking and audit trails for a file object.
|
||||
It has the ability to index, store, harvest metadata, retrieve
|
||||
and search all types of files and other first class objects.
|
||||
|
||||
%package -n libtracker-extract-0_8-0
|
||||
%package -n libtracker-extract-0_9-0
|
||||
License: GPLv2+
|
||||
Summary: Extract library for Tracker
|
||||
Group: System/Libraries
|
||||
Recommends: %{name}
|
||||
|
||||
%description -n libtracker-extract-0_8-0
|
||||
%description -n libtracker-extract-0_9-0
|
||||
Tracker is a powerful desktop-neutral first class object
|
||||
database, tag/metadata database, search tool and indexer.
|
||||
|
||||
@ -154,13 +158,34 @@ including context linking and audit trails for a file object.
|
||||
It has the ability to index, store, harvest metadata, retrieve
|
||||
and search all types of files and other first class objects.
|
||||
|
||||
%package -n libtracker-miner-0_8-0
|
||||
%package -n libtracker-miner-0_9-0
|
||||
License: GPLv2+
|
||||
Summary: Miner library for Tracker
|
||||
Group: System/Libraries
|
||||
Recommends: %{name}
|
||||
|
||||
%description -n libtracker-miner-0_8-0
|
||||
%description -n libtracker-miner-0_9-0
|
||||
Tracker is a powerful desktop-neutral first class object
|
||||
database, tag/metadata database, search tool and indexer.
|
||||
|
||||
It consists of a common object database that allows entities to
|
||||
have an almost infinte number of properties, metadata (both
|
||||
embedded/harvested as well as user definable), a comprehensive
|
||||
database of keywords/tags and links to other entities.
|
||||
|
||||
It provides additional features for file-based objects
|
||||
including context linking and audit trails for a file object.
|
||||
|
||||
It has the ability to index, store, harvest metadata, retrieve
|
||||
and search all types of files and other first class objects.
|
||||
|
||||
%package -n libtracker-sparql-0_9-0
|
||||
License: GPLv2+
|
||||
Summary: Sparql library for Tracker
|
||||
Group: System/Libraries
|
||||
Recommends: %{name}
|
||||
|
||||
%description -n libtracker-sparql-0_9-0
|
||||
Tracker is a powerful desktop-neutral first class object
|
||||
database, tag/metadata database, search tool and indexer.
|
||||
|
||||
@ -180,9 +205,10 @@ License: GPLv2+
|
||||
Summary: Tracker -- Development files
|
||||
Group: Development/Libraries/GNOME
|
||||
Requires: glib2-devel
|
||||
Requires: libtracker-client-0_8-0 = %{version}
|
||||
Requires: libtracker-extract-0_8-0 = %{version}
|
||||
Requires: libtracker-miner-0_8-0 = %{version}
|
||||
Requires: libtracker-client-0_9-0 = %{version}
|
||||
Requires: libtracker-extract-0_9-0 = %{version}
|
||||
Requires: libtracker-miner-0_9-0 = %{version}
|
||||
Requires: libtracker-sparql-0_9-0 = %{version}
|
||||
|
||||
%description -n tracker-devel
|
||||
Tracker is a powerful desktop-neutral first class object
|
||||
@ -249,7 +275,7 @@ translation-update-upstream
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
NOCONFIGURE=1 gnome-autogen.sh
|
||||
autoreconf -fi
|
||||
%configure \
|
||||
--enable-libvorbis \
|
||||
--enable-libflac \
|
||||
@ -266,12 +292,16 @@ make %{?jobs:-j%jobs}
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
rm -r %{buildroot}%{_datadir}/tracker-tests
|
||||
%find_lang %{name}
|
||||
%suse_update_desktop_file tracker-miner-flickr
|
||||
%suse_update_desktop_file tracker-miner-fs
|
||||
%suse_update_desktop_file tracker-miner-rss
|
||||
%suse_update_desktop_file tracker-status-icon
|
||||
%suse_update_desktop_file tracker-store
|
||||
%suse_update_desktop_file %{buildroot}%{_datadir}/tracker/miners/tracker-miner-applications.desktop
|
||||
%suse_update_desktop_file %{buildroot}%{_datadir}/tracker/miners/tracker-miner-evolution.desktop
|
||||
%suse_update_desktop_file %{buildroot}%{_datadir}/tracker/miners/tracker-miner-files.desktop
|
||||
%suse_update_desktop_file %{buildroot}%{_datadir}/tracker/miners/tracker-miner-emails.desktop
|
||||
%suse_update_desktop_file %{buildroot}%{_datadir}/tracker/miners/tracker-miner-flickr.desktop
|
||||
%suse_update_desktop_file %{buildroot}%{_datadir}/tracker/miners/tracker-miner-rss.desktop
|
||||
%suse_update_desktop_file tracker-preferences X-SuSE-ControlCenter-Personal
|
||||
%suse_update_desktop_file tracker-search-tool DesktopUtility
|
||||
%fdupes %{buildroot}
|
||||
@ -279,22 +309,28 @@ rm -r %{buildroot}%{_datadir}/tracker-tests
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%post -n libtracker-client-0_8-0 -p /sbin/ldconfig
|
||||
%post -n libtracker-client-0_9-0 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libtracker-client-0_8-0 -p /sbin/ldconfig
|
||||
%postun -n libtracker-client-0_9-0 -p /sbin/ldconfig
|
||||
|
||||
%post -n libtracker-extract-0_8-0 -p /sbin/ldconfig
|
||||
%post -n libtracker-extract-0_9-0 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libtracker-extract-0_8-0 -p /sbin/ldconfig
|
||||
%postun -n libtracker-extract-0_9-0 -p /sbin/ldconfig
|
||||
|
||||
%post -n libtracker-miner-0_8-0 -p /sbin/ldconfig
|
||||
%post -n libtracker-miner-0_9-0 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libtracker-miner-0_8-0 -p /sbin/ldconfig
|
||||
%postun -n libtracker-miner-0_9-0 -p /sbin/ldconfig
|
||||
|
||||
%post -n libtracker-sparql-0_9-0 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libtracker-sparql-0_9-0 -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS ChangeLog COPYING README NEWS
|
||||
%{_sysconfdir}/xdg/autostart/tracker-miner-flickr.desktop
|
||||
%{_sysconfdir}/xdg/autostart/tracker-miner-fs.desktop
|
||||
%{_sysconfdir}/xdg/autostart/tracker-miner-rss.desktop
|
||||
%{_sysconfdir}/xdg/autostart/tracker-store.desktop
|
||||
%{_bindir}/%{name}-control
|
||||
%{_bindir}/%{name}-explorer
|
||||
@ -306,10 +342,12 @@ rm -rf %{buildroot}
|
||||
%{_bindir}/%{name}-status
|
||||
%{_bindir}/%{name}-tag
|
||||
%{_libexecdir}/%{name}-extract
|
||||
%{_libexecdir}/%{name}-miner-flickr
|
||||
%{_libexecdir}/%{name}-miner-fs
|
||||
%{_libexecdir}/%{name}-miner-rss
|
||||
%{_libexecdir}/%{name}-store
|
||||
%{_libexecdir}/%{name}-writeback
|
||||
%{_libdir}/%{name}-0.8/
|
||||
%{_libdir}/%{name}-0.9/
|
||||
%{_datadir}/%{name}/
|
||||
%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Extract.service
|
||||
%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Miner*
|
||||
@ -357,22 +395,26 @@ rm -rf %{buildroot}
|
||||
%{_sysconfdir}/xdg/autostart/tracker-status-icon.desktop
|
||||
%{_mandir}/man1/tracker-status-icon.1*
|
||||
|
||||
%files -n libtracker-client-0_8-0
|
||||
%files -n libtracker-client-0_9-0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libtracker-client*.so.*
|
||||
|
||||
%files -n libtracker-extract-0_8-0
|
||||
%files -n libtracker-extract-0_9-0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libtracker-extract*.so.*
|
||||
|
||||
%files -n libtracker-miner-0_8-0
|
||||
%files -n libtracker-miner-0_9-0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libtracker-miner*.so.*
|
||||
|
||||
%files -n libtracker-sparql-0_9-0
|
||||
%defattr(-, root, root)
|
||||
%{_libdir}/libtracker-sparql*.so.*
|
||||
|
||||
%files -n tracker-devel
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/lib*.so
|
||||
%{_includedir}/tracker-0.8/
|
||||
%{_includedir}/tracker-0.9/
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
#%{_datadir}/gtk-doc/html/libtracker-common/
|
||||
#%{_datadir}/gtk-doc/html/libtracker-miner/
|
||||
|
Loading…
x
Reference in New Issue
Block a user