[tracker/harmattan-pre-signal-updates: 647/1380] Fixes NB#175613: Ignore .mms/Messages/Outgoing during indexing



commit 36d71298e1c876e57171eec7bc0fde6638ceb5cc
Author: Aleksander Morgado <aleksander lanedo com>
Date:   Mon Jul 5 17:20:28 2010 +0200

    Fixes NB#175613: Ignore .mms/Messages/Outgoing during indexing

 debian/patches/02-default-config.patch |   17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)
---
diff --git a/debian/patches/02-default-config.patch b/debian/patches/02-default-config.patch
index c86980c..b0d1275 100644
--- a/debian/patches/02-default-config.patch
+++ b/debian/patches/02-default-config.patch
@@ -1,8 +1,8 @@
 diff --git a/src/miners/fs/tracker-config.c b/src/miners/fs/tracker-config.c
-index b1bb267..283928a 100644
+index 9ba2700..df0b978 100644
 --- a/src/miners/fs/tracker-config.c
 +++ b/src/miners/fs/tracker-config.c
-@@ -41,7 +41,7 @@
+@@ -41,16 +41,16 @@
  
  /* Default values */
  #define DEFAULT_VERBOSITY                        0
@@ -11,8 +11,7 @@ index b1bb267..283928a 100644
  #define DEFAULT_ENABLE_MONITORS                  TRUE
  #define DEFAULT_THROTTLE                         0        /* 0->20 */
  #define DEFAULT_SCAN_TIMEOUT                     0        /* 0->1000 */
-@@ -49,8 +49,8 @@
- #define DEFAULT_INDEX_MOUNTED_DIRECTORIES        TRUE
+ #define DEFAULT_CACHE_TIMEOUT                    60       /* 0->1000 */
  #define DEFAULT_INDEX_REMOVABLE_DEVICES          TRUE
  #define DEFAULT_INDEX_OPTICAL_DISCS              FALSE
 -#define DEFAULT_INDEX_ON_BATTERY                 FALSE
@@ -21,8 +20,9 @@ index b1bb267..283928a 100644
 -#define DEFAULT_LOW_DISK_SPACE_LIMIT             1        /* 0->100 / -1 */
 +#define DEFAULT_LOW_DISK_SPACE_LIMIT             -1       /* 0->100 / -1 */
  #define DEFAULT_CRAWLING_INTERVAL                0        /* 0->365 / -1 */
-
-@@ -620,6 +620,24 @@ config_create_with_defaults (TrackerConfig *config,
+ 
+ typedef struct {
+@@ -601,6 +601,24 @@ config_create_with_defaults (TrackerConfig *config,
  		case G_TYPE_POINTER:
  			/* Special case string lists */
  			if (g_strcmp0 (conversions[i].property, "index-recursive-directories") == 0) {
@@ -47,7 +47,7 @@ index b1bb267..283928a 100644
  				/* Since we can't know if
  				 * $HOME/.config/user-dirs.dirs exists
  				 * or not, we check that the GLib API
-@@ -691,12 +709,15 @@ config_create_with_defaults (TrackerConfig *config,
+@@ -672,12 +690,15 @@ config_create_with_defaults (TrackerConfig *config,
  				                            g_strv_length (string_list));
  
  				g_strfreev (string_list);
@@ -63,7 +63,7 @@ index b1bb267..283928a 100644
  				}
  
  				string_list = tracker_gslist_to_string_list (paths);
-@@ -711,6 +732,11 @@ config_create_with_defaults (TrackerConfig *config,
+@@ -692,6 +713,12 @@ config_create_with_defaults (TrackerConfig *config,
  				g_strfreev (string_list);
  			} else if (g_strcmp0 (conversions[i].property, "ignored-directories") == 0) {
  				const gchar *string_list[] = {
@@ -71,6 +71,7 @@ index b1bb267..283928a 100644
 +					"$HOME/MyDocs/core-dumps/",
 +					"$HOME/MyDocs/cities/",
 +					"$HOME/MyDocs/.sounds/Ringtones/",
++					"$HOME/.mms/Messages/Outgoing/",
 +#endif /* HAVE_MAEMO */
  					"po", "CVS", "core-dumps", "lost+found",
  					NULL



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]