Accepting request 100712 from GNOME:Apps

Pushing some bits of G:A (mostly new upstream releases)

OBS-URL: https://build.opensuse.org/request/show/100712
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tracker?expand=0&rev=45
This commit is contained in:
Stephan Kulow 2012-01-24 11:23:29 +00:00 committed by Git OBS Bridge
parent a9f70c7b82
commit 57360cfc7f
7 changed files with 291 additions and 667 deletions

View File

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

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

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

View File

@ -1,9 +1,40 @@
-------------------------------------------------------------------
Thu Jan 19 08:48:55 UTC 2012 - vuntz@opensuse.org
- Add libjpeg-devel BuildRequires for non-extras builds to build
JPEG support in extractors.
-------------------------------------------------------------------
Fri Dec 16 11:12:46 UTC 2011 - dimstar@opensuse.org
- Update to version 0.13.0:
+ New Feature: CUE sheet parsing is now supported
+ libtracker-common: New env var TRACKER_USE_CONFIG_FILES to
output ini files instead of use GSettings is available
+ libtracker-miner:
- Updated TrackerMinerFS (breaks API/ABI)
- Introducing TrackerIndexingTree (to use with TrackerMinerFS)
- Albumart renamed to Media art and refactored
+ tracker-miner-fs: Refactored, mtime checks are +50% faster and
indexing slightly improved
+ Removed GLib unicode parser: it was sub-optimal and unused.
+ Many other fixes.
+ Updted translations.
- Drop tracker-g_thread.patch: fixed upstream.
- Change License tag to spdx identifier.
- Rename library packages from *-0_12-0 to *-0_14-0. following
upstream SONAME changes.
- Split typelib files out into typelib-1_0-Tracker-0_14,
typelib-1_0-TrackerExtract-0_14 and
typelib-1_0-TrackerMiner-0_14 subpackages.
- Add Requires for new typelib subpackages to devel subpackage.
-------------------------------------------------------------------
Fri Dec 2 01:11:48 UTC 2011 - dimstar@opensuse.org
- Disable evo plugins for now: %define build_evo 0:
e-d-s had some major API changes on the camel store and tracker
needs to catch up on this again,
needs to catch up on this again.
-------------------------------------------------------------------
Sat Nov 26 17:48:05 UTC 2011 - dimstar@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package tracker-extras
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2010 Luis Medinas, Portugal
#
# All modifications and additions to the file contributed by third parties
@ -47,26 +47,23 @@
%define thunderbird_appid \{3550f703-e582-4d05-9a08-453d09bdfdc6\}
# Do not edit this auto generated file! Edit tracker.spec.
Name: tracker-extras
%define _name tracker
Version: 0.12.8
Release: 1
Version: 0.13.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...
License: GPLv2+
Summary: Powerful object database, tag/metadata database, search tool and indexer
Url: http://projects.gnome.org/tracker/
License: GPL-2.0+
Group: Productivity/Other
Source0: http://download.gnome.org/sources/tracker/0.12/%{_name}-%{version}.tar.xz
Url: http://projects.gnome.org/tracker/
Source0: http://download.gnome.org/sources/tracker/0.13/%{_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-g_thread.patch dimstar@opensuse.org -- Remobe g_thread_init calls. Patch taken from upstream git.
Patch3: tracker-g_thread.patch
BuildRequires: NetworkManager-devel >= 0.8
BuildRequires: enca-devel
BuildRequires: fdupes
@ -103,6 +100,7 @@ BuildRequires: libgsf-devel
BuildRequires: libgupnp-dlna-devel >= 0.5
%endif
BuildRequires: libiptcdata-devel
BuildRequires: libjpeg-devel
BuildRequires: libpng-devel
BuildRequires: libpoppler-glib-devel
BuildRequires: libtiff-devel
@ -169,7 +167,6 @@ and search all types of files and other first class objects.
%if !%{build_extras}
%package -n %{_name}-miner-files
License: GPLv2+
Summary: Tracker miner to index files and applications
Group: System/GUI/GNOME
Requires: %{_name} = %{version}
@ -181,14 +178,13 @@ database, tag/metadata database, search tool and indexer.
This package contains a miner to index files and applications.
%package -n libtracker-extract-0_12-0
License: GPLv2+
%package -n libtracker-extract-0_14-0
Summary: Extract library for Tracker
Group: System/Libraries
Recommends: %{_name}
%glib2_gsettings_schema_requires
%description -n libtracker-extract-0_12-0
%description -n libtracker-extract-0_14-0
Tracker is a powerful desktop-neutral first class object
database, tag/metadata database, search tool and indexer.
@ -203,13 +199,12 @@ including context linking and audit trails for a file object.
It has the ability to index, store, harvest metadata, retrieve
and search all types of files and other first class objects.
%package -n libtracker-miner-0_12-0
License: GPLv2+
%package -n libtracker-miner-0_14-0
Summary: Miner library for Tracker
Group: System/Libraries
Recommends: %{_name}
%description -n libtracker-miner-0_12-0
%description -n libtracker-miner-0_14-0
Tracker is a powerful desktop-neutral first class object
database, tag/metadata database, search tool and indexer.
@ -224,13 +219,78 @@ including context linking and audit trails for a file object.
It has the ability to index, store, harvest metadata, retrieve
and search all types of files and other first class objects.
%package -n libtracker-sparql-0_12-0
License: GPLv2+
%package -n typelib-1_0-Tracker-0_14
Summary: Sparql library for Tracker -- Introspection bindings
Group: System/Libraries
%description -n typelib-1_0-Tracker-0_14
Tracker is a powerful desktop-neutral first class object
database, tag/metadata database, search tool and indexer.
It consists of a common object database that allows entities to
have an almost infinite number of properties, metadata (both
embedded/harvested as well as user definable), a comprehensive
database of keywords/tags and links to other entities.
It provides additional features for file-based objects
including context linking and audit trails for a file object.
It has the ability to index, store, harvest metadata, retrieve
and search all types of files and other first class objects.
This package provides the GObject Introspection bindings for the
sparql library for Tracker.
%package -n typelib-1_0-TrackerExtract-0_14
Summary: Extract library for Tracker -- Introspection bindings
Group: System/Libraries
%description -n typelib-1_0-TrackerExtract-0_14
Tracker is a powerful desktop-neutral first class object
database, tag/metadata database, search tool and indexer.
It consists of a common object database that allows entities to
have an almost infinite number of properties, metadata (both
embedded/harvested as well as user definable), a comprehensive
database of keywords/tags and links to other entities.
It provides additional features for file-based objects
including context linking and audit trails for a file object.
It has the ability to index, store, harvest metadata, retrieve
and search all types of files and other first class objects.
This package provides the GObject Introspection bindings for the
extract library for Tracker.
%package -n typelib-1_0-TrackerMiner-0_14
Summary: Miner library for Tracker -- Introspection bindings
Group: System/Libraries
%description -n typelib-1_0-TrackerMiner-0_14
Tracker is a powerful desktop-neutral first class object
database, tag/metadata database, search tool and indexer.
It consists of a common object database that allows entities to
have an almost infinite number of properties, metadata (both
embedded/harvested as well as user definable), a comprehensive
database of keywords/tags and links to other entities.
It provides additional features for file-based objects
including context linking and audit trails for a file object.
It has the ability to index, store, harvest metadata, retrieve
and search all types of files and other first class objects.
This package provides the GObject Introspection bindings for the
miner library for Tracker.
%package -n libtracker-sparql-0_14-0
Summary: Sparql library for Tracker
Group: System/Libraries
Recommends: %{_name}
%description -n libtracker-sparql-0_12-0
%description -n libtracker-sparql-0_14-0
Tracker is a powerful desktop-neutral first class object
database, tag/metadata database, search tool and indexer.
@ -246,12 +306,14 @@ It has the ability to index, store, harvest metadata, retrieve
and search all types of files and other first class objects.
%package -n tracker-devel
License: GPLv2+
Summary: Tracker -- Development files
Group: Development/Libraries/GNOME
Requires: libtracker-extract-0_12-0 = %{version}
Requires: libtracker-miner-0_12-0 = %{version}
Requires: libtracker-sparql-0_12-0 = %{version}
Requires: libtracker-extract-0_14-0 = %{version}
Requires: libtracker-miner-0_14-0 = %{version}
Requires: libtracker-sparql-0_14-0 = %{version}
Requires: typelib-1_0-Tracker-0_14 = %{version}
Requires: typelib-1_0-TrackerExtract-0_14 = %{version}
Requires: typelib-1_0-TrackerMiner-0_14 = %{version}
%description -n tracker-devel
Tracker is a powerful desktop-neutral first class object
@ -272,7 +334,6 @@ and search all types of files and other first class objects.
%if %{build_evo}
%package -n %{_name}-miner-evolution
License: GPLv2+
Summary: Tracker miner to index Evolution mails
Group: System/GUI/GNOME
Requires: %{_name} = %{version}
@ -295,7 +356,6 @@ mails.
%if %{build_firefox}
%package -n %{_name}-miner-firefox
License: GPLv2+
Summary: Tracker miner to index Firefox bookmarks
Group: System/GUI/GNOME
Requires: %{_name} = %{version}
@ -315,7 +375,6 @@ Firefox bookmarks.
%if %{build_miner_flickr}
%package -n %{_name}-miner-flickr
License: GPLv2+
Summary: Tracker miner to index Flickr images
Group: System/GUI/GNOME
Requires: %{_name} = %{version}
@ -330,7 +389,6 @@ This package contains a miner to index Flickr images.
%if %{build_miner_rss}
%package -n %{_name}-miner-rss
License: GPLv2+
Summary: Tracker miner to index ATOM and RSS feeds
Group: System/GUI/GNOME
Requires: %{_name} = %{version}
@ -345,7 +403,6 @@ This package contains a miner to index ATOM and RSS feeds.
%if %{build_thunderbird}
%package -n %{_name}-miner-thunderbird
License: GPLv2+
Summary: Tracker miner to index Thunderbird mails
Group: System/GUI/GNOME
Requires: %{_name} = %{version}
@ -365,7 +422,6 @@ Thunderbird mails.
%if %{build_gui}
%package -n %{_name}-gui
License: GPLv2+
Summary: Graphical User Interface for Tracker
Group: System/GUI/GNOME
Requires: %{_name} = %{version}
@ -390,7 +446,6 @@ and search all types of files and other first class objects.
%if %{build_applet}
%package -n gnome-panel-applet-tracker
License: GPLv2+
Summary: A GNOME panel applet for Tracker
Group: System/GUI/GNOME
Requires: %{_name} = %{version}
@ -410,7 +465,6 @@ This package contains a panel applet to easily use Tracker.
%if %{build_nautilus}
%package -n nautilus-extension-tracker-tags
License: GPLv2+
Summary: Tracker Plugin for Nautilus
Group: System/GUI/GNOME
Requires: %{_name} = %{version}
@ -439,7 +493,6 @@ 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
@ -520,7 +573,7 @@ rm %{buildroot}%{_datadir}/icons/hicolor/*/apps/tracker.*
%else
## Extras build: remove files from main, miner-files, devel, lang and lib subpackages
for file in `rpm -ql tracker tracker-devel tracker-miner-files libtracker-extract-0_12-0 libtracker-miner-0_12-0 libtracker-sparql-0_12-0`; do
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`; do
# do not remove directories (might contain files we want); -f to not fail if
# file doesn't exist
test ! -d %{buildroot}${file} && rm -f %{buildroot}${file}
@ -570,21 +623,21 @@ rm -rf %{buildroot}
%postun -n %{_name}-miner-files
%glib2_gsettings_schema_postun
%post -n libtracker-extract-0_12-0
%post -n libtracker-extract-0_14-0
%glib2_gsettings_schema_post
/sbin/ldconfig
%postun -n libtracker-extract-0_12-0
%postun -n libtracker-extract-0_14-0
%glib2_gsettings_schema_postun
/sbin/ldconfig
%post -n libtracker-miner-0_12-0 -p /sbin/ldconfig
%post -n libtracker-miner-0_14-0 -p /sbin/ldconfig
%postun -n libtracker-miner-0_12-0 -p /sbin/ldconfig
%postun -n libtracker-miner-0_14-0 -p /sbin/ldconfig
%post -n libtracker-sparql-0_12-0 -p /sbin/ldconfig
%post -n libtracker-sparql-0_14-0 -p /sbin/ldconfig
%postun -n libtracker-sparql-0_12-0 -p /sbin/ldconfig
%postun -n libtracker-sparql-0_14-0 -p /sbin/ldconfig
%endif # !build_extras
%if %{build_gui}
@ -627,7 +680,7 @@ rm -rf %{buildroot}
%{_libexecdir}/tracker-extract
%{_libexecdir}/tracker-store
%{_libexecdir}/tracker-writeback
%{_libdir}/tracker-0.12/
%{_libdir}/tracker-0.14/
%{_datadir}/tracker/
%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Extract.service
%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Writeback.service
@ -682,29 +735,38 @@ rm -rf %{buildroot}
%{_datadir}/tracker/miners/tracker-miner-files.desktop
%{_mandir}/man1/tracker-miner-fs.1%{ext_man}
%files -n libtracker-extract-0_12-0
%files -n libtracker-extract-0_14-0
%defattr(-,root,root)
%{_libdir}/libtracker-extract*.so.*
%{_libdir}/girepository-1.0/TrackerExtract-0.12.typelib
%{_datadir}/glib-2.0/schemas/org.freedesktop.Tracker.Extract.gschema.xml
%files -n libtracker-miner-0_12-0
%files -n libtracker-miner-0_14-0
%defattr(-,root,root)
%{_libdir}/libtracker-miner*.so.*
%{_libdir}/girepository-1.0/TrackerMiner-0.12.typelib
%files -n libtracker-sparql-0_12-0
%files -n libtracker-sparql-0_14-0
%defattr(-, root, root)
%{_libdir}/libtracker-sparql*.so.*
%{_libdir}/girepository-1.0/Tracker-0.12.typelib
%files -n typelib-1_0-Tracker-0_14
%defattr(-,root,root)
%{_libdir}/girepository-1.0/Tracker-0.14.typelib
%files -n typelib-1_0-TrackerExtract-0_14
%defattr(-,root,root)
%{_libdir}/girepository-1.0/TrackerExtract-0.14.typelib
%files -n typelib-1_0-TrackerMiner-0_14
%defattr(-,root,root)
%{_libdir}/girepository-1.0/TrackerMiner-0.14.typelib
%files -n tracker-devel
%defattr(-,root,root)
%{_libdir}/lib*.so
%{_includedir}/tracker-0.12/
%{_libdir}/pkgconfig/tracker-extract-0.12.pc
%{_libdir}/pkgconfig/tracker-miner-0.12.pc
%{_libdir}/pkgconfig/tracker-sparql-0.12.pc
%{_includedir}/tracker-0.14/
%{_libdir}/pkgconfig/tracker-extract-0.14.pc
%{_libdir}/pkgconfig/tracker-miner-0.14.pc
%{_libdir}/pkgconfig/tracker-sparql-0.14.pc
%{_datadir}/gir-1.0/*.gir
%{_datadir}/gtk-doc/html/libtracker-miner/
%{_datadir}/gtk-doc/html/libtracker-extract/

View File

@ -1,563 +0,0 @@
From 9295f5952a5d1a8ae8c461adef7e36caee01c676 Mon Sep 17 00:00:00 2001
From: Jürg Billeter <j@bitron.ch>
Date: Sun, 27 Nov 2011 14:10:21 +0000
Subject: Remove g_thread_init calls
Calling g_thread_init with GLib 2.31 requires explicit dependency on
gthread-2.0. However, g_type_init initializes threads since GLib 2.24,
so it is no longer needed.
---
Index: tracker-0.12.8/configure.ac
===================================================================
--- tracker-0.12.8.orig/configure.ac
+++ tracker-0.12.8/configure.ac
@@ -246,7 +246,6 @@ PKG_CHECK_MODULES(LIBTRACKER_EXTRACT, [$
# Check requirements for libtracker-fts
LIBTRACKER_FTS_REQUIRED="glib-2.0 >= $GLIB_REQUIRED
gio-unix-2.0 >= $GLIB_REQUIRED
- gthread-2.0 >= $GLIB_REQUIRED
sqlite3 >= $SQLITE_REQUIRED"
PKG_CHECK_MODULES(LIBTRACKER_FTS, [$LIBTRACKER_FTS_REQUIRED])
@@ -267,7 +266,6 @@ PKG_CHECK_MODULES(LIBTRACKER_SPARQL, [$L
# Check requirements for tracker-control
TRACKER_CONTROL_REQUIRED="glib-2.0 >= $GLIB_REQUIRED
gio-unix-2.0 >= $GLIB_REQUIRED
- gthread-2.0 >= $GLIB_REQUIRED
uuid"
PKG_CHECK_MODULES(TRACKER_CONTROL, [$TRACKER_CONTROL_REQUIRED])
@@ -275,7 +273,6 @@ PKG_CHECK_MODULES(TRACKER_CONTROL, [$TRA
# Check requirements for tracker-explorer
TRACKER_EXPLORER_REQUIRED="glib-2.0 >= $GLIB_REQUIRED
gio-unix-2.0 >= $GLIB_REQUIRED
- gthread-2.0 >= $GLIB_REQUIRED
gmodule-2.0 >= $GLIB_REQUIRED
gtk+-3.0 >= $GTK_REQUIRED
gee-1.0 >= $GEE_REQUIRED"
@@ -294,7 +291,6 @@ PKG_CHECK_MODULES(TRACKER_RESDUMP, [$TRA
# Check requirements for tracker-store
TRACKER_STORE_REQUIRED="glib-2.0 >= $GLIB_REQUIRED
gio-unix-2.0 >= $GLIB_REQUIRED
- gthread-2.0 >= $GLIB_REQUIRED
gmodule-2.0 >= $GLIB_REQUIRED
sqlite3 >= $SQLITE_REQUIRED"
@@ -305,7 +301,6 @@ TRACKER_STORE_LIBS="$TRACKER_STORE_LIBS
# Check requirements for tracker-extract
TRACKER_EXTRACT_REQUIRED="glib-2.0 >= $GLIB_REQUIRED
gio-unix-2.0 >= $GLIB_REQUIRED
- gthread-2.0 >= $GLIB_REQUIRED
gmodule-2.0 >= $GLIB_REQUIRED"
PKG_CHECK_MODULES(TRACKER_EXTRACT, [$TRACKER_EXTRACT_REQUIRED])
@@ -318,7 +313,6 @@ PKG_CHECK_MODULES(TRACKER_EXTRACT_MODULE
# Check requirements for tracker-writeback
TRACKER_WRITEBACK_REQUIRED="glib-2.0 >= $GLIB_REQUIRED
gio-unix-2.0 >= $GLIB_REQUIRED
- gthread-2.0 >= $GLIB_REQUIRED
gmodule-2.0 >= $GLIB_REQUIRED"
PKG_CHECK_MODULES(TRACKER_WRITEBACK, [$TRACKER_WRITEBACK_REQUIRED])
@@ -326,7 +320,6 @@ PKG_CHECK_MODULES(TRACKER_WRITEBACK, [$T
# Check requirements for tracker-miner-fs
TRACKER_MINER_FS_REQUIRED="glib-2.0 >= $GLIB_REQUIRED
gio-unix-2.0 >= $GLIB_REQUIRED
- gthread-2.0 >= $GLIB_REQUIRED
gmodule-2.0 >= $GLIB_REQUIRED"
PKG_CHECK_MODULES(TRACKER_MINER_FS, [$TRACKER_MINER_FS_REQUIRED])
@@ -429,15 +422,13 @@ TRACKER_MINER_FLICKR_LIBS="$TRACKER_MINE
# Check requirements for tracker-utils
TRACKER_UTILS_REQUIRED="glib-2.0 >= $GLIB_REQUIRED
- gio-unix-2.0 >= $GLIB_REQUIRED
- gthread-2.0 >= $GLIB_REQUIRED"
+ gio-unix-2.0 >= $GLIB_REQUIRED"
PKG_CHECK_MODULES(TRACKER_UTILS, [$TRACKER_UTILS_REQUIRED])
# Check requirements for tracker-needle
TRACKER_NEEDLE_REQUIRED="glib-2.0 >= $GLIB_REQUIRED
gio-unix-2.0 >= $GLIB_REQUIRED
- gthread-2.0 >= $GLIB_REQUIRED
gmodule-2.0 >= $GLIB_REQUIRED
gtk+-3.0 >= $GTK_REQUIRED"
@@ -448,7 +439,6 @@ PKG_CHECK_MODULES(TRACKER_NEEDLE, [$TRAC
# Check requirements for tracker-preferences
TRACKER_PREFERENCES_REQUIRED="glib-2.0 >= $GLIB_REQUIRED
gio-unix-2.0 >= $GLIB_REQUIRED
- gthread-2.0 >= $GLIB_REQUIRED
gmodule-2.0 >= $GLIB_REQUIRED
gtk+-3.0 >= $GTK_REQUIRED"
@@ -459,7 +449,6 @@ PKG_CHECK_MODULES(TRACKER_PREFERENCES, [
# Check requirements for tracker-search-bar
TRACKER_SEARCH_BAR_REQUIRED="glib-2.0 >= $GLIB_REQUIRED
gio-unix-2.0 >= $GLIB_REQUIRED
- gthread-2.0 >= $GLIB_REQUIRED
gmodule-2.0 >= $GLIB_REQUIRED
gtk+-3.0 >= $GTK_REQUIRED
gdk-pixbuf-2.0 >= $GDKPIXBUF_REQUIRED
Index: tracker-0.12.8/examples/libtracker-miner/tracker-main.c
===================================================================
--- tracker-0.12.8.orig/examples/libtracker-miner/tracker-main.c
+++ tracker-0.12.8/examples/libtracker-miner/tracker-main.c
@@ -195,10 +195,6 @@ main (int argc, char *argv[])
g_type_init ();
- if (!g_thread_supported ()) {
- g_thread_init (NULL);
- }
-
main_loop = g_main_loop_new (NULL, FALSE);
miner = tracker_miner_test_new ("test");
Index: tracker-0.12.8/src/miners/fs/tracker-main.c
===================================================================
--- tracker-0.12.8.orig/src/miners/fs/tracker-main.c
+++ tracker-0.12.8/src/miners/fs/tracker-main.c
@@ -696,10 +696,6 @@ main (gint argc, gchar *argv[])
g_type_init ();
- if (!g_thread_supported ()) {
- g_thread_init (NULL);
- }
-
setlocale (LC_ALL, "");
bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
Index: tracker-0.12.8/src/miners/rss/tracker-main.c
===================================================================
--- tracker-0.12.8.orig/src/miners/rss/tracker-main.c
+++ tracker-0.12.8/src/miners/rss/tracker-main.c
@@ -61,7 +61,6 @@ main (int argc, char **argv)
const gchar *error_message;
g_type_init ();
- g_thread_init (NULL);
setlocale (LC_ALL, "");
Index: tracker-0.12.8/src/tracker-control/tracker-control.c
===================================================================
--- tracker-0.12.8.orig/src/tracker-control/tracker-control.c
+++ tracker-0.12.8/src/tracker-control/tracker-control.c
@@ -68,10 +68,6 @@ main (int argc, char **argv)
g_type_init ();
- if (!g_thread_supported ()) {
- g_thread_init (NULL);
- }
-
/* Translators: this messagge will apper immediately after the */
/* usage string - Usage: COMMAND [OPTION]... <THIS_MESSAGE> */
context = g_option_context_new (_(" - Manage Tracker processes and data"));
Index: tracker-0.12.8/src/tracker-utils/tracker-import.c
===================================================================
--- tracker-0.12.8.orig/src/tracker-utils/tracker-import.c
+++ tracker-0.12.8/src/tracker-utils/tracker-import.c
@@ -104,10 +104,6 @@ main (int argc, char **argv)
g_type_init ();
- if (!g_thread_supported ()) {
- g_thread_init (NULL);
- }
-
connection = tracker_sparql_connection_get (NULL, &error);
if (!connection) {
Index: tracker-0.12.8/src/tracker-utils/tracker-info.c
===================================================================
--- tracker-0.12.8.orig/src/tracker-utils/tracker-info.c
+++ tracker-0.12.8/src/tracker-utils/tracker-info.c
@@ -349,10 +349,6 @@ main (int argc, char **argv)
g_type_init ();
- if (!g_thread_supported ()) {
- g_thread_init (NULL);
- }
-
connection = tracker_sparql_connection_get (NULL, &error);
if (!connection) {
Index: tracker-0.12.8/src/tracker-utils/tracker-search.c
===================================================================
--- tracker-0.12.8.orig/src/tracker-utils/tracker-search.c
+++ tracker-0.12.8/src/tracker-utils/tracker-search.c
@@ -1465,10 +1465,6 @@ main (int argc, char **argv)
g_type_init ();
- if (!g_thread_supported ()) {
- g_thread_init (NULL);
- }
-
#if HAVE_TRACKER_FTS
/* Only check stopwords if FTS is enabled */
Index: tracker-0.12.8/src/tracker-utils/tracker-sparql.c
===================================================================
--- tracker-0.12.8.orig/src/tracker-utils/tracker-sparql.c
+++ tracker-0.12.8/src/tracker-utils/tracker-sparql.c
@@ -280,10 +280,6 @@ main (int argc, char **argv)
g_type_init ();
- if (!g_thread_supported ()) {
- g_thread_init (NULL);
- }
-
connection = tracker_sparql_connection_get (NULL, &error);
if (!connection) {
Index: tracker-0.12.8/src/tracker-utils/tracker-stats.c
===================================================================
--- tracker-0.12.8.orig/src/tracker-utils/tracker-stats.c
+++ tracker-0.12.8/src/tracker-utils/tracker-stats.c
@@ -81,10 +81,6 @@ main (int argc, char **argv)
g_type_init ();
- if (!g_thread_supported ()) {
- g_thread_init (NULL);
- }
-
connection = tracker_sparql_connection_get (NULL, &error);
if (!connection) {
Index: tracker-0.12.8/src/tracker-utils/tracker-tag.c
===================================================================
--- tracker-0.12.8.orig/src/tracker-utils/tracker-tag.c
+++ tracker-0.12.8/src/tracker-utils/tracker-tag.c
@@ -933,10 +933,6 @@ main (int argc, char **argv)
g_type_init ();
- if (!g_thread_supported ()) {
- g_thread_init (NULL);
- }
-
connection = tracker_sparql_connection_get (NULL, &error);
if (!connection) {
Index: tracker-0.12.8/src/tracker-writeback/tracker-main.c
===================================================================
--- tracker-0.12.8.orig/src/tracker-writeback/tracker-main.c
+++ tracker-0.12.8/src/tracker-writeback/tracker-main.c
@@ -85,8 +85,6 @@ main (int argc,
gchar *log_filename;
guint shutdown_timeout;
- g_thread_init (NULL);
-
g_type_init ();
/* Set up locale */
Index: tracker-0.12.8/tests/gvdb/gvdb-test.c
===================================================================
--- tracker-0.12.8.orig/tests/gvdb/gvdb-test.c
+++ tracker-0.12.8/tests/gvdb/gvdb-test.c
@@ -234,7 +234,6 @@ gint
main (gint argc, gchar **argv)
{
g_type_init ();
- g_thread_init (NULL);
g_test_init (&argc, &argv, NULL);
Index: tracker-0.12.8/tests/libtracker-common/tracker-dbus-test.c
===================================================================
--- tracker-0.12.8.orig/tests/libtracker-common/tracker-dbus-test.c
+++ tracker-0.12.8/tests/libtracker-common/tracker-dbus-test.c
@@ -289,7 +289,6 @@ main (int argc, char **argv) {
gint result;
g_type_init ();
- g_thread_init (NULL);
g_test_init (&argc, &argv, NULL);
/*
Index: tracker-0.12.8/tests/libtracker-data/tracker-backup-test.c
===================================================================
--- tracker-0.12.8.orig/tests/libtracker-data/tracker-backup-test.c
+++ tracker-0.12.8/tests/libtracker-data/tracker-backup-test.c
@@ -219,10 +219,6 @@ main (int argc, char **argv)
g_type_init ();
- if (!g_thread_supported ()) {
- g_thread_init (NULL);
- }
-
g_test_init (&argc, &argv, NULL);
current_dir = g_get_current_dir ();
Index: tracker-0.12.8/tests/libtracker-data/tracker-db-journal.c
===================================================================
--- tracker-0.12.8.orig/tests/libtracker-data/tracker-db-journal.c
+++ tracker-0.12.8/tests/libtracker-data/tracker-db-journal.c
@@ -366,7 +366,6 @@ main (int argc, char **argv)
int result;
g_type_init ();
- g_thread_init (NULL);
g_test_init (&argc, &argv, NULL);
#ifndef DISABLE_JOURNAL
Index: tracker-0.12.8/tests/libtracker-data/tracker-ontology-change-test.c
===================================================================
--- tracker-0.12.8.orig/tests/libtracker-data/tracker-ontology-change-test.c
+++ tracker-0.12.8/tests/libtracker-data/tracker-ontology-change-test.c
@@ -314,10 +314,6 @@ main (int argc, char **argv)
g_type_init ();
- if (!g_thread_supported ()) {
- g_thread_init (NULL);
- }
-
g_test_init (&argc, &argv, NULL);
data_dir = g_build_filename (g_get_current_dir (), "test-cache", NULL);
Index: tracker-0.12.8/tests/libtracker-data/tracker-ontology-test.c
===================================================================
--- tracker-0.12.8.orig/tests/libtracker-data/tracker-ontology-test.c
+++ tracker-0.12.8/tests/libtracker-data/tracker-ontology-test.c
@@ -278,10 +278,6 @@ main (int argc, char **argv)
g_type_init ();
- if (!g_thread_supported ()) {
- g_thread_init (NULL);
- }
-
g_test_init (&argc, &argv, NULL);
data_dir = g_build_filename (g_get_current_dir (), "test-cache", NULL);
Index: tracker-0.12.8/tests/libtracker-data/tracker-sparql-blank-test.c
===================================================================
--- tracker-0.12.8.orig/tests/libtracker-data/tracker-sparql-blank-test.c
+++ tracker-0.12.8/tests/libtracker-data/tracker-sparql-blank-test.c
@@ -127,10 +127,6 @@ main (int argc, char **argv)
g_type_init ();
- if (!g_thread_supported ()) {
- g_thread_init (NULL);
- }
-
g_test_init (&argc, &argv, NULL);
current_dir = g_get_current_dir ();
Index: tracker-0.12.8/tests/libtracker-data/tracker-sparql-test.c
===================================================================
--- tracker-0.12.8.orig/tests/libtracker-data/tracker-sparql-test.c
+++ tracker-0.12.8/tests/libtracker-data/tracker-sparql-test.c
@@ -326,10 +326,6 @@ main (int argc, char **argv)
g_type_init ();
- if (!g_thread_supported ()) {
- g_thread_init (NULL);
- }
-
g_test_init (&argc, &argv, NULL);
setlocale (LC_COLLATE, "en_US.utf8");
Index: tracker-0.12.8/tests/libtracker-extract/tracker-test-xmp.c
===================================================================
--- tracker-0.12.8.orig/tests/libtracker-extract/tracker-test-xmp.c
+++ tracker-0.12.8/tests/libtracker-extract/tracker-test-xmp.c
@@ -598,7 +598,6 @@ main (int argc,
gint result;
g_type_init ();
- g_thread_init (NULL);
g_test_init (&argc, &argv, NULL);
g_test_message ("Testing XMP");
Index: tracker-0.12.8/tests/libtracker-fts/tracker-fts-test.c
===================================================================
--- tracker-0.12.8.orig/tests/libtracker-fts/tracker-fts-test.c
+++ tracker-0.12.8/tests/libtracker-fts/tracker-fts-test.c
@@ -183,10 +183,6 @@ main (int argc, char **argv)
g_type_init ();
- if (!g_thread_supported ()) {
- g_thread_init (NULL);
- }
-
g_test_init (&argc, &argv, NULL);
current_dir = g_get_current_dir ();
Index: tracker-0.12.8/tests/libtracker-fts/tracker-parser-test.c
===================================================================
--- tracker-0.12.8.orig/tests/libtracker-fts/tracker-parser-test.c
+++ tracker-0.12.8/tests/libtracker-fts/tracker-parser-test.c
@@ -349,9 +349,6 @@ main (int argc, char **argv)
gint i;
g_type_init ();
- if (!g_thread_supported ()) {
- g_thread_init (NULL);
- }
g_test_init (&argc, &argv, NULL);
/* We want the tests to properly find the stopwords dictionaries, so we
Index: tracker-0.12.8/tests/libtracker-fts/tracker-parser.c
===================================================================
--- tracker-0.12.8.orig/tests/libtracker-fts/tracker-parser.c
+++ tracker-0.12.8/tests/libtracker-fts/tracker-parser.c
@@ -221,9 +221,6 @@ int
main (int argc, char **argv)
{
g_type_init ();
- if (!g_thread_supported ()) {
- g_thread_init (NULL);
- }
/* Setup locale */
setlocale (LC_ALL, "");
Index: tracker-0.12.8/tests/libtracker-miner/tracker-crawler-test.c
===================================================================
--- tracker-0.12.8.orig/tests/libtracker-miner/tracker-crawler-test.c
+++ tracker-0.12.8/tests/libtracker-miner/tracker-crawler-test.c
@@ -320,7 +320,6 @@ main (int argc,
char **argv)
{
g_type_init ();
- g_thread_init (NULL);
g_test_init (&argc, &argv, NULL);
g_test_message ("Testing filesystem crawler");
Index: tracker-0.12.8/tests/libtracker-miner/tracker-miner-manager-test.c
===================================================================
--- tracker-0.12.8.orig/tests/libtracker-miner/tracker-miner-manager-test.c
+++ tracker-0.12.8/tests/libtracker-miner/tracker-miner-manager-test.c
@@ -138,7 +138,6 @@ main (int argc,
gint result;
g_type_init ();
- g_thread_init (NULL);
g_test_init (&argc, &argv, NULL);
g_test_message ("Testing miner manager");
Index: tracker-0.12.8/tests/libtracker-miner/tracker-monitor-test.c
===================================================================
--- tracker-0.12.8.orig/tests/libtracker-miner/tracker-monitor-test.c
+++ tracker-0.12.8/tests/libtracker-miner/tracker-monitor-test.c
@@ -1874,7 +1874,6 @@ gint
main (gint argc,
gchar **argv)
{
- g_thread_init (NULL);
g_type_init ();
g_test_init (&argc, &argv, NULL);
Index: tracker-0.12.8/tests/libtracker-miner/tracker-password-provider-test.c
===================================================================
--- tracker-0.12.8.orig/tests/libtracker-miner/tracker-password-provider-test.c
+++ tracker-0.12.8/tests/libtracker-miner/tracker-password-provider-test.c
@@ -106,7 +106,6 @@ main (int argc, char **argv)
g_type_init ();
- g_thread_init (NULL);
g_test_init (&argc, &argv, NULL);
/* Set test environment up */
Index: tracker-0.12.8/tests/libtracker-miner/tracker-priority-queue-test.c
===================================================================
--- tracker-0.12.8.orig/tests/libtracker-miner/tracker-priority-queue-test.c
+++ tracker-0.12.8/tests/libtracker-miner/tracker-priority-queue-test.c
@@ -226,7 +226,6 @@ main (int argc,
char **argv)
{
g_type_init ();
- g_thread_init (NULL);
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/libtracker-miner/tracker-priority-queue/emptiness",
Index: tracker-0.12.8/tests/libtracker-miner/tracker-task-pool-test.c
===================================================================
--- tracker-0.12.8.orig/tests/libtracker-miner/tracker-task-pool-test.c
+++ tracker-0.12.8/tests/libtracker-miner/tracker-task-pool-test.c
@@ -161,7 +161,6 @@ gint
main (gint argc, gchar **argv)
{
g_type_init ();
- g_thread_init (NULL);
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/libtracker-miner/tracker-task-pool/limit_set",
Index: tracker-0.12.8/tests/libtracker-miner/tracker-thumbnailer-test.c
===================================================================
--- tracker-0.12.8.orig/tests/libtracker-miner/tracker-thumbnailer-test.c
+++ tracker-0.12.8/tests/libtracker-miner/tracker-thumbnailer-test.c
@@ -133,7 +133,6 @@ main (int argc,
char **argv)
{
g_type_init ();
- g_thread_init (NULL);
g_test_init (&argc, &argv, NULL);
g_test_message ("Testing thumbnailer");
Index: tracker-0.12.8/tests/libtracker-sparql/tracker-test.c
===================================================================
--- tracker-0.12.8.orig/tests/libtracker-sparql/tracker-test.c
+++ tracker-0.12.8/tests/libtracker-sparql/tracker-test.c
@@ -357,7 +357,6 @@ main (gint argc, gchar **argv)
{
int result;
- g_thread_init (NULL);
g_type_init ();
g_test_init (&argc, &argv, NULL);
Index: tracker-0.12.8/utils/mtp/mtp-dummy.c
===================================================================
--- tracker-0.12.8.orig/utils/mtp/mtp-dummy.c
+++ tracker-0.12.8/utils/mtp/mtp-dummy.c
@@ -530,7 +530,6 @@ check_duplicates (void)
int main (int argc, char **argv)
{
/* Initialize stuff */
- g_thread_init (NULL);
g_type_init ();
/* Initialize locale support! */
Index: tracker-0.12.8/utils/tracker-sql/tracker-sql.c
===================================================================
--- tracker-0.12.8.orig/utils/tracker-sql/tracker-sql.c
+++ tracker-0.12.8/utils/tracker-sql/tracker-sql.c
@@ -92,9 +92,6 @@ main (int argc, char **argv)
g_option_context_free (context);
g_type_init ();
- if (!g_thread_supported ()) {
- g_thread_init (NULL);
- }
if (file) {
gchar *path_in_utf8;
Index: tracker-0.12.8/src/miners/flickr/tracker-miner-flickr.c
===================================================================
--- tracker-0.12.8.orig/src/miners/flickr/tracker-miner-flickr.c
+++ tracker-0.12.8/src/miners/flickr/tracker-miner-flickr.c
@@ -6648,8 +6648,6 @@ gint tracker_miner_flickr_main (gchar**
int main (int argc, char ** argv) {
#line 950 "/home/martyn/Source/tracker/src/miners/flickr/tracker-miner-flickr.vala"
- g_thread_init (NULL);
-#line 950 "/home/martyn/Source/tracker/src/miners/flickr/tracker-miner-flickr.vala"
g_type_init ();
#line 950 "/home/martyn/Source/tracker/src/miners/flickr/tracker-miner-flickr.vala"
return tracker_miner_flickr_main (argv, argc);

View File

@ -1,9 +1,40 @@
-------------------------------------------------------------------
Thu Jan 19 08:48:55 UTC 2012 - vuntz@opensuse.org
- Add libjpeg-devel BuildRequires for non-extras builds to build
JPEG support in extractors.
-------------------------------------------------------------------
Fri Dec 16 11:12:46 UTC 2011 - dimstar@opensuse.org
- Update to version 0.13.0:
+ New Feature: CUE sheet parsing is now supported
+ libtracker-common: New env var TRACKER_USE_CONFIG_FILES to
output ini files instead of use GSettings is available
+ libtracker-miner:
- Updated TrackerMinerFS (breaks API/ABI)
- Introducing TrackerIndexingTree (to use with TrackerMinerFS)
- Albumart renamed to Media art and refactored
+ tracker-miner-fs: Refactored, mtime checks are +50% faster and
indexing slightly improved
+ Removed GLib unicode parser: it was sub-optimal and unused.
+ Many other fixes.
+ Updted translations.
- Drop tracker-g_thread.patch: fixed upstream.
- Change License tag to spdx identifier.
- Rename library packages from *-0_12-0 to *-0_14-0. following
upstream SONAME changes.
- Split typelib files out into typelib-1_0-Tracker-0_14,
typelib-1_0-TrackerExtract-0_14 and
typelib-1_0-TrackerMiner-0_14 subpackages.
- Add Requires for new typelib subpackages to devel subpackage.
-------------------------------------------------------------------
Fri Dec 2 01:11:48 UTC 2011 - dimstar@opensuse.org
- Disable evo plugins for now: %define build_evo 0:
e-d-s had some major API changes on the camel store and tracker
needs to catch up on this again,
needs to catch up on this again.
-------------------------------------------------------------------
Sat Nov 26 17:48:05 UTC 2011 - dimstar@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package tracker
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2010 Luis Medinas, Portugal
#
# All modifications and additions to the file contributed by third parties
@ -48,23 +48,21 @@
Name: tracker
%define _name tracker
Version: 0.12.8
Release: 1
Version: 0.13.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...
License: GPLv2+
Summary: Powerful object database, tag/metadata database, search tool and indexer
Url: http://projects.gnome.org/tracker/
License: GPL-2.0+
Group: Productivity/Other
Source0: http://download.gnome.org/sources/tracker/0.12/%{_name}-%{version}.tar.xz
Url: http://projects.gnome.org/tracker/
Source0: http://download.gnome.org/sources/tracker/0.13/%{_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-g_thread.patch dimstar@opensuse.org -- Remobe g_thread_init calls. Patch taken from upstream git.
Patch3: tracker-g_thread.patch
BuildRequires: NetworkManager-devel >= 0.8
BuildRequires: enca-devel
BuildRequires: fdupes
@ -101,6 +99,7 @@ BuildRequires: libgsf-devel
BuildRequires: libgupnp-dlna-devel >= 0.5
%endif
BuildRequires: libiptcdata-devel
BuildRequires: libjpeg-devel
BuildRequires: libpng-devel
BuildRequires: libpoppler-glib-devel
BuildRequires: libtiff-devel
@ -167,7 +166,6 @@ and search all types of files and other first class objects.
%if !%{build_extras}
%package -n %{_name}-miner-files
License: GPLv2+
Summary: Tracker miner to index files and applications
Group: System/GUI/GNOME
Requires: %{_name} = %{version}
@ -179,14 +177,13 @@ database, tag/metadata database, search tool and indexer.
This package contains a miner to index files and applications.
%package -n libtracker-extract-0_12-0
License: GPLv2+
%package -n libtracker-extract-0_14-0
Summary: Extract library for Tracker
Group: System/Libraries
Recommends: %{_name}
%glib2_gsettings_schema_requires
%description -n libtracker-extract-0_12-0
%description -n libtracker-extract-0_14-0
Tracker is a powerful desktop-neutral first class object
database, tag/metadata database, search tool and indexer.
@ -201,13 +198,12 @@ including context linking and audit trails for a file object.
It has the ability to index, store, harvest metadata, retrieve
and search all types of files and other first class objects.
%package -n libtracker-miner-0_12-0
License: GPLv2+
%package -n libtracker-miner-0_14-0
Summary: Miner library for Tracker
Group: System/Libraries
Recommends: %{_name}
%description -n libtracker-miner-0_12-0
%description -n libtracker-miner-0_14-0
Tracker is a powerful desktop-neutral first class object
database, tag/metadata database, search tool and indexer.
@ -222,13 +218,78 @@ including context linking and audit trails for a file object.
It has the ability to index, store, harvest metadata, retrieve
and search all types of files and other first class objects.
%package -n libtracker-sparql-0_12-0
License: GPLv2+
%package -n typelib-1_0-Tracker-0_14
Summary: Sparql library for Tracker -- Introspection bindings
Group: System/Libraries
%description -n typelib-1_0-Tracker-0_14
Tracker is a powerful desktop-neutral first class object
database, tag/metadata database, search tool and indexer.
It consists of a common object database that allows entities to
have an almost infinite number of properties, metadata (both
embedded/harvested as well as user definable), a comprehensive
database of keywords/tags and links to other entities.
It provides additional features for file-based objects
including context linking and audit trails for a file object.
It has the ability to index, store, harvest metadata, retrieve
and search all types of files and other first class objects.
This package provides the GObject Introspection bindings for the
sparql library for Tracker.
%package -n typelib-1_0-TrackerExtract-0_14
Summary: Extract library for Tracker -- Introspection bindings
Group: System/Libraries
%description -n typelib-1_0-TrackerExtract-0_14
Tracker is a powerful desktop-neutral first class object
database, tag/metadata database, search tool and indexer.
It consists of a common object database that allows entities to
have an almost infinite number of properties, metadata (both
embedded/harvested as well as user definable), a comprehensive
database of keywords/tags and links to other entities.
It provides additional features for file-based objects
including context linking and audit trails for a file object.
It has the ability to index, store, harvest metadata, retrieve
and search all types of files and other first class objects.
This package provides the GObject Introspection bindings for the
extract library for Tracker.
%package -n typelib-1_0-TrackerMiner-0_14
Summary: Miner library for Tracker -- Introspection bindings
Group: System/Libraries
%description -n typelib-1_0-TrackerMiner-0_14
Tracker is a powerful desktop-neutral first class object
database, tag/metadata database, search tool and indexer.
It consists of a common object database that allows entities to
have an almost infinite number of properties, metadata (both
embedded/harvested as well as user definable), a comprehensive
database of keywords/tags and links to other entities.
It provides additional features for file-based objects
including context linking and audit trails for a file object.
It has the ability to index, store, harvest metadata, retrieve
and search all types of files and other first class objects.
This package provides the GObject Introspection bindings for the
miner library for Tracker.
%package -n libtracker-sparql-0_14-0
Summary: Sparql library for Tracker
Group: System/Libraries
Recommends: %{_name}
%description -n libtracker-sparql-0_12-0
%description -n libtracker-sparql-0_14-0
Tracker is a powerful desktop-neutral first class object
database, tag/metadata database, search tool and indexer.
@ -244,12 +305,14 @@ It has the ability to index, store, harvest metadata, retrieve
and search all types of files and other first class objects.
%package -n tracker-devel
License: GPLv2+
Summary: Tracker -- Development files
Group: Development/Libraries/GNOME
Requires: libtracker-extract-0_12-0 = %{version}
Requires: libtracker-miner-0_12-0 = %{version}
Requires: libtracker-sparql-0_12-0 = %{version}
Requires: libtracker-extract-0_14-0 = %{version}
Requires: libtracker-miner-0_14-0 = %{version}
Requires: libtracker-sparql-0_14-0 = %{version}
Requires: typelib-1_0-Tracker-0_14 = %{version}
Requires: typelib-1_0-TrackerExtract-0_14 = %{version}
Requires: typelib-1_0-TrackerMiner-0_14 = %{version}
%description -n tracker-devel
Tracker is a powerful desktop-neutral first class object
@ -270,7 +333,6 @@ and search all types of files and other first class objects.
%if %{build_evo}
%package -n %{_name}-miner-evolution
License: GPLv2+
Summary: Tracker miner to index Evolution mails
Group: System/GUI/GNOME
Requires: %{_name} = %{version}
@ -293,7 +355,6 @@ mails.
%if %{build_firefox}
%package -n %{_name}-miner-firefox
License: GPLv2+
Summary: Tracker miner to index Firefox bookmarks
Group: System/GUI/GNOME
Requires: %{_name} = %{version}
@ -313,7 +374,6 @@ Firefox bookmarks.
%if %{build_miner_flickr}
%package -n %{_name}-miner-flickr
License: GPLv2+
Summary: Tracker miner to index Flickr images
Group: System/GUI/GNOME
Requires: %{_name} = %{version}
@ -328,7 +388,6 @@ This package contains a miner to index Flickr images.
%if %{build_miner_rss}
%package -n %{_name}-miner-rss
License: GPLv2+
Summary: Tracker miner to index ATOM and RSS feeds
Group: System/GUI/GNOME
Requires: %{_name} = %{version}
@ -343,7 +402,6 @@ This package contains a miner to index ATOM and RSS feeds.
%if %{build_thunderbird}
%package -n %{_name}-miner-thunderbird
License: GPLv2+
Summary: Tracker miner to index Thunderbird mails
Group: System/GUI/GNOME
Requires: %{_name} = %{version}
@ -363,7 +421,6 @@ Thunderbird mails.
%if %{build_gui}
%package -n %{_name}-gui
License: GPLv2+
Summary: Graphical User Interface for Tracker
Group: System/GUI/GNOME
Requires: %{_name} = %{version}
@ -388,7 +445,6 @@ and search all types of files and other first class objects.
%if %{build_applet}
%package -n gnome-panel-applet-tracker
License: GPLv2+
Summary: A GNOME panel applet for Tracker
Group: System/GUI/GNOME
Requires: %{_name} = %{version}
@ -408,7 +464,6 @@ This package contains a panel applet to easily use Tracker.
%if %{build_nautilus}
%package -n nautilus-extension-tracker-tags
License: GPLv2+
Summary: Tracker Plugin for Nautilus
Group: System/GUI/GNOME
Requires: %{_name} = %{version}
@ -437,7 +492,6 @@ 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
@ -518,7 +572,7 @@ rm %{buildroot}%{_datadir}/icons/hicolor/*/apps/tracker.*
%else
## Extras build: remove files from main, miner-files, devel, lang and lib subpackages
for file in `rpm -ql tracker tracker-devel tracker-miner-files libtracker-extract-0_12-0 libtracker-miner-0_12-0 libtracker-sparql-0_12-0`; do
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`; do
# do not remove directories (might contain files we want); -f to not fail if
# file doesn't exist
test ! -d %{buildroot}${file} && rm -f %{buildroot}${file}
@ -568,21 +622,21 @@ rm -rf %{buildroot}
%postun -n %{_name}-miner-files
%glib2_gsettings_schema_postun
%post -n libtracker-extract-0_12-0
%post -n libtracker-extract-0_14-0
%glib2_gsettings_schema_post
/sbin/ldconfig
%postun -n libtracker-extract-0_12-0
%postun -n libtracker-extract-0_14-0
%glib2_gsettings_schema_postun
/sbin/ldconfig
%post -n libtracker-miner-0_12-0 -p /sbin/ldconfig
%post -n libtracker-miner-0_14-0 -p /sbin/ldconfig
%postun -n libtracker-miner-0_12-0 -p /sbin/ldconfig
%postun -n libtracker-miner-0_14-0 -p /sbin/ldconfig
%post -n libtracker-sparql-0_12-0 -p /sbin/ldconfig
%post -n libtracker-sparql-0_14-0 -p /sbin/ldconfig
%postun -n libtracker-sparql-0_12-0 -p /sbin/ldconfig
%postun -n libtracker-sparql-0_14-0 -p /sbin/ldconfig
%endif # !build_extras
%if %{build_gui}
@ -625,7 +679,7 @@ rm -rf %{buildroot}
%{_libexecdir}/tracker-extract
%{_libexecdir}/tracker-store
%{_libexecdir}/tracker-writeback
%{_libdir}/tracker-0.12/
%{_libdir}/tracker-0.14/
%{_datadir}/tracker/
%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Extract.service
%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Writeback.service
@ -680,29 +734,38 @@ rm -rf %{buildroot}
%{_datadir}/tracker/miners/tracker-miner-files.desktop
%{_mandir}/man1/tracker-miner-fs.1%{ext_man}
%files -n libtracker-extract-0_12-0
%files -n libtracker-extract-0_14-0
%defattr(-,root,root)
%{_libdir}/libtracker-extract*.so.*
%{_libdir}/girepository-1.0/TrackerExtract-0.12.typelib
%{_datadir}/glib-2.0/schemas/org.freedesktop.Tracker.Extract.gschema.xml
%files -n libtracker-miner-0_12-0
%files -n libtracker-miner-0_14-0
%defattr(-,root,root)
%{_libdir}/libtracker-miner*.so.*
%{_libdir}/girepository-1.0/TrackerMiner-0.12.typelib
%files -n libtracker-sparql-0_12-0
%files -n libtracker-sparql-0_14-0
%defattr(-, root, root)
%{_libdir}/libtracker-sparql*.so.*
%{_libdir}/girepository-1.0/Tracker-0.12.typelib
%files -n typelib-1_0-Tracker-0_14
%defattr(-,root,root)
%{_libdir}/girepository-1.0/Tracker-0.14.typelib
%files -n typelib-1_0-TrackerExtract-0_14
%defattr(-,root,root)
%{_libdir}/girepository-1.0/TrackerExtract-0.14.typelib
%files -n typelib-1_0-TrackerMiner-0_14
%defattr(-,root,root)
%{_libdir}/girepository-1.0/TrackerMiner-0.14.typelib
%files -n tracker-devel
%defattr(-,root,root)
%{_libdir}/lib*.so
%{_includedir}/tracker-0.12/
%{_libdir}/pkgconfig/tracker-extract-0.12.pc
%{_libdir}/pkgconfig/tracker-miner-0.12.pc
%{_libdir}/pkgconfig/tracker-sparql-0.12.pc
%{_includedir}/tracker-0.14/
%{_libdir}/pkgconfig/tracker-extract-0.14.pc
%{_libdir}/pkgconfig/tracker-miner-0.14.pc
%{_libdir}/pkgconfig/tracker-sparql-0.14.pc
%{_datadir}/gir-1.0/*.gir
%{_datadir}/gtk-doc/html/libtracker-miner/
%{_datadir}/gtk-doc/html/libtracker-extract/