Accepting request 160944 from GNOME:Factory

Update to 0.16

OBS-URL: https://build.opensuse.org/request/show/160944
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tracker?expand=0&rev=55
This commit is contained in:
Stephan Kulow 2013-03-26 11:12:05 +00:00 committed by Git OBS Bridge
commit 475b574358
11 changed files with 429 additions and 780 deletions

View File

@ -1,6 +0,0 @@
There is currently no graphical way to configure the Flickr miner.
However, assocation with your Flickr account can be manually done with
a tool like d-feet or any other D-Bus client. See this wiki page for
more information:
http://live.gnome.org/Tracker/Documentation/WebMiners/Association

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b818ee42b9007a94b2f8046edc4706bb2036187d5fd304e7ae23e5d2fcf85918
size 5946796

3
tracker-0.16.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:299c6a180370522d1d794c184aaef8d8222d3f737d564b8e5ca25b8751470c4f
size 5921104

View File

@ -1,12 +0,0 @@
Index: tracker-0.14.1/src/plugins/evolution/tracker-evolution-plugin.c
===================================================================
--- tracker-0.14.1.orig/src/plugins/evolution/tracker-evolution-plugin.c
+++ tracker-0.14.1/src/plugins/evolution/tracker-evolution-plugin.c
@@ -51,6 +51,7 @@
#include <libemail-engine/mail-config.h>
#include <libemail-engine/mail-ops.h>
#include <libemail-utils/e-account-utils.h>
+#include <mail/e-mail-backend.h>
#elif defined(EVOLUTION_SHELL_3_2)
#include <mail/em-utils.h>
#include <mail/e-mail.h>

View File

@ -1,3 +1,147 @@
-------------------------------------------------------------------
Mon Mar 18 18:36:56 UTC 2013 - dimstar@opensuse.org
- Update to version 0.16.0:
+ Flickr miner was removed: it will be imported to GNOME Photos
later.
+ Removed more unmaintained utilities: tracker-explorer,
tracker-search-bar, playlists, lyrics, webhistory.
+ New features: Support GKqueueDirectoryMonitor API on BSD
systems.
+ Full Text Search (FTS) v4 support:
- New SPARQL function fts:snippet(?u)
- New SPARQL function fts:offsets(?u).
+ Firefox/Thunderbird plugin updates.
+ Updated translations.
- Drop build_applet defines and conditions: the applet
(tracker-search-bar) was dropped by upstream.
+ Remove pkgconfig(libpanelapplet-4.0) BuildRequires.
+ No longer pass --enable-tracker-search-bar resp.
--disable-tracker-search-bar to configure.
+ Drop gnome-panel-applet-tracker subpackage; obsolete it by
tracker main package.
- Drop build_miner_flickr defines and conditions: the flickr miner
was dropped by upstream.
- Remove README.SUSE.flickr source file: no longer relevant.
- Drop pkgconfig(rest-0.7) BuildRequires.
- No longer pass --enable-miner-flickr/--disable-miner-flickr to
configure.
- Drop -miner-flickr subpackage; obsolete it by tracker main
package.
- No longer pass --enable-tracker-explorer resp.
--disable-tracker-explorer (based on build_gui defines) to
configure, as tracker-explorer has been removed.
- Drop tracker-0.14.4-giflib5.patch: fixed upstream.
-------------------------------------------------------------------
Wed Mar 13 13:07:18 UTC 2013 - dimstar@opensuse.org
- Add tracker-0.14.4-giflib5.patch: Fix build with giflib 5.0.x.
-------------------------------------------------------------------
Wed Mar 13 07:57:02 UTC 2013 - dimstar@opensuse.org
- Update to version 0.15.4:
+ Build fixes:
- Fixed various compiler warnings.
- Fixed various introspection warnings.
- Switched out all uses of deprecated GStaticMutex for GMutex.
+ Bugs fixed: bgo#643388.
+ Updated translations.
-------------------------------------------------------------------
Sat Mar 9 12:05:26 UTC 2013 - dimstar@opensuse.org
- Update to version 0.15.3:
+ build:
- Require GLib 2.35.1 for GTask API (was 2.28.0)
- Remove all cases of g_type_init() now it's deprecated in
GLib 2.35.x
+ libtracker-common: Don't log to file by default, only
stdout/stderr. See TRACKER_USE_LOG_FILES env var for details.
+ libtracker-miner:
- Fixed nasty stack corruption with TrackerIndexingTree filter
rules.
- Fixed vala bindings for TrackerMinerFS.
+ tracker-extract-msoffice: Avoid deprecated
gsf_msole_metadata_read() API.
+ tracker-search:
- Added snippets for result hits.
- Added colored output for result hits.
+ Bugs fixed: bgo#693889, bgo#694146, bgo#693198, bgo#693198,
bg##694783, bgo#695157.
+ Updated translations.
- Drop tracker-nonvoid.patch: fixed upstream.
-------------------------------------------------------------------
Fri Feb 15 13:45:26 UTC 2013 - dimstar@opensuse.org
- Update to version 0.15.2:
+ Build: Required SQLite 3.7.9 (was 3.7.0) for FTS4 support
+ New Features:
- Full Text Search (FTS) v4 support.
- Snippets provide context around a matched query.
- Offsets provide an index where a matched query is found in
context.
+ Ontology: Deprecated tracker:fulltextNoLimit and removed use in
all other ontologies.
+ libtracker-fts: Removed tracker_fts_config_min_word_length()
and config option.
+ libtracker-miner: Fixed GNOME password provider, libsecret
expects "user" not "username".
+ tracker-info: Fixed memory leaks.
+ Bugs fixed: bgo#691847, bgo#692409, bgo#692603.
- Add tracker-nonvoid.patch: Fix non-void function not having a
return statement.
-------------------------------------------------------------------
Sat Feb 9 20:35:25 UTC 2013 - dimstar@opensuse.org
- Update to version 0.15.1:
+ build: Fixes build error when supplying nautilis extensions
directory
+ bgo#691807: Tracker should build against libgee 0.8
+ bgo#691804: tracker-cue-sheet not ported to Gstreamer 1.0
+ bgo#679870: libsecret migrations
+ bgo#690170: Add nfo:MediaList type to .m3u playlist files
+ bgo#692210: miner-manager: plug some memleaks
+ libtracker-common: Add replacement function for flock() on
Solaris
+ libtracker-miner: Fix libsecret password provider get call
using non-NULL GError
+ tracker-miner-fs, store: Add MeeGo keys to desktop file.
+ Updated translations.
-------------------------------------------------------------------
Sat Feb 9 19:47:20 UTC 2013 - dimstar@opensuse.org
- Update to version 0.15.0:
+ Port to GStreamer 1.0 / gupnp-dlna-1.1.
+ New Feature: Support GKqueueDirectoryMonitor API on BSD systems
- Drop tracker-libgrss-0.5.patch: fixed upstream.
- Drop tracker-fix-include-sched-idle.patch and
tracker-removeable-media-off.patch: they are outdated and were
only applied for openSUSE <= 11.4.
- Drop libtool BuildRequries: no longer needed.
-------------------------------------------------------------------
Sat Feb 9 18:37:55 UTC 2013 - badshah400@gmail.com
- Update to version 0.14.5:
+ build: Fixes --with-nautilus-extensions-dir which was broken.
+ bgo#692409: playlist extractor should index playlist title if
available.
+ bgo#692603: Search can not find pdf files using author names.
+ bgo#691807: Tracker should build against libgee 0.8.
+ bgo#690170: Add nfo:MediaList type to .m3u playlist files.
+ bgo#688287: build: don't build-depend on Dia.
+ bgo#692210: miner-manager: plug some memleaks.
+ bgo#688371: add support for GKqueueDirectoryMonitor.
+ libtracker-common: Add replacement function for flock() on
Solaris
+ tracker-miner-fs, store: Add MeeGo keys to desktop files
(OnlyShowIn, X-Meego-Priority keys).
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 5 08:53:45 UTC 2012 - dimstar@opensuse.org Mon Nov 5 08:53:45 UTC 2012 - dimstar@opensuse.org
@ -52,6 +196,8 @@ Mon Aug 20 08:53:17 UTC 2012 - dimstar@opensuse.org
- Disable evo plugin for now during -extras build: the API once - Disable evo plugin for now during -extras build: the API once
more changed much faster than Tracker can keep up with. more changed much faster than Tracker can keep up with.
- Drop tracker-evo-implicit.patch: this will be fixed by upstream
by the time the new evo version will be supported.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jul 10 13:05:56 UTC 2012 - coolo@suse.com Tue Jul 10 13:05:56 UTC 2012 - coolo@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package tracker-extras # spec file for package tracker-extras
# #
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2010 Luis Medinas, Portugal # Copyright (c) 2010 Luis Medinas, Portugal
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@ -20,20 +20,16 @@
%define build_extras 1 %define build_extras 1
%if !%{build_extras} %if !%{build_extras}
%define build_applet 0
%define build_evo 0 %define build_evo 0
%define build_firefox 0 %define build_firefox 0
%define build_gui 0 %define build_gui 0
%define build_miner_flickr 0
%define build_miner_rss 0 %define build_miner_rss 0
%define build_nautilus 0 %define build_nautilus 0
%define build_thunderbird 0 %define build_thunderbird 0
%else %else
%define build_applet 1
%define build_evo 0 %define build_evo 0
%define build_firefox 1 %define build_firefox 1
%define build_gui 1 %define build_gui 1
%define build_miner_flickr 1
%define build_miner_rss 1 %define build_miner_rss 1
%define build_nautilus 1 %define build_nautilus 1
%if 0%{?suse_version} > 1140 %if 0%{?suse_version} > 1140
@ -49,28 +45,21 @@
# Do not edit this auto generated file! Edit tracker.spec. # Do not edit this auto generated file! Edit tracker.spec.
Name: tracker-extras Name: tracker-extras
%define _name tracker %define _name tracker
Version: 0.14.4 Version: 0.16.0
Release: 0 Release: 0
%define TrackerAPI 0.16
%define RPMTrackerAPI 0_16
Summary: Powerful object database, tag/metadata database, search tool and indexer Summary: Powerful object database, tag/metadata database, search tool and indexer
License: GPL-2.0+ License: GPL-2.0+
Group: Productivity/Other Group: Productivity/Other
Url: http://projects.gnome.org/tracker/ Url: http://projects.gnome.org/tracker/
Source0: http://download.gnome.org/sources/tracker/0.14/%{_name}-%{version}.tar.xz Source0: http://download.gnome.org/sources/tracker/0.16/%{_name}-%{version}.tar.xz
Source1: README.SUSE.flickr
Source2: README.SUSE.rss 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
# PATCH-FIX-UPSTREAM tracker-libgrss-0.5.patch bgo#671751 dimstar@opensuse.org -- Support and Require libgrss-0.5
Patch3: tracker-libgrss-0.5.patch
# PATCH-FIX-UPSTREAM tracker-evo-implicit.patch bgo#675413 dimstar@opensuse.org -- Include email-backend.h; fixes brp checks.
Patch4: tracker-evo-implicit.patch
BuildRequires: NetworkManager-devel >= 0.8 BuildRequires: NetworkManager-devel >= 0.8
BuildRequires: enca-devel BuildRequires: enca-devel
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: glib2-devel >= 2.28.0 BuildRequires: glib2-devel >= 2.35.1
BuildRequires: gobject-introspection-devel BuildRequires: gobject-introspection-devel
BuildRequires: intltool BuildRequires: intltool
%if 0%{?suse_version} >= 1130 %if 0%{?suse_version} >= 1130
@ -80,18 +69,16 @@ BuildRequires: gnome-keyring-devel
%endif %endif
# Not guarded by !%%{build_extras}, else we build files to have external generic # Not guarded by !%%{build_extras}, else we build files to have external generic
# media players # media players
BuildRequires: gstreamer-0_10-plugins-base-devel >= 0.10.31 BuildRequires: gstreamer-plugins-base-devel >= 0.10.31
BuildRequires: libicu-devel BuildRequires: libicu-devel
# Needed for patch3
BuildRequires: libtool
BuildRequires: libupower-glib-devel BuildRequires: libupower-glib-devel
BuildRequires: libuuid-devel BuildRequires: libuuid-devel
BuildRequires: sqlite3-devel BuildRequires: sqlite3-devel >= 3.7.9
BuildRequires: translation-update-upstream BuildRequires: translation-update-upstream
BuildRequires: update-desktop-files BuildRequires: update-desktop-files
BuildRequires: vala >= 0.12.0 BuildRequires: vala >= 0.12.0
BuildRequires: zlib-devel BuildRequires: zlib-devel
BuildRequires: pkgconfig(gee-1.0) BuildRequires: pkgconfig(gee-0.8)
%if !%{build_extras} %if !%{build_extras}
# Dependencies for extractors / writeback # Dependencies for extractors / writeback
BuildRequires: flac-devel BuildRequires: flac-devel
@ -101,7 +88,7 @@ BuildRequires: libexif-devel
BuildRequires: libgsf-devel BuildRequires: libgsf-devel
BuildRequires: libosinfo-devel >= 0.0.2 BuildRequires: libosinfo-devel >= 0.0.2
%if 0%{?suse_version} >= 1140 %if 0%{?suse_version} >= 1140
BuildRequires: libgupnp-dlna-devel >= 0.5 BuildRequires: libgupnp-dlna-devel >= 0.9.4
%endif %endif
BuildRequires: libexempi-devel BuildRequires: libexempi-devel
BuildRequires: libgxps-devel BuildRequires: libgxps-devel
@ -121,9 +108,6 @@ BuildRequires: tracker = %{version}
BuildRequires: tracker-devel BuildRequires: tracker-devel
BuildRequires: tracker-miner-files BuildRequires: tracker-miner-files
%endif # !build_extras %endif # !build_extras
%if %{build_applet}
BuildRequires: pkgconfig(libpanelapplet-4.0)
%endif
%if %{build_evo} %if %{build_evo}
BuildRequires: evolution-data-server-devel BuildRequires: evolution-data-server-devel
BuildRequires: evolution-devel BuildRequires: evolution-devel
@ -135,11 +119,8 @@ BuildRequires: MozillaFirefox
%if %{build_gui} %if %{build_gui}
BuildRequires: gtk3-devel BuildRequires: gtk3-devel
%endif %endif
%if %{build_miner_flickr}
BuildRequires: pkgconfig(rest-0.7) >= 0.6
%endif
%if %{build_miner_rss} %if %{build_miner_rss}
BuildRequires: libgrss-devel BuildRequires: libgrss-devel >= 0.5
%endif %endif
%if %{build_nautilus} %if %{build_nautilus}
BuildRequires: pkgconfig(libnautilus-extension) BuildRequires: pkgconfig(libnautilus-extension)
@ -151,6 +132,10 @@ BuildRequires: MozillaThunderbird
Recommends: %{_name}-lang Recommends: %{_name}-lang
# We want to index files by default, if possible # We want to index files by default, if possible
Recommends: %{_name}-miner-files Recommends: %{_name}-miner-files
# gnome-panel-applet-tracker (aka tracker-search-bar) was removed with tracker 0.16.0
Obsoletes: gnome-panel-applet-tracker < 0.16.0
# flickr miner was removed with tracker 0.16.0
Obsoletes: tracker-miner-flickr < 0.16.0
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%glib2_gsettings_schema_requires %glib2_gsettings_schema_requires
@ -188,26 +173,26 @@ This package contains a miner to index files and applications.
# name across multiple versions of tracker). # name across multiple versions of tracker).
# Yet, different libtracker-miner-* packages require their explicit # Yet, different libtracker-miner-* packages require their explicit
# version of libtracker-common.so.0 as they link is done using rpath. # version of libtracker-common.so.0 as they link is done using rpath.
%package -n libtracker-common-0_14-0 %package -n libtracker-common-%{RPMTrackerAPI}-0
Summary: Conveniance libraries for Tracker Summary: Conveniance libraries for Tracker
Group: System/Libraries Group: System/Libraries
%description -n libtracker-common-0_14-0 %description -n libtracker-common-%{RPMTrackerAPI}-0
Tracker is a powerful desktop-neutral first class object Tracker is a powerful desktop-neutral first class object
database, tag/metadata database, search tool and indexer. database, tag/metadata database, search tool and indexer.
This package contains private conveniance libraries for the This package contains private conveniance libraries for the
various tracker libraries. various tracker libraries.
%package -n libtracker-extract-0_14-0 %package -n libtracker-extract-%{RPMTrackerAPI}-0
Summary: Extract library for Tracker Summary: Extract library for Tracker
Group: System/Libraries Group: System/Libraries
# rpm autodetects libtracker-common.so.0() symbol, which is provided by all versions of libtracker-common, so we need to help with an explicit Requires. # rpm autodetects libtracker-common.so.0() symbol, which is provided by all versions of libtracker-common, so we need to help with an explicit Requires.
Requires: libtracker-common-0_14-0 Requires: libtracker-common-%{RPMTrackerAPI}-0
Recommends: %{_name} Recommends: %{_name}
%glib2_gsettings_schema_requires %glib2_gsettings_schema_requires
%description -n libtracker-extract-0_14-0 %description -n libtracker-extract-%{RPMTrackerAPI}-0
Tracker is a powerful desktop-neutral first class object Tracker is a powerful desktop-neutral first class object
database, tag/metadata database, search tool and indexer. database, tag/metadata database, search tool and indexer.
@ -222,14 +207,14 @@ including context linking and audit trails for a file object.
It has the ability to index, store, harvest metadata, retrieve It has the ability to index, store, harvest metadata, retrieve
and search all types of files and other first class objects. and search all types of files and other first class objects.
%package -n libtracker-miner-0_14-0 %package -n libtracker-miner-%{RPMTrackerAPI}-0
Summary: Miner library for Tracker Summary: Miner library for Tracker
Group: System/Libraries Group: System/Libraries
# rpm autodetects libtracker-common.so.0() symbol, which is provided by all versions of libtracker-common, so we need to help with an explicit Requires. # rpm autodetects libtracker-common.so.0() symbol, which is provided by all versions of libtracker-common, so we need to help with an explicit Requires.
Requires: libtracker-common-0_14-0 Requires: libtracker-common-%{RPMTrackerAPI}-0
Recommends: %{_name} Recommends: %{_name}
%description -n libtracker-miner-0_14-0 %description -n libtracker-miner-%{RPMTrackerAPI}-0
Tracker is a powerful desktop-neutral first class object Tracker is a powerful desktop-neutral first class object
database, tag/metadata database, search tool and indexer. database, tag/metadata database, search tool and indexer.
@ -244,11 +229,11 @@ including context linking and audit trails for a file object.
It has the ability to index, store, harvest metadata, retrieve It has the ability to index, store, harvest metadata, retrieve
and search all types of files and other first class objects. and search all types of files and other first class objects.
%package -n typelib-1_0-Tracker-0_14 %package -n typelib-1_0-Tracker-%{RPMTrackerAPI}
Summary: Sparql library for Tracker -- Introspection bindings Summary: Sparql library for Tracker -- Introspection bindings
Group: System/Libraries Group: System/Libraries
%description -n typelib-1_0-Tracker-0_14 %description -n typelib-1_0-Tracker-%{RPMTrackerAPI}
Tracker is a powerful desktop-neutral first class object Tracker is a powerful desktop-neutral first class object
database, tag/metadata database, search tool and indexer. database, tag/metadata database, search tool and indexer.
@ -266,11 +251,11 @@ and search all types of files and other first class objects.
This package provides the GObject Introspection bindings for the This package provides the GObject Introspection bindings for the
sparql library for Tracker. sparql library for Tracker.
%package -n typelib-1_0-TrackerExtract-0_14 %package -n typelib-1_0-TrackerExtract-%{RPMTrackerAPI}
Summary: Extract library for Tracker -- Introspection bindings Summary: Extract library for Tracker -- Introspection bindings
Group: System/Libraries Group: System/Libraries
%description -n typelib-1_0-TrackerExtract-0_14 %description -n typelib-1_0-TrackerExtract-%{RPMTrackerAPI}
Tracker is a powerful desktop-neutral first class object Tracker is a powerful desktop-neutral first class object
database, tag/metadata database, search tool and indexer. database, tag/metadata database, search tool and indexer.
@ -288,11 +273,11 @@ and search all types of files and other first class objects.
This package provides the GObject Introspection bindings for the This package provides the GObject Introspection bindings for the
extract library for Tracker. extract library for Tracker.
%package -n typelib-1_0-TrackerMiner-0_14 %package -n typelib-1_0-TrackerMiner-%{RPMTrackerAPI}
Summary: Miner library for Tracker -- Introspection bindings Summary: Miner library for Tracker -- Introspection bindings
Group: System/Libraries Group: System/Libraries
%description -n typelib-1_0-TrackerMiner-0_14 %description -n typelib-1_0-TrackerMiner-%{RPMTrackerAPI}
Tracker is a powerful desktop-neutral first class object Tracker is a powerful desktop-neutral first class object
database, tag/metadata database, search tool and indexer. database, tag/metadata database, search tool and indexer.
@ -310,14 +295,14 @@ and search all types of files and other first class objects.
This package provides the GObject Introspection bindings for the This package provides the GObject Introspection bindings for the
miner library for Tracker. miner library for Tracker.
%package -n libtracker-sparql-0_14-0 %package -n libtracker-sparql-%{RPMTrackerAPI}-0
Summary: Sparql library for Tracker Summary: Sparql library for Tracker
Group: System/Libraries Group: System/Libraries
# rpm autodetects libtracker-common.so.0() symbol, which is provided by all versions of libtracker-common, so we need to help with an explicit Requires. # rpm autodetects libtracker-common.so.0() symbol, which is provided by all versions of libtracker-common, so we need to help with an explicit Requires.
Requires: libtracker-common-0_14-0 Requires: libtracker-common-%{RPMTrackerAPI}-0
Recommends: %{_name} Recommends: %{_name}
%description -n libtracker-sparql-0_14-0 %description -n libtracker-sparql-%{RPMTrackerAPI}-0
Tracker is a powerful desktop-neutral first class object Tracker is a powerful desktop-neutral first class object
database, tag/metadata database, search tool and indexer. database, tag/metadata database, search tool and indexer.
@ -335,12 +320,12 @@ and search all types of files and other first class objects.
%package -n tracker-devel %package -n tracker-devel
Summary: Tracker -- Development files Summary: Tracker -- Development files
Group: Development/Libraries/GNOME Group: Development/Libraries/GNOME
Requires: libtracker-extract-0_14-0 = %{version} Requires: libtracker-extract-%{RPMTrackerAPI}-0 = %{version}
Requires: libtracker-miner-0_14-0 = %{version} Requires: libtracker-miner-%{RPMTrackerAPI}-0 = %{version}
Requires: libtracker-sparql-0_14-0 = %{version} Requires: libtracker-sparql-%{RPMTrackerAPI}-0 = %{version}
Requires: typelib-1_0-Tracker-0_14 = %{version} Requires: typelib-1_0-Tracker-%{RPMTrackerAPI} = %{version}
Requires: typelib-1_0-TrackerExtract-0_14 = %{version} Requires: typelib-1_0-TrackerExtract-%{RPMTrackerAPI} = %{version}
Requires: typelib-1_0-TrackerMiner-0_14 = %{version} Requires: typelib-1_0-TrackerMiner-%{RPMTrackerAPI} = %{version}
%description -n tracker-devel %description -n tracker-devel
Tracker is a powerful desktop-neutral first class object Tracker is a powerful desktop-neutral first class object
@ -399,20 +384,6 @@ This package contains a Firefox extension that will index
Firefox bookmarks. Firefox bookmarks.
%endif # build_firefox %endif # build_firefox
%if %{build_miner_flickr}
%package -n %{_name}-miner-flickr
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} %if %{build_miner_rss}
%package -n %{_name}-miner-rss %package -n %{_name}-miner-rss
@ -470,25 +441,6 @@ It has the ability to index, store, harvest metadata, retrieve
and search all types of files and other first class objects. and search all types of files and other first class objects.
%endif # build_gui %endif # build_gui
%if %{build_applet}
%package -n gnome-panel-applet-tracker
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} %if %{build_nautilus}
%package -n nautilus-extension-tracker-tags %package -n nautilus-extension-tracker-tags
@ -516,28 +468,14 @@ This package contains an nautilus plugin to tag files with Tracker.
%prep %prep
%setup -q -n %{_name}-%{version} %setup -q -n %{_name}-%{version}
translation-update-upstream translation-update-upstream
%if 0%{?suse_version} <= 1140
%patch1 -p1
%patch2
%endif
%patch3 -p1
%patch4 -p1
cp %{S:1} src/miners/flickr/README.SUSE
cp %{S:2} src/miners/rss/README.SUSE cp %{S:2} src/miners/rss/README.SUSE
%build %build
# Needed for patch3
AUTOPOINT='intltoolize --automake --copy' autoreconf --verbose --force --install
%configure \ %configure \
%if !%{build_extras} %if !%{build_extras}
--enable-libvorbis \ --enable-libvorbis \
--enable-libflac \ --enable-libflac \
%endif %endif
%if %{build_applet}
--enable-tracker-search-bar \
%else
--disable-tracker-search-bar \
%endif
%if %{build_evo} %if %{build_evo}
--enable-miner-evolution \ --enable-miner-evolution \
%else %else
@ -550,11 +488,9 @@ AUTOPOINT='intltoolize --automake --copy' autoreconf --verbose --force --install
--disable-miner-firefox \ --disable-miner-firefox \
%endif %endif
%if %{build_gui} %if %{build_gui}
--enable-tracker-explorer \
--enable-tracker-needle \ --enable-tracker-needle \
--enable-tracker-preferences \ --enable-tracker-preferences \
%else %else
--disable-tracker-explorer \
--disable-tracker-needle \ --disable-tracker-needle \
--disable-tracker-preferences \ --disable-tracker-preferences \
%endif %endif
@ -563,11 +499,6 @@ AUTOPOINT='intltoolize --automake --copy' autoreconf --verbose --force --install
%else %else
--disable-nautilus-extension \ --disable-nautilus-extension \
%endif %endif
%if %{build_miner_flickr}
--enable-miner-flickr \
%else
--disable-miner-flickr \
%endif
%if %{build_miner_rss} %if %{build_miner_rss}
--enable-miner-rss \ --enable-miner-rss \
%else %else
@ -602,13 +533,13 @@ rm %{buildroot}%{_datadir}/icons/hicolor/*/apps/tracker.*
# tracker-extras build can put icons in there without having to worry # tracker-extras build can put icons in there without having to worry
mkdir -p %{buildroot}%{_datadir}/tracker/icons/ mkdir -p %{buildroot}%{_datadir}/tracker/icons/
%fdupes %{buildroot}%{_datadir}/gtk-doc/html/ #fdupes %{buildroot}%{_datadir}/gtk-doc/html/
%fdupes %{buildroot}%{_datadir}/vala/ %fdupes %{buildroot}%{_datadir}/vala/
%else %else
## Extras build: remove files from main, miner-files, devel, lang and lib subpackages ## 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_14-0 libtracker-miner-0_14-0 libtracker-sparql-0_14-0 typelib-1_0-Tracker-0_14 typelib-1_0-TrackerExtract-0_14 typelib-1_0-TrackerMiner-0_14 libtracker-common-0_14-0`; do for file in `rpm -ql tracker tracker-devel tracker-miner-files libtracker-extract-%{RPMTrackerAPI}-0 libtracker-miner-%{RPMTrackerAPI}-0 libtracker-sparql-%{RPMTrackerAPI}-0 typelib-1_0-Tracker-%{RPMTrackerAPI} typelib-1_0-TrackerExtract-%{RPMTrackerAPI} typelib-1_0-TrackerMiner-%{RPMTrackerAPI} libtracker-common-%{RPMTrackerAPI}-0`; do
# do not remove directories (might contain files we want); -f to not fail if # do not remove directories (might contain files we want); -f to not fail if
# file doesn't exist # file doesn't exist
test ! -d %{buildroot}${file} && rm -f %{buildroot}${file} test ! -d %{buildroot}${file} && rm -f %{buildroot}${file}
@ -618,18 +549,12 @@ rm %{buildroot}%{_datadir}/locale/*/LC_MESSAGES/tracker.mo
%endif %endif
%if %{build_miner_flickr}
%suse_update_desktop_file tracker-miner-flickr
%endif
%if %{build_miner_rss} %if %{build_miner_rss}
%suse_update_desktop_file tracker-miner-rss %suse_update_desktop_file tracker-miner-rss
%endif %endif
%if %{build_evo} %if %{build_evo}
%suse_update_desktop_file %{buildroot}%{_datadir}/tracker/miners/tracker-miner-evolution.desktop %suse_update_desktop_file %{buildroot}%{_datadir}/tracker/miners/tracker-miner-evolution.desktop
%endif %endif
%if %{build_miner_flickr}
%suse_update_desktop_file %{buildroot}%{_datadir}/tracker/miners/tracker-miner-flickr.desktop
%endif
%if %{build_miner_rss} %if %{build_miner_rss}
%suse_update_desktop_file %{buildroot}%{_datadir}/tracker/miners/tracker-miner-rss.desktop %suse_update_desktop_file %{buildroot}%{_datadir}/tracker/miners/tracker-miner-rss.desktop
%endif %endif
@ -658,21 +583,21 @@ rm -rf %{buildroot}
%postun -n %{_name}-miner-files %postun -n %{_name}-miner-files
%glib2_gsettings_schema_postun %glib2_gsettings_schema_postun
%post -n libtracker-extract-0_14-0 %post -n libtracker-extract-%{RPMTrackerAPI}-0
%glib2_gsettings_schema_post %glib2_gsettings_schema_post
/sbin/ldconfig /sbin/ldconfig
%postun -n libtracker-extract-0_14-0 %postun -n libtracker-extract-%{RPMTrackerAPI}-0
%glib2_gsettings_schema_postun %glib2_gsettings_schema_postun
/sbin/ldconfig /sbin/ldconfig
%post -n libtracker-miner-0_14-0 -p /sbin/ldconfig %post -n libtracker-miner-%{RPMTrackerAPI}-0 -p /sbin/ldconfig
%postun -n libtracker-miner-0_14-0 -p /sbin/ldconfig %postun -n libtracker-miner-%{RPMTrackerAPI}-0 -p /sbin/ldconfig
%post -n libtracker-sparql-0_14-0 -p /sbin/ldconfig %post -n libtracker-sparql-%{RPMTrackerAPI}-0 -p /sbin/ldconfig
%postun -n libtracker-sparql-0_14-0 -p /sbin/ldconfig %postun -n libtracker-sparql-%{RPMTrackerAPI}-0 -p /sbin/ldconfig
%endif # !build_extras %endif # !build_extras
%if %{build_gui} %if %{build_gui}
@ -715,9 +640,9 @@ rm -rf %{buildroot}
%{_libexecdir}/tracker-extract %{_libexecdir}/tracker-extract
%{_libexecdir}/tracker-store %{_libexecdir}/tracker-store
%{_libexecdir}/tracker-writeback %{_libexecdir}/tracker-writeback
%dir %{_libdir}/tracker-0.14/ %dir %{_libdir}/tracker-%{TrackerAPI}/
%{_libdir}/tracker-0.14/extract-modules/ %{_libdir}/tracker-%{TrackerAPI}/extract-modules/
%{_libdir}/tracker-0.14/writeback-modules/ %{_libdir}/tracker-%{TrackerAPI}/writeback-modules/
%{_datadir}/tracker/ %{_datadir}/tracker/
%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Extract.service %{_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.Writeback.service
@ -744,22 +669,13 @@ rm -rf %{buildroot}
%exclude %{_datadir}/tracker/miners/tracker-miner-evolution.desktop %exclude %{_datadir}/tracker/miners/tracker-miner-evolution.desktop
%endif %endif
%exclude %{_datadir}/tracker/miners/tracker-miner-files.desktop %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} %if %{build_miner_rss}
%exclude %{_datadir}/tracker/miners/tracker-miner-rss.desktop %exclude %{_datadir}/tracker/miners/tracker-miner-rss.desktop
%endif %endif
%if %{build_gui} %if %{build_gui}
%exclude %{_datadir}/tracker/tracker-explorer.ui
%exclude %{_datadir}/tracker/tracker-needle.ui %exclude %{_datadir}/tracker/tracker-needle.ui
%exclude %{_datadir}/tracker/tracker-preferences.ui %exclude %{_datadir}/tracker/tracker-preferences.ui
%endif %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 %files -n %{_name}-miner-files
%defattr(-,root,root) %defattr(-,root,root)
@ -772,45 +688,45 @@ rm -rf %{buildroot}
%{_datadir}/tracker/miners/tracker-miner-files.desktop %{_datadir}/tracker/miners/tracker-miner-files.desktop
%{_mandir}/man1/tracker-miner-fs.1%{ext_man} %{_mandir}/man1/tracker-miner-fs.1%{ext_man}
%files -n libtracker-common-0_14-0 %files -n libtracker-common-%{RPMTrackerAPI}-0
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/tracker-0.14/libtracker-common.so.* %{_libdir}/tracker-%{TrackerAPI}/libtracker-common.so.*
%{_libdir}/tracker-0.14/libtracker-data.so.* %{_libdir}/tracker-%{TrackerAPI}/libtracker-data.so.*
%files -n libtracker-extract-0_14-0 %files -n libtracker-extract-%{RPMTrackerAPI}-0
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libtracker-extract*.so.* %{_libdir}/libtracker-extract*.so.*
%{_datadir}/glib-2.0/schemas/org.freedesktop.Tracker.Extract.gschema.xml %{_datadir}/glib-2.0/schemas/org.freedesktop.Tracker.Extract.gschema.xml
%files -n libtracker-miner-0_14-0 %files -n libtracker-miner-%{RPMTrackerAPI}-0
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libtracker-miner*.so.* %{_libdir}/libtracker-miner*.so.*
%files -n libtracker-sparql-0_14-0 %files -n libtracker-sparql-%{RPMTrackerAPI}-0
%defattr(-, root, root) %defattr(-, root, root)
%{_libdir}/libtracker-sparql*.so.* %{_libdir}/libtracker-sparql*.so.*
%files -n typelib-1_0-Tracker-0_14 %files -n typelib-1_0-Tracker-%{RPMTrackerAPI}
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/girepository-1.0/Tracker-0.14.typelib %{_libdir}/girepository-1.0/Tracker-%{TrackerAPI}.typelib
%files -n typelib-1_0-TrackerExtract-0_14 %files -n typelib-1_0-TrackerExtract-%{RPMTrackerAPI}
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/girepository-1.0/TrackerExtract-0.14.typelib %{_libdir}/girepository-1.0/TrackerExtract-%{TrackerAPI}.typelib
%files -n typelib-1_0-TrackerMiner-0_14 %files -n typelib-1_0-TrackerMiner-%{RPMTrackerAPI}
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/girepository-1.0/TrackerMiner-0.14.typelib %{_libdir}/girepository-1.0/TrackerMiner-%{TrackerAPI}.typelib
%files -n tracker-devel %files -n tracker-devel
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/lib*.so %{_libdir}/lib*.so
%{_includedir}/tracker-0.14/ %{_includedir}/tracker-%{TrackerAPI}/
%{_libdir}/tracker-0.14/libtracker-common.so %{_libdir}/tracker-%{TrackerAPI}/libtracker-common.so
%{_libdir}/tracker-0.14/libtracker-data.so %{_libdir}/tracker-%{TrackerAPI}/libtracker-data.so
%{_libdir}/pkgconfig/tracker-extract-0.14.pc %{_libdir}/pkgconfig/tracker-extract-%{TrackerAPI}.pc
%{_libdir}/pkgconfig/tracker-miner-0.14.pc %{_libdir}/pkgconfig/tracker-miner-%{TrackerAPI}.pc
%{_libdir}/pkgconfig/tracker-sparql-0.14.pc %{_libdir}/pkgconfig/tracker-sparql-%{TrackerAPI}.pc
%{_datadir}/gir-1.0/*.gir %{_datadir}/gir-1.0/*.gir
%{_datadir}/gtk-doc/html/libtracker-miner/ %{_datadir}/gtk-doc/html/libtracker-miner/
%{_datadir}/gtk-doc/html/libtracker-extract/ %{_datadir}/gtk-doc/html/libtracker-extract/
@ -840,18 +756,6 @@ rm -rf %{buildroot}
%{_datadir}/xul-ext/trackerfox/ %{_datadir}/xul-ext/trackerfox/
%endif %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} %if %{build_miner_rss}
%files -n %{_name}-miner-rss %files -n %{_name}-miner-rss
@ -890,21 +794,6 @@ rm -rf %{buildroot}
%{_datadir}/applications/tracker-needle.desktop %{_datadir}/applications/tracker-needle.desktop
%{_datadir}/tracker/tracker-needle.ui %{_datadir}/tracker/tracker-needle.ui
%{_mandir}/man1/tracker-needle.1* %{_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 %endif
%if %{build_nautilus} %if %{build_nautilus}

View File

@ -1,10 +0,0 @@
--- 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 <errno.h>
+#include <linux/sched.h>
#include <sched.h>
#include <glib.h>

View File

@ -1,380 +0,0 @@
From d78c684bc16cb845869303b34766003777d8cc39 Mon Sep 17 00:00:00 2001
From: Dominique Leuenberger <dimstar@opensuse.org>
Date: Fri, 9 Mar 2012 22:05:26 +0100
Subject: [PATCH] Support and require libgrss-0.5 (Bug #671751)
---
configure.ac | 4 +-
src/miners/rss/tracker-miner-rss.c | 96 ++++++++++++++++++------------------
2 files changed, 50 insertions(+), 50 deletions(-)
diff --git a/configure.ac b/configure.ac
index 30c8253..927b4b9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -189,7 +189,7 @@ LIBSTREAMANALYZER_REQUIRED=0.7.0
GEE_REQUIRED=0.3
TAGLIB_REQUIRED=1.6
GNOME_KEYRING_REQUIRED=2.26
-LIBGRSS_REQUIRED=0.3
+LIBGRSS_REQUIRED=0.5
REST_REQUIRED=0.6
NETWORK_MANAGER_REQUIRED=0.8
GSTREAMER_REQUIRED=0.10.31
@@ -434,7 +434,7 @@ fi
# Check requirements for tracker-miner-rss
TRACKER_MINER_RSS_REQUIRED="glib-2.0 >= $GLIB_REQUIRED
- libgrss-0 >= $LIBGRSS_REQUIRED"
+ libgrss-0.5 >= $LIBGRSS_REQUIRED"
PKG_CHECK_MODULES(TRACKER_MINER_RSS, [$TRACKER_MINER_RSS_REQUIRED],
[have_tracker_miner_rss=yes],
diff --git a/src/miners/rss/tracker-miner-rss.c b/src/miners/rss/tracker-miner-rss.c
index 5d32634..e36084a 100644
--- a/src/miners/rss/tracker-miner-rss.c
+++ b/src/miners/rss/tracker-miner-rss.c
@@ -39,7 +39,7 @@ struct _TrackerMinerRSSPrivate {
gboolean stopped;
gchar *last_status;
- FeedsPool *pool;
+ GrssFeedsPool *pool;
gint now_fetching;
GDBusConnection *connection;
guint graph_updated_id;
@@ -50,14 +50,14 @@ struct _TrackerMinerRSSPrivate {
typedef struct {
TrackerMinerRSS *miner;
- FeedChannel *channel;
+ GrssFeedChannel *channel;
gint timeout_id;
GCancellable *cancellable;
} FeedChannelUpdateData;
typedef struct {
TrackerMinerRSS *miner;
- FeedItem *item;
+ GrssFeedItem *item;
GCancellable *cancellable;
} FeedItemInsertData;
@@ -76,14 +76,14 @@ static void retrieve_and_schedule_feeds (TrackerMinerRSS *mine
static gboolean feed_channel_changed_timeout_cb (gpointer user_data);
static void feed_channel_update_data_free (FeedChannelUpdateData *fcud);
static void feed_item_insert_data_free (FeedItemInsertData *fiid);
-static void feed_fetching_cb (FeedsPool *pool,
- FeedChannel *feed,
+static void feed_fetching_cb (GrssFeedsPool *pool,
+ GrssFeedChannel *feed,
gpointer user_data);
-static void feed_ready_cb (FeedsPool *pool,
- FeedChannel *feed,
+static void feed_ready_cb (GrssFeedsPool *pool,
+ GrssFeedChannel *feed,
GList *items,
gpointer user_data);
-static const gchar *get_message_url (FeedItem *item);
+static const gchar *get_message_url (GrssFeedItem *item);
G_DEFINE_TYPE (TrackerMinerRSS, tracker_miner_rss, TRACKER_TYPE_MINER)
@@ -150,7 +150,7 @@ tracker_miner_rss_init (TrackerMinerRSS *object)
NULL,
(GDestroyNotify) feed_channel_update_data_free);
- priv->pool = feeds_pool_new ();
+ priv->pool = grss_feeds_pool_new ();
g_signal_connect (priv->pool, "feed-fetching", G_CALLBACK (feed_fetching_cb), object);
g_signal_connect (priv->pool, "feed-ready", G_CALLBACK (feed_ready_cb), object);
priv->now_fetching = 0;
@@ -193,7 +193,7 @@ graph_updated_cb (GDBusConnection *connection,
static FeedChannelUpdateData *
feed_channel_update_data_new (TrackerMinerRSS *miner,
- FeedChannel *channel)
+ GrssFeedChannel *channel)
{
FeedChannelUpdateData *fcud;
@@ -235,7 +235,7 @@ feed_channel_update_data_free (FeedChannelUpdateData *fcud)
static FeedItemInsertData *
feed_item_insert_data_new (TrackerMinerRSS *miner,
- FeedItem *item)
+ GrssFeedItem *item)
{
FeedItemInsertData *fiid;
@@ -305,7 +305,7 @@ feed_channel_changed_timeout_cb (gpointer user_data)
now = time (NULL);
uri = g_object_get_data (G_OBJECT (fcud->channel), "subject");
- g_message ("Updating mfo:updatedTime for channel '%s'", feed_channel_get_title (fcud->channel));
+ g_message ("Updating mfo:updatedTime for channel '%s'", grss_feed_channel_get_title (fcud->channel));
/* I hope there will be soon a SPARQL command to just update a
* value instead to delete and re-insert it
@@ -344,13 +344,13 @@ static void
feed_channel_change_updated_time (FeedItemInsertData *fiid)
{
TrackerMinerRSSPrivate *priv;
- FeedChannel *channel;
+ GrssFeedChannel *channel;
FeedChannelUpdateData *fcud;
priv = TRACKER_MINER_RSS_GET_PRIVATE (fiid->miner);
/* Check we don't already have an update request for this channel */
- channel = feed_item_get_parent (fiid->item);
+ channel = grss_feed_item_get_parent (fiid->item);
fcud = g_hash_table_lookup (priv->channel_updates, channel);
if (fcud) {
@@ -371,9 +371,9 @@ feed_channel_change_updated_time (FeedItemInsertData *fiid)
}
static void
-feed_fetching_cb (FeedsPool *pool,
- FeedChannel *channel,
- gpointer user_data)
+feed_fetching_cb (GrssFeedsPool *pool,
+ GrssFeedChannel *channel,
+ gpointer user_data)
{
gint avail;
gdouble prog;
@@ -382,7 +382,7 @@ feed_fetching_cb (FeedsPool *pool,
miner = TRACKER_MINER_RSS (user_data);
priv = TRACKER_MINER_RSS_GET_PRIVATE (miner);
- avail = feeds_pool_get_listened_num (priv->pool);
+ avail = grss_feeds_pool_get_listened_num (priv->pool);
priv->now_fetching++;
@@ -390,7 +390,7 @@ feed_fetching_cb (FeedsPool *pool,
priv->now_fetching = avail;
g_message ("Fetching channel details, source:'%s' (in progress: %d/%d)",
- feed_channel_get_source (channel),
+ grss_feed_channel_get_source (channel),
priv->now_fetching,
avail);
@@ -408,7 +408,7 @@ feed_item_insert_cb (GObject *source,
const gchar *title;
fiid = user_data;
- title = feed_item_get_title (fiid->item);
+ title = grss_feed_item_get_title (fiid->item);
error = NULL;
tracker_sparql_connection_update_finish (TRACKER_SPARQL_CONNECTION (source), result, &error);
@@ -441,7 +441,7 @@ feed_item_check_exists_cb (GObject *source_object,
TrackerSparqlCursor *cursor;
GError *error;
TrackerSparqlBuilder *sparql;
- FeedChannel *channel;
+ GrssFeedChannel *channel;
gboolean has_geolocation;
fiid = user_data;
@@ -475,12 +475,12 @@ feed_item_check_exists_cb (GObject *source_object,
}
url = get_message_url (fiid->item);
- channel = feed_item_get_parent (fiid->item);
+ channel = grss_feed_item_get_parent (fiid->item);
str = tracker_sparql_cursor_get_string (cursor, 0, NULL);
if (str && g_ascii_strcasecmp (str, "true") == 0) {
g_message (" Item already exists '%s'",
- feed_item_get_title (fiid->item));
+ grss_feed_item_get_title (fiid->item));
if (cursor) {
g_object_unref (cursor);
@@ -495,7 +495,7 @@ feed_item_check_exists_cb (GObject *source_object,
sparql = tracker_sparql_builder_new_update ();
- has_geolocation = feed_item_get_geo_point (fiid->item, &latitude, &longitude);
+ has_geolocation = grss_feed_item_get_geo_point (fiid->item, &latitude, &longitude);
tracker_sparql_builder_insert_open (sparql, NULL);
if (has_geolocation) {
@@ -523,7 +523,7 @@ feed_item_check_exists_cb (GObject *source_object,
tracker_sparql_builder_object (sparql, "_:location");
}
- tmp_string = feed_item_get_title (fiid->item);
+ tmp_string = grss_feed_item_get_title (fiid->item);
if (tmp_string != NULL) {
g_message (" Title:'%s'", tmp_string);
@@ -531,7 +531,7 @@ feed_item_check_exists_cb (GObject *source_object,
tracker_sparql_builder_object_unvalidated (sparql, tmp_string);
}
- tmp_string = feed_item_get_description (fiid->item);
+ tmp_string = grss_feed_item_get_description (fiid->item);
if (tmp_string != NULL) {
tracker_sparql_builder_predicate (sparql, "nie:plainTextContent");
tracker_sparql_builder_object_unvalidated (sparql, tmp_string);
@@ -553,7 +553,7 @@ feed_item_check_exists_cb (GObject *source_object,
tracker_sparql_builder_predicate (sparql, "mfo:downloadedTime");
tracker_sparql_builder_object_date (sparql, &t);
- t = feed_item_get_publish_time (fiid->item);
+ t = grss_feed_item_get_publish_time (fiid->item);
tracker_sparql_builder_predicate (sparql, "nie:contentCreated");
tracker_sparql_builder_object_date (sparql, &t);
@@ -579,16 +579,16 @@ feed_item_check_exists_cb (GObject *source_object,
static void
feed_item_check_exists (TrackerMinerRSS *miner,
- FeedItem *item)
+ GrssFeedItem *item)
{
FeedItemInsertData *fiid;
- FeedChannel *feed;
+ GrssFeedChannel *feed;
gchar *query;
gchar *communication_channel;
const gchar *url;
url = get_message_url (item);
- feed = feed_item_get_parent (item);
+ feed = grss_feed_item_get_parent (item);
communication_channel = g_object_get_data (G_OBJECT (feed), "subject");
query = g_strdup_printf ("ASK {"
@@ -610,10 +610,10 @@ feed_item_check_exists (TrackerMinerRSS *miner,
}
static void
-feed_ready_cb (FeedsPool *pool,
- FeedChannel *channel,
- GList *items,
- gpointer user_data)
+feed_ready_cb (GrssFeedsPool *pool,
+ GrssFeedChannel *channel,
+ GList *items,
+ gpointer user_data)
{
TrackerMinerRSS *miner;
TrackerMinerRSSPrivate *priv;
@@ -636,10 +636,10 @@ feed_ready_cb (FeedsPool *pool,
}
g_message ("Verifying channel:'%s' is up to date",
- feed_channel_get_title (channel));
+ grss_feed_channel_get_title (channel));
for (iter = items; iter; iter = iter->next) {
- FeedItem *item = iter->data;
+ GrssFeedItem *item = iter->data;
feed_item_check_exists (miner, item);
}
@@ -654,7 +654,7 @@ feeds_retrieve_cb (GObject *source_object,
TrackerSparqlCursor *cursor;
GError *error = NULL;
TrackerMinerRSSPrivate *priv;
- FeedChannel *chan;
+ GrssFeedChannel *chan;
gint count;
cursor = tracker_sparql_connection_query_finish (TRACKER_SPARQL_CONNECTION (source_object),
@@ -691,12 +691,12 @@ feeds_retrieve_cb (GObject *source_object,
interval = tracker_sparql_cursor_get_string (cursor, 2, NULL);
subject = tracker_sparql_cursor_get_string (cursor, 3, NULL);
- chan = feed_channel_new ();
+ chan = grss_feed_channel_new ();
g_object_set_data_full (G_OBJECT (chan),
"subject",
g_strdup (subject),
g_free);
- feed_channel_set_source (chan, g_strdup (source));
+ grss_feed_channel_set_source (chan, g_strdup (source));
/* TODO How to manage feeds with an update mfo:updateInterval == 0 ?
* Here the interval is forced to be at least 1 minute, but perhaps those
@@ -705,7 +705,7 @@ feeds_retrieve_cb (GObject *source_object,
mins = strtoull (interval, NULL, 10);
if (mins <= 0)
mins = 1;
- feed_channel_set_update_interval (chan, mins);
+ grss_feed_channel_set_update_interval (chan, mins);
g_message (" '%s' (%s) - update interval of %s minutes",
title,
@@ -720,7 +720,7 @@ feeds_retrieve_cb (GObject *source_object,
}
priv = TRACKER_MINER_RSS_GET_PRIVATE (user_data);
- feeds_pool_listen (priv->pool, channels);
+ grss_feeds_pool_listen (priv->pool, channels);
g_object_unref (cursor);
@@ -753,13 +753,13 @@ retrieve_and_schedule_feeds (TrackerMinerRSS *miner)
}
static const gchar *
-get_message_url (FeedItem *item)
+get_message_url (GrssFeedItem *item)
{
const gchar *url;
- feed_item_get_real_source (item, &url, NULL);
+ grss_feed_item_get_real_source (item, &url, NULL);
if (url == NULL)
- url = feed_item_get_source (item);
+ url = grss_feed_item_get_source (item);
return url;
}
@@ -772,7 +772,7 @@ miner_started (TrackerMiner *miner)
priv = TRACKER_MINER_RSS_GET_PRIVATE (miner);
retrieve_and_schedule_feeds (TRACKER_MINER_RSS (miner));
- feeds_pool_switch (priv->pool, TRUE);
+ grss_feeds_pool_switch (priv->pool, TRUE);
}
static void
@@ -781,7 +781,7 @@ miner_stopped (TrackerMiner *miner)
TrackerMinerRSSPrivate *priv;
priv = TRACKER_MINER_RSS_GET_PRIVATE (miner);
- feeds_pool_switch (priv->pool, FALSE);
+ grss_feeds_pool_switch (priv->pool, FALSE);
g_object_set (miner, "progress", 1.0, "status", "Idle", NULL);
}
@@ -791,7 +791,7 @@ miner_paused (TrackerMiner *miner)
TrackerMinerRSSPrivate *priv;
priv = TRACKER_MINER_RSS_GET_PRIVATE (miner);
- feeds_pool_switch (priv->pool, FALSE);
+ grss_feeds_pool_switch (priv->pool, FALSE);
/* Save last status */
g_free (priv->last_status);
@@ -807,7 +807,7 @@ miner_resumed (TrackerMiner *miner)
TrackerMinerRSSPrivate *priv;
priv = TRACKER_MINER_RSS_GET_PRIVATE (miner);
- feeds_pool_switch (priv->pool, TRUE);
+ grss_feeds_pool_switch (priv->pool, TRUE);
/* Resume */
g_object_set (miner, "status", priv->last_status ? priv->last_status : "Idle", NULL);
--
1.7.9.2

View File

@ -1,13 +0,0 @@
Index: tracker-0.9.19/src/miners/fs/tracker-config.c
===================================================================
--- tracker-0.9.19.orig/src/miners/fs/tracker-config.c
+++ tracker-0.9.19/src/miners/fs/tracker-config.c
@@ -44,7 +44,7 @@
#define DEFAULT_INITIAL_SLEEP 15 /* 0->1000 */
#define DEFAULT_ENABLE_MONITORS TRUE
#define DEFAULT_THROTTLE 0 /* 0->20 */
-#define DEFAULT_INDEX_REMOVABLE_DEVICES TRUE
+#define DEFAULT_INDEX_REMOVABLE_DEVICES FALSE
#define DEFAULT_INDEX_OPTICAL_DISCS FALSE
#define DEFAULT_INDEX_ON_BATTERY FALSE
#define DEFAULT_INDEX_ON_BATTERY_FIRST_TIME TRUE

View File

@ -1,3 +1,147 @@
-------------------------------------------------------------------
Mon Mar 18 18:36:56 UTC 2013 - dimstar@opensuse.org
- Update to version 0.16.0:
+ Flickr miner was removed: it will be imported to GNOME Photos
later.
+ Removed more unmaintained utilities: tracker-explorer,
tracker-search-bar, playlists, lyrics, webhistory.
+ New features: Support GKqueueDirectoryMonitor API on BSD
systems.
+ Full Text Search (FTS) v4 support:
- New SPARQL function fts:snippet(?u)
- New SPARQL function fts:offsets(?u).
+ Firefox/Thunderbird plugin updates.
+ Updated translations.
- Drop build_applet defines and conditions: the applet
(tracker-search-bar) was dropped by upstream.
+ Remove pkgconfig(libpanelapplet-4.0) BuildRequires.
+ No longer pass --enable-tracker-search-bar resp.
--disable-tracker-search-bar to configure.
+ Drop gnome-panel-applet-tracker subpackage; obsolete it by
tracker main package.
- Drop build_miner_flickr defines and conditions: the flickr miner
was dropped by upstream.
- Remove README.SUSE.flickr source file: no longer relevant.
- Drop pkgconfig(rest-0.7) BuildRequires.
- No longer pass --enable-miner-flickr/--disable-miner-flickr to
configure.
- Drop -miner-flickr subpackage; obsolete it by tracker main
package.
- No longer pass --enable-tracker-explorer resp.
--disable-tracker-explorer (based on build_gui defines) to
configure, as tracker-explorer has been removed.
- Drop tracker-0.14.4-giflib5.patch: fixed upstream.
-------------------------------------------------------------------
Wed Mar 13 13:07:18 UTC 2013 - dimstar@opensuse.org
- Add tracker-0.14.4-giflib5.patch: Fix build with giflib 5.0.x.
-------------------------------------------------------------------
Wed Mar 13 07:57:02 UTC 2013 - dimstar@opensuse.org
- Update to version 0.15.4:
+ Build fixes:
- Fixed various compiler warnings.
- Fixed various introspection warnings.
- Switched out all uses of deprecated GStaticMutex for GMutex.
+ Bugs fixed: bgo#643388.
+ Updated translations.
-------------------------------------------------------------------
Sat Mar 9 12:05:26 UTC 2013 - dimstar@opensuse.org
- Update to version 0.15.3:
+ build:
- Require GLib 2.35.1 for GTask API (was 2.28.0)
- Remove all cases of g_type_init() now it's deprecated in
GLib 2.35.x
+ libtracker-common: Don't log to file by default, only
stdout/stderr. See TRACKER_USE_LOG_FILES env var for details.
+ libtracker-miner:
- Fixed nasty stack corruption with TrackerIndexingTree filter
rules.
- Fixed vala bindings for TrackerMinerFS.
+ tracker-extract-msoffice: Avoid deprecated
gsf_msole_metadata_read() API.
+ tracker-search:
- Added snippets for result hits.
- Added colored output for result hits.
+ Bugs fixed: bgo#693889, bgo#694146, bgo#693198, bgo#693198,
bg##694783, bgo#695157.
+ Updated translations.
- Drop tracker-nonvoid.patch: fixed upstream.
-------------------------------------------------------------------
Fri Feb 15 13:45:26 UTC 2013 - dimstar@opensuse.org
- Update to version 0.15.2:
+ Build: Required SQLite 3.7.9 (was 3.7.0) for FTS4 support
+ New Features:
- Full Text Search (FTS) v4 support.
- Snippets provide context around a matched query.
- Offsets provide an index where a matched query is found in
context.
+ Ontology: Deprecated tracker:fulltextNoLimit and removed use in
all other ontologies.
+ libtracker-fts: Removed tracker_fts_config_min_word_length()
and config option.
+ libtracker-miner: Fixed GNOME password provider, libsecret
expects "user" not "username".
+ tracker-info: Fixed memory leaks.
+ Bugs fixed: bgo#691847, bgo#692409, bgo#692603.
- Add tracker-nonvoid.patch: Fix non-void function not having a
return statement.
-------------------------------------------------------------------
Sat Feb 9 20:35:25 UTC 2013 - dimstar@opensuse.org
- Update to version 0.15.1:
+ build: Fixes build error when supplying nautilis extensions
directory
+ bgo#691807: Tracker should build against libgee 0.8
+ bgo#691804: tracker-cue-sheet not ported to Gstreamer 1.0
+ bgo#679870: libsecret migrations
+ bgo#690170: Add nfo:MediaList type to .m3u playlist files
+ bgo#692210: miner-manager: plug some memleaks
+ libtracker-common: Add replacement function for flock() on
Solaris
+ libtracker-miner: Fix libsecret password provider get call
using non-NULL GError
+ tracker-miner-fs, store: Add MeeGo keys to desktop file.
+ Updated translations.
-------------------------------------------------------------------
Sat Feb 9 19:47:20 UTC 2013 - dimstar@opensuse.org
- Update to version 0.15.0:
+ Port to GStreamer 1.0 / gupnp-dlna-1.1.
+ New Feature: Support GKqueueDirectoryMonitor API on BSD systems
- Drop tracker-libgrss-0.5.patch: fixed upstream.
- Drop tracker-fix-include-sched-idle.patch and
tracker-removeable-media-off.patch: they are outdated and were
only applied for openSUSE <= 11.4.
- Drop libtool BuildRequries: no longer needed.
-------------------------------------------------------------------
Sat Feb 9 18:37:55 UTC 2013 - badshah400@gmail.com
- Update to version 0.14.5:
+ build: Fixes --with-nautilus-extensions-dir which was broken.
+ bgo#692409: playlist extractor should index playlist title if
available.
+ bgo#692603: Search can not find pdf files using author names.
+ bgo#691807: Tracker should build against libgee 0.8.
+ bgo#690170: Add nfo:MediaList type to .m3u playlist files.
+ bgo#688287: build: don't build-depend on Dia.
+ bgo#692210: miner-manager: plug some memleaks.
+ bgo#688371: add support for GKqueueDirectoryMonitor.
+ libtracker-common: Add replacement function for flock() on
Solaris
+ tracker-miner-fs, store: Add MeeGo keys to desktop files
(OnlyShowIn, X-Meego-Priority keys).
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 5 08:53:45 UTC 2012 - dimstar@opensuse.org Mon Nov 5 08:53:45 UTC 2012 - dimstar@opensuse.org
@ -52,6 +196,8 @@ Mon Aug 20 08:53:17 UTC 2012 - dimstar@opensuse.org
- Disable evo plugin for now during -extras build: the API once - Disable evo plugin for now during -extras build: the API once
more changed much faster than Tracker can keep up with. more changed much faster than Tracker can keep up with.
- Drop tracker-evo-implicit.patch: this will be fixed by upstream
by the time the new evo version will be supported.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jul 10 13:05:56 UTC 2012 - coolo@suse.com Tue Jul 10 13:05:56 UTC 2012 - coolo@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package tracker # spec file for package tracker
# #
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2010 Luis Medinas, Portugal # Copyright (c) 2010 Luis Medinas, Portugal
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@ -20,20 +20,16 @@
%define build_extras 0 %define build_extras 0
%if !%{build_extras} %if !%{build_extras}
%define build_applet 0
%define build_evo 0 %define build_evo 0
%define build_firefox 0 %define build_firefox 0
%define build_gui 0 %define build_gui 0
%define build_miner_flickr 0
%define build_miner_rss 0 %define build_miner_rss 0
%define build_nautilus 0 %define build_nautilus 0
%define build_thunderbird 0 %define build_thunderbird 0
%else %else
%define build_applet 1
%define build_evo 0 %define build_evo 0
%define build_firefox 1 %define build_firefox 1
%define build_gui 1 %define build_gui 1
%define build_miner_flickr 1
%define build_miner_rss 1 %define build_miner_rss 1
%define build_nautilus 1 %define build_nautilus 1
%if 0%{?suse_version} > 1140 %if 0%{?suse_version} > 1140
@ -48,28 +44,21 @@
Name: tracker Name: tracker
%define _name tracker %define _name tracker
Version: 0.14.4 Version: 0.16.0
Release: 0 Release: 0
%define TrackerAPI 0.16
%define RPMTrackerAPI 0_16
Summary: Powerful object database, tag/metadata database, search tool and indexer Summary: Powerful object database, tag/metadata database, search tool and indexer
License: GPL-2.0+ License: GPL-2.0+
Group: Productivity/Other Group: Productivity/Other
Url: http://projects.gnome.org/tracker/ Url: http://projects.gnome.org/tracker/
Source0: http://download.gnome.org/sources/tracker/0.14/%{_name}-%{version}.tar.xz Source0: http://download.gnome.org/sources/tracker/0.16/%{_name}-%{version}.tar.xz
Source1: README.SUSE.flickr
Source2: README.SUSE.rss 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
# PATCH-FIX-UPSTREAM tracker-libgrss-0.5.patch bgo#671751 dimstar@opensuse.org -- Support and Require libgrss-0.5
Patch3: tracker-libgrss-0.5.patch
# PATCH-FIX-UPSTREAM tracker-evo-implicit.patch bgo#675413 dimstar@opensuse.org -- Include email-backend.h; fixes brp checks.
Patch4: tracker-evo-implicit.patch
BuildRequires: NetworkManager-devel >= 0.8 BuildRequires: NetworkManager-devel >= 0.8
BuildRequires: enca-devel BuildRequires: enca-devel
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: glib2-devel >= 2.28.0 BuildRequires: glib2-devel >= 2.35.1
BuildRequires: gobject-introspection-devel BuildRequires: gobject-introspection-devel
BuildRequires: intltool BuildRequires: intltool
%if 0%{?suse_version} >= 1130 %if 0%{?suse_version} >= 1130
@ -79,18 +68,16 @@ BuildRequires: gnome-keyring-devel
%endif %endif
# Not guarded by !%%{build_extras}, else we build files to have external generic # Not guarded by !%%{build_extras}, else we build files to have external generic
# media players # media players
BuildRequires: gstreamer-0_10-plugins-base-devel >= 0.10.31 BuildRequires: gstreamer-plugins-base-devel >= 0.10.31
BuildRequires: libicu-devel BuildRequires: libicu-devel
# Needed for patch3
BuildRequires: libtool
BuildRequires: libupower-glib-devel BuildRequires: libupower-glib-devel
BuildRequires: libuuid-devel BuildRequires: libuuid-devel
BuildRequires: sqlite3-devel BuildRequires: sqlite3-devel >= 3.7.9
BuildRequires: translation-update-upstream BuildRequires: translation-update-upstream
BuildRequires: update-desktop-files BuildRequires: update-desktop-files
BuildRequires: vala >= 0.12.0 BuildRequires: vala >= 0.12.0
BuildRequires: zlib-devel BuildRequires: zlib-devel
BuildRequires: pkgconfig(gee-1.0) BuildRequires: pkgconfig(gee-0.8)
%if !%{build_extras} %if !%{build_extras}
# Dependencies for extractors / writeback # Dependencies for extractors / writeback
BuildRequires: flac-devel BuildRequires: flac-devel
@ -100,7 +87,7 @@ BuildRequires: libexif-devel
BuildRequires: libgsf-devel BuildRequires: libgsf-devel
BuildRequires: libosinfo-devel >= 0.0.2 BuildRequires: libosinfo-devel >= 0.0.2
%if 0%{?suse_version} >= 1140 %if 0%{?suse_version} >= 1140
BuildRequires: libgupnp-dlna-devel >= 0.5 BuildRequires: libgupnp-dlna-devel >= 0.9.4
%endif %endif
BuildRequires: libexempi-devel BuildRequires: libexempi-devel
BuildRequires: libgxps-devel BuildRequires: libgxps-devel
@ -120,9 +107,6 @@ BuildRequires: tracker = %{version}
BuildRequires: tracker-devel BuildRequires: tracker-devel
BuildRequires: tracker-miner-files BuildRequires: tracker-miner-files
%endif # !build_extras %endif # !build_extras
%if %{build_applet}
BuildRequires: pkgconfig(libpanelapplet-4.0)
%endif
%if %{build_evo} %if %{build_evo}
BuildRequires: evolution-data-server-devel BuildRequires: evolution-data-server-devel
BuildRequires: evolution-devel BuildRequires: evolution-devel
@ -134,11 +118,8 @@ BuildRequires: MozillaFirefox
%if %{build_gui} %if %{build_gui}
BuildRequires: gtk3-devel BuildRequires: gtk3-devel
%endif %endif
%if %{build_miner_flickr}
BuildRequires: pkgconfig(rest-0.7) >= 0.6
%endif
%if %{build_miner_rss} %if %{build_miner_rss}
BuildRequires: libgrss-devel BuildRequires: libgrss-devel >= 0.5
%endif %endif
%if %{build_nautilus} %if %{build_nautilus}
BuildRequires: pkgconfig(libnautilus-extension) BuildRequires: pkgconfig(libnautilus-extension)
@ -150,6 +131,10 @@ BuildRequires: MozillaThunderbird
Recommends: %{_name}-lang Recommends: %{_name}-lang
# We want to index files by default, if possible # We want to index files by default, if possible
Recommends: %{_name}-miner-files Recommends: %{_name}-miner-files
# gnome-panel-applet-tracker (aka tracker-search-bar) was removed with tracker 0.16.0
Obsoletes: gnome-panel-applet-tracker < 0.16.0
# flickr miner was removed with tracker 0.16.0
Obsoletes: tracker-miner-flickr < 0.16.0
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%glib2_gsettings_schema_requires %glib2_gsettings_schema_requires
@ -187,26 +172,26 @@ This package contains a miner to index files and applications.
# name across multiple versions of tracker). # name across multiple versions of tracker).
# Yet, different libtracker-miner-* packages require their explicit # Yet, different libtracker-miner-* packages require their explicit
# version of libtracker-common.so.0 as they link is done using rpath. # version of libtracker-common.so.0 as they link is done using rpath.
%package -n libtracker-common-0_14-0 %package -n libtracker-common-%{RPMTrackerAPI}-0
Summary: Conveniance libraries for Tracker Summary: Conveniance libraries for Tracker
Group: System/Libraries Group: System/Libraries
%description -n libtracker-common-0_14-0 %description -n libtracker-common-%{RPMTrackerAPI}-0
Tracker is a powerful desktop-neutral first class object Tracker is a powerful desktop-neutral first class object
database, tag/metadata database, search tool and indexer. database, tag/metadata database, search tool and indexer.
This package contains private conveniance libraries for the This package contains private conveniance libraries for the
various tracker libraries. various tracker libraries.
%package -n libtracker-extract-0_14-0 %package -n libtracker-extract-%{RPMTrackerAPI}-0
Summary: Extract library for Tracker Summary: Extract library for Tracker
Group: System/Libraries Group: System/Libraries
# rpm autodetects libtracker-common.so.0() symbol, which is provided by all versions of libtracker-common, so we need to help with an explicit Requires. # rpm autodetects libtracker-common.so.0() symbol, which is provided by all versions of libtracker-common, so we need to help with an explicit Requires.
Requires: libtracker-common-0_14-0 Requires: libtracker-common-%{RPMTrackerAPI}-0
Recommends: %{_name} Recommends: %{_name}
%glib2_gsettings_schema_requires %glib2_gsettings_schema_requires
%description -n libtracker-extract-0_14-0 %description -n libtracker-extract-%{RPMTrackerAPI}-0
Tracker is a powerful desktop-neutral first class object Tracker is a powerful desktop-neutral first class object
database, tag/metadata database, search tool and indexer. database, tag/metadata database, search tool and indexer.
@ -221,14 +206,14 @@ including context linking and audit trails for a file object.
It has the ability to index, store, harvest metadata, retrieve It has the ability to index, store, harvest metadata, retrieve
and search all types of files and other first class objects. and search all types of files and other first class objects.
%package -n libtracker-miner-0_14-0 %package -n libtracker-miner-%{RPMTrackerAPI}-0
Summary: Miner library for Tracker Summary: Miner library for Tracker
Group: System/Libraries Group: System/Libraries
# rpm autodetects libtracker-common.so.0() symbol, which is provided by all versions of libtracker-common, so we need to help with an explicit Requires. # rpm autodetects libtracker-common.so.0() symbol, which is provided by all versions of libtracker-common, so we need to help with an explicit Requires.
Requires: libtracker-common-0_14-0 Requires: libtracker-common-%{RPMTrackerAPI}-0
Recommends: %{_name} Recommends: %{_name}
%description -n libtracker-miner-0_14-0 %description -n libtracker-miner-%{RPMTrackerAPI}-0
Tracker is a powerful desktop-neutral first class object Tracker is a powerful desktop-neutral first class object
database, tag/metadata database, search tool and indexer. database, tag/metadata database, search tool and indexer.
@ -243,11 +228,11 @@ including context linking and audit trails for a file object.
It has the ability to index, store, harvest metadata, retrieve It has the ability to index, store, harvest metadata, retrieve
and search all types of files and other first class objects. and search all types of files and other first class objects.
%package -n typelib-1_0-Tracker-0_14 %package -n typelib-1_0-Tracker-%{RPMTrackerAPI}
Summary: Sparql library for Tracker -- Introspection bindings Summary: Sparql library for Tracker -- Introspection bindings
Group: System/Libraries Group: System/Libraries
%description -n typelib-1_0-Tracker-0_14 %description -n typelib-1_0-Tracker-%{RPMTrackerAPI}
Tracker is a powerful desktop-neutral first class object Tracker is a powerful desktop-neutral first class object
database, tag/metadata database, search tool and indexer. database, tag/metadata database, search tool and indexer.
@ -265,11 +250,11 @@ and search all types of files and other first class objects.
This package provides the GObject Introspection bindings for the This package provides the GObject Introspection bindings for the
sparql library for Tracker. sparql library for Tracker.
%package -n typelib-1_0-TrackerExtract-0_14 %package -n typelib-1_0-TrackerExtract-%{RPMTrackerAPI}
Summary: Extract library for Tracker -- Introspection bindings Summary: Extract library for Tracker -- Introspection bindings
Group: System/Libraries Group: System/Libraries
%description -n typelib-1_0-TrackerExtract-0_14 %description -n typelib-1_0-TrackerExtract-%{RPMTrackerAPI}
Tracker is a powerful desktop-neutral first class object Tracker is a powerful desktop-neutral first class object
database, tag/metadata database, search tool and indexer. database, tag/metadata database, search tool and indexer.
@ -287,11 +272,11 @@ and search all types of files and other first class objects.
This package provides the GObject Introspection bindings for the This package provides the GObject Introspection bindings for the
extract library for Tracker. extract library for Tracker.
%package -n typelib-1_0-TrackerMiner-0_14 %package -n typelib-1_0-TrackerMiner-%{RPMTrackerAPI}
Summary: Miner library for Tracker -- Introspection bindings Summary: Miner library for Tracker -- Introspection bindings
Group: System/Libraries Group: System/Libraries
%description -n typelib-1_0-TrackerMiner-0_14 %description -n typelib-1_0-TrackerMiner-%{RPMTrackerAPI}
Tracker is a powerful desktop-neutral first class object Tracker is a powerful desktop-neutral first class object
database, tag/metadata database, search tool and indexer. database, tag/metadata database, search tool and indexer.
@ -309,14 +294,14 @@ and search all types of files and other first class objects.
This package provides the GObject Introspection bindings for the This package provides the GObject Introspection bindings for the
miner library for Tracker. miner library for Tracker.
%package -n libtracker-sparql-0_14-0 %package -n libtracker-sparql-%{RPMTrackerAPI}-0
Summary: Sparql library for Tracker Summary: Sparql library for Tracker
Group: System/Libraries Group: System/Libraries
# rpm autodetects libtracker-common.so.0() symbol, which is provided by all versions of libtracker-common, so we need to help with an explicit Requires. # rpm autodetects libtracker-common.so.0() symbol, which is provided by all versions of libtracker-common, so we need to help with an explicit Requires.
Requires: libtracker-common-0_14-0 Requires: libtracker-common-%{RPMTrackerAPI}-0
Recommends: %{_name} Recommends: %{_name}
%description -n libtracker-sparql-0_14-0 %description -n libtracker-sparql-%{RPMTrackerAPI}-0
Tracker is a powerful desktop-neutral first class object Tracker is a powerful desktop-neutral first class object
database, tag/metadata database, search tool and indexer. database, tag/metadata database, search tool and indexer.
@ -334,12 +319,12 @@ and search all types of files and other first class objects.
%package -n tracker-devel %package -n tracker-devel
Summary: Tracker -- Development files Summary: Tracker -- Development files
Group: Development/Libraries/GNOME Group: Development/Libraries/GNOME
Requires: libtracker-extract-0_14-0 = %{version} Requires: libtracker-extract-%{RPMTrackerAPI}-0 = %{version}
Requires: libtracker-miner-0_14-0 = %{version} Requires: libtracker-miner-%{RPMTrackerAPI}-0 = %{version}
Requires: libtracker-sparql-0_14-0 = %{version} Requires: libtracker-sparql-%{RPMTrackerAPI}-0 = %{version}
Requires: typelib-1_0-Tracker-0_14 = %{version} Requires: typelib-1_0-Tracker-%{RPMTrackerAPI} = %{version}
Requires: typelib-1_0-TrackerExtract-0_14 = %{version} Requires: typelib-1_0-TrackerExtract-%{RPMTrackerAPI} = %{version}
Requires: typelib-1_0-TrackerMiner-0_14 = %{version} Requires: typelib-1_0-TrackerMiner-%{RPMTrackerAPI} = %{version}
%description -n tracker-devel %description -n tracker-devel
Tracker is a powerful desktop-neutral first class object Tracker is a powerful desktop-neutral first class object
@ -398,20 +383,6 @@ This package contains a Firefox extension that will index
Firefox bookmarks. Firefox bookmarks.
%endif # build_firefox %endif # build_firefox
%if %{build_miner_flickr}
%package -n %{_name}-miner-flickr
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} %if %{build_miner_rss}
%package -n %{_name}-miner-rss %package -n %{_name}-miner-rss
@ -469,25 +440,6 @@ It has the ability to index, store, harvest metadata, retrieve
and search all types of files and other first class objects. and search all types of files and other first class objects.
%endif # build_gui %endif # build_gui
%if %{build_applet}
%package -n gnome-panel-applet-tracker
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} %if %{build_nautilus}
%package -n nautilus-extension-tracker-tags %package -n nautilus-extension-tracker-tags
@ -515,28 +467,14 @@ This package contains an nautilus plugin to tag files with Tracker.
%prep %prep
%setup -q -n %{_name}-%{version} %setup -q -n %{_name}-%{version}
translation-update-upstream translation-update-upstream
%if 0%{?suse_version} <= 1140
%patch1 -p1
%patch2
%endif
%patch3 -p1
%patch4 -p1
cp %{S:1} src/miners/flickr/README.SUSE
cp %{S:2} src/miners/rss/README.SUSE cp %{S:2} src/miners/rss/README.SUSE
%build %build
# Needed for patch3
AUTOPOINT='intltoolize --automake --copy' autoreconf --verbose --force --install
%configure \ %configure \
%if !%{build_extras} %if !%{build_extras}
--enable-libvorbis \ --enable-libvorbis \
--enable-libflac \ --enable-libflac \
%endif %endif
%if %{build_applet}
--enable-tracker-search-bar \
%else
--disable-tracker-search-bar \
%endif
%if %{build_evo} %if %{build_evo}
--enable-miner-evolution \ --enable-miner-evolution \
%else %else
@ -549,11 +487,9 @@ AUTOPOINT='intltoolize --automake --copy' autoreconf --verbose --force --install
--disable-miner-firefox \ --disable-miner-firefox \
%endif %endif
%if %{build_gui} %if %{build_gui}
--enable-tracker-explorer \
--enable-tracker-needle \ --enable-tracker-needle \
--enable-tracker-preferences \ --enable-tracker-preferences \
%else %else
--disable-tracker-explorer \
--disable-tracker-needle \ --disable-tracker-needle \
--disable-tracker-preferences \ --disable-tracker-preferences \
%endif %endif
@ -562,11 +498,6 @@ AUTOPOINT='intltoolize --automake --copy' autoreconf --verbose --force --install
%else %else
--disable-nautilus-extension \ --disable-nautilus-extension \
%endif %endif
%if %{build_miner_flickr}
--enable-miner-flickr \
%else
--disable-miner-flickr \
%endif
%if %{build_miner_rss} %if %{build_miner_rss}
--enable-miner-rss \ --enable-miner-rss \
%else %else
@ -601,13 +532,13 @@ rm %{buildroot}%{_datadir}/icons/hicolor/*/apps/tracker.*
# tracker-extras build can put icons in there without having to worry # tracker-extras build can put icons in there without having to worry
mkdir -p %{buildroot}%{_datadir}/tracker/icons/ mkdir -p %{buildroot}%{_datadir}/tracker/icons/
%fdupes %{buildroot}%{_datadir}/gtk-doc/html/ #fdupes %{buildroot}%{_datadir}/gtk-doc/html/
%fdupes %{buildroot}%{_datadir}/vala/ %fdupes %{buildroot}%{_datadir}/vala/
%else %else
## Extras build: remove files from main, miner-files, devel, lang and lib subpackages ## 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_14-0 libtracker-miner-0_14-0 libtracker-sparql-0_14-0 typelib-1_0-Tracker-0_14 typelib-1_0-TrackerExtract-0_14 typelib-1_0-TrackerMiner-0_14 libtracker-common-0_14-0`; do for file in `rpm -ql tracker tracker-devel tracker-miner-files libtracker-extract-%{RPMTrackerAPI}-0 libtracker-miner-%{RPMTrackerAPI}-0 libtracker-sparql-%{RPMTrackerAPI}-0 typelib-1_0-Tracker-%{RPMTrackerAPI} typelib-1_0-TrackerExtract-%{RPMTrackerAPI} typelib-1_0-TrackerMiner-%{RPMTrackerAPI} libtracker-common-%{RPMTrackerAPI}-0`; do
# do not remove directories (might contain files we want); -f to not fail if # do not remove directories (might contain files we want); -f to not fail if
# file doesn't exist # file doesn't exist
test ! -d %{buildroot}${file} && rm -f %{buildroot}${file} test ! -d %{buildroot}${file} && rm -f %{buildroot}${file}
@ -617,18 +548,12 @@ rm %{buildroot}%{_datadir}/locale/*/LC_MESSAGES/tracker.mo
%endif %endif
%if %{build_miner_flickr}
%suse_update_desktop_file tracker-miner-flickr
%endif
%if %{build_miner_rss} %if %{build_miner_rss}
%suse_update_desktop_file tracker-miner-rss %suse_update_desktop_file tracker-miner-rss
%endif %endif
%if %{build_evo} %if %{build_evo}
%suse_update_desktop_file %{buildroot}%{_datadir}/tracker/miners/tracker-miner-evolution.desktop %suse_update_desktop_file %{buildroot}%{_datadir}/tracker/miners/tracker-miner-evolution.desktop
%endif %endif
%if %{build_miner_flickr}
%suse_update_desktop_file %{buildroot}%{_datadir}/tracker/miners/tracker-miner-flickr.desktop
%endif
%if %{build_miner_rss} %if %{build_miner_rss}
%suse_update_desktop_file %{buildroot}%{_datadir}/tracker/miners/tracker-miner-rss.desktop %suse_update_desktop_file %{buildroot}%{_datadir}/tracker/miners/tracker-miner-rss.desktop
%endif %endif
@ -657,21 +582,21 @@ rm -rf %{buildroot}
%postun -n %{_name}-miner-files %postun -n %{_name}-miner-files
%glib2_gsettings_schema_postun %glib2_gsettings_schema_postun
%post -n libtracker-extract-0_14-0 %post -n libtracker-extract-%{RPMTrackerAPI}-0
%glib2_gsettings_schema_post %glib2_gsettings_schema_post
/sbin/ldconfig /sbin/ldconfig
%postun -n libtracker-extract-0_14-0 %postun -n libtracker-extract-%{RPMTrackerAPI}-0
%glib2_gsettings_schema_postun %glib2_gsettings_schema_postun
/sbin/ldconfig /sbin/ldconfig
%post -n libtracker-miner-0_14-0 -p /sbin/ldconfig %post -n libtracker-miner-%{RPMTrackerAPI}-0 -p /sbin/ldconfig
%postun -n libtracker-miner-0_14-0 -p /sbin/ldconfig %postun -n libtracker-miner-%{RPMTrackerAPI}-0 -p /sbin/ldconfig
%post -n libtracker-sparql-0_14-0 -p /sbin/ldconfig %post -n libtracker-sparql-%{RPMTrackerAPI}-0 -p /sbin/ldconfig
%postun -n libtracker-sparql-0_14-0 -p /sbin/ldconfig %postun -n libtracker-sparql-%{RPMTrackerAPI}-0 -p /sbin/ldconfig
%endif # !build_extras %endif # !build_extras
%if %{build_gui} %if %{build_gui}
@ -714,9 +639,9 @@ rm -rf %{buildroot}
%{_libexecdir}/tracker-extract %{_libexecdir}/tracker-extract
%{_libexecdir}/tracker-store %{_libexecdir}/tracker-store
%{_libexecdir}/tracker-writeback %{_libexecdir}/tracker-writeback
%dir %{_libdir}/tracker-0.14/ %dir %{_libdir}/tracker-%{TrackerAPI}/
%{_libdir}/tracker-0.14/extract-modules/ %{_libdir}/tracker-%{TrackerAPI}/extract-modules/
%{_libdir}/tracker-0.14/writeback-modules/ %{_libdir}/tracker-%{TrackerAPI}/writeback-modules/
%{_datadir}/tracker/ %{_datadir}/tracker/
%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Extract.service %{_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.Writeback.service
@ -743,22 +668,13 @@ rm -rf %{buildroot}
%exclude %{_datadir}/tracker/miners/tracker-miner-evolution.desktop %exclude %{_datadir}/tracker/miners/tracker-miner-evolution.desktop
%endif %endif
%exclude %{_datadir}/tracker/miners/tracker-miner-files.desktop %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} %if %{build_miner_rss}
%exclude %{_datadir}/tracker/miners/tracker-miner-rss.desktop %exclude %{_datadir}/tracker/miners/tracker-miner-rss.desktop
%endif %endif
%if %{build_gui} %if %{build_gui}
%exclude %{_datadir}/tracker/tracker-explorer.ui
%exclude %{_datadir}/tracker/tracker-needle.ui %exclude %{_datadir}/tracker/tracker-needle.ui
%exclude %{_datadir}/tracker/tracker-preferences.ui %exclude %{_datadir}/tracker/tracker-preferences.ui
%endif %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 %files -n %{_name}-miner-files
%defattr(-,root,root) %defattr(-,root,root)
@ -771,45 +687,45 @@ rm -rf %{buildroot}
%{_datadir}/tracker/miners/tracker-miner-files.desktop %{_datadir}/tracker/miners/tracker-miner-files.desktop
%{_mandir}/man1/tracker-miner-fs.1%{ext_man} %{_mandir}/man1/tracker-miner-fs.1%{ext_man}
%files -n libtracker-common-0_14-0 %files -n libtracker-common-%{RPMTrackerAPI}-0
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/tracker-0.14/libtracker-common.so.* %{_libdir}/tracker-%{TrackerAPI}/libtracker-common.so.*
%{_libdir}/tracker-0.14/libtracker-data.so.* %{_libdir}/tracker-%{TrackerAPI}/libtracker-data.so.*
%files -n libtracker-extract-0_14-0 %files -n libtracker-extract-%{RPMTrackerAPI}-0
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libtracker-extract*.so.* %{_libdir}/libtracker-extract*.so.*
%{_datadir}/glib-2.0/schemas/org.freedesktop.Tracker.Extract.gschema.xml %{_datadir}/glib-2.0/schemas/org.freedesktop.Tracker.Extract.gschema.xml
%files -n libtracker-miner-0_14-0 %files -n libtracker-miner-%{RPMTrackerAPI}-0
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libtracker-miner*.so.* %{_libdir}/libtracker-miner*.so.*
%files -n libtracker-sparql-0_14-0 %files -n libtracker-sparql-%{RPMTrackerAPI}-0
%defattr(-, root, root) %defattr(-, root, root)
%{_libdir}/libtracker-sparql*.so.* %{_libdir}/libtracker-sparql*.so.*
%files -n typelib-1_0-Tracker-0_14 %files -n typelib-1_0-Tracker-%{RPMTrackerAPI}
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/girepository-1.0/Tracker-0.14.typelib %{_libdir}/girepository-1.0/Tracker-%{TrackerAPI}.typelib
%files -n typelib-1_0-TrackerExtract-0_14 %files -n typelib-1_0-TrackerExtract-%{RPMTrackerAPI}
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/girepository-1.0/TrackerExtract-0.14.typelib %{_libdir}/girepository-1.0/TrackerExtract-%{TrackerAPI}.typelib
%files -n typelib-1_0-TrackerMiner-0_14 %files -n typelib-1_0-TrackerMiner-%{RPMTrackerAPI}
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/girepository-1.0/TrackerMiner-0.14.typelib %{_libdir}/girepository-1.0/TrackerMiner-%{TrackerAPI}.typelib
%files -n tracker-devel %files -n tracker-devel
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/lib*.so %{_libdir}/lib*.so
%{_includedir}/tracker-0.14/ %{_includedir}/tracker-%{TrackerAPI}/
%{_libdir}/tracker-0.14/libtracker-common.so %{_libdir}/tracker-%{TrackerAPI}/libtracker-common.so
%{_libdir}/tracker-0.14/libtracker-data.so %{_libdir}/tracker-%{TrackerAPI}/libtracker-data.so
%{_libdir}/pkgconfig/tracker-extract-0.14.pc %{_libdir}/pkgconfig/tracker-extract-%{TrackerAPI}.pc
%{_libdir}/pkgconfig/tracker-miner-0.14.pc %{_libdir}/pkgconfig/tracker-miner-%{TrackerAPI}.pc
%{_libdir}/pkgconfig/tracker-sparql-0.14.pc %{_libdir}/pkgconfig/tracker-sparql-%{TrackerAPI}.pc
%{_datadir}/gir-1.0/*.gir %{_datadir}/gir-1.0/*.gir
%{_datadir}/gtk-doc/html/libtracker-miner/ %{_datadir}/gtk-doc/html/libtracker-miner/
%{_datadir}/gtk-doc/html/libtracker-extract/ %{_datadir}/gtk-doc/html/libtracker-extract/
@ -839,18 +755,6 @@ rm -rf %{buildroot}
%{_datadir}/xul-ext/trackerfox/ %{_datadir}/xul-ext/trackerfox/
%endif %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} %if %{build_miner_rss}
%files -n %{_name}-miner-rss %files -n %{_name}-miner-rss
@ -889,21 +793,6 @@ rm -rf %{buildroot}
%{_datadir}/applications/tracker-needle.desktop %{_datadir}/applications/tracker-needle.desktop
%{_datadir}/tracker/tracker-needle.ui %{_datadir}/tracker/tracker-needle.ui
%{_mandir}/man1/tracker-needle.1* %{_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 %endif
%if %{build_nautilus} %if %{build_nautilus}