diff --git a/pre_checkin.sh b/pre_checkin.sh new file mode 100644 index 0000000..175bc63 --- /dev/null +++ b/pre_checkin.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +cp tracker.changes tracker-extras.changes +sed "s/\(%define *build_extras *\)0/\11/;s/\(^Name: *\)tracker.*/\1tracker-extras/" tracker.spec > tracker-extras.spec +sed -i " + /^Name: *tracker-extras/i \ +# Do not edit this auto generated file! Edit tracker.spec. +" tracker-extras.spec diff --git a/tracker-extras.changes b/tracker-extras.changes new file mode 100644 index 0000000..e4aed0d --- /dev/null +++ b/tracker-extras.changes @@ -0,0 +1,1588 @@ +------------------------------------------------------------------- +Fri Oct 14 13:22:34 UTC 2011 - malcolmlewis@opensuse.org + +- Add tracker-fix-include-sched-idle.patch to enable building on + 11.4, where path of an include is different. + +------------------------------------------------------------------- +Fri Oct 14 10:19:18 UTC 2011 - vuntz@opensuse.org + +- Split the build of tracker in two, with a new + tracker-extras.spec, in order to break the tracker/nautilus build + loop (and avoid future similar loops): + + in tracker.spec, build the basis of tracker: the command-line + tools, the libraries, the devel subpackage and the files miner. + + in tracker-extras.spec, build addons that have extra + dependencies: the panel applet, the evolution miner, the + firefox plugin, the graphical tools, the flickr miner, the rss + miner, the nautilus extension and the thunderbird miner. + + re-organize tracker.spec for this since tracker-extras.spec is + generated from it. +- Remove unneeded graphviz BuildRequires: this was only needed when + rebuilding the gtk-doc documentation. +- Remove explicit glib2-devel Requires from devel subpackage: this + will automatically be added the pkgconfig() way. + +------------------------------------------------------------------- +Thu Oct 13 15:54:01 UTC 2011 - vuntz@opensuse.org + +- Update to version 0.12.5: + + SPARQL: + - Support DELETE WHERE {...} + - Support SELECT (Expression AS Var) syntax + + tracker-extract-gstreamer: flag renamed from TAGS to + LIGHTWEIGHT in GStreamer + + Build fix. + + Bugs fixed: bgo#655177, bgo#272997, nokia#285979, nokia#286103. + + Updated translations. + +------------------------------------------------------------------- +Mon Oct 10 08:12:21 UTC 2011 - vuntz@opensuse.org + +- Update to version 0.12.4: + + libtracker-common: + - Fixed missing include directive for utils tests + - Disable configure.ac checks for ioprio_set() + + libtracker-data: Set journal_size_limit to 10 MB + + tracker-extract: Fixed critical when FD list is missing + + tracker-extract-oasis: Ignore empty values and invalid dates + + tracker-extract-gstreamer: Fixed division by zero + + tracker-extract-gif: Fixed file descriptor leak in error case + + tracker-extract-pdf: Fixed file descriptor leak in error cases + + tracker-miner-fs: Fixed theme icon URIs for application indexing + + firefox, thunderbird: Don't operate with tracker 0.10 + libraries, only 0.12 + + functional-tests updates. + + Bugs fixed: bgo#647575, bgo#660350, bgo#659995, bgo#660589, + bgo#660601, bgo#660123, bgo#657183, nokia#257478, nokia#284711, + nokia#217566, nokia#285251. + + Updated translations. +- Drop tracker-firefox-no-tracker-0.10.patch: fixed upstream. +- Do not rebuild gtk-doc documentation: + + The tarball now correctly installs the documentation without a + rebuild, except the ontology one. This is a good enough + trade-off (as building requires some dependencies). + + Remove dia and gtk-doc BuildRequires. + + Stop passing --enable-gtk-doc to configure. + +------------------------------------------------------------------- +Thu Oct 6 15:23:58 UTC 2011 - vuntz@opensuse.org + +- Change vala-devel BuildRequires to vala as vala-devel is an old + deprecated name (bnc#720908). + +------------------------------------------------------------------- +Thu Sep 29 10:08:38 UTC 2011 - vuntz@opensuse.org + +- Add tracker-firefox-no-tracker-0.10.patch: do not try to use the + 0.10 libraries in the Firefox extension as it makes Firefox + hang/crash. + +------------------------------------------------------------------- +Mon Sep 26 11:29:31 UTC 2011 - vuntz@opensuse.org + +- Update to version 0.12.3: + + tracker-extract: Allow g_open() without O_NOATIME if -EPERM is + returned + + tracker-extract-png: Handle raw profiles by Imagemagick encoded + with line changes/twists + + tracker-preferences: Remove throttle implementation + + Bugs fixed: bgo#659422, nokia#283501. + + Updated translations. + +------------------------------------------------------------------- +Thu Sep 22 21:08:44 UTC 2011 - vuntz@opensuse.org + +- Update to version 0.12.2: + + libtracker-common: Refactor tracker_file_open() which was buggy + and should use O_NOATIME + + libtracker-data: + - Drop all indexes before index recreation + - Make index recreation less verbose + + libtracker-miner: Improve documentation for + tracker_miner_manager_pause_for_process() + + libtracker-extract: Do not leak GMatchInfo objects + + tracker-miner-fs: Disable wake ups every 10 seconds by default + (for disk space checks) + + tracker-extract-png: Handle raw profiles by Imagemagick encoded + with line changes/twists + + tracker-extract: Use O_NOATIME for TEXT, XMP, PDF, TIFF, GIF, + MSOFFICE, ODF ABW and FLAC files + + tracker-writeback: + - Propagate all errors of writeback over DBus + - Handle if there's no module for the passed rdf types + + tracker-control: Don't finalize TrackerMinerManager with + --pause-for-process causing it to break + + tracker-preferences: Use one list for locations and add XDG + toggle buttons + + Bugs fixed: bgo#659806, bgo#659470, bgo#659620, nokia#276653, + nokia#282957, nokia#282541. + + Updated translations. + +------------------------------------------------------------------- +Fri Sep 16 07:48:07 UTC 2011 - vuntz@opensuse.org + +- Update to version 0.12.1: + + libtracker-data: Support removing rdfs:subPropertyOf in + ontology + + libtracker-miner: + - Export TrackerTask* and TrackerPriority* API for new unit + tests + - Check to turn create + delete events into noop was wrong in + check_item_queues() + + libtracker-extract: Fix Regions of Interest SPARQL generated + from metadata + + tracker-miner-fs: Avoid trying to parse directories as desktop + files + + Bugs fixed: + - bgo#659062: Shouldn't index removable media devices by + default + - bgo#659063: Should enable indexing on battery by default + - bgo#651815, bgo#658645, bgo#658706, bgo#658787, nokia#282190, + nokia#282393, nokia#277052, nokia#281335. + + Updated translations. +- Remove dbus-1-glib-devel: the dependency has been removed + upstream. + +------------------------------------------------------------------- +Fri Sep 9 11:41:04 UTC 2011 - vuntz@opensuse.org + +- Update to version 0.12.0: + + New Feature: + - Region of interest support in image formats (for example + tagging people in images) + + libtracker-common: Do not delete old log files when starting + components + + tracker-miner-fs: + - Improve query performance for updating tracker:available on + mounting + - Handle desktop files of Type=Link + - Support local (in $HOME) XDG directories for desktop files + + tracker-control: Added --set-log-verbsosity to change component + log verbosity + + Various bug fixes. +- Remove sed hack from %build to disable call to + update-desktop-database on "make install": fixed upstream. +- Change build_evo macro to 1, to build the evolution miner now + that it has been ported to new evolution. + +------------------------------------------------------------------- +Tue Aug 23 07:05:43 UTC 2011 - andrea.turrini@gmail.com + +- Fixed typos in descriptions. + +------------------------------------------------------------------- +Wed Aug 17 17:45:58 CEST 2011 - dimstar@opensuse.org + +- Update to version 0.11.2: + + Build system: + - Bump tracker_api_version to 0.12 but keep major/minor as 0.11 + - --with-gstreamer-backend=[tagreadbin,decodebin2,discoverer] + switches + + libtracker-extract: + - Don't install examples/ rules mock up + - Added some debugging to know what rules files are loaded + + tracker-extract: + - Make sure we check filtered modules for dbus calls too + - Improve checks for mimetype guessing + - Improve debugging for filtered modules and mime guessing + - Fix --force-module for commandline extraction + - Make JPEG module handle DLNA profiles + - Make PNG module handle DLNA profiles + - Make MP3 module handle DLNA profiles + - Let gstreamer extractor handle 'dlna/*' mimetypes + + tracker-extract-gstreamer: + - Compiler warning fixes and code refactoring + - Assume UTC for dates + + tracker-miner-fs: Disable writeback by default + + tracker-miner-flickr: Remove deprecated Encoding key in desktop + file + +tracker-needle: + - Avoid g_markup_escape_text() critical with NULL + - Show email subject as primary information not sender + - Fix build with Vala master + + thunderbird: + - Add desktop file so needle opens email on activation + - Use asynchronous connection opening to avoid blocking the UI + - Don't break on consecutive make installs, use -f with ln + + firefox: + - Use asynchronous connection opening to avoid blocking the UI + - Raise compatibility level to 5.0.* + - Don't break on consecutive make installs, use -f with ln + + Bugs fixed: bgo#655987, bgo#655789, bgo#655701, bgo#654441, + nokia#247468. + + Updated translations. +- Drop tracker-fix-build-system.patch: fixed upstream. +- Remove autoreconf call in build section: no patch touches the + build system anymore. +- Add hack to replace update-desktop-database in trackerbird + Makefiles to point to /bin/true. During build, we can not update + the desktop database. +- Add %desktop_database_post/%desktop_database_postun in + %post/%postun of miner-thunderbird subpackages now that it + %contains a .desktop file. +- Rename library sub-packages following the upstream API name bump. + +------------------------------------------------------------------- +Sat Jul 30 10:03:27 CEST 2011 - vuntz@opensuse.org + +- Update to version 0.11.1: + + New Features: + - Firefox >= 4.0 support + - Thunderbird >= 5.0 support + - Add --disable-journal configure option, previously it didn't + exist + + Ontology: Set tracker:writeback true for nfo:Heading + + SPARQL: Add support for HAVING and COALESCE + + libtracker-data: + - Fix leak in db_get_locale + - Do not print critical if db-locale.txt does not exist + - Switch to manual SQLite WAL checkpointing in a separate + thread + - Make sure we don't leak sql_dir on multiple _init() calls + + libtracker-miner: + - Translate monitor events CREATE(a)+MOVE(a->b)=UPDATE(b) + - Make sure status is set to 'Idle' on object construction + - Fix inconsistent status with progress signals + - Fix -0.00 progress being reported + - Make sure "Processing..." is 2% or higher in progress + + libtracker-extract: + - Use nfo:heading instead of nmm:direction + - Support extraction of EXIF/XMP GPS information for images + - Ignore keywords containing invalid UTF-8 + - Do not use G_CONST_RETURN + + tracker-store: + - Check XDG directories after initializing log to reduce start + up stdout spam + - Improve UpdateArray performance + + tracker-extract: + - MP3: Use guessed ID3v1 8-bit encoding also for ID3v2 + - Playlist: Limit playlists to 1000 entries + - Handle RealMedia files with the GStreamer extractor + + tracker-writeback: + - Refactor writeback so miner-fs performs more of the operation + itself + - Deprecate IgnoreNextUpdate API + - Support longitude, latitude and altitude information to XMP + files + - Always clear existing XMP fields before updating metadata + + tracker-miner-fs: Check XDG directories after initializing log + to reduce start up stdout spam + + tracker-control: + - Added --pause-for-process for potentially crash worthy + processes + - Fix crash when unable to get miner pause details + + tracker-search: Support bookmarks with -b or --bookmarks + + tracker-preferences: Fix apply button + + Bug fixes: bgo#654653, bgo#654407, bgo#652433, nokia#271389, + nokia#254896, nokia#274498, nokia#274181, nokia#271747, + nokia#273120, nokia#269986, nokia#270774, nokia#259942, + nokia#269766, nokia#269931, nokia#268105, nokia#269359, + nokia#266579, nokia#251032, nokia#263203, nokia#261635. + + Updated translations. +- Add MozillaFirefox and MozillaThunderbird BuildRequires for new + Firefox and Thunderbird support. +- Create tracker-miner-firefox and tracker-miner-thunderbird + subpackages. Even though they're not miners strictly speaking, + this makes the intent of the subpackages clearer. +- Pass --with-firefox-plugin-dir and --with-thunderbird-plugin-dir + to have the extensions installed in the right directories. +- Add tracker-fix-build-system.patch to fix installation of Firefox + and Thunderbird plugins. + +------------------------------------------------------------------- +Wed Jul 6 22:58:30 CEST 2011 - vuntz@opensuse.org + +- Apply tracker-removeable-media-off.patch on 11.4 and earlier + only: this setting is available in GSettings, and the + gio-branding-openSUSE package available in 12.1 and later changes + the default value. + +------------------------------------------------------------------- +Mon Jul 4 16:31:13 CEST 2011 - vuntz@opensuse.org + +- Move tracker-miner-rss man page to the miner-rss subpackage, + where it belongs. + +------------------------------------------------------------------- +Tue Jun 7 23:26:27 CEST 2011 - dimstar@opensuse.org + +- Update to version 0.11.0: + + Remove libtracker-client library. + + Replace GConf usage by GSettings. + + Add support for MeeGoTouch (for application extraction) + + libtracker-sparql: Remove deprecated drop_graph API + + tracker-extract: + - Completely relicensed all modules and the extractor from GPL + to LGPL + - Use two threads now for extraction, a controller and worker + thread + - Refactored the module management so modules can state mimes + supported flexibly + - Support extra string for WHERE patterns when calling modules + - Much improvement to the logging + - Added EPub extractor module + + tracker-control: Report remaining estimated time for each + miner's progress + + Updated translations. +- Drop libtracker-client-0_10-0 subpackage, following upstream + drop. +- Rename the remaining lib* packages from -0_10 to -0_11 to follow + the library name changes. +- Drop tracker-nautilus-extension-compile-gtk3.patch: fixed + upstream. +- Introduce a build_evo define: evolution 3.1.1 is not supported + at the moment. For Factory, we don't build the miner-evolution + subpackage, and we add a Obsoletes for it to the main package for + smooth upgrades. +- Use %glib2_gsettings_schema_requires, and add + %glib2_gsettings_schema_* calls to post/postun. +- Move Tracker-0.10.typelib (Tracker-0.11.typelib) to the + libtracker-sparql-0_11-0 subpackage, as this is the library being + referenced by the .typelib file. + +------------------------------------------------------------------- +Mon Jun 6 09:24:48 CEST 2011 - vuntz@opensuse.org + +- Update to version 0.10.16: + + libtracker-data: Fixed memory leak in + tracker_class_reset_super_classes() + + libtracker-miner: + - Honor auto_start parameter in + tracker_miner_manager_new_full() + - Fixed test case for GKeyFile password provider which was + failing + - Lower TrackerMinerFS idle priorities so timeouts, monitors, + etc are handled with more priority + + tracker-miner-fs: + - Do not spam log on recursive monitors removal + - Create bus names before touching sensitive files to avoid + race conditions + - Make sure we unref applications and files_index miners on + start up failure + + tracker-extract: Added "CancelTask" method to be called from + tracker-miner-fs + + tracker-control: + - Fixed memory leak when getting pause details + - Don't auto-start miners for pausing/resuming/listing/pause + details + - Use full API to get miner manager and report errors + - Free GError if getting TrackerMinerManager fails + + functional-tests: Support cases with AND without Upstart + + Bugs fixed: bgo#650804, nokia#18159, nokia#258488. + + Updated translations. +- Drop our local copy of tracker-search-bar.1: it is now shipped in + the tarball again. + +------------------------------------------------------------------- +Sat May 28 14:57:35 CEST 2011 - dimstar@opensuse.org + +- Update to version 0.10.15: + + libtracker-sparql: Fix deadlock on initialization error + + libtracker-miner: + - Fixed c++ builds where headers use "private" keyword + - Include missing header tracker-albumart.h in main header + - Do not perform removed files check if crawling was cancelled + + tracker-store: Reenable signals after failing to load Turtle + file + + tracker-extract: Improve logging around which module is used + for extraction per file + + evolution: + - Fixed completely broken status reporting as a miner + - Don't send "Idle" status twice + - Added debug logging to know if the module was loaded or not + on the command line + + Bugs fixed: nokia#254855, nokia#259000, nokia#244556, + nokia#252898, nokia#258488, nokia#258459. + +------------------------------------------------------------------- +Sat May 28 00:36:35 CEST 2011 - vuntz@opensuse.org + +- Mention the new --add-feed option of tracker-miner-rss in + README.SUSE.rss. + +------------------------------------------------------------------- +Mon May 23 14:30:20 CEST 2011 - dimstar@opensuse.org + +- Update to version 0.10.14: + + libtracker-data: + - Handle EINTR instead of EGAIN when writing journal + - Delete empty file if unable to write journal header + - Do not trigger a journal replay with invalid ontology + journals + - Propagate errors for ontology transactions + + libtracker-bus: Support multiple bus connection objects + + libtracker-direct: Support multiple bus connection objects + + libtracker-sparql: Protect singleton weak pointer with mutex + + libtracker-miner: Cleanup media-art that isn't valid anymore + every 30 minutes or so + + tracker-store: Improved error handling for Data.Manager.init + + functional-tests: Add UID::user and GID::users to tracker-tests + aegis file. + +------------------------------------------------------------------- +Mon May 16 15:45:05 CEST 2011 - dimstar@opensuse.org + +- Update to version 0.10.13: + + libtracker-miner: Cancel TrackerMinerFS cancellables on + finalize + + tracker-store: Use lazy loading for stats to improve start up + speed + + Bugs fixed: nokia#254154, nokia#253807, nokia#248873. + + Updated translations. + +------------------------------------------------------------------- +Fri May 6 08:49:59 CEST 2011 - dimstar@opensuse.org + +- Update to version 0.10.12: + + New Feature: + - Now tracker-control has --backup and --restore options + - Now tracker-miner-rss has an --add-feed option + + libtracker-extract: Fixed encoding guessing, make sure we + init/shutdown locale module + + libtracker-miner: Don't load thumbnailer service properties + over D-Bus + + tracker-store: Added checks to Backup method target file so it + is a real URI + + tracker-miner-rss: + - Fixed crash trying to cast TrackerSparqlConnection to + TrackerMinerRSS + - Fixed recursive check with mfo:updatedTime GraphUpdated + signal + - Fixed ASK SPARQL to check true/false not 0/1 + - Improved logging/debugging + + Bugs fixed: bgo#520670, bgo#633105, bgo#397205, nokia#249338. + + Updated translations. +- Add tracker-search-bar.1 from git to Source list: it is missing + in the tarball. Makefile to distribute this properly is already + fixed in launchpad. +- Add dia BuildRequires to fix the gtk-doc building +- Re-enable --enable-gtk-doc configure parameter. + +------------------------------------------------------------------- +Wed May 4 09:51:43 CEST 2011 - dimstar@opensuse.org + +- Update to version 0.10.11: + + bgo#633108: FLAC extractor doesn't work properly + + bgo#632876: Wrong extraction order in MsOffice-XML powerpoint + files + + nokia#250959: Huge increase in contact import time with command + line tools in staging + + nokia#250455: QSparqlConnection leaks tracker-sparql objects + + nokia#249787: Drop libmeegotouchcore dependency from + libtracker-sparql. + +------------------------------------------------------------------- +Thu Apr 28 02:03:38 UTC 2011 - glin@novell.com + +- Add tracker-nautilus-extension-compile-gtk3.patch to compile + nautilus extension with gtk3 (bnc#689447, bgo#645954). Add call + to autoreconf needed by the patch. + +------------------------------------------------------------------- +Wed Apr 27 09:37:37 CEST 2011 - vuntz@opensuse.org + +- Update to version 0.10.10: + + libtracker-data: Support ontology changing regarding + nrl:InverseFunctionalProperty + + libtracker-miner: + - Limit extractions to 10 at any given time + - Limit the number of statements sent to the store per request + + tracker-extract: + - Complete relicensing from GPL to LGPL for C++ files missed + - Fixed critical about locale when run from command line + - Fixed critical when finalizing the controller object + - Fixed crash with new QApplication() and passed argv parameter + + tracker-needle: Fixed email query which was using + tracker:coalesce() with 1 argument + + Ontology updates. + + Bugs fixed: nokia#249028, nokia#244787, nokia#248059. + + Updated translations. +- Changes from version 0.10.9: + + Now tracker-info --turtle allows exporting resources in Turtle + RDF + + libtracker-common: + - Re-instate setrlimit() and clamp between 256Mb and 50% memory + capacity for RLIMIT_{AS|DATA} + - Don't apply setrlimit() constraints to spawned processes + (inherited anyway) + + libtracker-data: Error when OFFSET, LIMIT, GROUP or ORDER are + used with ASK queries + + libtracker-sparql: Fixed libtracker_sparql_LDFLAGS missing "\", + causing export of all symbols + + libtracker-extract: Added new unit test for IPTC records are + read correctly + + tracker-extract: + - Added a controller thread to be able to shutdown quickly on + pre-unmount signals + - Cleaned up debugging considerably and print summary on start + up + + Ontology updates. + + Bugs fixed: bgo#646834, bgo#647548, nokia#238770, nokia#245998, + nokia#244267, nokia#241302, nokia#245589, nokia#245373, + nokia#213419, nokia#240681. + + Updated translations. +- Drop update-rest.patch: fixed upstream. +- Drop call to autoreconf. + +------------------------------------------------------------------- +Mon Apr 11 08:01:53 UTC 2011 - fcrozat@novell.com + +- Update to version 0.10.8: + + libtracker-data: Protect tracker_db_cursor_get_* with mutex + + libtracker-bus: There is no BatchUpdateArray, UpdateArray is + always considered a batch operation. + + libtracker-sparql: Fix build from tarball + + tracker-store: Increase maximum signal size from 1000 to 50000 + triples. + + tracker-store: Fix UpdateArray to use low priority request + + Bugs fixed: bgo#642883, nokia#244556. +- Changes from version 0.10.7: + + Introspection support for libtracker-{sparql|miner|extract}. + + libtracker-sparql: Fixed test case on cancellation error check. + + tracker-extract: oasis: Avoid invalid frees on non-NULL + pointers. + + tracker-needle: + - Cancel previous operations when switching views. + - Improve "icons" or "images" category to allow filtering by + all or title. + + Bugs fixed: bgo#644997, bgo#646365, bgo#646374, bgo#644455, + nokia#244536, nokia#242253, nokia#229461, nokia#237582, + nokia#240272, nokia#241659. + + Updated translations. +- Update BuildRequires to use vala-devel (instead of + vala-unstable-devel) and add gobject-introspection-devel to build + introspection support. + +------------------------------------------------------------------- +Mon Apr 4 10:08:17 UTC 2011 - fcrozat@novell.com + +- Update to version 0.10.6: + + New Feature: Added INSERT OR REPLACE SPARQL, using UPDATE gives + us ca. 25% speed improvement in some cases. + + libtracker-common: Only use encoding guessing when confidence + is > 30%. + + libtracker-data: Added new functions tracker:case-fold() and + tracker:lower-case(). + + libtracker-sparql: Handle GSpawnError thrown by GDBus + + tracker-needle: + - Model reworked showin no delay loading thousands of items. + - Improve error handling. + + Bugs fixed: bgo#645380, bgo#645934, bgo#645963, bgo#645675, + nokia#241833, nokia#235445, nokia#241206, nokia#240168, + nokia#240582. +- Drop fix-evolution-build.patch: fixed upstream. +- Remove configure --enable-tracker-search-tool option, no longer + present upstream. + +------------------------------------------------------------------- +Mon Mar 28 11:53:18 UTC 2011 - fcrozat@novell.com + +- Update to version 0.10.5: + + libtracker-common: Fix localtime handling with historic UTC + offsets. + + libtracker-data: Fix graph check for anonymous blank nodes. + + libtracker-sparql: + - Mark tracker_sparql_builder_drop_graph() as deprecated. + - Don't export symbols which are internal. + + libtracker-miner: Added tracker_miner_manager_new_full() to + disable starting miners when querying status. + + tracker-store: Don't start if not running when querying status. + + tracker-miner-fs: Add --no-daemon command line to exit when + indexing done. + + tracker-extract: Add parameter to QApplication to allow running + without X11. + + tracker-needle: Set proper application icon. + + evolution: Fix use of GRAPH with the nie:DataSource, now + indexes properly again. + + Ontology updates. + + Bugs fixed: bgo#642012, bgo#645000, bgo#645052, bgo#645375, + bgo#644998. +- Add update-rest.patch: Fix build with rest 0.7.x. +- Add fix-evolution-build.patch: Fix build with evolution 2.91.x + (bgo#645934) +- Change old-style buildRequires to new pkgconfig() ones: + libgee-devel, librest-devel, gnome-panel-devel, nautilus-devel to + gee-1.0, rest-0.7, libpanelapplet-4.0, libnautilus-extension. +- Remove now non-existing --enable-tracker-search-tool configure + option. + +------------------------------------------------------------------- +Sun Mar 20 17:46:14 CET 2011 - dimstar@opensuse.org + +- Update to version 0.10.4: + + libtracker-miner: + - Don't assume g_dbus_info_new_for_xml() never fails + - Added missing documentation functions to sections file + + libtracker-extract: Don't assume g_dbus_info_new_for_xml() + never fails. + + Bugs fixed: nokia#237582, nokia#237150, nokia#236387, + nokia#233828. +- Changes from version 0.10.3: + + Bugs fixed: bgo#644484, bgo#642868. +- Changes from version 0.10.2: + + Ontology: Added nfo:Note for applications like Tomboy + + functional-tests: Force English locale for tests + + libtracker-miner: Improve bulk operation speed like deleting + + tracker-preferences: Enable gettext translations + + tracker-search-bar: Fixed build error since API change in + libpanel-applet + + Bugs fixed: nokia#232574, nokia#235118, nokia#229713. +- Changes from version 0.10.1: + + Bugs fixed: nokia#232981, nokia#231631, nokia#230255, + nokia#228760, bgo#642774, bgo#643739, bgo#636375, bgo#643140, + bgo#642581, bgo#643090. +- Changes from version 0.10.0: + + Recap of new Features: + - Added GDBus support + - Added direct access library libtracker-sparql for fast + read-only queries + - Added LRU (Least Recently Used) for database statement cache + (huge memory footprint difference) + - Added a GUPnP DLNA extractor + - Added domain specific indexes, adding a column to DB tables + to avoid full table scans/joins with larger tables for + performance. + - Added metadata guarantee support when key data is missing + - Added tracker-sql (in utils/) to run SQL on the databases + directly (for developers) + - Added unicode compliance for FTS (Full Text Search) + - Don't do mtime checks on start up (dramatically reduces start + time for miner-fs) + - Replaced tracker-search-tool with tracker-needle + - New API methods in libtracker-sparql which allow multiple + inserts per DBus call (and yet get multiple errors back). + - New journal format to separate ontology from data for + improved data integrity + - New journal compression and rotation using 50Mb chunk sizes + - Task pool in libtracker-miner for store updates/metadata + extractions, 10-20% speed increase indexing + - Monitor event black listing and events are condensed + - Return types in TrackerSparqlCursor API + - Collation support + - Refactored and much more efficient signal notification API + - Use libtracker-sparql: Client library for direct/dbus access + - SPARQL, Add support for EXISTS and NOT EXISTS + - SPARQL, Add support for IN + - SPARQL, Add support for INSERT SILENT and DELETE SILENT +- Drop tracker-no-duplicated-results.patch: fixed upstream. +- Replace gtk2-devel BuildRequires with gtk3-devel. + +------------------------------------------------------------------- +Thu Feb 17 10:24:23 CET 2011 - vuntz@opensuse.org + +- Add tracker-no-duplicated-results.patch: don't show duplicated + results in search results. Taken from git. +- Move tracker-needle.ui from main package to gui subpackage, where + it should live. +- Move tracker-explorer to gui subpackage, as it's a graphical + tool. This means the tracker package itself doesn't require X + anymore. + +------------------------------------------------------------------- +Sun Feb 13 22:31:46 CET 2011 - vuntz@opensuse.org + +- Update to version 0.9.38: + + libtracker-data: + - Added unit tests for IN with > 20 elements + - Improve error handling on initialization (especially if the + WAL PRAGMA fails) + - Fixed a race condition on shutdown causing criticals with + g_object_unref() + + tracker-store: + - Increase maximum D-Bus result size (1 Mb to 10 Mb) + - Don't send unmapped errors in D-Bus replies + + nautilus: Plugin has been updated to use libtracker-sparql. + + ontology updates. + + functional-tests updates. + + documentation updates. + + Bug fixes: nokia#208621, nokia#223536, nokia#225910, + nokia#221340, nokia#180770, nokia#217610, nokia#224993, + nokia#222182, nokia#224760, bgo#640623. + + Updated translations. +- Changes from version 0.9.37: + + Don't do mtime checks on start up (dramatically reduces start + time for miner-fs) + + The command 'tracker-status' no longer exists, its command line + features have been merged into 'tracker-control'. + + libtracker-data: + - We now restore tracker:modified values after journal replay + and backup restore + - Don't journal non-embedded data (e.g. nie:plainTextContent) + + functional-tests updates. + + Bug fixes: nokia#198003, nokia#224342, nokia#218525, + nokia#224763, nokia#197067, nokia#223938, nokia#185309, + nokia#223622, nokia#223282, nokia#223133, nokia#223148, + nokia#223161, nokia#222645, nokia#222494, bgo#636074, + bgo#631955, bgo#623666, bgo#600081. + + Updated translations. + +------------------------------------------------------------------- +Sat Feb 12 18:36:29 CET 2011 - vuntz@opensuse.org + +- Call relevant macros in %post/%postun: + + %desktop_database_post/postun because the package ships at + least one desktop file. + + %icon_theme_cache_post/postun because the package ships themed + icons. +- Pass %{?no_lang_C} to %find_lang so that english documentation + can be packaged with the program, and not in the lang subpackage. + +------------------------------------------------------------------- +Mon Jan 31 09:52:52 CET 2011 - dimstar@opensuse.org + +- Update to version 0.9.36: + + Ontology: + - Added missing documentation for rdf, mtp and slo + - Remove long-deprecated classes and properties + + SPARQL: + - Ignore CONSTRUCT/INSERT/DELETE triples with unbound variables + - Fix SQL generated for predicate variables and deleted + subjects + + libtracker-data: Fix transient properties + + Updated translations. + + Bugs fixed: nokia#221700, nokia#222578, nokia#222645, + nokia#222664 + +------------------------------------------------------------------- +Sat Jan 22 20:58:34 CET 2011 - dimstar@opensuse.org + +- Update to version 0.9.35: + + SPARQL: Add support for IF function + + Ontology: + - Added nmo:lastSuccessfulMessageDate property + - Added domain index on nmo:sentDate to nmo:Call + - Fixed NCO cyclic dependency with NFO + - Fixed range of nco:photo and nco:video, fixed maxCardinality + of nco:video + - Added county and district to postal address + - Draft the NCO documentation page + + libtracker-data: Remove unused TrackerDBResultSet + + libtracker-common: Use statfs instead of statvfs on Linux + + libtracker-miner: Log when an event is ignored because the file + is locked + + tracker-writeback: + - unlock file after 1s of update, not 3s + - xmp: Don't use XMP_CLOSE_SAFEUPDATE + + tracker-extract: + - gupnp-dlna: Update to gupnp-dlna 0.5 API + - mp3: Fixed bitrate table and sample rate table usage + - mp3: Cope with sample_rate = 0 + + tracker-needle: + - Support command line arguments -V and search criteria + - List folders in first/initial view + - Add Ctrl+W to close window + - Use a meaningful window title "Desktop Search" + + Updated translations. + + Bugs fixed: nokia#220373, nokia#218092, nokia#218332, + nokia#217636, nokia#218125, nokia#219309, nokia#216582, + bgo#639542, bgo#622918, bgo#639918, bgo#639556, bgo#639543, + bgo#639552 +- Drop tracker-needle-args.patch: fixed in a much nicer way by + upstream. + +------------------------------------------------------------------- +Thu Jan 20 16:37:28 UTC 2011 - dimstar@opensuse.org + +- Add tracker-needle-args.patch: Allow tracker-needle to use + command line arguments as initial search strings. Like this, slab + can use tracker-needle as it's integrated search panel. Patch + submitted to upstream as bgo#639542. + +------------------------------------------------------------------- +Thu Jan 13 18:34:14 CET 2011 - vuntz@opensuse.org + +- Update to version 0.9.34: + + Ontology: + - Make SLO an ontology that is installed by default + - Fixed maxCardinality and deprecated annotations in MLO + + libtracker-data: + - Fix double unref on shutdown + - Fix memory leak in gvdb writing + - Update statistics when bypassing buffer for deletes + - Fix tracker_ontologies_get_classes + + libtracker-sparql: Shutdown backends when finalizing connection + + libtracker-common: Improve tracker_dbus_request_* API + + tracker-extract: + - Relicense from GPL to LGPL + - TIFF, PNG, PDF, JPEG, GIF: SLO ontology porting + + tracker-writeback: SLO ontology porting + + tracker-needle: Use nco:publisher if nco:creator is not + available for documents + + Bugs fixed: nokia#198003, nokia#211147, nokia#216329, + nokia#216350, nokia#217575, nokia#218123, nokia#218560. + + Updated translations. + +------------------------------------------------------------------- +Tue Jan 4 12:56:50 CET 2011 - dimstar@opensuse.org + +- Update to version 0.9.33: + + Ontology: Remove tracker:isAnnotation property + + SPARQL: + - Support graph retrieval using property functions + - Accept semicolon as separator between update operations + - Add support for INSERT/DELETE DATA + - Fix WITH support + - Drop deprecated support for DROP GRAPH + + libtracker-data: + - Add ontology cache + - Bypass update buffer for rdf:type deletes if possible + + tracker-store, libtracker-data: Enhance signal behaviour for + batch updates + + libtracker-common: Print PID of process in dbus requests + + libtracker-miner: + - Set proper nfo:belongsToContainer on file move operations + - Skip IgnoreNextUpdate requests on CREATED events + - When deleting resources, first mark unavailable and then + fully remove them + - Make sure original monitors are removed during a move + operation + - On directory remove, first remove monitors, then notify event + - When a moved dir event detected, cancel all monitors in the + dir + - Don't add monitors when renaming a directory to a hidden name + + tracker-extract-gstreamer: Fix undefined references + + tracker-extract-txt: Support text files encoded in UTF-16 if + BOM available + + tracker-writeback: + - XMP: Take into account mlo:asPostalAddress + - Fix a memoryleak on unwanted_results and cleanup + + tracker-writeback, libtracker-miner: Don't writeback non-strict + mined values + + tracker-explorer: Port to GDBus + + Bugs fixed: nokia#211928, nokia#212736, nokia#213419, + nokia#214478, bgo#638159. + +------------------------------------------------------------------- +Thu Dec 16 17:19:38 CET 2010 - vuntz@opensuse.org + +- Update to version 0.9.32: + + Added tracker-needle to replace tracker-search-tool + + Added --enable-guarantee-metadata to ensure nie:title and other + metadata when missing + + build: disable functional-tests by default + + Ontology: Add tracker:notify true for nmo:Call + + libtracker-data: Sort function test results to avoid test + failures + + libtracker-sparql: Wait for tracker-store before loading + plugins + + Bugs fixed: nokia#210217, nokia#211926, nokia#198155. + + Updated translations. + +------------------------------------------------------------------- +Sun Dec 12 00:13:46 CET 2010 - dimstar@opensuse.org + +- Update to version 0.9.31: + + Build System updates. + + Ontology: + - Added nmm:MusicAlbumDisk, nmm:musicAlbumDisk, + nmm:albumDiskAlbum classes + - Changed nmm:performer rdfs:domain from nmm:MusicAlbum to + nmm:MusicAlbumDisk + - Changed nmm:setNumber rdfs:domain from nmm:MusicAlbum to + nmm:MusicAlbumDisk + - Changed nmm:internationalStandardRecordingCode rdfs:domain + from nmm:MusicAlbum to nmm:MusicPiece + + libtracker-sparql: Fixed documentation to include + tracker_sparql_get_uuid_urn() + + libtracker-miner: Fixed documentation missing but written + + tracker-extract: Fixed GUPNP-DLNA extractor, was using + "nfo.channels" not "nfo:channels" + + Bugs fixed: bgo#636936, bgo#624041, bgo#636604, bgo#635756, + bgo#636383, bgo#636520, bgo#636527, nokia#207918. +- Follow the build change and use stable number for directories + and libraries (0.10 instead of 0.9). As a result, rename the + library packages from *-0_9-0 to *-0_10-0. + +------------------------------------------------------------------- +Thu Dec 9 17:39:33 CET 2010 - dimstar@opensuse.org + +- Update to version 0.9.30: + + Ontology: + - Added domainIndex nie:contentCreated to nfo:Visual + - Added tracker:notify true for slo:LandmarkCategory, + slo:Landmark and slo:GeoLocation + + SPARQL: Use WITH/INTO/FROM clause in WHERE pattern of updates + + Support MeeGoTouch Locale, recalculating indexes on locale + changes + + data-generators: + - Diversify the content creation times + - Support nfo:Equipment correctly + - Small fixes to the music data + + libtracker-data: + - Disable fn:starts-with test for !libicu cases + - Document the TRACKER_PRAGMAS_FILE environment variable + + libtracker-direct: Make singleton connection thread-safe + + libtracker-bus: Reduce D-Bus proxy initialization time + + libtracker-sparql: Reduce D-Bus proxy initialization time + + tracker-extract, albumart: Don't assume that + g_file_get_parent() returns non-NULL + + tracker-miner-applications: Re-extract desktop files when + locale change detected + + tracker-status: Added more granularity to the tracker-store + status reporting for the journal replay + + Bugs fixed: nokia#204706, nokia#203538, nokia#208420, + bgo#635757, bgo#635794. + + Updated translations. + +------------------------------------------------------------------- +Thu Nov 25 12:17:29 CET 2010 - dimstar@opensuse.org + +- Update to version 0.9.29: + + Ontology: Add index on nco:nameFamily + + SPARQL: + - Support \u escape sequence in string literals + - Fix INSERT/DELETE and SELECT * with WHERE without variables + - Use proper collation for string literals and fn:starts-with + + libtracker-data: Make it easier to test the PRAGMAs for SQLite + + libtracker-bus: Fix handling of priority in update_async + + libtracker-sparql: Add function to generate a uuid urn to the + client library + + tracker-store: Fix crash on client exit and task without + destroy notify + + tracker-extract: Split msoffice and msoffice-xml extractors and + refactor code + + tracker-extract-mp3: Fix memory leak + + tracker-miner-applications: Fix encoding issues and handling of + nie:dataSource + + tracker-miner-fs: Use low priority for update_async calls + + tracker-search: New --software and --software-categories option + + Bugs fixed: bgo#630244, bgo#634424, bgo#634669, bgo#635652, + nokia#195787, nokia#197067, nokia#200980, nokia#202291, + nokia#203540, nokia#203593, nokia#206752. + + Updated translations. + +------------------------------------------------------------------- +Thu Nov 18 11:13:04 UTC 2010 - dimstar@opensuse.org + +- Update to version 0.9.28: + + GDBus support + + Add utils/tracker-sql to run SQL on the databases directly + + Ontology: + - Updated mfo:image for mfo:FeedSettings to be in domain + mfo:FeedElement + - Added tracker:indexed true for nmm:artistName + - Added tracker:domainIndex for nie:title on nmm:MusicAlbum + - Deprecated nmm:albumTitle for nie:title + + functional-tests updates. + + libtracker-data: + - Combine INSERT and UPDATE statements into one INSERT + - Fixed ontology change coping for tracker:domainIndex + + tracker-store: Queue queries while backup is taking place + + Build fixes: bgo#633118, nokia#202275, nokia#199968, + nokia#202627, nokia#202581, nokia#201122, nokia#203632. + + Build fixes. + + Updated translations. +- Change vala-devel to vala-unstable-devel BuildRequires as tracker + now requires vala 0.11. + +------------------------------------------------------------------- +Sat Nov 6 18:59:22 CET 2010 - dimstar@opensuse.org + +- Update to version 0.9.27: + + New journal format to separate ontology from data for improved + data integrity + + functional-tests updates. + + libtracker-common: Use per-client timeouts to avoid unnecessary + wake ups + + libtracker-client: Disable deprecation warnings when building + this library + + libtracker-data: Identify unsupported ontology change coping + more broadly + + libtracker-bus: Disable dbus timeouts in updates to the store + + tracker-sparql: Added --list-indexes to show database indexes + + tracker-store: Use per-query watchdogs to avoid unnecessary + wake ups + + tracker-extract: + - Removed all tests, they've been commented out for some time + - GIF: Fixed memory leak for height and width + - GStreamer: Write multiple nmm:albumArtist if there are more + than one + - MSOffice: Don't use a static var to check if nie:generator + was already set + + tracker-miner-fs: Removed all tests, test source file was just + a main() + + tracker-control: Fix runtime critical when journal file doesn't + exist. + + Bugs fixed: nokia#199131, nokia#194908, nokia#200310, + bgo#633118, bgo#633093, bgo#631391. + + Build fixes. + + Updated translations. + +------------------------------------------------------------------- +Sat Oct 23 14:15:48 CEST 2010 - dimstar@opensuse.org + +- Update to version 0.9.26: + + Add task pool in libtracker-miner for store updates/metadata + extractions, 10-20% speed increase indexing. + + Ontology: Derive from rdfs:Resource for nao:Property, + nfo:Orientation, poi:ObjectOfInterest, scal:AccessLevel, + nmm:Flash, nmm:MeteringMode, nmm:WhiteBalance, + nmm:RadioModulation, mto:TransferMethod + + functional-tests updates + + tracker-extract: Port QuillImageFilter usage to QImage + + libtracker-data: + - Notify locales being used also for libunistring + - Improved collation related debugging traces + + libtracker-bus: + - Handle error properly in array_update_finish() + - Use host endian byte order for updates in steroids interface + - Fixed memory leak when updating, GAsyncResult should always + be unref-ed + + libtracker-miner: Fixed critical warning when calling + tracker-status -i + + tracker-miner-fs: Fixed MeeGo app miner, missing include for + GStrv and glib collators + + utils: + - mtp-dummy: Fixed missing locale initialization + + Bugs fixed: bgo#629850, bgo#632399, nokia#194548. + + Build fixes. + + Updated translations. +- Changes from version 0.9.25: + + New API methods in libtracker-sparql which allow multiple + inserts per DBus call. + + Ontology: + - NMM: Set maximum cardinality of dlnaProfile and uPnPShared to + 1 + - NCO: Set tracker:notify for nco:ContactGroup. + + SPARQL: + - Fix build with Vala < 0.11 + - Fix context handling for EXISTS and NOT EXISTS + - Do not use pointers as keys in hash tables + - Do not let SPARQL variable names influence SQL query + + libtracker-sparql: + - Use lazy resolving for symbols in plugins + - Added missing APIs to documentation sections file + - Make new example for_update_array a bit more aesthetic + - Documented the new API methods for multi-insert + + libtracker-data: + - Progress handling while performing integrity check + - Do not load superproperties on read-only access + - Avoid opening SQLite database twice on startup + - Force reindex on unsupported ontology change + - Fixed test cases on Fedora 14 + + tracker-store: Fixed status reporting + + tracker-extract: + - Replace quill with quillimagefilter + - Use posix_fadvise() when closing files + - gupnp-dlna: Fix to use the tracker_sparql_escape_uri_printf() + + functional-tests updates + + coverage: Ignore coverage/ directory + + utils: + - mtp-dummy: Implemented renaming of all files after batch copy + finishes + + Bugs fixed: nokia#186096. + + Updated translations. + +------------------------------------------------------------------- +Sat Oct 9 10:44:46 CEST 2010 - vuntz@opensuse.org + +- Update to version 0.9.24: + + Ontology updates. + + SPARQL: + - Use COLLATE in SQL for variables and property functions + - Use named graph of WITH clause in WHERE pattern for updates + + functional-tests updates. + + libtracker-data: Add test case for ORDER BY property function + + libtracker-miner: Make vapi file compatible with Vala 0.11.0 + + libtracker-sparql: + - Assume en_US.utf8_locale for test cases for proper collation + - Support GRAPH in SPARQL builder API + + tracker-miner-fs: Fixed regression when deleting + nfo:FileDataObject resources for a mount point + + utils: mtp-dummy: Added a test case to synthesis an mtp daemon + + Bugs fixed: nokia#195394, nokia#196143, nokia#195547, + nokia#192790. + + Build fixes. +- Drop tracker-fix-build.patch: fixed upstream. + +------------------------------------------------------------------- +Fri Oct 1 09:10:45 CEST 2010 - vuntz@opensuse.org + +- Update to version 0.9.23: + + Ontology updates. + + SPARQL: Fix SQL for GRAPH with predicate variable and empty + database + + coverage: ignore dbus-binding-tool generated files + + functional-tests updates. + + libtracker-data: + - Log failure to set journal mode to WAL + - Fixed unchecked pointer unref when setting journal_mode + pragma + - Change SQLite page and cache size + + libtracker-sparql: + - Added connection_get_{async|direct_async}() APIs + - Various documentation fixes and additions. + + libtracker-miner: + - Added new unit tests for blacklisting and event merging + - Don't create inner loop until needed + + tracker-store: Fixed corruption in FD passing D-Bus + implementation + + tracker-extract: + - MP3: Fixed a huge memory leak in albumart data + - MP3: Support Windows-1252 character encoding + - MP3: Fix string handling in comment and picture tags + - Album art: Stop looking for cover if we already + + tracker-search-tool: Fixed compilation error with latest vala + + plugins: Evolution: Fixed the UID format of the URL + + Bugs fixed: nokia#193061, nokia#193044, nokia#194746 + + Updated translations. +- Add tracker-fix-build.patch to fix the build. + +------------------------------------------------------------------- +Fri Sep 24 09:53:57 CEST 2010 - vuntz@opensuse.org + +- Update to version 0.9.22: + + LRU for database statement cache (huge memory footprint + difference) + + Monitor event black listing and events are condensed (less + event spam up the stack) + + SPARQL: Rework variable name support to fix regression + + Ontology: NCO: Set tracker:notify to true for nco:ContactList + + data-generators: Added a default value for undefined categories + + functional-tests updates. + + libtracker-data: + - Fixed regression SELECT ... AS ?var not being honored in + ORDER BY + - Don't cache stmt if the query contains a regular expression + - Fixed memory leak in journal rotation + + libtracker-sparql: + - Make it possible to set the max LRU cache size per connection + - Added an "environment variables" section to documentation + + tracker-store: + - Added TRACKER_STORE_{SELECT|UPDATE}_CACHE_SIZE environment + variables to control new LRU feature + - Fixed crash when accessing variable_names array + + tracker-extract: + - remove unneeded call to tracker_topanalyzer_shutdown() + - Fixed QUILLimagefilter support + + tracker-miner-fs: Fixed use of uninitialized variable + + Bugs fixed: nokia#192537, nokia#193796, bgo#630176 + + Updated translations. + +------------------------------------------------------------------- +Sat Sep 18 14:31:06 CEST 2010 - vuntz@opensuse.org + +- Update to version 0.9.21: + + Return types in TrackerSparqlCursor API (previously just + strings) + + Ontology: + - Added nfo:HelpDocument + - Added brief description to the ontologies documentation index + page + + functional-tests updates + + libtracker-fts: Do not use TLS for queries + + libtracker-common: Reset default log handler in + tracker_log_shutdown() + + libtracker-data: Fixed parallel cursor_next_async() call + segfaults + + libtracker-miner: + - Removed Pango requirement in tracker-miner.pc + - Improved debugging to avoid store availability confusion in + log + + libtracker-sparql: Added test case for cursor_next_async() + segfaults + + tracker-miner-flickr: Fixed desktop file not having the correct + prefix for its icon + + tracker-extract: + - On shutdown a summary is logged with extraction/failure count + per module + - Fixed compilation error for quill support + - Don't extract content if config has max bytes set to 0 + - Use g_pattern_match() instead of g_pattern_match_simple(), + ~5% speed increase + + tracker-search: Do not use tracker:available for emails + + tracker-status: Fixed memory leak when printing state + + Bugs fixed: nokia#186055, nokia#192326, nokia#188031 + + Updated translations. + +------------------------------------------------------------------- +Thu Sep 9 19:22:59 CEST 2010 - dimstar@opensuse.org + +- Update to version 0.9.20: + + bgo#628859: Ship examples/rss-reader/initial-data.ttl in + tarballs + + bgo#628872: tracker-control -t or -k shouldn't kill + tracker-status-icon + + nokia#187558: nfo:belongsToContainer not set for music files + synchronized from Ovi Suite to the device + + nokia#189896: BatchCommit doesn't send reply + + Ontology: + - Added slo:categoryIconUrl for category icons in the location + ontology + - Added slo:iconUrl for landmark icons in the location ontology + - Added nfo:manufacturer to replace nfo:make + - Updated documentation, use plainTextContent instead of + plainTextMessageContent + + libtracker-data: Fixed signed char comparison in SPARQL scanner + + tracker-store: + - Fixed class-signaling rdf_types array after delete + - Fixed class-signaling to emit all triples for rdf:type + predicates + + tracker-extract: + - MSOffice, fixed to set nfo:Presentation & nfo:Spreadsheet + - tracker-extract: GStreamer, use integer division for rounding + duration + - Tiff, updated to use canonical uris with new nfo:manufacturer + ontology + + tracker-miner-flickr: + - Fixed so tracker-search-icon doesn't show constant polling + - Fixed criticals for photos with no tags + + tracker-miner-rss: Fixed so tracker-search-icon doesn't show + constant polling. +- Remove supplied initial-data.ttl, as it is now shipped in the + tarball. + +------------------------------------------------------------------- +Mon Sep 6 09:42:14 CEST 2010 - vuntz@opensuse.org + +- Rename evolution-tracker subpackage to tracker-miner-evolution, + with appropriate Provides/Obsoletes since this is first a miner. + Make it also provide evolution-plugin-tracker, since it's a + plugin for evolution too. +- Split flickr and rss miners in tracker-miner-flickr and + tracker-miner-rss subpackages since they are not that useful by + default, and add README.SUSE files for them to explain how to use + them. +- Split applications/files miner to tracker-miner-files, and add a + Recommends to tracker to get it installed by default. This will + enable people to keep tracker and still easily remove this miner + if they don't want to index files. +- Rename nautilus-tracker subpackage to + nautilus-extension-tracker-tags and nautilus-applet subpackage to + gnome-panel-applet-tracker, to follow the naming convention for + plugins and extensions. Add appropriate Provides/Obsoletes. +- Add packageand(tracker:gnome-panel) Supplements to + gnome-panel-applet-tracker. +- Remove useless call to autoreconf. +- Use %_smp_mflags for parallel build. + +------------------------------------------------------------------- +Thu Sep 2 20:19:38 CEST 2010 - vuntz@opensuse.org + +- Update to version 0.9.19: + + Collation support + + Refactored signal notification API + + Ontology: Added nmo:isEmergency property + + functional-tests: + - Avoid FTS tests if FTS is disabled + - Don't include TTL files in dist (tarball was 26Mb vs. 6Mb) + + libtracker-data: Fixed memory leak when setting journal_mode + pragma + + libtracker-miner: + - If CREATED event is received from a monitor, force IRI cache + update + - Don't print paths as they may not be in UTF-8, print URIs + + tracker-extract: Fixed xine, mplayer and totem backends + + tracker-miner-fs: + - Removed CacheTimeout option from config, unused + - Removed ScanTimeout from config, unused + - Disable crawling entirely if !initial_crawl + + nokia#184505: Video files without audio are listed as music + clips. + + nokia#179465: Cannot sort lower and upper cases for under same + letter + + Fix build warnings, and other build issues. + + Updated translations. +- Rebase tracker-removeable-media-off.patch. +- Add libgupnp-dlna-devel BuildRequires on 11.4 and later. + +------------------------------------------------------------------- +Wed Sep 1 07:57:29 UTC 2010 - aj@suse.de + +- Change lang package Requires to Recommends since it is not + mandatory at runtime. + +------------------------------------------------------------------- +Fri Aug 27 21:32:31 CEST 2010 - dimstar@opensuse.org + +- Update to version 0.9.18: + + Ontology: + - Renamed slo:longitudeUncertainty to slo:horizontalAccuracy + - Renamed slo:latitudeUncertainty to slo:verticalAccuracy + + libtracker-data: + - Fixed journal reader with rotated journals + - Make sure tracker_fts_update_commit() is called for FTS + updates + + libtracker-direct: + - Use maximum D-Bus timeout + - Wait for tracker-store to be ready + + libtracker-bus: + - Use maximum D-Bus timeout + - Fixed linking to include libtracker-sparql + - Throw errors for non-FD passing when Cancellable is cancelled + - Support BatchUpdate for low priority requests + + libtracker-sparql: + - Added debugging to know what SPARQL is used with + direct-access + - Added TRACKER_SPARQL_BACKEND environment variable + - Added deps file for tracker-sparql.vapi to distribution + - cursor_get_n_columns() should only be called after + cursor_next() + + libtracker-miner: + - Allow API to bypass config dir checks for user based indexing + - Add method to reindex certain mimetypes + - Add method to invoke tracker-miner-fs to index a file + + tracker-store: + - Fixed race conditions with new 'Wait' d-bus interface + - Fixed unregister_g_object() criticals + - Small busy callback improvements, indexing speed increased + + tracker-miner-fs: + - Remove --add-file option (now done using tracker-control -f) + - Added debugging to know which file is requested to be indexed + over D-Bus + - Use tracker_dbus_request_failed() for error situations + - Do not index dirs unconditionally when adding monitors, huge + crawling performance improvement + - Renamed Reindex D-Bus interface to Index + + tracker-control: + - Make -f and -m outputs translatable + - Print when reindexing mime types or files is successful + - Don't print PIDs if we're reindexing mimes or a file + - Use TrackerMinerManager to reindex mimetypes + + tracker-tag: Bail out if none of the passed files exist in the + store + + bgo#613252: Application-driven indexing and metadata storage + + bgo#627893: tracker 0.9.17 does not compile with + e-d-s/evolution 2.31.90 built with gtk+ 3.0 + + nokia#187148: "Not tagged, file is not indexed" message is seen + when adding a tag + + nokia#184505: Video files without audio are listed as music + clips. + + Updated translations. + +------------------------------------------------------------------- +Thu Aug 19 02:15:58 CEST 2010 - dimstar@opensuse.org + +- Update to version 0.9.17: + + SPARQL: Improve lexer performance for strings with ASCII + characters + + libtracker-common: Make sure libtracker-sparql inherits + verbosity + + libtracker-data: + - Merged DataError into TrackerSparqlError, was causing + miner-fs to not finish + - Remove unused Options database table + + libtracker-sparql: + - Added dbus-glib-1 dependency when building Vala sources + - Added example documentation for update_blank() API + + libtracker-bus: Catch SPARQL errors thrown by D-Bus + + tracker-extract: + - MP3: Fixed extraction of certain ID3v2.3 and ID3v2.4 tags + - MP3: Fixed un-unsynchronisation in ID3v2 + + tracker-store: + - Fixed some memory leaks in dbus shutdown + - Removed plugin support (was only used by kmail) + + tracker-miner-fs: Fixed memory leak when setting up volumes + + tracker-search: + - Fixed typo, output was "Contacts:" when it should be "Files:" + - Improved output for --contacts and --files + + kmail: Removed this plugin, it was unmaintained + + Functional Tests: refactoring branch merged, much more + comprehensive testings now + + bgo#627281: crash in tracker-0.8.15 ms-office extractor + + bgo#623005: Remove odt2txt dependency in the OASIS extractor + + bgo#623207: tracker 0.8.6/0.9.x fails to build against + evolution 2.31.4 + + nokia#185950: COREWEB: /usr/lib/tracker/tracker-extract + '*__GI_strncmp extract_gif get_file_metadata tra + + nokia#185070: Enable PNG_iTXt_SUPPORTED flag in libpng + + nokia#182948: Keywords/Subject metadata not written back to the + file + + nokia#184882: tracker-extract is getting crashed for malformed + gif files + + Updated translations. +- Drop tracker-fix-new-evo.patch, upstream fixed. + +------------------------------------------------------------------- +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 + + 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 + +- Add tracker-removeable-media-off.patch to turn off indexing + removeable media by default. + +------------------------------------------------------------------- +Fri Jun 18 18:13:03 CEST 2010 - vuntz@opensuse.org + +- Add tracker-launch-applications-in-results.patch: since tracker + is used from the main menu, it's important that it handles + applications correctly. They should be correctly displayed and it + should launch them instead of opening the .desktop file in a text + editor. +- Add gnome-common BuildRequires and call gnome-autogen.sh for the + patch. + +------------------------------------------------------------------- +Sun May 9 20:28:24 UTC 2010 - dimstar@opensuse.org + +- Update to version 0.8.5: + + There have been many fixes since 0.8.0, see NEWS file for the + complete list. + + Add missing files from tarball. + + Plug memory leaks. + + Performance improvements. + + Improve content extractors, especially office-related ones. + + Many fixes from coverity reports. + + Fix crashes. + + Update man pages. + + Build fixes. + +------------------------------------------------------------------- +Thu Apr 1 19:05:48 CEST 2010 - vuntz@opensuse.org + +- Update to version 0.8.0. +- Drop tracker-silentrpmlint.patch: not needed anymore. + +------------------------------------------------------------------- +Thu Mar 25 21:58:46 CET 2010 - vuntz@opensuse.org + +- Rework package to make it work, and update to latest upstream + version. + +------------------------------------------------------------------- +Wed Jan 6 15:03:45 UTC 2010 - lmedinas@opensuse.org + +- Initial package for openSUSE + diff --git a/tracker-extras.spec b/tracker-extras.spec new file mode 100644 index 0000000..d40bc85 --- /dev/null +++ b/tracker-extras.spec @@ -0,0 +1,806 @@ +# +# spec file for package tracker-extras +# +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 Luis Medinas, Portugal +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +%define build_extras 1 + +%if !%{build_extras} +%define build_applet 0 +%define build_evo 0 +%define build_firefox 0 +%define build_gui 0 +%define build_miner_flickr 0 +%define build_miner_rss 0 +%define build_nautilus 0 +%define build_thunderbird 0 +%else +%define build_applet 1 +%define build_evo 1 +%define build_firefox 1 +%define build_gui 1 +%define build_miner_flickr 1 +%define build_miner_rss 1 +%define build_nautilus 1 +%define build_thunderbird 1 +%endif + +%define firefox_appid \{ec8030f7-c20a-464f-9b0e-13a3a9e97384\} +%define thunderbird_appid \{3550f703-e582-4d05-9a08-453d09bdfdc6\} + +# Do not edit this auto generated file! Edit tracker.spec. + +Name: tracker-extras +%define _name tracker +Version: 0.12.5 +Release: 1 +# FIXME: missing pkgconfig(libcue) BuildRequires: we don't have this packaged... +License: GPLv2+ +Summary: Powerful object database, tag/metadata database, search tool and indexer +Url: http://projects.gnome.org/tracker/ +Group: Productivity/Other +Source0: http://download.gnome.org/sources/tracker/0.12/%{_name}-%{version}.tar.bz2 +Source1: README.SUSE.flickr +Source2: README.SUSE.rss +# PATCH-FIX-OPENSUSE tracker-removeable-media-off.patch bgo622288 badshah400@gmail.com -- Disable indexing on removable media by default. This is only needed for 11.4 and earlier, as 12.1 and later have proper default values in GSettings. +Patch1: tracker-removeable-media-off.patch +# PATCH-FIX-OPENSUSE tracker-fix-include-sched-idle.patch malcolmlewis@opensuse.org -- Add linux/sched.h to includes for 11.4 only for the location of SCHED_IDLE. This is only needed for 11.4 and earlier. +Patch2: tracker-fix-include-sched-idle.patch +BuildRequires: NetworkManager-devel >= 0.8 +BuildRequires: enca-devel +BuildRequires: fdupes +BuildRequires: gcc-c++ +BuildRequires: glib2-devel >= 2.28.0 +BuildRequires: gobject-introspection-devel +BuildRequires: intltool +%if 0%{?suse_version} >= 1130 +BuildRequires: libgnome-keyring-devel +%else +BuildRequires: gnome-keyring-devel +%endif +# Not guarded by !%%{build_extras}, else we build files to have external generic +# media players +BuildRequires: gstreamer-0_10-plugins-base-devel >= 0.10.31 +BuildRequires: libicu-devel +BuildRequires: libupower-glib-devel +BuildRequires: libuuid-devel +BuildRequires: sqlite3-devel +BuildRequires: translation-update-upstream +BuildRequires: update-desktop-files +BuildRequires: vala >= 0.12.0 +BuildRequires: zlib-devel +BuildRequires: pkgconfig(gee-1.0) +%if !%{build_extras} +# Dependencies for extractors / writeback +BuildRequires: flac-devel +BuildRequires: giflib-devel +BuildRequires: libexif-devel +BuildRequires: libgsf-devel +%if 0%{?suse_version} >= 1140 +BuildRequires: libgupnp-dlna-devel >= 0.5 +%endif +BuildRequires: libiptcdata-devel +BuildRequires: libpng-devel +BuildRequires: libpoppler-glib-devel +BuildRequires: libtiff-devel +BuildRequires: libexempi-devel +BuildRequires: libvorbis-devel +BuildRequires: libxml2-devel +BuildRequires: taglib-devel +BuildRequires: totem-pl-parser-devel +BuildRequires: pkgconfig(gdk-pixbuf-2.0) +%else +# For directory ownership and removing files in %%install +BuildRequires: tracker +BuildRequires: tracker-devel +BuildRequires: tracker-miner-files +%endif # !build_extras +%if %{build_applet} +BuildRequires: pkgconfig(libpanelapplet-4.0) +%endif +%if %{build_evo} +BuildRequires: evolution-data-server-devel +BuildRequires: evolution-devel +%endif +%if %{build_firefox} +# It's a bit annoying to require this for the build, see bgo#655618. +BuildRequires: MozillaFirefox +%endif +%if %{build_gui} +BuildRequires: gtk3-devel +%endif +%if %{build_miner_flickr} +BuildRequires: pkgconfig(rest-0.7) >= 0.6 +%endif +%if %{build_miner_rss} +BuildRequires: libgrss-devel +%endif +%if %{build_nautilus} +BuildRequires: pkgconfig(libnautilus-extension) +%endif +%if %{build_thunderbird} +# It's a bit annoying to require this for the build, see bgo#655618. +BuildRequires: MozillaThunderbird +%endif +Recommends: %{_name}-lang +# We want to index files by default, if possible +Recommends: %{_name}-miner-files +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%glib2_gsettings_schema_requires + +%description +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 infinite 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. + +%if !%{build_extras} + +%package -n %{_name}-miner-files +License: GPLv2+ +Summary: Tracker miner to index files and applications +Group: System/GUI/GNOME +Requires: %{_name} = %{version} +%glib2_gsettings_schema_requires + +%description -n %{_name}-miner-files +Tracker is a powerful desktop-neutral first class object +database, tag/metadata database, search tool and indexer. + +This package contains a miner to index files and applications. + +%package -n libtracker-extract-0_12-0 +License: GPLv2+ +Summary: Extract library for Tracker +Group: System/Libraries +Recommends: %{_name} +%glib2_gsettings_schema_requires + +%description -n libtracker-extract-0_12-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 infinite 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-miner-0_12-0 +License: GPLv2+ +Summary: Miner library for Tracker +Group: System/Libraries +Recommends: %{_name} + +%description -n libtracker-miner-0_12-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 infinite 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_12-0 +License: GPLv2+ +Summary: Sparql library for Tracker +Group: System/Libraries +Recommends: %{_name} + +%description -n libtracker-sparql-0_12-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 infinite 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 tracker-devel +License: GPLv2+ +Summary: Tracker -- Development files +Group: Development/Libraries/GNOME +Requires: libtracker-extract-0_12-0 = %{version} +Requires: libtracker-miner-0_12-0 = %{version} +Requires: libtracker-sparql-0_12-0 = %{version} + +%description -n tracker-devel +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 infinite 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. +%endif # !build_extras + +%if %{build_evo} + +%package -n %{_name}-miner-evolution +License: GPLv2+ +Summary: Tracker miner to index Evolution mails +Group: System/GUI/GNOME +Requires: %{_name} = %{version} +Requires: evolution +Supplements: packageand(%{_name}:evolution} +# Name changed during development of 11.4 +Provides: evolution-tracker = %{version} +Obsoletes: evolution-tracker < %{version} +# A generic provides, since this is also an evolution plugin +Provides: evolution-plugin-tracker = %{version} + +%description -n %{_name}-miner-evolution +Tracker is a powerful desktop-neutral first class object +database, tag/metadata database, search tool and indexer. + +This package contains an Evolution plugin that will index Evolution +mails. +%endif # build_evo + +%if %{build_firefox} + +%package -n %{_name}-miner-firefox +License: GPLv2+ +Summary: Tracker miner to index Firefox bookmarks +Group: System/GUI/GNOME +Requires: %{_name} = %{version} +Requires: MozillaFirefox +Supplements: packageand(%{_name}:MozillaFirefox} +# A generic provides, since this is also a firefox extension +Provides: MozillaFirefox-extension-tracker = %{version} + +%description -n %{_name}-miner-firefox +Tracker is a powerful desktop-neutral first class object +database, tag/metadata database, search tool and indexer. + +This package contains a Firefox extension that will index +Firefox bookmarks. +%endif # build_firefox + +%if %{build_miner_flickr} + +%package -n %{_name}-miner-flickr +License: GPLv2+ +Summary: Tracker miner to index Flickr images +Group: System/GUI/GNOME +Requires: %{_name} = %{version} + +%description -n %{_name}-miner-flickr +Tracker is a powerful desktop-neutral first class object +database, tag/metadata database, search tool and indexer. + +This package contains a miner to index Flickr images. +%endif # build_miner_flickr + +%if %{build_miner_rss} + +%package -n %{_name}-miner-rss +License: GPLv2+ +Summary: Tracker miner to index ATOM and RSS feeds +Group: System/GUI/GNOME +Requires: %{_name} = %{version} + +%description -n %{_name}-miner-rss +Tracker is a powerful desktop-neutral first class object +database, tag/metadata database, search tool and indexer. + +This package contains a miner to index ATOM and RSS feeds. +%endif # build_miner_rss + +%if %{build_thunderbird} + +%package -n %{_name}-miner-thunderbird +License: GPLv2+ +Summary: Tracker miner to index Thunderbird mails +Group: System/GUI/GNOME +Requires: %{_name} = %{version} +Requires: MozillaThunderbird +Supplements: packageand(%{_name}:MozillaThunderbird} +# A generic provides, since this is also a thunderbird extension +Provides: MozillaThunderbird-extension-tracker = %{version} + +%description -n %{_name}-miner-thunderbird +Tracker is a powerful desktop-neutral first class object +database, tag/metadata database, search tool and indexer. + +This package contains a Thunderbird extension that will index +Thunderbird mails. +%endif # build_thunderbird + +%if %{build_gui} + +%package -n %{_name}-gui +License: GPLv2+ +Summary: Graphical User Interface for Tracker +Group: System/GUI/GNOME +Requires: %{_name} = %{version} +Recommends: %{_name}-lang + +%description -n %{_name}-gui +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 infinite 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. +%endif # build_gui + +%if %{build_applet} + +%package -n gnome-panel-applet-tracker +License: GPLv2+ +Summary: A GNOME panel applet for Tracker +Group: System/GUI/GNOME +Requires: %{_name} = %{version} +Recommends: %{_name}-lang +Supplements: packageand(%{_name}:gnome-panel} +# Name changed during development of 11.4 +Provides: tracker-applet = %{_name} +Obsoletes: tracker-applet < %{_name} + +%description -n gnome-panel-applet-tracker +Tracker is a powerful desktop-neutral first class object +database, tag/metadata database, search tool and indexer. + +This package contains a panel applet to easily use Tracker. +%endif # build_applet + +%if %{build_nautilus} + +%package -n nautilus-extension-tracker-tags +License: GPLv2+ +Summary: Tracker Plugin for Nautilus +Group: System/GUI/GNOME +Requires: %{_name} = %{version} +Requires: nautilus +Recommends: %{_name}-lang +Supplements: packageand(%{_name}:nautilus} +# Name changed during development of 11.4 +Provides: nautilus-tracker = %{version} +Obsoletes: nautilus-tracker < %{version} + +%description -n nautilus-extension-tracker-tags +Tracker is a powerful desktop-neutral first class object +database, tag/metadata database, search tool and indexer. + +This package contains an nautilus plugin to tag files with Tracker. +%endif # build_nautilus + +%if !%{build_extras} +%lang_package +%endif + +%prep +%setup -q -n %{_name}-%{version} +translation-update-upstream +%if 0%{?suse_version} <= 1140 +%patch1 -p1 +%patch2 +%endif +cp %{S:1} src/miners/flickr/README.SUSE +cp %{S:2} src/miners/rss/README.SUSE + +%build +%configure \ +%if !%{build_extras} + --enable-libvorbis \ + --enable-libflac \ +%endif +%if %{build_applet} + --enable-tracker-search-bar \ +%else + --disable-tracker-search-bar \ +%endif +%if %{build_evo} + --enable-miner-evolution \ +%else + --disable-miner-evolution \ +%endif +%if %{build_firefox} + --enable-miner-firefox \ + --with-firefox-plugin-dir="%{_datadir}/mozilla/extensions/%{firefox_appid}" \ +%else + --disable-miner-firefox \ +%endif +%if %{build_gui} + --enable-tracker-explorer \ + --enable-tracker-needle \ + --enable-tracker-preferences \ +%else + --disable-tracker-explorer \ + --disable-tracker-needle \ + --disable-tracker-preferences \ +%endif +%if %{build_nautilus} + --enable-nautilus-extension \ +%else + --disable-nautilus-extension \ +%endif +%if %{build_miner_flickr} + --enable-miner-flickr \ +%else + --disable-miner-flickr \ +%endif +%if %{build_miner_rss} + --enable-miner-rss \ +%else + --disable-miner-rss \ +%endif +%if %{build_thunderbird} + --enable-miner-thunderbird \ + --with-thunderbird-plugin-dir="%{_datadir}/mozilla/extensions/%{thunderbird_appid}" \ +%else + --disable-miner-thunderbird \ +%endif + --disable-functional-tests +%__make %{?_smp_mflags} V=1 + +%install +%make_install +find %{buildroot} -type f -name "*.la" -delete -print +rm -r %{buildroot}%{_datadir}/tracker-tests + +%if !%{build_extras} + +## Normal build +%suse_update_desktop_file tracker-miner-fs +%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-files.desktop +%find_lang %{_name} %{?no_lang_C} +# Only needed by gui tools +rm %{buildroot}%{_datadir}/icons/hicolor/*/apps/tracker.* + +%fdupes %{buildroot}%{_datadir}/gtk-doc/html/ +%fdupes %{buildroot}%{_datadir}/vala/ + +%else + +## Extras build: remove files from main, miner-files, devel, lang and lib subpackages +for file in `rpm -ql tracker tracker-devel tracker-miner-files libtracker-extract-0_12-0 libtracker-miner-0_12-0 libtracker-sparql-0_12-0`; do + # do not remove directories (might contain files we want); -f to not fail if + # file doesn't exist + test ! -d %{buildroot}${file} && rm -f %{buildroot}${file} + test ${file#%{_mandir}} != ${file} && rm -f %{buildroot}${file%%%{?ext_man}} +done +rm %{buildroot}%{_datadir}/locale/*/LC_MESSAGES/tracker.mo + +%endif + +%if %{build_miner_flickr} +%suse_update_desktop_file tracker-miner-flickr +%endif +%if %{build_miner_rss} +%suse_update_desktop_file tracker-miner-rss +%endif +%if %{build_evo} +%suse_update_desktop_file %{buildroot}%{_datadir}/tracker/miners/tracker-miner-evolution.desktop +%endif +%if %{build_miner_flickr} +%suse_update_desktop_file %{buildroot}%{_datadir}/tracker/miners/tracker-miner-flickr.desktop +%endif +%if %{build_miner_rss} +%suse_update_desktop_file %{buildroot}%{_datadir}/tracker/miners/tracker-miner-rss.desktop +%endif +%if %{build_gui} +%suse_update_desktop_file tracker-preferences X-SuSE-ControlCenter-Personal +%suse_update_desktop_file tracker-needle DesktopUtility +%endif +%if %{build_thunderbird} +%suse_update_desktop_file trackerbird-launcher +%endif + +%clean +rm -rf %{buildroot} + +%if !%{build_extras} + +%post +%glib2_gsettings_schema_post + +%postun +%glib2_gsettings_schema_postun + +%post -n %{_name}-miner-files +%glib2_gsettings_schema_post + +%postun -n %{_name}-miner-files +%glib2_gsettings_schema_postun + +%post -n libtracker-extract-0_12-0 +%glib2_gsettings_schema_post +/sbin/ldconfig + +%postun -n libtracker-extract-0_12-0 +%glib2_gsettings_schema_postun +/sbin/ldconfig + +%post -n libtracker-miner-0_12-0 -p /sbin/ldconfig + +%postun -n libtracker-miner-0_12-0 -p /sbin/ldconfig + +%post -n libtracker-sparql-0_12-0 -p /sbin/ldconfig + +%postun -n libtracker-sparql-0_12-0 -p /sbin/ldconfig +%endif # !build_extras + +%if %{build_gui} +%if 0%{?suse_version} > 1130 + +%post -n %{_name}-gui +%desktop_database_post +%icon_theme_cache_post + +%postun -n %{_name}-gui +%desktop_database_postun +%icon_theme_cache_postun +%endif +%endif + +%if %{build_thunderbird} +%if 0%{?suse_version} > 1130 + +%post -n %{_name}-miner-thunderbird +%desktop_database_post + +%postun -n %{_name}-miner-thunderbird +%desktop_database_postun +%endif +%endif + +%if !%{build_extras} + +%files +%defattr(-,root,root) +%doc AUTHORS ChangeLog COPYING README NEWS +%{_sysconfdir}/xdg/autostart/tracker-store.desktop +%{_bindir}/tracker-control +%{_bindir}/tracker-import +%{_bindir}/tracker-info +%{_bindir}/tracker-search +%{_bindir}/tracker-sparql +%{_bindir}/tracker-stats +%{_bindir}/tracker-tag +%{_libexecdir}/tracker-extract +%{_libexecdir}/tracker-store +%{_libexecdir}/tracker-writeback +%{_libdir}/tracker-0.12/ +%{_datadir}/tracker/ +%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Extract.service +%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Writeback.service +%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.service +%{_datadir}/glib-2.0/schemas/org.freedesktop.Tracker.DB.gschema.xml +%{_datadir}/glib-2.0/schemas/org.freedesktop.Tracker.FTS.gschema.xml +%{_datadir}/glib-2.0/schemas/org.freedesktop.Tracker.Store.gschema.xml +%{_datadir}/glib-2.0/schemas/org.freedesktop.Tracker.Writeback.gschema.xml +%{_datadir}/glib-2.0/schemas/org.freedesktop.Tracker.enums.xml +%{_datadir}/glib-2.0/schemas/org.freedesktop.Tracker.gschema.xml +%{_mandir}/man1/tracker-control.1%{ext_man} +%{_mandir}/man1/tracker-extract.1%{ext_man} +%{_mandir}/man1/tracker-import.1%{ext_man} +%{_mandir}/man1/tracker-info.1%{ext_man} +%{_mandir}/man1/tracker-search.1%{ext_man} +%{_mandir}/man1/tracker-sparql.1%{ext_man} +%{_mandir}/man1/tracker-stats.1%{ext_man} +%{_mandir}/man1/tracker-store.1%{ext_man} +%{_mandir}/man1/tracker-tag.1%{ext_man} +%{_mandir}/man1/tracker-writeback.1%{ext_man} +# Exclude files which live in other packages +%exclude %{_datadir}/tracker/miners/tracker-miner-applications.desktop +%if %{build_evo} +%exclude %{_datadir}/tracker/miners/tracker-miner-evolution.desktop +%endif +%exclude %{_datadir}/tracker/miners/tracker-miner-files.desktop +%if %{build_miner_flickr} +%exclude %{_datadir}/tracker/icons/tracker-miner-flickr.svg +%exclude %{_datadir}/tracker/miners/tracker-miner-flickr.desktop +%endif +%if %{build_miner_rss} +%exclude %{_datadir}/tracker/miners/tracker-miner-rss.desktop +%endif +%if %{build_gui} +%exclude %{_datadir}/tracker/tracker-explorer.ui +%exclude %{_datadir}/tracker/tracker-needle.ui +%exclude %{_datadir}/tracker/tracker-preferences.ui +%endif +%if %{build_applet} +%exclude %{_datadir}/tracker/tracker-search-bar.ui +%exclude %{_datadir}/tracker/tracker-search-bar-menu.xml +%endif + +%files -n %{_name}-miner-files +%defattr(-,root,root) +%{_sysconfdir}/xdg/autostart/tracker-miner-fs.desktop +%{_libexecdir}/tracker-miner-fs +%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Miner.Applications.service +%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Miner.Files.service +%{_datadir}/glib-2.0/schemas/org.freedesktop.Tracker.Miner.Files.gschema.xml +%{_datadir}/tracker/miners/tracker-miner-applications.desktop +%{_datadir}/tracker/miners/tracker-miner-files.desktop +%{_mandir}/man1/tracker-miner-fs.1%{ext_man} + +%files -n libtracker-extract-0_12-0 +%defattr(-,root,root) +%{_libdir}/libtracker-extract*.so.* +%{_libdir}/girepository-1.0/TrackerExtract-0.12.typelib +%{_datadir}/glib-2.0/schemas/org.freedesktop.Tracker.Extract.gschema.xml + +%files -n libtracker-miner-0_12-0 +%defattr(-,root,root) +%{_libdir}/libtracker-miner*.so.* +%{_libdir}/girepository-1.0/TrackerMiner-0.12.typelib + +%files -n libtracker-sparql-0_12-0 +%defattr(-, root, root) +%{_libdir}/libtracker-sparql*.so.* +%{_libdir}/girepository-1.0/Tracker-0.12.typelib + +%files -n tracker-devel +%defattr(-,root,root) +%{_libdir}/lib*.so +%{_includedir}/tracker-0.12/ +%{_libdir}/pkgconfig/tracker-extract-0.12.pc +%{_libdir}/pkgconfig/tracker-miner-0.12.pc +%{_libdir}/pkgconfig/tracker-sparql-0.12.pc +%{_datadir}/gir-1.0/*.gir +%{_datadir}/gtk-doc/html/libtracker-miner/ +%{_datadir}/gtk-doc/html/libtracker-extract/ +%{_datadir}/gtk-doc/html/libtracker-sparql/ +%dir %{_datadir}/vala +%dir %{_datadir}/vala/vapi +%{_datadir}/vala/vapi/*.deps +%{_datadir}/vala/vapi/*.vapi +%endif # !build_extras + +%if %{build_evo} + +%files -n %{_name}-miner-evolution +%defattr(-,root,root) +%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Miner.EMails.service +%{_datadir}/tracker/miners/tracker-miner-evolution.desktop +%{_libdir}/evolution/*/plugins/liborg-freedesktop-Tracker-evolution-plugin.so +%{_libdir}/evolution/*/plugins/org-freedesktop-Tracker-evolution-plugin.eplug +%endif + +%if %{build_firefox} + +%files -n %{_name}-miner-firefox +%defattr(-,root,root) +%{_datadir}/mozilla/extensions/%{firefox_appid}/trackerfox@bustany.org/ +%dir %{_datadir}/xul-ext +%{_datadir}/xul-ext/trackerfox/ +%endif + +%if %{build_miner_flickr} + +%files -n %{_name}-miner-flickr +%defattr(-,root,root) +%doc src/miners/flickr/README.SUSE +%{_sysconfdir}/xdg/autostart/tracker-miner-flickr.desktop +%{_libexecdir}/tracker-miner-flickr +%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Miner.Flickr.service +%{_datadir}/tracker/icons/tracker-miner-flickr.svg +%{_datadir}/tracker/miners/tracker-miner-flickr.desktop +%endif + +%if %{build_miner_rss} + +%files -n %{_name}-miner-rss +%defattr(-,root,root) +%doc src/miners/rss/README.SUSE examples/rss-reader/initial-data.ttl +%{_sysconfdir}/xdg/autostart/tracker-miner-rss.desktop +%{_libexecdir}/tracker-miner-rss +%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Miner.RSS.service +%{_datadir}/tracker/miners/tracker-miner-rss.desktop +%{_mandir}/man1/tracker-miner-rss.1%{ext_man} +%endif + +%if %{build_thunderbird} + +%files -n %{_name}-miner-thunderbird +%defattr(-,root,root) +%dir %{_datadir}/mozilla/extensions/%{thunderbird_appid} +%{_datadir}/mozilla/extensions/%{thunderbird_appid}/trackerbird@bustany.org/ +%dir %{_datadir}/xul-ext +%{_datadir}/xul-ext/trackerbird/ +%{_datadir}/applications/trackerbird-launcher.desktop +%endif + +%if %{build_gui} + +%files -n %{_name}-gui +%defattr(-,root,root) +# preferences +%{_bindir}/tracker-preferences +%{_datadir}/applications/tracker-preferences.desktop +%{_datadir}/icons/hicolor/*/apps/tracker.* +%{_datadir}/tracker/tracker-preferences.ui +%{_mandir}/man1/tracker-preferences.1* +# Tracker Needle (former search tool) +%{_bindir}/tracker-needle +%{_datadir}/applications/tracker-needle.desktop +%{_datadir}/tracker/tracker-needle.ui +%{_mandir}/man1/tracker-needle.1* +# explorer +%{_bindir}/tracker-explorer +%{_datadir}/tracker/tracker-explorer.ui +%endif + +%if %{build_applet} + +%files -n gnome-panel-applet-tracker +%defattr(-,root,root) +%{_datadir}/tracker/tracker-search-bar.ui +%{_datadir}/tracker/tracker-search-bar-menu.xml +%{_datadir}/dbus-1/services/org.gnome.panel.applet.SearchBarFactory.service +%{_datadir}/gnome-panel/4.0/applets/org.gnome.panel.SearchBar.panel-applet +%{_libexecdir}/tracker-search-bar +%{_mandir}/man1/tracker-search-bar.1* +%endif + +%if %{build_nautilus} + +%files -n nautilus-extension-tracker-tags +%defattr(-,root,root) +%{_libdir}/nautilus/extensions-3.0/libnautilus-tracker-tags* +%endif + +%if !%{build_extras} + +%files lang -f %{_name}.lang +%endif + +%changelog diff --git a/tracker-fix-include-sched-idle.patch b/tracker-fix-include-sched-idle.patch new file mode 100644 index 0000000..108ad86 --- /dev/null +++ b/tracker-fix-include-sched-idle.patch @@ -0,0 +1,10 @@ +--- src/libtracker-common/tracker-sched.c 2011-10-06 08:07:14.000000000 -0500 ++++ src/libtracker-common/tracker-sched.c.orig 2011-10-13 16:43:03.000000000 -0500 +@@ -26,6 +26,7 @@ + #endif + + #include ++#include + #include + + #include diff --git a/tracker.changes b/tracker.changes index 2e2fb9c..e4aed0d 100644 --- a/tracker.changes +++ b/tracker.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Fri Oct 14 13:22:34 UTC 2011 - malcolmlewis@opensuse.org + +- Add tracker-fix-include-sched-idle.patch to enable building on + 11.4, where path of an include is different. + +------------------------------------------------------------------- +Fri Oct 14 10:19:18 UTC 2011 - vuntz@opensuse.org + +- Split the build of tracker in two, with a new + tracker-extras.spec, in order to break the tracker/nautilus build + loop (and avoid future similar loops): + + in tracker.spec, build the basis of tracker: the command-line + tools, the libraries, the devel subpackage and the files miner. + + in tracker-extras.spec, build addons that have extra + dependencies: the panel applet, the evolution miner, the + firefox plugin, the graphical tools, the flickr miner, the rss + miner, the nautilus extension and the thunderbird miner. + + re-organize tracker.spec for this since tracker-extras.spec is + generated from it. +- Remove unneeded graphviz BuildRequires: this was only needed when + rebuilding the gtk-doc documentation. +- Remove explicit glib2-devel Requires from devel subpackage: this + will automatically be added the pkgconfig() way. + ------------------------------------------------------------------- Thu Oct 13 15:54:01 UTC 2011 - vuntz@opensuse.org diff --git a/tracker.spec b/tracker.spec index a41801e..17914a9 100644 --- a/tracker.spec +++ b/tracker.spec @@ -17,12 +17,33 @@ # +%define build_extras 0 + +%if !%{build_extras} +%define build_applet 0 +%define build_evo 0 +%define build_firefox 0 +%define build_gui 0 +%define build_miner_flickr 0 +%define build_miner_rss 0 +%define build_nautilus 0 +%define build_thunderbird 0 +%else +%define build_applet 1 %define build_evo 1 +%define build_firefox 1 +%define build_gui 1 +%define build_miner_flickr 1 +%define build_miner_rss 1 +%define build_nautilus 1 +%define build_thunderbird 1 +%endif %define firefox_appid \{ec8030f7-c20a-464f-9b0e-13a3a9e97384\} %define thunderbird_appid \{3550f703-e582-4d05-9a08-453d09bdfdc6\} Name: tracker +%define _name tracker Version: 0.12.5 Release: 1 # FIXME: missing pkgconfig(libcue) BuildRequires: we don't have this packaged... @@ -30,68 +51,92 @@ License: GPLv2+ Summary: Powerful object database, tag/metadata database, search tool and indexer Url: http://projects.gnome.org/tracker/ Group: Productivity/Other -Source0: http://download.gnome.org/sources/tracker/0.12/%{name}-%{version}.tar.bz2 +Source0: http://download.gnome.org/sources/tracker/0.12/%{_name}-%{version}.tar.bz2 Source1: README.SUSE.flickr Source2: README.SUSE.rss # PATCH-FIX-OPENSUSE tracker-removeable-media-off.patch bgo622288 badshah400@gmail.com -- Disable indexing on removable media by default. This is only needed for 11.4 and earlier, as 12.1 and later have proper default values in GSettings. Patch1: tracker-removeable-media-off.patch -# It's a bit annoying to require those for the build, see bgo#655618. -BuildRequires: MozillaFirefox -BuildRequires: MozillaThunderbird +# PATCH-FIX-OPENSUSE tracker-fix-include-sched-idle.patch malcolmlewis@opensuse.org -- Add linux/sched.h to includes for 11.4 only for the location of SCHED_IDLE. This is only needed for 11.4 and earlier. +Patch2: tracker-fix-include-sched-idle.patch BuildRequires: NetworkManager-devel >= 0.8 BuildRequires: enca-devel -%if 0%{?build_evo} -BuildRequires: evolution-data-server-devel -BuildRequires: evolution-devel -%endif BuildRequires: fdupes -BuildRequires: flac-devel BuildRequires: gcc-c++ -BuildRequires: giflib-devel BuildRequires: glib2-devel >= 2.28.0 BuildRequires: gobject-introspection-devel -BuildRequires: graphviz -BuildRequires: gstreamer-0_10-plugins-base-devel >= 0.10.31 -BuildRequires: gtk3-devel BuildRequires: intltool -BuildRequires: libexempi-devel -BuildRequires: libexif-devel %if 0%{?suse_version} >= 1130 BuildRequires: libgnome-keyring-devel %else BuildRequires: gnome-keyring-devel %endif -BuildRequires: libgrss-devel -BuildRequires: libgsf-devel -%if 0%{?suse_version} >= 1140 -BuildRequires: libgupnp-dlna-devel >= 0.5 -%endif +# Not guarded by !%%{build_extras}, else we build files to have external generic +# media players +BuildRequires: gstreamer-0_10-plugins-base-devel >= 0.10.31 BuildRequires: libicu-devel -BuildRequires: libiptcdata-devel -BuildRequires: libpng-devel -BuildRequires: libpoppler-glib-devel -BuildRequires: libtiff-devel BuildRequires: libupower-glib-devel BuildRequires: libuuid-devel -BuildRequires: libvorbis-devel -BuildRequires: libxml2-devel BuildRequires: sqlite3-devel -BuildRequires: taglib-devel -BuildRequires: totem-pl-parser-devel BuildRequires: translation-update-upstream BuildRequires: update-desktop-files BuildRequires: vala >= 0.12.0 BuildRequires: zlib-devel BuildRequires: pkgconfig(gee-1.0) -BuildRequires: pkgconfig(libnautilus-extension) -BuildRequires: pkgconfig(libpanelapplet-4.0) -BuildRequires: pkgconfig(rest-0.7) >= 0.6 -Recommends: %{name}-lang -# We want to index files by default, if possible -Recommends: %{name}-miner-files -%if !(0%{?build_evo}) -Obsoletes: %{name}-miner-evolution < %{version} +%if !%{build_extras} +# Dependencies for extractors / writeback +BuildRequires: flac-devel +BuildRequires: giflib-devel +BuildRequires: libexif-devel +BuildRequires: libgsf-devel +%if 0%{?suse_version} >= 1140 +BuildRequires: libgupnp-dlna-devel >= 0.5 %endif +BuildRequires: libiptcdata-devel +BuildRequires: libpng-devel +BuildRequires: libpoppler-glib-devel +BuildRequires: libtiff-devel +BuildRequires: libexempi-devel +BuildRequires: libvorbis-devel +BuildRequires: libxml2-devel +BuildRequires: taglib-devel +BuildRequires: totem-pl-parser-devel +BuildRequires: pkgconfig(gdk-pixbuf-2.0) +%else +# For directory ownership and removing files in %%install +BuildRequires: tracker +BuildRequires: tracker-devel +BuildRequires: tracker-miner-files +%endif # !build_extras +%if %{build_applet} +BuildRequires: pkgconfig(libpanelapplet-4.0) +%endif +%if %{build_evo} +BuildRequires: evolution-data-server-devel +BuildRequires: evolution-devel +%endif +%if %{build_firefox} +# It's a bit annoying to require this for the build, see bgo#655618. +BuildRequires: MozillaFirefox +%endif +%if %{build_gui} +BuildRequires: gtk3-devel +%endif +%if %{build_miner_flickr} +BuildRequires: pkgconfig(rest-0.7) >= 0.6 +%endif +%if %{build_miner_rss} +BuildRequires: libgrss-devel +%endif +%if %{build_nautilus} +BuildRequires: pkgconfig(libnautilus-extension) +%endif +%if %{build_thunderbird} +# It's a bit annoying to require this for the build, see bgo#655618. +BuildRequires: MozillaThunderbird +%endif +Recommends: %{_name}-lang +# We want to index files by default, if possible +Recommends: %{_name}-miner-files BuildRoot: %{_tmppath}/%{name}-%{version}-build %glib2_gsettings_schema_requires @@ -110,127 +155,26 @@ 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. -%if 0%{?build_evo} +%if !%{build_extras} -%package miner-evolution -License: GPLv2+ -Summary: Tracker miner to index Evolution mails -Group: System/GUI/GNOME -Requires: %{name} = %{version} -Requires: evolution -Supplements: packageand(%{name}:evolution} -# Name changed during development of 11.4 -Provides: evolution-tracker = %{version} -Obsoletes: evolution-tracker < %{version} -# A generic provides, since this is also an evolution plugin -Provides: evolution-plugin-tracker = %{version} - -%description miner-evolution -Tracker is a powerful desktop-neutral first class object -database, tag/metadata database, search tool and indexer. - -This package contains an Evolution plugin that will index Evolution -mails. -%endif - -%package miner-files +%package -n %{_name}-miner-files License: GPLv2+ Summary: Tracker miner to index files and applications Group: System/GUI/GNOME -Requires: %{name} = %{version} +Requires: %{_name} = %{version} %glib2_gsettings_schema_requires -%description miner-files +%description -n %{_name}-miner-files Tracker is a powerful desktop-neutral first class object database, tag/metadata database, search tool and indexer. This package contains a miner to index files and applications. -%package miner-firefox -License: GPLv2+ -Summary: Tracker miner to index Firefox bookmarks -Group: System/GUI/GNOME -Requires: %{name} = %{version} -Requires: MozillaFirefox -Supplements: packageand(%{name}:MozillaFirefox} -# A generic provides, since this is also a firefox extension -Provides: MozillaFirefox-extension-tracker = %{version} - -%description miner-firefox -Tracker is a powerful desktop-neutral first class object -database, tag/metadata database, search tool and indexer. - -This package contains a Firefox extension that will index -Firefox bookmarks. - -%package miner-flickr -License: GPLv2+ -Summary: Tracker miner to index Flickr images -Group: System/GUI/GNOME -Requires: %{name} = %{version} - -%description miner-flickr -Tracker is a powerful desktop-neutral first class object -database, tag/metadata database, search tool and indexer. - -This package contains a miner to index Flickr images. - -%package miner-rss -License: GPLv2+ -Summary: Tracker miner to index ATOM and RSS feeds -Group: System/GUI/GNOME -Requires: %{name} = %{version} - -%description miner-rss -Tracker is a powerful desktop-neutral first class object -database, tag/metadata database, search tool and indexer. - -This package contains a miner to index ATOM and RSS feeds. - -%package miner-thunderbird -License: GPLv2+ -Summary: Tracker miner to index Thunderbird mails -Group: System/GUI/GNOME -Requires: %{name} = %{version} -Requires: MozillaThunderbird -Supplements: packageand(%{name}:MozillaThunderbird} -# A generic provides, since this is also a thunderbird extension -Provides: MozillaThunderbird-extension-tracker = %{version} - -%description miner-thunderbird -Tracker is a powerful desktop-neutral first class object -database, tag/metadata database, search tool and indexer. - -This package contains a Thunderbird extension that will index -Thunderbird mails. - -%package gui -License: GPLv2+ -Summary: Graphical User Interface for Tracker -Group: System/GUI/GNOME -Requires: %{name} = %{version} -Recommends: %{name}-lang - -%description gui -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 infinite 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-extract-0_12-0 License: GPLv2+ Summary: Extract library for Tracker Group: System/Libraries -Recommends: %{name} +Recommends: %{_name} %glib2_gsettings_schema_requires %description -n libtracker-extract-0_12-0 @@ -252,7 +196,7 @@ and search all types of files and other first class objects. License: GPLv2+ Summary: Miner library for Tracker Group: System/Libraries -Recommends: %{name} +Recommends: %{_name} %description -n libtracker-miner-0_12-0 Tracker is a powerful desktop-neutral first class object @@ -273,7 +217,7 @@ and search all types of files and other first class objects. License: GPLv2+ Summary: Sparql library for Tracker Group: System/Libraries -Recommends: %{name} +Recommends: %{_name} %description -n libtracker-sparql-0_12-0 Tracker is a powerful desktop-neutral first class object @@ -294,7 +238,6 @@ and search all types of files and other first class objects. License: GPLv2+ Summary: Tracker -- Development files Group: Development/Libraries/GNOME -Requires: glib2-devel Requires: libtracker-extract-0_12-0 = %{version} Requires: libtracker-miner-0_12-0 = %{version} Requires: libtracker-sparql-0_12-0 = %{version} @@ -313,32 +256,156 @@ 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. +%endif # !build_extras + +%if %{build_evo} + +%package -n %{_name}-miner-evolution +License: GPLv2+ +Summary: Tracker miner to index Evolution mails +Group: System/GUI/GNOME +Requires: %{_name} = %{version} +Requires: evolution +Supplements: packageand(%{_name}:evolution} +# Name changed during development of 11.4 +Provides: evolution-tracker = %{version} +Obsoletes: evolution-tracker < %{version} +# A generic provides, since this is also an evolution plugin +Provides: evolution-plugin-tracker = %{version} + +%description -n %{_name}-miner-evolution +Tracker is a powerful desktop-neutral first class object +database, tag/metadata database, search tool and indexer. + +This package contains an Evolution plugin that will index Evolution +mails. +%endif # build_evo + +%if %{build_firefox} + +%package -n %{_name}-miner-firefox +License: GPLv2+ +Summary: Tracker miner to index Firefox bookmarks +Group: System/GUI/GNOME +Requires: %{_name} = %{version} +Requires: MozillaFirefox +Supplements: packageand(%{_name}:MozillaFirefox} +# A generic provides, since this is also a firefox extension +Provides: MozillaFirefox-extension-tracker = %{version} + +%description -n %{_name}-miner-firefox +Tracker is a powerful desktop-neutral first class object +database, tag/metadata database, search tool and indexer. + +This package contains a Firefox extension that will index +Firefox bookmarks. +%endif # build_firefox + +%if %{build_miner_flickr} + +%package -n %{_name}-miner-flickr +License: GPLv2+ +Summary: Tracker miner to index Flickr images +Group: System/GUI/GNOME +Requires: %{_name} = %{version} + +%description -n %{_name}-miner-flickr +Tracker is a powerful desktop-neutral first class object +database, tag/metadata database, search tool and indexer. + +This package contains a miner to index Flickr images. +%endif # build_miner_flickr + +%if %{build_miner_rss} + +%package -n %{_name}-miner-rss +License: GPLv2+ +Summary: Tracker miner to index ATOM and RSS feeds +Group: System/GUI/GNOME +Requires: %{_name} = %{version} + +%description -n %{_name}-miner-rss +Tracker is a powerful desktop-neutral first class object +database, tag/metadata database, search tool and indexer. + +This package contains a miner to index ATOM and RSS feeds. +%endif # build_miner_rss + +%if %{build_thunderbird} + +%package -n %{_name}-miner-thunderbird +License: GPLv2+ +Summary: Tracker miner to index Thunderbird mails +Group: System/GUI/GNOME +Requires: %{_name} = %{version} +Requires: MozillaThunderbird +Supplements: packageand(%{_name}:MozillaThunderbird} +# A generic provides, since this is also a thunderbird extension +Provides: MozillaThunderbird-extension-tracker = %{version} + +%description -n %{_name}-miner-thunderbird +Tracker is a powerful desktop-neutral first class object +database, tag/metadata database, search tool and indexer. + +This package contains a Thunderbird extension that will index +Thunderbird mails. +%endif # build_thunderbird + +%if %{build_gui} + +%package -n %{_name}-gui +License: GPLv2+ +Summary: Graphical User Interface for Tracker +Group: System/GUI/GNOME +Requires: %{_name} = %{version} +Recommends: %{_name}-lang + +%description -n %{_name}-gui +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 infinite 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. +%endif # build_gui + +%if %{build_applet} %package -n gnome-panel-applet-tracker License: GPLv2+ Summary: A GNOME panel applet for Tracker Group: System/GUI/GNOME -Requires: %{name} = %{version} -Recommends: %{name}-lang -Supplements: packageand(%{name}:gnome-panel} +Requires: %{_name} = %{version} +Recommends: %{_name}-lang +Supplements: packageand(%{_name}:gnome-panel} # Name changed during development of 11.4 -Provides: tracker-applet = %{name} -Obsoletes: tracker-applet < %{name} +Provides: tracker-applet = %{_name} +Obsoletes: tracker-applet < %{_name} %description -n gnome-panel-applet-tracker Tracker is a powerful desktop-neutral first class object database, tag/metadata database, search tool and indexer. This package contains a panel applet to easily use Tracker. +%endif # build_applet + +%if %{build_nautilus} %package -n nautilus-extension-tracker-tags License: GPLv2+ Summary: Tracker Plugin for Nautilus Group: System/GUI/GNOME -Requires: %{name} = %{version} +Requires: %{_name} = %{version} Requires: nautilus -Recommends: %{name}-lang -Supplements: packageand(%{name}:nautilus} +Recommends: %{_name}-lang +Supplements: packageand(%{_name}:nautilus} # Name changed during development of 11.4 Provides: nautilus-tracker = %{version} Obsoletes: nautilus-tracker < %{version} @@ -348,63 +415,147 @@ Tracker is a powerful desktop-neutral first class object database, tag/metadata database, search tool and indexer. This package contains an nautilus plugin to tag files with Tracker. +%endif # build_nautilus +%if !%{build_extras} %lang_package +%endif + %prep -%setup -q +%setup -q -n %{_name}-%{version} translation-update-upstream %if 0%{?suse_version} <= 1140 %patch1 -p1 +%patch2 %endif cp %{S:1} src/miners/flickr/README.SUSE cp %{S:2} src/miners/rss/README.SUSE %build %configure \ +%if !%{build_extras} --enable-libvorbis \ --enable-libflac \ - --enable-tracker-explorer \ - --enable-tracker-search-bar \ - --enable-tracker-preferences \ - --disable-functional-tests \ - --with-firefox-plugin-dir="%{_datadir}/mozilla/extensions/%{firefox_appid}" \ - --with-thunderbird-plugin-dir="%{_datadir}/mozilla/extensions/%{thunderbird_appid}" +%endif +%if %{build_applet} + --enable-tracker-search-bar \ +%else + --disable-tracker-search-bar \ +%endif +%if %{build_evo} + --enable-miner-evolution \ +%else + --disable-miner-evolution \ +%endif +%if %{build_firefox} + --enable-miner-firefox \ + --with-firefox-plugin-dir="%{_datadir}/mozilla/extensions/%{firefox_appid}" \ +%else + --disable-miner-firefox \ +%endif +%if %{build_gui} + --enable-tracker-explorer \ + --enable-tracker-needle \ + --enable-tracker-preferences \ +%else + --disable-tracker-explorer \ + --disable-tracker-needle \ + --disable-tracker-preferences \ +%endif +%if %{build_nautilus} + --enable-nautilus-extension \ +%else + --disable-nautilus-extension \ +%endif +%if %{build_miner_flickr} + --enable-miner-flickr \ +%else + --disable-miner-flickr \ +%endif +%if %{build_miner_rss} + --enable-miner-rss \ +%else + --disable-miner-rss \ +%endif +%if %{build_thunderbird} + --enable-miner-thunderbird \ + --with-thunderbird-plugin-dir="%{_datadir}/mozilla/extensions/%{thunderbird_appid}" \ +%else + --disable-miner-thunderbird \ +%endif + --disable-functional-tests %__make %{?_smp_mflags} V=1 %install -%makeinstall +%make_install find %{buildroot} -type f -name "*.la" -delete -print rm -r %{buildroot}%{_datadir}/tracker-tests -%find_lang %{name} %{?no_lang_C} -%suse_update_desktop_file tracker-miner-flickr + +%if !%{build_extras} + +## Normal build %suse_update_desktop_file tracker-miner-fs -%suse_update_desktop_file tracker-miner-rss %suse_update_desktop_file tracker-store %suse_update_desktop_file %{buildroot}%{_datadir}/tracker/miners/tracker-miner-applications.desktop -%if 0%{?build_evo} +%suse_update_desktop_file %{buildroot}%{_datadir}/tracker/miners/tracker-miner-files.desktop +%find_lang %{_name} %{?no_lang_C} +# Only needed by gui tools +rm %{buildroot}%{_datadir}/icons/hicolor/*/apps/tracker.* + +%fdupes %{buildroot}%{_datadir}/gtk-doc/html/ +%fdupes %{buildroot}%{_datadir}/vala/ + +%else + +## Extras build: remove files from main, miner-files, devel, lang and lib subpackages +for file in `rpm -ql tracker tracker-devel tracker-miner-files libtracker-extract-0_12-0 libtracker-miner-0_12-0 libtracker-sparql-0_12-0`; do + # do not remove directories (might contain files we want); -f to not fail if + # file doesn't exist + test ! -d %{buildroot}${file} && rm -f %{buildroot}${file} + test ${file#%{_mandir}} != ${file} && rm -f %{buildroot}${file%%%{?ext_man}} +done +rm %{buildroot}%{_datadir}/locale/*/LC_MESSAGES/tracker.mo + +%endif + +%if %{build_miner_flickr} +%suse_update_desktop_file tracker-miner-flickr +%endif +%if %{build_miner_rss} +%suse_update_desktop_file tracker-miner-rss +%endif +%if %{build_evo} %suse_update_desktop_file %{buildroot}%{_datadir}/tracker/miners/tracker-miner-evolution.desktop %endif -%suse_update_desktop_file %{buildroot}%{_datadir}/tracker/miners/tracker-miner-files.desktop +%if %{build_miner_flickr} %suse_update_desktop_file %{buildroot}%{_datadir}/tracker/miners/tracker-miner-flickr.desktop +%endif +%if %{build_miner_rss} %suse_update_desktop_file %{buildroot}%{_datadir}/tracker/miners/tracker-miner-rss.desktop +%endif +%if %{build_gui} %suse_update_desktop_file tracker-preferences X-SuSE-ControlCenter-Personal %suse_update_desktop_file tracker-needle DesktopUtility +%endif +%if %{build_thunderbird} %suse_update_desktop_file trackerbird-launcher -%fdupes %{buildroot} +%endif %clean rm -rf %{buildroot} +%if !%{build_extras} + %post %glib2_gsettings_schema_post %postun %glib2_gsettings_schema_postun -%post miner-files +%post -n %{_name}-miner-files %glib2_gsettings_schema_post -%postun miner-files +%postun -n %{_name}-miner-files %glib2_gsettings_schema_postun %post -n libtracker-extract-0_12-0 @@ -422,46 +573,50 @@ rm -rf %{buildroot} %post -n libtracker-sparql-0_12-0 -p /sbin/ldconfig %postun -n libtracker-sparql-0_12-0 -p /sbin/ldconfig +%endif # !build_extras +%if %{build_gui} %if 0%{?suse_version} > 1130 -%post gui +%post -n %{_name}-gui %desktop_database_post %icon_theme_cache_post -%endif -%if 0%{?suse_version} > 1130 - -%postun gui +%postun -n %{_name}-gui %desktop_database_postun %icon_theme_cache_postun %endif +%endif +%if %{build_thunderbird} %if 0%{?suse_version} > 1130 -%post miner-thunderbird +%post -n %{_name}-miner-thunderbird %desktop_database_post -%postun miner-thunderbird +%postun -n %{_name}-miner-thunderbird %desktop_database_postun %endif +%endif + +%if !%{build_extras} %files %defattr(-,root,root) %doc AUTHORS ChangeLog COPYING README NEWS %{_sysconfdir}/xdg/autostart/tracker-store.desktop -%{_bindir}/%{name}-control -%{_bindir}/%{name}-import -%{_bindir}/%{name}-info -%{_bindir}/%{name}-search -%{_bindir}/%{name}-sparql -%{_bindir}/%{name}-stats -%{_bindir}/%{name}-tag -%{_libexecdir}/%{name}-extract -%{_libexecdir}/%{name}-store -%{_libexecdir}/%{name}-writeback -%{_libdir}/%{name}-0.12/ -%{_datadir}/%{name}/ +%{_bindir}/tracker-control +%{_bindir}/tracker-import +%{_bindir}/tracker-info +%{_bindir}/tracker-search +%{_bindir}/tracker-sparql +%{_bindir}/tracker-stats +%{_bindir}/tracker-tag +%{_libexecdir}/tracker-extract +%{_libexecdir}/tracker-store +%{_libexecdir}/tracker-writeback +%{_libdir}/tracker-0.12/ +%{_datadir}/tracker/ %{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Extract.service %{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Writeback.service %{_datadir}/dbus-1/services/org.freedesktop.Tracker1.service @@ -482,88 +637,39 @@ rm -rf %{buildroot} %{_mandir}/man1/tracker-tag.1%{ext_man} %{_mandir}/man1/tracker-writeback.1%{ext_man} # Exclude files which live in other packages -%exclude %{_datadir}/%{name}/miners/tracker-miner-applications.desktop -%if 0%{?build_evo} -%exclude %{_datadir}/%{name}/miners/tracker-miner-evolution.desktop +%exclude %{_datadir}/tracker/miners/tracker-miner-applications.desktop +%if %{build_evo} +%exclude %{_datadir}/tracker/miners/tracker-miner-evolution.desktop %endif -%exclude %{_datadir}/%{name}/miners/tracker-miner-files.desktop -%exclude %{_datadir}/%{name}/miners/tracker-miner-flickr.desktop -%exclude %{_datadir}/%{name}/miners/tracker-miner-rss.desktop -%exclude %{_datadir}/%{name}/tracker-explorer.ui -%exclude %{_datadir}/%{name}/tracker-needle.ui -%exclude %{_datadir}/%{name}/tracker-preferences.ui -%exclude %{_datadir}/%{name}/tracker-search-bar.ui -%exclude %{_datadir}/%{name}/tracker-search-bar-menu.xml - -%if 0%{?build_evo} - -%files miner-evolution -%defattr(-,root,root) -%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Miner.EMails.service -%{_datadir}/%{name}/miners/tracker-miner-evolution.desktop -%{_libdir}/evolution/*/plugins/liborg-freedesktop-Tracker-evolution-plugin.so -%{_libdir}/evolution/*/plugins/org-freedesktop-Tracker-evolution-plugin.eplug +%exclude %{_datadir}/tracker/miners/tracker-miner-files.desktop +%if %{build_miner_flickr} +%exclude %{_datadir}/tracker/icons/tracker-miner-flickr.svg +%exclude %{_datadir}/tracker/miners/tracker-miner-flickr.desktop +%endif +%if %{build_miner_rss} +%exclude %{_datadir}/tracker/miners/tracker-miner-rss.desktop +%endif +%if %{build_gui} +%exclude %{_datadir}/tracker/tracker-explorer.ui +%exclude %{_datadir}/tracker/tracker-needle.ui +%exclude %{_datadir}/tracker/tracker-preferences.ui +%endif +%if %{build_applet} +%exclude %{_datadir}/tracker/tracker-search-bar.ui +%exclude %{_datadir}/tracker/tracker-search-bar-menu.xml %endif -%files miner-files +%files -n %{_name}-miner-files %defattr(-,root,root) %{_sysconfdir}/xdg/autostart/tracker-miner-fs.desktop -%{_libexecdir}/%{name}-miner-fs +%{_libexecdir}/tracker-miner-fs %{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Miner.Applications.service %{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Miner.Files.service %{_datadir}/glib-2.0/schemas/org.freedesktop.Tracker.Miner.Files.gschema.xml -%{_datadir}/%{name}/miners/tracker-miner-applications.desktop -%{_datadir}/%{name}/miners/tracker-miner-files.desktop +%{_datadir}/tracker/miners/tracker-miner-applications.desktop +%{_datadir}/tracker/miners/tracker-miner-files.desktop %{_mandir}/man1/tracker-miner-fs.1%{ext_man} -%files miner-firefox -%defattr(-,root,root) -%{_datadir}/mozilla/extensions/%{firefox_appid}/trackerfox@bustany.org/ -%dir %{_datadir}/xul-ext -%{_datadir}/xul-ext/trackerfox/ - -%files miner-flickr -%defattr(-,root,root) -%doc src/miners/flickr/README.SUSE -%{_sysconfdir}/xdg/autostart/tracker-miner-flickr.desktop -%{_libexecdir}/%{name}-miner-flickr -%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Miner.Flickr.service -%{_datadir}/%{name}/miners/tracker-miner-flickr.desktop - -%files miner-rss -%defattr(-,root,root) -%doc src/miners/rss/README.SUSE examples/rss-reader/initial-data.ttl -%{_sysconfdir}/xdg/autostart/tracker-miner-rss.desktop -%{_libexecdir}/%{name}-miner-rss -%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Miner.RSS.service -%{_datadir}/%{name}/miners/tracker-miner-rss.desktop -%{_mandir}/man1/tracker-miner-rss.1%{ext_man} - -%files miner-thunderbird -%defattr(-,root,root) -%dir %{_datadir}/mozilla/extensions/%{thunderbird_appid} -%{_datadir}/mozilla/extensions/%{thunderbird_appid}/trackerbird@bustany.org/ -%dir %{_datadir}/xul-ext -%{_datadir}/xul-ext/trackerbird/ -%{_datadir}/applications/trackerbird-launcher.desktop - -%files gui -%defattr(-,root,root) -# preferences -%{_bindir}/tracker-preferences -%{_datadir}/applications/tracker-preferences.desktop -%{_datadir}/icons/hicolor/*/apps/tracker.* -%{_datadir}/%{name}/tracker-preferences.ui -%{_mandir}/man1/tracker-preferences.1* -# Tracker Needle (former search tool) -%{_bindir}/tracker-needle -%{_datadir}/applications/tracker-needle.desktop -%{_datadir}/%{name}/tracker-needle.ui -%{_mandir}/man1/tracker-needle.1* -# explorer -%{_bindir}/%{name}-explorer -%{_datadir}/%{name}/tracker-explorer.ui - %files -n libtracker-extract-0_12-0 %defattr(-,root,root) %{_libdir}/libtracker-extract*.so.* @@ -584,29 +690,115 @@ rm -rf %{buildroot} %defattr(-,root,root) %{_libdir}/lib*.so %{_includedir}/tracker-0.12/ -%{_libdir}/pkgconfig/*.pc +%{_libdir}/pkgconfig/tracker-extract-0.12.pc +%{_libdir}/pkgconfig/tracker-miner-0.12.pc +%{_libdir}/pkgconfig/tracker-sparql-0.12.pc +%{_datadir}/gir-1.0/*.gir %{_datadir}/gtk-doc/html/libtracker-miner/ %{_datadir}/gtk-doc/html/libtracker-extract/ -%{_datadir}/gtk-doc/html/libtracker-sparql +%{_datadir}/gtk-doc/html/libtracker-sparql/ %dir %{_datadir}/vala %dir %{_datadir}/vala/vapi %{_datadir}/vala/vapi/*.deps %{_datadir}/vala/vapi/*.vapi -%{_datadir}/gir-1.0/*.gir +%endif # !build_extras + +%if %{build_evo} + +%files -n %{_name}-miner-evolution +%defattr(-,root,root) +%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Miner.EMails.service +%{_datadir}/tracker/miners/tracker-miner-evolution.desktop +%{_libdir}/evolution/*/plugins/liborg-freedesktop-Tracker-evolution-plugin.so +%{_libdir}/evolution/*/plugins/org-freedesktop-Tracker-evolution-plugin.eplug +%endif + +%if %{build_firefox} + +%files -n %{_name}-miner-firefox +%defattr(-,root,root) +%{_datadir}/mozilla/extensions/%{firefox_appid}/trackerfox@bustany.org/ +%dir %{_datadir}/xul-ext +%{_datadir}/xul-ext/trackerfox/ +%endif + +%if %{build_miner_flickr} + +%files -n %{_name}-miner-flickr +%defattr(-,root,root) +%doc src/miners/flickr/README.SUSE +%{_sysconfdir}/xdg/autostart/tracker-miner-flickr.desktop +%{_libexecdir}/tracker-miner-flickr +%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Miner.Flickr.service +%{_datadir}/tracker/icons/tracker-miner-flickr.svg +%{_datadir}/tracker/miners/tracker-miner-flickr.desktop +%endif + +%if %{build_miner_rss} + +%files -n %{_name}-miner-rss +%defattr(-,root,root) +%doc src/miners/rss/README.SUSE examples/rss-reader/initial-data.ttl +%{_sysconfdir}/xdg/autostart/tracker-miner-rss.desktop +%{_libexecdir}/tracker-miner-rss +%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Miner.RSS.service +%{_datadir}/tracker/miners/tracker-miner-rss.desktop +%{_mandir}/man1/tracker-miner-rss.1%{ext_man} +%endif + +%if %{build_thunderbird} + +%files -n %{_name}-miner-thunderbird +%defattr(-,root,root) +%dir %{_datadir}/mozilla/extensions/%{thunderbird_appid} +%{_datadir}/mozilla/extensions/%{thunderbird_appid}/trackerbird@bustany.org/ +%dir %{_datadir}/xul-ext +%{_datadir}/xul-ext/trackerbird/ +%{_datadir}/applications/trackerbird-launcher.desktop +%endif + +%if %{build_gui} + +%files -n %{_name}-gui +%defattr(-,root,root) +# preferences +%{_bindir}/tracker-preferences +%{_datadir}/applications/tracker-preferences.desktop +%{_datadir}/icons/hicolor/*/apps/tracker.* +%{_datadir}/tracker/tracker-preferences.ui +%{_mandir}/man1/tracker-preferences.1* +# Tracker Needle (former search tool) +%{_bindir}/tracker-needle +%{_datadir}/applications/tracker-needle.desktop +%{_datadir}/tracker/tracker-needle.ui +%{_mandir}/man1/tracker-needle.1* +# explorer +%{_bindir}/tracker-explorer +%{_datadir}/tracker/tracker-explorer.ui +%endif + +%if %{build_applet} %files -n gnome-panel-applet-tracker %defattr(-,root,root) -%{_datadir}/%{name}/tracker-search-bar.ui -%{_datadir}/%{name}/tracker-search-bar-menu.xml +%{_datadir}/tracker/tracker-search-bar.ui +%{_datadir}/tracker/tracker-search-bar-menu.xml %{_datadir}/dbus-1/services/org.gnome.panel.applet.SearchBarFactory.service %{_datadir}/gnome-panel/4.0/applets/org.gnome.panel.SearchBar.panel-applet %{_libexecdir}/tracker-search-bar %{_mandir}/man1/tracker-search-bar.1* +%endif + +%if %{build_nautilus} %files -n nautilus-extension-tracker-tags %defattr(-,root,root) %{_libdir}/nautilus/extensions-3.0/libnautilus-tracker-tags* +%endif -%files lang -f %{name}.lang +%if !%{build_extras} + +%files lang -f %{_name}.lang +%endif %changelog