Accepting request 111787 from GNOME:Factory

Pushing G:F

OBS-URL: https://build.opensuse.org/request/show/111787
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tracker?expand=0&rev=46
This commit is contained in:
Stephan Kulow 2012-03-29 12:07:15 +00:00 committed by Git OBS Bridge
parent 57360cfc7f
commit 9d41e31327
7 changed files with 531 additions and 19 deletions

View File

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

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

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

View File

@ -1,3 +1,64 @@
-------------------------------------------------------------------
Fri Mar 9 21:10:27 UTC 2012 - dimstar@opensuse.org
- Add tracker-libgrss-0.5.patch: Support and require libgrss 0.5.
- Add libtool BuildRequires and call to autoreconf, as above patch
touches the build system.
- Remove xz BuildRequires now that it comes for free in the build
system.
-------------------------------------------------------------------
Thu Mar 8 20:55:05 UTC 2012 - dimstar@opensuse.org
- Update to version 0.14.0:
+ firefox, thunderbird:
- Do not crash recent versions of Firefox/Thunderbird
- Use tracker 0.14 libraries
- Mark the plugins as compatible with newer versions of
Firefox/Thunderbird
+ tracker-extract: Use ISO volume ID as title for unknown OS
+ tracker-miner-evolution: build fixes
+ tracker-miner-flickr, tracker-miner-rss: Do not autostart the
miners on login
+ tracker-miner-fs: Handle absolute paths in ignored dirs
+ tracker-needle: Order results properly
+ Other code changes.
+ Updated translations.
- Re-enable evo-plugin: %define build_evo 1.
-------------------------------------------------------------------
Wed Feb 15 20:47:32 UTC 2012 - dimstar@opensuse.org
- Update to version 0.13.1:
+ New Feature: ISO file extractor
+ Fix build with glib 2.31
+ Various other build fixes
+ libtracker-common: Add new function tracker_file_open_fd()
+ libtracker-data: Fix dead code with disabled journal
+ libtracker-miner:
- Don't send sparql to tracker-store for missing/cancelled
files
- Ensure we deal with the canonical copy on ::directory-removed
- Improve logging
+ libtracker-extract:
- Do not use tracker_coalesce_strip on constant strings in unit
tests
- Don't build EXIF tests if we don't have support enabled
+ tracker-store: Print warning if unable to initialize statistics
+ tracker-miner-fs:
- Fix crash when SIGTERM happens before mainloop is available
- Don't index removable media on initial index if disabled
+ tracker-extract-msoffice: Add debugging aid for when opening
file fails
+ ttl2sgml: Do not call fclose if file is NULL
+ Bugs fixed: bgo#669546, bgo#666654, bgo#666410, bgo#666678,
bgo#666372, bgo#667786, bgo#667787, nokia#286488, nokia#289635,
nokia#296009, nokia#290406
+ Updated translations.
- Add libosinfo-devel BuildRequires for the new ISO extractor.
- Add libcue-devel BuildRequires to allow CUE sheet parsing, as we
now have this package in Factory.
-------------------------------------------------------------------
Thu Jan 19 08:48:55 UTC 2012 - vuntz@opensuse.org

View File

@ -30,7 +30,7 @@
%define build_thunderbird 0
%else
%define build_applet 1
%define build_evo 0
%define build_evo 1
%define build_firefox 1
%define build_gui 1
%define build_miner_flickr 1
@ -49,21 +49,21 @@
# Do not edit this auto generated file! Edit tracker.spec.
Name: tracker-extras
%define _name tracker
Version: 0.13.0
Version: 0.14.0
Release: 0
# FIXME: Verify if the evolution plugin can be built again (define build_evo 1 in build_extras section)
# FIXME: missing pkgconfig(libcue) BuildRequires: we don't have this packaged...
Summary: Powerful object database, tag/metadata database, search tool and indexer
License: GPL-2.0+
Group: Productivity/Other
Url: http://projects.gnome.org/tracker/
Source0: http://download.gnome.org/sources/tracker/0.13/%{_name}-%{version}.tar.xz
Source0: http://download.gnome.org/sources/tracker/0.14/%{_name}-%{version}.tar.xz
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
# 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
BuildRequires: NetworkManager-devel >= 0.8
BuildRequires: enca-devel
BuildRequires: fdupes
@ -80,31 +80,33 @@ BuildRequires: gnome-keyring-devel
# media players
BuildRequires: gstreamer-0_10-plugins-base-devel >= 0.10.31
BuildRequires: libicu-devel
# Needed for patch3
BuildRequires: libtool
BuildRequires: libupower-glib-devel
BuildRequires: libuuid-devel
BuildRequires: sqlite3-devel
BuildRequires: translation-update-upstream
BuildRequires: update-desktop-files
BuildRequires: vala >= 0.12.0
# Only needed because we don't (and won't) support building xz tarballs by default... See bnc#697467
BuildRequires: xz
BuildRequires: zlib-devel
BuildRequires: pkgconfig(gee-1.0)
%if !%{build_extras}
# Dependencies for extractors / writeback
BuildRequires: flac-devel
BuildRequires: giflib-devel
BuildRequires: libcue-devel
BuildRequires: libexif-devel
BuildRequires: libgsf-devel
BuildRequires: libosinfo-devel >= 0.0.2
%if 0%{?suse_version} >= 1140
BuildRequires: libgupnp-dlna-devel >= 0.5
%endif
BuildRequires: libexempi-devel
BuildRequires: libiptcdata-devel
BuildRequires: libjpeg-devel
BuildRequires: libpng-devel
BuildRequires: libpoppler-glib-devel
BuildRequires: libtiff-devel
BuildRequires: libexempi-devel
BuildRequires: libvorbis-devel
BuildRequires: libxml2-devel
BuildRequires: taglib-devel
@ -493,10 +495,13 @@ translation-update-upstream
%patch1 -p1
%patch2
%endif
%patch3 -p1
cp %{S:1} src/miners/flickr/README.SUSE
cp %{S:2} src/miners/rss/README.SUSE
%build
# Needed for patch3
AUTOPOINT='intltoolize --automake --copy' autoreconf --verbose --force --install
%configure \
%if !%{build_extras}
--enable-libvorbis \

380
tracker-libgrss-0.5.patch Normal file
View File

@ -0,0 +1,380 @@
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,3 +1,64 @@
-------------------------------------------------------------------
Fri Mar 9 21:10:27 UTC 2012 - dimstar@opensuse.org
- Add tracker-libgrss-0.5.patch: Support and require libgrss 0.5.
- Add libtool BuildRequires and call to autoreconf, as above patch
touches the build system.
- Remove xz BuildRequires now that it comes for free in the build
system.
-------------------------------------------------------------------
Thu Mar 8 20:55:05 UTC 2012 - dimstar@opensuse.org
- Update to version 0.14.0:
+ firefox, thunderbird:
- Do not crash recent versions of Firefox/Thunderbird
- Use tracker 0.14 libraries
- Mark the plugins as compatible with newer versions of
Firefox/Thunderbird
+ tracker-extract: Use ISO volume ID as title for unknown OS
+ tracker-miner-evolution: build fixes
+ tracker-miner-flickr, tracker-miner-rss: Do not autostart the
miners on login
+ tracker-miner-fs: Handle absolute paths in ignored dirs
+ tracker-needle: Order results properly
+ Other code changes.
+ Updated translations.
- Re-enable evo-plugin: %define build_evo 1.
-------------------------------------------------------------------
Wed Feb 15 20:47:32 UTC 2012 - dimstar@opensuse.org
- Update to version 0.13.1:
+ New Feature: ISO file extractor
+ Fix build with glib 2.31
+ Various other build fixes
+ libtracker-common: Add new function tracker_file_open_fd()
+ libtracker-data: Fix dead code with disabled journal
+ libtracker-miner:
- Don't send sparql to tracker-store for missing/cancelled
files
- Ensure we deal with the canonical copy on ::directory-removed
- Improve logging
+ libtracker-extract:
- Do not use tracker_coalesce_strip on constant strings in unit
tests
- Don't build EXIF tests if we don't have support enabled
+ tracker-store: Print warning if unable to initialize statistics
+ tracker-miner-fs:
- Fix crash when SIGTERM happens before mainloop is available
- Don't index removable media on initial index if disabled
+ tracker-extract-msoffice: Add debugging aid for when opening
file fails
+ ttl2sgml: Do not call fclose if file is NULL
+ Bugs fixed: bgo#669546, bgo#666654, bgo#666410, bgo#666678,
bgo#666372, bgo#667786, bgo#667787, nokia#286488, nokia#289635,
nokia#296009, nokia#290406
+ Updated translations.
- Add libosinfo-devel BuildRequires for the new ISO extractor.
- Add libcue-devel BuildRequires to allow CUE sheet parsing, as we
now have this package in Factory.
-------------------------------------------------------------------
Thu Jan 19 08:48:55 UTC 2012 - vuntz@opensuse.org

View File

@ -30,7 +30,7 @@
%define build_thunderbird 0
%else
%define build_applet 1
%define build_evo 0
%define build_evo 1
%define build_firefox 1
%define build_gui 1
%define build_miner_flickr 1
@ -48,21 +48,21 @@
Name: tracker
%define _name tracker
Version: 0.13.0
Version: 0.14.0
Release: 0
# FIXME: Verify if the evolution plugin can be built again (define build_evo 1 in build_extras section)
# FIXME: missing pkgconfig(libcue) BuildRequires: we don't have this packaged...
Summary: Powerful object database, tag/metadata database, search tool and indexer
License: GPL-2.0+
Group: Productivity/Other
Url: http://projects.gnome.org/tracker/
Source0: http://download.gnome.org/sources/tracker/0.13/%{_name}-%{version}.tar.xz
Source0: http://download.gnome.org/sources/tracker/0.14/%{_name}-%{version}.tar.xz
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
# 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
BuildRequires: NetworkManager-devel >= 0.8
BuildRequires: enca-devel
BuildRequires: fdupes
@ -79,31 +79,33 @@ BuildRequires: gnome-keyring-devel
# media players
BuildRequires: gstreamer-0_10-plugins-base-devel >= 0.10.31
BuildRequires: libicu-devel
# Needed for patch3
BuildRequires: libtool
BuildRequires: libupower-glib-devel
BuildRequires: libuuid-devel
BuildRequires: sqlite3-devel
BuildRequires: translation-update-upstream
BuildRequires: update-desktop-files
BuildRequires: vala >= 0.12.0
# Only needed because we don't (and won't) support building xz tarballs by default... See bnc#697467
BuildRequires: xz
BuildRequires: zlib-devel
BuildRequires: pkgconfig(gee-1.0)
%if !%{build_extras}
# Dependencies for extractors / writeback
BuildRequires: flac-devel
BuildRequires: giflib-devel
BuildRequires: libcue-devel
BuildRequires: libexif-devel
BuildRequires: libgsf-devel
BuildRequires: libosinfo-devel >= 0.0.2
%if 0%{?suse_version} >= 1140
BuildRequires: libgupnp-dlna-devel >= 0.5
%endif
BuildRequires: libexempi-devel
BuildRequires: libiptcdata-devel
BuildRequires: libjpeg-devel
BuildRequires: libpng-devel
BuildRequires: libpoppler-glib-devel
BuildRequires: libtiff-devel
BuildRequires: libexempi-devel
BuildRequires: libvorbis-devel
BuildRequires: libxml2-devel
BuildRequires: taglib-devel
@ -492,10 +494,13 @@ translation-update-upstream
%patch1 -p1
%patch2
%endif
%patch3 -p1
cp %{S:1} src/miners/flickr/README.SUSE
cp %{S:2} src/miners/rss/README.SUSE
%build
# Needed for patch3
AUTOPOINT='intltoolize --automake --copy' autoreconf --verbose --force --install
%configure \
%if !%{build_extras}
--enable-libvorbis \