--- tracker-0.6.4.orig/debian/libtrackerclient0.install +++ tracker-0.6.4/debian/libtrackerclient0.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/libtrackerclient.so.* --- tracker-0.6.4.orig/debian/libtracker-gtk-dev.install +++ tracker-0.6.4/debian/libtracker-gtk-dev.install @@ -0,0 +1,3 @@ +debian/tmp/usr/lib/libtracker-gtk.{so,a} +debian/tmp/usr/include/libtracker-gtk/*.h +debian/tmp/usr/lib/pkgconfig/libtracker-gtk.pc --- tracker-0.6.4.orig/debian/patches/02-tracker_log_file.patch +++ tracker-0.6.4/debian/patches/02-tracker_log_file.patch @@ -0,0 +1,47 @@ +Index: src/trackerd/trackerd.c +=================================================================== +--- src/trackerd/trackerd.c (Revision 1073) ++++ src/trackerd/trackerd.c (Revision 1074) +@@ -2486,12 +2486,6 @@ + + tracker->is_running = FALSE; + +- tracker->log_file = g_build_filename (tracker->root_dir, "tracker.log", NULL); +- +- tracker->dbus_con = tracker_dbus_init (); +- +- add_local_dbus_connection_monitoring (tracker->dbus_con); +- + /* Make a temporary directory for Tracker into g_get_tmp_dir() directory */ + gchar *tmp_dir; + +@@ -2505,6 +2499,18 @@ + tracker->config_dir = g_strdup (g_get_user_config_dir ()); + tracker->user_data_dir = g_build_filename (tracker->root_dir, "data", NULL); + ++ tracker->log_file = g_build_filename (tracker->root_dir, "tracker.log", NULL); ++ ++ /* reset log file */ ++ tracker_unlink (tracker->log_file); ++ ++ tracker_log ("starting log"); ++ ++ tracker->dbus_con = tracker_dbus_init (); ++ ++ add_local_dbus_connection_monitoring (tracker->dbus_con); ++ ++ + g_free (tmp_dir); + + /* remove an existing one */ +@@ -2636,9 +2642,7 @@ + ioprio (); + #endif + +- /* reset log file */ +- tracker_unlink (tracker->log_file); +- ++ + /* deal with config options with defaults, config file and option params */ + set_defaults (); + --- tracker-0.6.4.orig/debian/patches/01-libtracker_gtk_missing_libs.patch +++ tracker-0.6.4/debian/patches/01-libtracker_gtk_missing_libs.patch @@ -0,0 +1,41 @@ +Index: src/libtracker-gtk/Makefile.in +=================================================================== +--- src/libtracker-gtk/Makefile.in (Revision 985) ++++ src/libtracker-gtk/Makefile.in (Arbeitskopie) +@@ -59,7 +59,8 @@ + libLTLIBRARIES_INSTALL = $(INSTALL) + LTLIBRARIES = $(lib_LTLIBRARIES) + am__DEPENDENCIES_1 = +-libtracker_gtk_la_DEPENDENCIES = $(am__DEPENDENCIES_1) ++libtracker_gtk_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \ ++ $(top_builddir)/src/libtracker/libtrackerclient.la + am_libtracker_gtk_la_OBJECTS = tracker-utils.lo tracker-ui.lo \ + tracker-metadata-tile.lo tracker-tag-bar.lo \ + tracker-keyword-store.lo +@@ -351,7 +352,10 @@ + tracker-tag-bar.c \ + tracker-keyword-store.c + +-libtracker_gtk_la_LIBADD = $(LIBTRACKERGTK_LIBS) ++libtracker_gtk_la_LIBADD = \ ++ $(top_builddir)/src/libtracker/libtrackerclient.la \ ++ $(LIBTRACKERGTK_LIBS) ++ + libtracker_gtk_la_LDFLAGS = -version-info 0:0:0 + all: all-am + +Index: src/libtracker-gtk/Makefile.am +=================================================================== +--- src/libtracker-gtk/Makefile.am (Revision 984) ++++ src/libtracker-gtk/Makefile.am (Arbeitskopie) +@@ -23,6 +23,9 @@ + tracker-tag-bar.c \ + tracker-keyword-store.c + +-libtracker_gtk_la_LIBADD = $(LIBTRACKERGTK_LIBS) ++libtracker_gtk_la_LIBADD = \ ++ $(top_builddir)/src/libtracker/libtrackerclient.la \ ++ $(LIBTRACKERGTK_LIBS) ++ + libtracker_gtk_la_LDFLAGS = -version-info 0:0:0 + --- tracker-0.6.4.orig/debian/patches/04_fix_crash_index_name_is_null.patch +++ tracker-0.6.4/debian/patches/04_fix_crash_index_name_is_null.patch @@ -0,0 +1,123 @@ +Index: src/trackerd/tracker-indexer.c +=================================================================== +--- src/trackerd/tracker-indexer.c (revision 1075) ++++ src/trackerd/tracker-indexer.c (working copy) +@@ -215,7 +215,7 @@ + } + + if (!word_index) { +- tracker_log ("%s index was not closed properly and caused error %s- attempting repair", name, dperrmsg (dpecode)); ++ tracker_error ("%s index was not closed properly and caused error %s- attempting repair", name, dperrmsg (dpecode)); + if (dprepair (name)) { + word_index = dpopen (name, DP_OWRITER | DP_OCREAT | DP_ONOLCK, tracker->min_index_bucket_count); + } else { +@@ -228,6 +228,16 @@ + } + + ++static inline char * ++get_index_file (const char *name) ++{ ++ char *word_dir; ++ ++ word_dir = g_build_filename (tracker->data_dir, name, NULL); ++ ++ return word_dir; ++} ++ + Indexer * + tracker_indexer_open (const gchar *name) + { +@@ -237,7 +247,7 @@ + + if (!name) return NULL; + +- word_dir = g_build_filename (tracker->data_dir, name, NULL); ++ word_dir = get_index_file (name); + + word_index = open_index (word_dir); + +@@ -504,7 +514,7 @@ + } + + static void +-move_index (Indexer *src_index, Indexer *dest_index) ++move_index (Indexer *src_index, Indexer *dest_index, const char *fname) + { + + if (!src_index || !dest_index) { +@@ -515,8 +525,6 @@ + /* remove existing main index */ + g_mutex_lock (dest_index->word_mutex); + +- char *fname = dpname (dest_index->word_index); +- + dpclose (dest_index->word_index); + + dpremove (fname); +@@ -526,7 +534,9 @@ + tracker_indexer_close (src_index); + + /* rename and reopen final index as main index */ +- ++ ++ tracker_log ("renaming %s to %s", final_name, fname); ++ + rename (final_name, fname); + + dest_index->word_index = open_index (fname); +@@ -535,7 +545,6 @@ + tracker_error ("index creation failure for %s from %s", fname, final_name); + } + +- g_free (fname); + g_free (final_name); + + g_mutex_unlock (dest_index->word_mutex); +@@ -556,7 +565,7 @@ + if (type == INDEX_TYPE_FILES) { + + g_return_if_fail (tracker->file_index); +- ++ + prefix = "file-index.tmp."; + + index_list = g_slist_prepend (index_list, tracker->file_index); +@@ -571,7 +580,7 @@ + prefix = "email-index.tmp."; + + g_return_if_fail (tracker->email_index); +- ++ + index_list = g_slist_prepend (index_list, tracker->email_index); + + char *tmp = g_build_filename (tracker->data_dir, "email-index-final", NULL); +@@ -748,6 +757,9 @@ + g_free (str); + } + ++ ++ ++ + /* dont free last entry as that is the main index */ + if (lst->next) { + +@@ -757,7 +769,17 @@ + + + } else { +- move_index (final_index, index); ++ if (type == INDEX_TYPE_FILES) { ++ ++ char *fname = get_index_file ("file-index.db"); ++ move_index (final_index, tracker->file_index, fname); ++ g_free (fname); ++ ++ } else { ++ char *fname = get_index_file ("email-index.db"); ++ move_index (final_index, tracker->email_index, fname); ++ g_free (fname); ++ } + } + } + --- tracker-0.6.4.orig/debian/patches/02_no_kde_autostart.patch +++ tracker-0.6.4/debian/patches/02_no_kde_autostart.patch @@ -0,0 +1,11 @@ +--- tracker/trackerd.desktop.in.in 2007-07-10 00:51:21.000000000 +0100 ++++ tracker/trackerd.desktop.in.in 2007-10-03 11:36:46.000000000 +0100 +@@ -12,7 +12,7 @@ + X-KDE-StartupNotify=false + X-KDE-UniqueApplet=true + NoDisplay=true +-OnlyShowIn=GNOME;KDE;XFCE; ++OnlyShowIn=GNOME;XFCE; + X-GNOME-Bugzilla-Bugzilla=GNOME + X-GNOME-Bugzilla-Product=tracker + X-GNOME-Bugzilla-Component=Indexer --- tracker-0.6.4.orig/debian/patches/06_trackerd_infinite_loop.patch +++ tracker-0.6.4/debian/patches/06_trackerd_infinite_loop.patch @@ -0,0 +1,120 @@ +Index: ChangeLog +=================================================================== +--- ChangeLog (revision 1078) ++++ ChangeLog (working copy) +@@ -1,3 +1,13 @@ ++2007-12-13 Jamie McCracken ++ ++ * Fixed issue with log file being null ++ * Fixed typo of metadata name Audio:PeakTrackGain in the gstreamer extractor ++ * fix for crasher where index name is null during merging ++ * make initial indexing on battery off by default ++ * Fixed prevention of multiple instances of trackerd causing infinite loop and 100% cpu ++ * Fixed reentrant signals to prevent loops by dying quickly ++ ++ + 2007-12-09 Jamie McCracken + + * Increased startup sleep for applet to prevent race condition +Index: src/trackerd/trackerd.c +=================================================================== +--- src/trackerd/trackerd.c (revision 1078) ++++ src/trackerd/trackerd.c (working copy) +@@ -618,19 +618,13 @@ + static void + signal_handler (gint signo) + { +- if (!tracker->is_running) { +- return; +- } +- + static gboolean in_loop = FALSE; + +- /* avoid re-entrant signals handler calls */ +- if (in_loop && signo != SIGSEGV) { +- return; ++ /* die if we get re-entrant signals handler calls */ ++ if (in_loop) { ++ exit (EXIT_FAILURE); + } + +- in_loop = TRUE; +- + switch (signo) { + + case SIGSEGV: +@@ -646,6 +640,8 @@ + case SIGTERM: + case SIGINT: + ++ in_loop = TRUE; ++ + tracker->is_running = FALSE; + tracker_end_watching (); + +@@ -660,8 +656,7 @@ + if (tracker->log_file && g_strsignal (signo)) { + tracker_log ("Received signal %s ", g_strsignal (signo)); + } +- in_loop = FALSE; +- break; ++ break; + } + } + +@@ -2422,6 +2417,14 @@ + if (!g_thread_supported ()) + g_thread_init (NULL); + ++ dbus_g_thread_init (); ++ ++ tracker = g_new0 (Tracker, 1); ++ ++ tracker->dbus_con = tracker_dbus_init (); ++ ++ add_local_dbus_connection_monitoring (tracker->dbus_con); ++ + setlocale (LC_ALL, ""); + + bindtextdomain (GETTEXT_PACKAGE, TRACKER_LOCALEDIR); +@@ -2478,9 +2481,9 @@ + sigaction (SIGINT, &act, NULL); + #endif + +- dbus_g_thread_init (); ++ + +- tracker = g_new0 (Tracker, 1); ++ + + tracker->status = STATUS_INIT; + +@@ -2506,9 +2509,7 @@ + + tracker_log ("starting log"); + +- tracker->dbus_con = tracker_dbus_init (); + +- add_local_dbus_connection_monitoring (tracker->dbus_con); + + + g_free (tmp_dir); +Index: src/trackerd/tracker-utils.c +=================================================================== +--- src/trackerd/tracker-utils.c (revision 1078) ++++ src/trackerd/tracker-utils.c (working copy) +@@ -3491,11 +3491,13 @@ + /* logging is thread safe */ + static size_t log_size = 0; + +- if (! message) ++ if (!message) + return; + + g_print ("%s\n", message); + ++ if (!tracker->log_file) return; ++ + /* ensure file logging is thread safe */ + g_mutex_lock (tracker->log_access_mutex); + --- tracker-0.6.4.orig/debian/patches/05_typo_audio_track_peak_gain_tag.patch +++ tracker-0.6.4/debian/patches/05_typo_audio_track_peak_gain_tag.patch @@ -0,0 +1,13 @@ +Index: src/tracker-extract/tracker-extract-gstreamer.c +=================================================================== +--- src/tracker-extract/tracker-extract-gstreamer.c (revision 1076) ++++ src/tracker-extract/tracker-extract-gstreamer.c (working copy) +@@ -496,7 +496,7 @@ + add_uint_gst_tag (metadata, "Audio:DiscNo", extractor->tagcache, GST_TAG_ALBUM_VOLUME_NUMBER); + add_string_gst_tag (metadata, "Audio:Performer", extractor->tagcache, GST_TAG_PERFORMER); + add_double_gst_tag (metadata, "Audio:TrackGain", extractor->tagcache, GST_TAG_TRACK_GAIN); +- add_double_gst_tag (metadata, "Audio:TrackPeakGain", extractor->tagcache, GST_TAG_TRACK_PEAK); ++ add_double_gst_tag (metadata, "Audio:PeakTrackGain", extractor->tagcache, GST_TAG_TRACK_PEAK); + add_double_gst_tag (metadata, "Audio:AlbumGain", extractor->tagcache, GST_TAG_ALBUM_GAIN); + add_double_gst_tag (metadata, "Audio:AlbumPeakGain", extractor->tagcache, GST_TAG_ALBUM_PEAK); + add_year_of_gdate_gst_tag (metadata, "Audio:ReleaseDate", extractor->tagcache, GST_TAG_DATE); --- tracker-0.6.4.orig/debian/patches/03_no_initial_index_in_battery.patch +++ tracker-0.6.4/debian/patches/03_no_initial_index_in_battery.patch @@ -0,0 +1,13 @@ +Index: src/trackerd/tracker-utils.c +=================================================================== +--- src/trackerd/tracker-utils.c (revision 1074) ++++ src/trackerd/tracker-utils.c (revision 1075) +@@ -2552,7 +2552,7 @@ + "# Disable all indexing when on battery\n", + "BatteryIndex=true\n", + "# Disable initial index sweep when on battery\n", +- "BatteryIndexInitial=true\n", ++ "BatteryIndexInitial=false\n", + "# Pause indexer when disk space gets below equal/below this value, in %% of the $HOME filesystem. Set it to a value smaller then zero to disable pausing at all.\n", + "LowDiskSpaceLimit=1\n\n", + "[Emails]\n", --- tracker-0.6.4.orig/debian/tracker-utils.manpages +++ tracker-0.6.4/debian/tracker-utils.manpages @@ -0,0 +1,7 @@ +debian/tmp/usr/share/man/man1/tracker-files.1 +debian/tmp/usr/share/man/man1/tracker-meta-folder.1 +debian/tmp/usr/share/man/man1/tracker-query.1 +debian/tmp/usr/share/man/man1/tracker-search.1 +debian/tmp/usr/share/man/man1/tracker-stats.1 +debian/tmp/usr/share/man/man1/tracker-status.1 +debian/tmp/usr/share/man/man1/tracker-tag.1 --- tracker-0.6.4.orig/debian/tracker.install +++ tracker-0.6.4/debian/tracker.install @@ -0,0 +1,13 @@ +debian/tmp/usr/bin/trackerd +debian/tmp/usr/bin/tracker-thumbnailer +debian/tmp/usr/bin/tracker-extract +debian/tmp/usr/share/dbus-1/services/ +debian/tmp/usr/share/tracker/*.xml +debian/tmp/usr/share/tracker/*.sql +debian/tmp/usr/share/tracker/languages/ +debian/tmp/usr/share/tracker/services/ +debian/tmp/usr/share/locale/ +debian/tmp/usr/share/icons/ +debian/tmp/usr/lib/tracker/ +debian/tmp/etc/xdg/autostart/trackerd.desktop +debian/tmp/etc/xdg/autostart/trackerd.desktop usr/share/autostart/ --- tracker-0.6.4.orig/debian/copyright +++ tracker-0.6.4/debian/copyright @@ -0,0 +1,119 @@ +This package was debianized by Michael Biebl on +Tue, 28 Nov 2006 20:35:52 +0100. + +It was downloaded from http://www.tracker-project.org/ + +Upstream Author: + Jamie McCracken (jamiemcc at gnome.org) + +Copyright: + Copyright (C) 2006, Mr Jamie McCracken (jamiemcc@gnome.org) + +License: + +All files if not specified otherwise are licensed under the GPL v2 or later. + + +=============================================================================== +src/libtracker/* (libtrackerclient) + +Copyright (C) 2006, Mr Jamie McCracken (jamiemcc@gnome.org) +License: LGPL v2 or later + +=============================================================================== +src/libstemmer/* + +Copyright (c) 2001, Dr Martin Porter +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of the nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +=============================================================================== +src/sqlite3/* (inlined copy of sqlite) + +The author disclaims all copyright. The library is in the public domain. + +=============================================================================== +src/text-filters/ooo_converter/* (inlined copy of o3read) + +Copyright (C) 2002-2005 Ulric Eriksson +License: GPL v2 or later + +=============================================================================== +src/trackerd/xdgmime* (inlined copy of xdgmime) + +Copyright (C) 2004 Red Hat, Inc +License: Academic Free License version 2.0 or LGPL v2 or later + +=============================================================================== +src/qdbm/* (inlined copy of QDBM) + +Copyright (C) 2000-2006 Mikio Hirabayashi +License: LGPL v2.1 or later + +=============================================================================== +src/tracker-thumbnailer/md5.* + +Copyright (C) 1999 Aladdin Enterprises. All rights reserved. + +This software is provided 'as-is', without any express or implied +warranty. In no event will the authors be held liable for any damages +arising from the use of this software. + +Permission is granted to anyone to use this software for any purpose, +including commercial applications, and to alter it and redistribute it +freely, subject to the following restrictions: + +1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. +2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. +3. This notice may not be removed or altered from any source distribution. + +=============================================================================== +src/tracker-search-tool/sexy-icon-* (inlined copy of libsexy) + +Copyright (C) 2004-2006 Christian Hammond +License: LGPL v2 or later + +=============================================================================== +python/deskbar-handler/tracker-handler.py + +Copyright (c) 2006 Mikkel Kamstrup +License: GPL v2 or later + + + +On Debian systems, the complete text of the GNU Lesser General +Public License can be found in `/usr/share/common-licenses/LGPL'. + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + + + +The Debian packaging is (C) 2006, Michael Biebl and +is licensed under the GPL, see above. --- tracker-0.6.4.orig/debian/watch +++ tracker-0.6.4/debian/watch @@ -0,0 +1,5 @@ +version=3 + +# Probably going to be tracker-project.org in the future. +http://www.gnome.org/projects/tracker/download.html \ + .*/tracker-(.*)\.tar\.gz --- tracker-0.6.4.orig/debian/libtracker-gtk0.install +++ tracker-0.6.4/debian/libtracker-gtk0.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/libtracker-gtk.so.* --- tracker-0.6.4.orig/debian/control +++ tracker-0.6.4/debian/control @@ -0,0 +1,116 @@ +Source: tracker +Section: utils +Priority: optional +Maintainer: Ubuntu Desktop Team +XSBC-Original-Maintainer: Michael Biebl +XS-Python-Version: all +Build-Depends: cdbs, debhelper (>= 5.0.0), autotools-dev, libxml-parser-perl, libglib2.0-dev (>= 2.12.0), libpango1.0-dev (>= 1.0.0), libgmime-2.0-2-dev (>= 2.1.0), libdbus-1-dev (>= 0.60), libdbus-glib-1-dev (>= 0.60), libgstreamer0.10-dev (>= 0.10.0), libsqlite3-dev (>= 3.4), libpoppler-dev (>= 0.4.5), libpoppler-glib-dev (>= 0.4.5), libgsf-1-dev (>= 1.13), libexif-dev (>= 0.6), libpng12-dev (>= 1.2), libgtk2.0-dev (>= 2.10.0), libgnome2-dev (>= 2.14.0), libgnomeui-dev (>= 2.14.0), libgnomevfs2-dev (>= 2.8.4), libgnome-desktop-dev (>= 2.10), zlib1g-dev, libexempi-dev (>= 1.99.2), libnotify-dev (>= 0.4.3), libhal-dev (>= 0.5) +Build-Depends-Indep: python-central (>= 0.5) +Standards-Version: 3.7.3 +Homepage: http://www.tracker-project.org/ + +Package: tracker +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, shared-mime-info, dbus, o3read +Recommends: tracker-utils, tracker-search-tool, unzip, wv, poppler-utils | xpdf-utils, xsltproc, w3m, untex +Suggests: imagemagick, evince, djvulibre-bin, gnumeric +Description: metadata database, indexer and search tool + Tracker is an advanced framework for first class objects with associated + metadata and tags. It provides a one stop solution for all metadata, tags, + shared object databases, search tools and indexing. + +Package: libtrackerclient0 +Architecture: any +Section: libs +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: metadata database, indexer and search tool - library + This package contains the library that is used by applications to access + the Tracker daemon. + . + Tracker is an advanced framework for first class objects with associated + metadata and tags. It provides a one stop solution for all metadata, tags, + shared object databases, search tools and indexing. + +Package: libtrackerclient-dev +Architecture: any +Section: libdevel +Depends: libtrackerclient0 (= ${binary:Version}), libglib2.0-dev, libdbus-1-dev, libdbus-glib-1-dev +Description: metadata database, indexer and search tool - development files + This package contains the static libraries and header files needed to link + applications with libtrackerclient. + . + Tracker is an advanced framework for first class objects with associated + metadata and tags. It provides a one stop solution for all metadata, tags, + shared object databases, search tools and indexing. + +Package: libtracker-gtk0 +Architecture: any +Section: libs +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: GTK+ widgets for apps that use tracker + This library provides handy GTK+ widgets which allows applications to + easily make use of tracker. + +Package: libtracker-gtk-dev +Architecture: any +Section: libdevel +Depends: libtracker-gtk0 (= ${binary:Version}), libtrackerclient-dev, libgtk2.0-dev, libglib2.0-dev +Description: GTK+ widgets for apps that use tracker - development files + This package contains the static libraries and header files needed to link + applications with libtracker-gtk. + . + libtracker-gtk provides handy GTK+ widgets which allows applications to + easily make use of tracker. + +Package: tracker-utils +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, tracker (= ${binary:Version}) +Description: metadata database, indexer and search tool - commandline tools + Included utilities for Tracker: + * tracker-files: get files based on a ServiceType or on specified mime types. + * tracker-meta-folder: get metadata for files in a folder. + * tracker-query: this reads from STDIN an RDF Query that specifies the search + criteria for various fields. It prints to STDOUT all matching files. Some + examples are included in this package. + * tracker-search: this perfoms a google like search using SEARCHTERM to + retrieve all matching files where SEARCHTERM appears in any searchable + metadata. + * tracker-stats: retreive some statistics. + * tracker-status: report the trackerd status. + * tracker-tag: tool to manage tags on files. + . + Tracker is an advanced framework for first class objects with associated + metadata and tags. It provides a one stop solution for all metadata, tags, + shared object databases, search tools and indexing. + +Package: tracker-search-tool +Architecture: any +Section: gnome +Depends: ${shlibs:Depends}, ${misc:Depends}, tracker (= ${binary:Version}) +Recommends: xdg-utils +Description: metadata database, indexer and search tool - GNOME frontend + This package provides a graphical Tracker search tool for GNOME. + . + Tracker is an advanced framework for first class objects with associated + metadata and tags. It provides a one stop solution for all metadata, tags, + shared object databases, search tools and indexing. + +Package: libdeskbar-tracker +Architecture: all +XB-Python-Version: ${python:Versions} +Depends: ${misc:Depends}, ${python:Depends}, python-dbus (>= 0.41), python-gnome2, python-gobject | python-gtk2 (<< 2.10), deskbar-applet (>= 2.20.0), tracker +Recommends: tracker-search-tool +Description: metadata database, indexer and search tool - deskbar-applet plugin + This package provides a deskbar-applet plugin for Tracker. + . + Tracker is an advanced framework for first class objects with associated + metadata and tags. It provides a one stop solution for all metadata, tags, + shared object databases, search tools and indexing. + +Package: tracker-dbg +Architecture: any +Priority: extra +Depends: ${shlibs:Depends} +Description: metadata database, indexer and search tool - debugging symbols + This package includes the debugging symbols useful for debugging tracker and + its utilities --- tracker-0.6.4.orig/debian/tracker-search-tool.manpages +++ tracker-0.6.4/debian/tracker-search-tool.manpages @@ -0,0 +1,3 @@ +debian/tmp/usr/share/man/man1/tracker-search-tool.1 +debian/tmp/usr/share/man/man1/tracker-preferences.1 +debian/tmp/usr/share/man/man1/tracker-applet.1 --- tracker-0.6.4.orig/debian/rules +++ tracker-0.6.4/debian/rules @@ -0,0 +1,23 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/gnome.mk +include /usr/share/cdbs/1/rules/utils.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +DEB_CONFIGURE_EXTRA_FLAGS := \ + --enable-unac \ + --enable-external-sqlite \ + --enable-deskbar-applet=module \ + --enable-gui \ + --enable-preferences \ + --enable-libtrackergtk \ + --enable-trackerapplet + +LDFLAGS += -Wl,--as-needed -Wl,-Bsymbolic + +# Enforce tight shlibs dependencies +DEB_DH_MAKESHLIBS_ARGS_ALL := -V + +binary-install/libdeskbar-tracker:: + dh_pycentral -p$(cdbs_curpkg) --- tracker-0.6.4.orig/debian/libdeskbar-tracker.install +++ tracker-0.6.4/debian/libdeskbar-tracker.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/deskbar-applet/ --- tracker-0.6.4.orig/debian/changelog +++ tracker-0.6.4/debian/changelog @@ -0,0 +1,423 @@ +tracker (0.6.4-1ubuntu1) hardy; urgency=low + + * Merge with Debian, remaining Ubuntu changes: + - debian/control: + + Addhere to DebianMaintainerField spec. + + Do not build-depend on universe dependencies: + libunac1-dev, libqdbm-dev. + + tracker depends on o3read instead of recommend it, so we have + OOo indexing by default. + - debian/rules: + + Enable sqlite external db instead of qdbm. + - debian/patches/02_no_kde_autostart.patch: + + Do not autostart trackerd in Kde, as they have strigi. + - debian/patches/03_no_initial_index_in_battery.patch: + + Do not run the initial index if running on battery. + Patch taken from upstream SVN, revision 1075: + http://svn.gnome.org/viewvc/tracker?view=revision&revision=1075 + - debian/patches/04_fix_crash_index_name_is_null.patch: + + Fix a crash when index name is null during merging. + Patch taken from upstream SVN, revision 1076: + http://svn.gnome.org/viewvc/tracker?view=revision&revision=1076 + - debian/patches/05_typo_audio_track_peak_gain_tag.patch: + + Fix a typo in a tag metadata. LP: #145359 + Patch taken from upstream SVN, revision 1077: + http://svn.gnome.org/viewvc/tracker?view=revision&revision=1077 + - debian/patches/06_trackerd_infinite_loop.patch: + + Fix an infinite loop in trackerd if a second instance is + launched. Patch taken from upstream SVN, revision 1079: + http://svn.gnome.org/viewvc/tracker?view=revision&revision=1079 + + * Bugs fixed in the new release: + - LP: #130935. Added a notification area tool displaying trackerd's + status, and allowing to search from there. + - LP: #138331: prevent hangs which stopped tracker quitting smoothly. + - LP: #147756: Fixed memory leaks. + - LP: #159807: Stop indexing if disk is full. + - LP: #164148: Unsafe tempfile usage. + - LP: #148520: Check for overlapping watch dirs + - LP: #132463: Always show full path of files in tracker-search-tool. + - LP: #133402: Do not repeat 'Preferences' in the preferences title. + - LP: #164412: Limit log size to 10MB. + - LP: #150814: Detect and prevent database corruption. + - LP: #160262: Fix evolution email opening for the deskbar handlers. + - LP: #150030: Show applications in search results. + + -- Emilio Pozuelo Monfort Fri, 14 Dec 2007 01:16:26 +0100 + +tracker (0.6.4-1) unstable; urgency=low + + * New upstream release. + - Check for dbus errors in tracker-status. Closes: #445499 + - Fix memory leaks in trackerd. Closes: #451216 + - Check for changed/removed files on startup and correctly handle + NoWatchDirectories. Closes: #412116 + * debian/control + - Bump Standards-Version to 3.7.3. No further changes required. + - Add Build-Depends on libnotify-dev (>= 0.4.3) and raise Build-Depends on + libgtk2.0-dev (>= 2.10.0). Required for compiling tracker-applet. + - Add Build-Depends on libhal-dev (>= 0.5). Required for battery status + detection support. + * debian/patches/01-stemming_languages.patch + - Removed, merged upstream. + * debian/patches/02-memleak_fix.patch + - Removed, merged upstream. + * debian/patches/01-libtracker_gtk_missing_libs.patch + - libtracker-gtk uses symbols from libtrackerclient, so make sure we link + against it. + * debian/patches/02-tracker_log_file.patch + - Pull tracker log file fix from svn (r1074). + * debian/rules + - Pass --enable-trackerapplet to DEB_CONFIGURE_EXTRA_FLAGS. This enables + the compilation of tracker-applet, an application for the GNOME + notification area which shows the status of the trackerd daemon and + allows to quickly access the most frequently used actions. + * debian/tracker-search-tool.manpages + - Install the tracker-applet man page. + * debian/tracker-search-tool.install + - Install the tracker-applet binary and its autostart desktop file. + + -- Michael Biebl Tue, 11 Dec 2007 20:22:15 +0100 + +tracker (0.6.3-3ubuntu1) hardy; urgency=low + + * Merge with Debian, remaining Ubuntu changes: + - debian/control: + + Addhere to DebianMaintainerField spec. + + Do not build-depend on universe dependencies: + libunac1-dev, libqdbm-dev. + + Build-depend on intltool to get updated translations. + + tracker depends on o3read instead of recommend it, so we have + OOo indexing by default. + - debian/patches/02_no_kde_autostart.patch: + + Do not autostart trackerd in Kde, as they have strigi. + - debian/patches/tracker-crasher.patch: + + patch from upstream, fix a crasher issue (LP #147348) + - debian/rules: + + Enable sqlite external db instead of qdbm. + + -- Emilio Pozuelo Monfort Fri, 07 Dec 2007 18:20:39 +0100 + +tracker (0.6.3-3) unstable; urgency=low + + * Fix the path for the deskbar-applet modules directory. Closes: #445588 + + -- Michael Biebl Thu, 18 Oct 2007 16:21:15 +0200 + +tracker (0.6.3-2) unstable; urgency=low + + * Enable the new-style module for deskbar-applet. Closes: #445588 + * debian/rules + - Pass "--enable-deskbar-applet=module" to DEB_CONFIGURE_EXTRA_FLAGS. + * debian/control + - Make the dependency on deskbar-applet versioned as the new-style module + only works with deskbar-applet >= 2.20.0. + * debian/libdeskbar-tracker.install + - The new-style deskbar-applet modules are installed to a different path, + update the install file accordingly. + + -- Michael Biebl Wed, 17 Oct 2007 20:37:07 +0200 + +tracker (0.6.3-1) unstable; urgency=low + + * New upstream release. + * debian/patches/01-version_fix.patch + - Removed, merged upstream. + * debian/patches/02-getenv.patch + - Removed, merged upstream. + * debian/patches/03-system_ioprio.patch + - Removed, fixed upstream. + * debian/control + - Build-Depend on libqdbm-dev (again); qdbm proved to be a lot faster and + less ressource hungy for the index databases than sqlite3. + - Enable XMP support by adding a Build-Depends on libexempi-dev. + - Use the new "Homepage:" field to specify the upstream URL. + * debian/rules + - Build against the system qdbm libray. + - Pass "-Wl,-Bsymbolic" to LDFLAGS. This will avoid namespace conflicts + which can lead to all kinds of subtle bugs in clients that load + libtrackerclient via dlopen. Closes: #443824 + + -- Michael Biebl Fri, 28 Sep 2007 11:25:49 +0200 + +tracker (0.6.3-0ubuntu3) gutsy; urgency=low + + * debian/patches/tracker-crasher.patch: + - patch from upstream, fix a crasher issue (LP: #147348) + + -- Sebastien Bacher Mon, 15 Oct 2007 17:34:34 +0200 + +tracker (0.6.3-0ubuntu2) gutsy; urgency=low + + * Add 02_no_kde_autostart.patch, don't autostart in KDE + since it already has a disk indexer + + -- Jonathan Riddell Wed, 03 Oct 2007 11:37:21 +0100 + +tracker (0.6.3-0ubuntu1) gutsy; urgency=low + + [ Emilio Pozuelo Monfort ] + * New upstream release (LP: #130794, #131983, #132320, #137352, #138331, + #139173, #132505, #131559, #131735, #132710, #133246, #137873, #138778. + * debian/patches/01-version_fix.patch, + debian/patches/02-getenv.patch, + - Removed, fixed upstream. + * debian/patches/03-system_ioprio.patch: not needed anymore, as tracker + now tries ioprio system syscalls if available. + * debian/patches/01_from_upstream_fix_stemming.patch: + - Added, fixes language selection. + + [ Martin Pitt ] + * debian/control: Promote o3read to a dependency. That way, updates will get + it, too, and we avoid making it a dependency of ubuntu-desktop. With the + external dependency we can avoid installing the internal code copy. + + -- Martin Pitt Fri, 28 Sep 2007 17:45:16 +0200 + +tracker (0.6.2-2ubuntu2) gutsy; urgency=low + + * Added intltool to Build-Depends (LP: #133555). + + -- Emilio Pozuelo Monfort Tue, 18 Sep 2007 14:38:36 +0200 + +tracker (0.6.2-2ubuntu1) gutsy; urgency=low + + * Merge with Debian unstable. Remaining Ubuntu changes: + - Drop libunac1-dev build dependency, we do not support it in main. + - Build for our newer deskbar-applet: + + Call configure with --enable-deskbar-applet="auto" instead of + "handler". + + Build-depend on deskbar-applet. + + Build-depend on python-gtk2-dev to circumvent the bug that + deskbar-applet does not have a -dev package which depends on it. + + debian/libdeskbar-tracker.install: Fix path for installed module. + * New Debian version fixes tracker crash on amd64. (LP: #138399) + + -- Martin Pitt Tue, 18 Sep 2007 10:52:13 +0200 + +tracker (0.6.2-2) unstable; urgency=low + + * debian/patches/02-getenv.patch + - Include stdlib.h in tracker-apps.c for the getenv function prototype. + Patch by dann frazier, thanks. Closes: #440997 + * debian/patches/03-system_ioprio.patch + - Use the ioprio syscalls defined by linux-libc-dev. Fixes a FTBFS on hppa + and m68k. + + -- Michael Biebl Fri, 14 Sep 2007 11:43:05 +0200 + +tracker (0.6.2-1) unstable; urgency=low + + * New upstream release. + * debian/patches/10-function_prototypes.patch + - Removed, merged upstream. + * debian/patches/01-version_fix.patch + - Fix the version number shown at trackerd start. + * debian/control + - Drop Build-Depends on libqdbm-dev. Tracker now uses sqlite3 for all of + its databases. + - Bump Build-Depends on libsqlite3-dev to >= 3.4 as the new sqlite based + indexer requires the incremental blob I/0 feature of sqlite 3.4. + * debian/rules + - Add --enable-deskbar-applet=handler to DEB_CONFIGURE_EXTRA_FLAGS. + deskbar-applet in unstable still uses the "old-style" handler interface. + - Drop --enable-external-sqlite and --enable-external-qdbm from + DEB_CONFIGURE_EXTRA_FLAGS. These configure options are now obsolete. + + -- Michael Biebl Wed, 05 Sep 2007 22:30:28 +0200 + +tracker (0.6.2-0ubuntu3) gutsy; urgency=low + + * debian/control: + - Build-Depends on python-gtk2-dev to workaround build issue (LP: #137558) + + -- Sebastien Bacher Thu, 06 Sep 2007 00:38:12 +0200 + +tracker (0.6.2-0ubuntu2) gutsy; urgency=low + + * debian/control: + - Build-Depends on deskbar-applet + + -- Sebastien Bacher Wed, 05 Sep 2007 15:02:29 +0200 + +tracker (0.6.2-0ubuntu1) gutsy; urgency=low + + * New upstream version + - New Sqlite based indexer which utlises the new incremental blob I/O + in sqlite 3.4 + - Highly optimised email indexing (up to 5x faster) + - Dramatically reduced disk access and disk contention (LP: #131983,#135115) + - Indexer now pauses for a grace period when non-tracker processes write + to disk (providing changed files are being watched by tracker) - + minimises slowdowns when compiling or checking out source code + - Makes use of idle class disk IO scheduling if available + - Makes preliminary use of NO_ATIME (some disk access still uses fopen) + - Fixed restore of user metadata on re-index (keywords are auto-restored) + - Added increased number of (junk) files to automatically ignore + - Improved stopwords + - New deskbar handler that uses the new deskbar api (2.19+) + - Fixed old deskbar handler to remove race condition causing crashes + - Fixed a number of annoying bugs in email indexing and tracker + preferences (LP: #132921) + * debian/libdeskbar-tracker.install: + - updated + * debian/rules: + - use auto mode for the tracker configure option + + -- Sebastien Bacher Wed, 05 Sep 2007 12:58:14 +0200 + +tracker (0.6.1-1) unstable; urgency=low + + * New upstream release. + * debian/patches/10-deskbar_plugin_hashbang.patch + - Removed, merged upstream. + * debian/patches/10-function_prototypes.patch + - Add missing function prototype definitions. Closes: #435774 + * debian/rules + - Generate tight shlibs dependencies by passing -V to dh_makeshlibs. + Closes: #435840 + * debian/tracker-search-tool.manpages + - Install tracker-preferences man page. + + -- Michael Biebl Thu, 09 Aug 2007 18:32:11 +0200 + +tracker (0.6.1-0ubuntu1) gutsy; urgency=low + + * New upstream bugfix release. + * Remove debian/patches/10-deskbar_plugin_hashbang.patch: Fixed upstream. + + -- Martin Pitt Wed, 08 Aug 2007 07:39:26 +0200 + +tracker (0.6.0-1ubuntu1) gutsy; urgency=low + + * debian/control: + - don't use universe Build-Depends on libunac1-dev, libqdbm-dev + * debian/rules: + - don't use unac and external-qdbm options + + -- Sebastien Bacher Fri, 03 Aug 2007 16:00:42 +0200 + +tracker (0.6.0-1) unstable; urgency=low + + * New upstream release. + - Uses XDG directories to store the settings, cache, database and log + files. Closes: #414860 + - Fixes the crash of the deskbar applet at session start. Closes: #434078 + - Does not fall back to polling when the inotify limit is exceeded. + Closes: #412089 + - Correctly uses xdg-open to open the search results with the preferred + application. This requires the xdg-utils package to be installed, which + is a Recommends of tracker-search-tool. Closes: 415705 + * Removed debian/man/ as the man pages are now shipped upstream. + Update tracker.manpages, tracker-search-tool.manpages and + tracker-utils.manpages accordingly. + * Removed patches that were applied upstream or are now obsolete + - debian/patches/20-trackerd_manpage.patch + - debian/patches/30-deskbar_plugin_max_results.patch + - debian/patches/40-inotify_syscalls.patch + - debian/patches/50-expand_pathname.patch + - debian/patches/60-check_pointer.patch + - debian/patches/70-check_magic_file_results.patch + * debian/copyright + - The htmless sources are not shipped anymore and the qdbm sources are now + in a separate subdirectory. Update the copyright file accordingly. + * debian/libtracker-gtk-dev.install, debian/libtracker-gtk0.install + - Added. libtracker-gtk is a new library that provides handy GTK+ widgets + for applications that use tracker. + * debian/control + - Drop libmagic-dev from Build-Depends, add libunac1-dev and libqdbm-dev. + - Add djvulibre-bin and gnumeric to Suggests. They are used as external + filters for indexing djvu, csv and spreadsheet documents. + - Add binary packages libtracker-gtk0 and libtracker-gtk-dev. + - Update the long description of tracker-utils and include the new tool + "tracker-status". + - Add binary package tracker-dbg which provides the debugging symbols of + trackerd and its utilities. Closes: #412140 + * debian/rules + - Make sure we link against the system qdbm library. + - Enable the support for libunac. + - Explicitly enable the compilation of the GUI, the preferences applet + and libtracker-gtk. + + -- Michael Biebl Thu, 26 Jul 2007 01:13:37 +0200 + +tracker (0.5.4-6) unstable; urgency=low + + * Rebuild against poppler 0.5.4. Closes: #427815 + * Don't install htmless binary and man page anymore. + The html filter now uses w3m. + + -- Michael Biebl Wed, 06 Jun 2007 22:39:00 +0200 + +tracker (0.5.4-5) unstable; urgency=low + + * debian/patches/70-check-magic-file-results.patch + - Check the return results of magic_file. Closes: #414444 + Thanks to Sam Morris for the patch. + + -- Michael Biebl Thu, 22 Mar 2007 18:23:50 +0100 + +tracker (0.5.4-4) unstable; urgency=low + + * debian/patches/50-expand_pathname.patch + - Expand relative paths passed to tracker-thumbnailer. Closes: #411904 + * debian/patches/60-check_pointer.patch + - Check pointer before passing it to g_locale_to_utf8(). + + -- Michael Biebl Wed, 21 Feb 2007 00:00:25 +0100 + +tracker (0.5.4-3) unstable; urgency=medium + + * debian/patches/40-inotify_syscalls.patch + - Add missing inotify syscall numbers for mips, hppa and m68k. + Fixes a FTBFS on these architectures, so priority medium. + + -- Michael Biebl Tue, 20 Feb 2007 23:43:36 +0100 + +tracker (0.5.4-2) unstable; urgency=low + + * debian/control + - Add python-gtk2 (<< 2.10) as alternative to python-gobject. + * debian/rules + - Pass the deskbar-applet plugin directory path to dh_pycentral. + + -- Michael Biebl Sun, 28 Jan 2007 12:56:17 +0100 + +tracker (0.5.4-1) unstable; urgency=low + + [ Johan Kiviniemi ] + * New upstream release. + - Also contains a plugin for deskbar-applet. + The new binary package is called libdeskbar-tracker. + Use python-central to create the package. + * Added debian/watch. + * debian/copyright: + - Mention the deskbar plugin. + * debian/patches/10-deskbar_plugin_hashbang.patch: + - Remove the #! line from the deskbar plugin. + * debian/patches/20-trackerd_manpage.patch: + - Fix markup. + - Replace $Home with $HOME. + * debian/patches/30-deskbar_plugin_max_results.patch: + - Increase the maximum number of listed results from 2 to 10. + * debian/control: + - Add Recommends: untex to tracker and Recommends: xdg-utils to + tracker-search-tool. + - Add libmagic-dev as new build depencency. + + [ Michael Biebl ] + * Review Johan's work and upload to unstable. + Thanks a lot, Johan! + + -- Michael Biebl Sat, 27 Jan 2007 18:13:51 +0100 + +tracker (0.5.3-1) unstable; urgency=low + + * Initial release. Closes: #387110 + Based on work by Laurent Aguerreche and Jamie McCracken. + * Build against system sqlite library. + * Do not ship the internal o3totxt utility but rather add a + Recommends: o3read. + * Write missing man pages. + + -- Michael Biebl Fri, 19 Jan 2007 00:29:39 +0100 --- tracker-0.6.4.orig/debian/libtrackerclient-dev.install +++ tracker-0.6.4/debian/libtrackerclient-dev.install @@ -0,0 +1,4 @@ +debian/tmp/usr/lib/libtrackerclient.{so,a} +debian/tmp/usr/include/tracker.h +debian/tmp/usr/include/tracker-client.h +debian/tmp/usr/lib/pkgconfig/tracker.pc --- tracker-0.6.4.orig/debian/tracker.manpages +++ tracker-0.6.4/debian/tracker.manpages @@ -0,0 +1,5 @@ +debian/tmp/usr/share/man/man1/trackerd.1 +debian/tmp/usr/share/man/man1/tracker-extract.1 +debian/tmp/usr/share/man/man1/tracker-thumbnailer.1 +debian/tmp/usr/share/man/man5/tracker.cfg.5 +debian/tmp/usr/share/man/man7/tracker-services.7 --- tracker-0.6.4.orig/debian/tracker-search-tool.install +++ tracker-0.6.4/debian/tracker-search-tool.install @@ -0,0 +1,7 @@ +debian/tmp/usr/bin/tracker-search-tool +debian/tmp/usr/share/applications/ +debian/tmp/usr/share/tracker/icons/ +debian/tmp/usr/bin/tracker-preferences +debian/tmp/usr/share/tracker/tracker-preferences.glade +debian/tmp/usr/bin/tracker-applet +debian/tmp/etc/xdg/autostart/tracker-applet.desktop --- tracker-0.6.4.orig/debian/compat +++ tracker-0.6.4/debian/compat @@ -0,0 +1 @@ +5 --- tracker-0.6.4.orig/debian/tracker-utils.install +++ tracker-0.6.4/debian/tracker-utils.install @@ -0,0 +1,7 @@ +debian/tmp/usr/bin/tracker-files +debian/tmp/usr/bin/tracker-meta-folder +debian/tmp/usr/bin/tracker-query +debian/tmp/usr/bin/tracker-search +debian/tmp/usr/bin/tracker-stats +debian/tmp/usr/bin/tracker-status +debian/tmp/usr/bin/tracker-tag