Accepting request 159918 from home:dimstar:branches:GNOME:Factory
Bjorns nitpick OBS-URL: https://build.opensuse.org/request/show/159918 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/tracker?expand=0&rev=29
This commit is contained in:
parent
34a8f8b1de
commit
09871775cc
@ -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
|
@ -1,94 +0,0 @@
|
||||
diff --git a/src/tracker-extract/tracker-extract-gif.c b/src/tracker-extract/tracker-extract-gif.c
|
||||
index ce69ed4..e0d1e88 100644
|
||||
--- a/src/tracker-extract/tracker-extract-gif.c
|
||||
+++ b/src/tracker-extract/tracker-extract-gif.c
|
||||
@@ -75,6 +75,18 @@ ext_block_append(ExtBlock *extBlock,
|
||||
return (GIF_OK);
|
||||
}
|
||||
|
||||
+#if GIFLIB_MAJOR >= 5
|
||||
+static void
|
||||
+gif_error(int err)
|
||||
+{
|
||||
+ const char * Err = GifErrorString(err);
|
||||
+ if (Err != NULL)
|
||||
+ fprintf(stderr, "\nGIF-LIB error: %s.\n", Err);
|
||||
+ else
|
||||
+ fprintf(stderr, "\nGIF-LIB undefined error %d.\n", err);
|
||||
+}
|
||||
+#endif
|
||||
+
|
||||
static void
|
||||
read_metadata (TrackerSparqlBuilder *preupdate,
|
||||
TrackerSparqlBuilder *metadata,
|
||||
@@ -100,14 +112,22 @@ read_metadata (TrackerSparqlBuilder *preupdate,
|
||||
ExtBlock extBlock;
|
||||
|
||||
if (DGifGetRecordType(gifFile, &RecordType) == GIF_ERROR) {
|
||||
+#if GIFLIB_MAJOR < 5
|
||||
PrintGifError();
|
||||
+#else
|
||||
+ gif_error(gifFile->Error);
|
||||
+#endif
|
||||
return;
|
||||
}
|
||||
|
||||
switch (RecordType) {
|
||||
case IMAGE_DESC_RECORD_TYPE:
|
||||
if (DGifGetImageDesc(gifFile) == GIF_ERROR) {
|
||||
+#if GIFLIB_MAJOR < 5
|
||||
PrintGifError();
|
||||
+#else
|
||||
+ gif_error(gifFile->Error);
|
||||
+#endif
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -117,7 +137,11 @@ read_metadata (TrackerSparqlBuilder *preupdate,
|
||||
framedata = g_malloc (framewidth*frameheight);
|
||||
|
||||
if (DGifGetLine(gifFile, framedata, framewidth*frameheight)==GIF_ERROR) {
|
||||
+#if GIFLIB_MAJOR < 5
|
||||
PrintGifError();
|
||||
+#else
|
||||
+ gif_error(gifFile->Error);
|
||||
+#endif
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -593,6 +617,9 @@ tracker_extract_get_metadata (TrackerExtractInfo *info)
|
||||
gchar *filename, *uri;
|
||||
GFile *file;
|
||||
int fd;
|
||||
+#if GIFLIB_MAJOR >= 5
|
||||
+ int err;
|
||||
+#endif
|
||||
|
||||
preupdate = tracker_extract_info_get_preupdate_builder (info);
|
||||
metadata = tracker_extract_info_get_metadata_builder (info);
|
||||
@@ -617,8 +644,13 @@ tracker_extract_get_metadata (TrackerExtractInfo *info)
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
+#if GIFLIB_MAJOR < 5
|
||||
if ((gifFile = DGifOpenFileHandle (fd)) == NULL) {
|
||||
PrintGifError ();
|
||||
+#else
|
||||
+ if ((gifFile = DGifOpenFileHandle (fd, &err)) == NULL) {
|
||||
+ gif_error(err);
|
||||
+#endif
|
||||
close (fd);
|
||||
return FALSE;
|
||||
}
|
||||
@@ -639,7 +671,11 @@ tracker_extract_get_metadata (TrackerExtractInfo *info)
|
||||
g_free (uri);
|
||||
|
||||
if (DGifCloseFile (gifFile) != GIF_OK) {
|
||||
+#if GIFLIB_MAJOR < 5
|
||||
PrintGifError ();
|
||||
+#else
|
||||
+ gif_error(gifFile->Error);
|
||||
+#endif
|
||||
}
|
||||
|
||||
return TRUE;
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:32828209cd5c331aea310df938c3051b7616f637bbfeefedad58db46b0122875
|
||||
size 5990952
|
3
tracker-0.16.0.tar.xz
Normal file
3
tracker-0.16.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:299c6a180370522d1d794c184aaef8d8222d3f737d564b8e5ca25b8751470c4f
|
||||
size 5921104
|
@ -1,3 +1,38 @@
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
|
@ -20,20 +20,16 @@
|
||||
%define build_extras 1
|
||||
|
||||
%if !%{build_extras}
|
||||
%define build_applet 0
|
||||
%define build_evo 0
|
||||
%define build_firefox 0
|
||||
%define build_gui 0
|
||||
%define build_miner_flickr 0
|
||||
%define build_miner_rss 0
|
||||
%define build_nautilus 0
|
||||
%define build_thunderbird 0
|
||||
%else
|
||||
%define build_applet 1
|
||||
%define build_evo 0
|
||||
%define build_firefox 1
|
||||
%define build_gui 1
|
||||
%define build_miner_flickr 1
|
||||
%define build_miner_rss 1
|
||||
%define build_nautilus 1
|
||||
%if 0%{?suse_version} > 1140
|
||||
@ -49,7 +45,7 @@
|
||||
# Do not edit this auto generated file! Edit tracker.spec.
|
||||
Name: tracker-extras
|
||||
%define _name tracker
|
||||
Version: 0.15.4
|
||||
Version: 0.16.0
|
||||
Release: 0
|
||||
%define TrackerAPI 0.16
|
||||
%define RPMTrackerAPI 0_16
|
||||
@ -57,11 +53,8 @@ Summary: Powerful object database, tag/metadata database, search tool and
|
||||
License: GPL-2.0+
|
||||
Group: Productivity/Other
|
||||
Url: http://projects.gnome.org/tracker/
|
||||
Source0: http://download.gnome.org/sources/tracker/0.15/%{_name}-%{version}.tar.xz
|
||||
Source1: README.SUSE.flickr
|
||||
Source0: http://download.gnome.org/sources/tracker/0.16/%{_name}-%{version}.tar.xz
|
||||
Source2: README.SUSE.rss
|
||||
# PATCH-FIX-UPSTREAM tracker-0.14.4-giflib5.patch bgo#695769 dimstar@opensuse.org -- Fix build with giglib 5.0.x
|
||||
Patch0: tracker-0.14.4-giflib5.patch
|
||||
BuildRequires: NetworkManager-devel >= 0.8
|
||||
BuildRequires: enca-devel
|
||||
BuildRequires: fdupes
|
||||
@ -115,9 +108,6 @@ BuildRequires: tracker = %{version}
|
||||
BuildRequires: tracker-devel
|
||||
BuildRequires: tracker-miner-files
|
||||
%endif # !build_extras
|
||||
%if %{build_applet}
|
||||
BuildRequires: pkgconfig(libpanelapplet-4.0)
|
||||
%endif
|
||||
%if %{build_evo}
|
||||
BuildRequires: evolution-data-server-devel
|
||||
BuildRequires: evolution-devel
|
||||
@ -129,9 +119,6 @@ BuildRequires: MozillaFirefox
|
||||
%if %{build_gui}
|
||||
BuildRequires: gtk3-devel
|
||||
%endif
|
||||
%if %{build_miner_flickr}
|
||||
BuildRequires: pkgconfig(rest-0.7) >= 0.6
|
||||
%endif
|
||||
%if %{build_miner_rss}
|
||||
BuildRequires: libgrss-devel >= 0.5
|
||||
%endif
|
||||
@ -145,6 +132,10 @@ BuildRequires: MozillaThunderbird
|
||||
Recommends: %{_name}-lang
|
||||
# We want to index files by default, if possible
|
||||
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
|
||||
%glib2_gsettings_schema_requires
|
||||
|
||||
@ -393,20 +384,6 @@ This package contains a Firefox extension that will index
|
||||
Firefox bookmarks.
|
||||
%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}
|
||||
|
||||
%package -n %{_name}-miner-rss
|
||||
@ -464,25 +441,6 @@ It has the ability to index, store, harvest metadata, retrieve
|
||||
and search all types of files and other first class objects.
|
||||
%endif # build_gui
|
||||
|
||||
%if %{build_applet}
|
||||
|
||||
%package -n gnome-panel-applet-tracker
|
||||
Summary: A GNOME panel applet for Tracker
|
||||
Group: System/GUI/GNOME
|
||||
Requires: %{_name} = %{version}
|
||||
Recommends: %{_name}-lang
|
||||
Supplements: packageand(%{_name}:gnome-panel}
|
||||
# Name changed during development of 11.4
|
||||
Provides: tracker-applet = %{_name}
|
||||
Obsoletes: tracker-applet < %{_name}
|
||||
|
||||
%description -n gnome-panel-applet-tracker
|
||||
Tracker is a powerful desktop-neutral first class object
|
||||
database, tag/metadata database, search tool and indexer.
|
||||
|
||||
This package contains a panel applet to easily use Tracker.
|
||||
%endif # build_applet
|
||||
|
||||
%if %{build_nautilus}
|
||||
|
||||
%package -n nautilus-extension-tracker-tags
|
||||
@ -509,9 +467,7 @@ This package contains an nautilus plugin to tag files with Tracker.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{_name}-%{version}
|
||||
%patch0 -p1
|
||||
#translation-update-upstream
|
||||
cp %{S:1} src/miners/flickr/README.SUSE
|
||||
translation-update-upstream
|
||||
cp %{S:2} src/miners/rss/README.SUSE
|
||||
|
||||
%build
|
||||
@ -520,11 +476,6 @@ cp %{S:2} src/miners/rss/README.SUSE
|
||||
--enable-libvorbis \
|
||||
--enable-libflac \
|
||||
%endif
|
||||
%if %{build_applet}
|
||||
--enable-tracker-search-bar \
|
||||
%else
|
||||
--disable-tracker-search-bar \
|
||||
%endif
|
||||
%if %{build_evo}
|
||||
--enable-miner-evolution \
|
||||
%else
|
||||
@ -537,11 +488,9 @@ cp %{S:2} src/miners/rss/README.SUSE
|
||||
--disable-miner-firefox \
|
||||
%endif
|
||||
%if %{build_gui}
|
||||
--enable-tracker-explorer \
|
||||
--enable-tracker-needle \
|
||||
--enable-tracker-preferences \
|
||||
%else
|
||||
--disable-tracker-explorer \
|
||||
--disable-tracker-needle \
|
||||
--disable-tracker-preferences \
|
||||
%endif
|
||||
@ -550,11 +499,6 @@ cp %{S:2} src/miners/rss/README.SUSE
|
||||
%else
|
||||
--disable-nautilus-extension \
|
||||
%endif
|
||||
%if %{build_miner_flickr}
|
||||
--enable-miner-flickr \
|
||||
%else
|
||||
--disable-miner-flickr \
|
||||
%endif
|
||||
%if %{build_miner_rss}
|
||||
--enable-miner-rss \
|
||||
%else
|
||||
@ -605,18 +549,12 @@ rm %{buildroot}%{_datadir}/locale/*/LC_MESSAGES/tracker.mo
|
||||
|
||||
%endif
|
||||
|
||||
%if %{build_miner_flickr}
|
||||
%suse_update_desktop_file tracker-miner-flickr
|
||||
%endif
|
||||
%if %{build_miner_rss}
|
||||
%suse_update_desktop_file tracker-miner-rss
|
||||
%endif
|
||||
%if %{build_evo}
|
||||
%suse_update_desktop_file %{buildroot}%{_datadir}/tracker/miners/tracker-miner-evolution.desktop
|
||||
%endif
|
||||
%if %{build_miner_flickr}
|
||||
%suse_update_desktop_file %{buildroot}%{_datadir}/tracker/miners/tracker-miner-flickr.desktop
|
||||
%endif
|
||||
%if %{build_miner_rss}
|
||||
%suse_update_desktop_file %{buildroot}%{_datadir}/tracker/miners/tracker-miner-rss.desktop
|
||||
%endif
|
||||
@ -731,22 +669,13 @@ rm -rf %{buildroot}
|
||||
%exclude %{_datadir}/tracker/miners/tracker-miner-evolution.desktop
|
||||
%endif
|
||||
%exclude %{_datadir}/tracker/miners/tracker-miner-files.desktop
|
||||
%if %{build_miner_flickr}
|
||||
%exclude %{_datadir}/tracker/icons/tracker-miner-flickr.svg
|
||||
%exclude %{_datadir}/tracker/miners/tracker-miner-flickr.desktop
|
||||
%endif
|
||||
%if %{build_miner_rss}
|
||||
%exclude %{_datadir}/tracker/miners/tracker-miner-rss.desktop
|
||||
%endif
|
||||
%if %{build_gui}
|
||||
%exclude %{_datadir}/tracker/tracker-explorer.ui
|
||||
%exclude %{_datadir}/tracker/tracker-needle.ui
|
||||
%exclude %{_datadir}/tracker/tracker-preferences.ui
|
||||
%endif
|
||||
%if %{build_applet}
|
||||
%exclude %{_datadir}/tracker/tracker-search-bar.ui
|
||||
%exclude %{_datadir}/tracker/tracker-search-bar-menu.xml
|
||||
%endif
|
||||
|
||||
%files -n %{_name}-miner-files
|
||||
%defattr(-,root,root)
|
||||
@ -827,18 +756,6 @@ rm -rf %{buildroot}
|
||||
%{_datadir}/xul-ext/trackerfox/
|
||||
%endif
|
||||
|
||||
%if %{build_miner_flickr}
|
||||
|
||||
%files -n %{_name}-miner-flickr
|
||||
%defattr(-,root,root)
|
||||
%doc src/miners/flickr/README.SUSE
|
||||
%{_sysconfdir}/xdg/autostart/tracker-miner-flickr.desktop
|
||||
%{_libexecdir}/tracker-miner-flickr
|
||||
%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Miner.Flickr.service
|
||||
%{_datadir}/tracker/icons/tracker-miner-flickr.svg
|
||||
%{_datadir}/tracker/miners/tracker-miner-flickr.desktop
|
||||
%endif
|
||||
|
||||
%if %{build_miner_rss}
|
||||
|
||||
%files -n %{_name}-miner-rss
|
||||
@ -877,21 +794,6 @@ rm -rf %{buildroot}
|
||||
%{_datadir}/applications/tracker-needle.desktop
|
||||
%{_datadir}/tracker/tracker-needle.ui
|
||||
%{_mandir}/man1/tracker-needle.1*
|
||||
# explorer
|
||||
%{_bindir}/tracker-explorer
|
||||
%{_datadir}/tracker/tracker-explorer.ui
|
||||
%endif
|
||||
|
||||
%if %{build_applet}
|
||||
|
||||
%files -n gnome-panel-applet-tracker
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/tracker/tracker-search-bar.ui
|
||||
%{_datadir}/tracker/tracker-search-bar-menu.xml
|
||||
%{_datadir}/dbus-1/services/org.gnome.panel.applet.SearchBarFactory.service
|
||||
%{_datadir}/gnome-panel/4.0/applets/org.gnome.panel.SearchBar.panel-applet
|
||||
%{_libexecdir}/tracker-search-bar
|
||||
%{_mandir}/man1/tracker-search-bar.1*
|
||||
%endif
|
||||
|
||||
%if %{build_nautilus}
|
||||
|
@ -1,3 +1,38 @@
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
|
112
tracker.spec
112
tracker.spec
@ -20,20 +20,16 @@
|
||||
%define build_extras 0
|
||||
|
||||
%if !%{build_extras}
|
||||
%define build_applet 0
|
||||
%define build_evo 0
|
||||
%define build_firefox 0
|
||||
%define build_gui 0
|
||||
%define build_miner_flickr 0
|
||||
%define build_miner_rss 0
|
||||
%define build_nautilus 0
|
||||
%define build_thunderbird 0
|
||||
%else
|
||||
%define build_applet 1
|
||||
%define build_evo 0
|
||||
%define build_firefox 1
|
||||
%define build_gui 1
|
||||
%define build_miner_flickr 1
|
||||
%define build_miner_rss 1
|
||||
%define build_nautilus 1
|
||||
%if 0%{?suse_version} > 1140
|
||||
@ -48,7 +44,7 @@
|
||||
|
||||
Name: tracker
|
||||
%define _name tracker
|
||||
Version: 0.15.4
|
||||
Version: 0.16.0
|
||||
Release: 0
|
||||
%define TrackerAPI 0.16
|
||||
%define RPMTrackerAPI 0_16
|
||||
@ -56,11 +52,8 @@ Summary: Powerful object database, tag/metadata database, search tool and
|
||||
License: GPL-2.0+
|
||||
Group: Productivity/Other
|
||||
Url: http://projects.gnome.org/tracker/
|
||||
Source0: http://download.gnome.org/sources/tracker/0.15/%{_name}-%{version}.tar.xz
|
||||
Source1: README.SUSE.flickr
|
||||
Source0: http://download.gnome.org/sources/tracker/0.16/%{_name}-%{version}.tar.xz
|
||||
Source2: README.SUSE.rss
|
||||
# PATCH-FIX-UPSTREAM tracker-0.14.4-giflib5.patch bgo#695769 dimstar@opensuse.org -- Fix build with giglib 5.0.x
|
||||
Patch0: tracker-0.14.4-giflib5.patch
|
||||
BuildRequires: NetworkManager-devel >= 0.8
|
||||
BuildRequires: enca-devel
|
||||
BuildRequires: fdupes
|
||||
@ -114,9 +107,6 @@ BuildRequires: tracker = %{version}
|
||||
BuildRequires: tracker-devel
|
||||
BuildRequires: tracker-miner-files
|
||||
%endif # !build_extras
|
||||
%if %{build_applet}
|
||||
BuildRequires: pkgconfig(libpanelapplet-4.0)
|
||||
%endif
|
||||
%if %{build_evo}
|
||||
BuildRequires: evolution-data-server-devel
|
||||
BuildRequires: evolution-devel
|
||||
@ -128,9 +118,6 @@ BuildRequires: MozillaFirefox
|
||||
%if %{build_gui}
|
||||
BuildRequires: gtk3-devel
|
||||
%endif
|
||||
%if %{build_miner_flickr}
|
||||
BuildRequires: pkgconfig(rest-0.7) >= 0.6
|
||||
%endif
|
||||
%if %{build_miner_rss}
|
||||
BuildRequires: libgrss-devel >= 0.5
|
||||
%endif
|
||||
@ -144,6 +131,10 @@ BuildRequires: MozillaThunderbird
|
||||
Recommends: %{_name}-lang
|
||||
# We want to index files by default, if possible
|
||||
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
|
||||
%glib2_gsettings_schema_requires
|
||||
|
||||
@ -392,20 +383,6 @@ This package contains a Firefox extension that will index
|
||||
Firefox bookmarks.
|
||||
%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}
|
||||
|
||||
%package -n %{_name}-miner-rss
|
||||
@ -463,25 +440,6 @@ It has the ability to index, store, harvest metadata, retrieve
|
||||
and search all types of files and other first class objects.
|
||||
%endif # build_gui
|
||||
|
||||
%if %{build_applet}
|
||||
|
||||
%package -n gnome-panel-applet-tracker
|
||||
Summary: A GNOME panel applet for Tracker
|
||||
Group: System/GUI/GNOME
|
||||
Requires: %{_name} = %{version}
|
||||
Recommends: %{_name}-lang
|
||||
Supplements: packageand(%{_name}:gnome-panel}
|
||||
# Name changed during development of 11.4
|
||||
Provides: tracker-applet = %{_name}
|
||||
Obsoletes: tracker-applet < %{_name}
|
||||
|
||||
%description -n gnome-panel-applet-tracker
|
||||
Tracker is a powerful desktop-neutral first class object
|
||||
database, tag/metadata database, search tool and indexer.
|
||||
|
||||
This package contains a panel applet to easily use Tracker.
|
||||
%endif # build_applet
|
||||
|
||||
%if %{build_nautilus}
|
||||
|
||||
%package -n nautilus-extension-tracker-tags
|
||||
@ -508,9 +466,7 @@ This package contains an nautilus plugin to tag files with Tracker.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{_name}-%{version}
|
||||
%patch0 -p1
|
||||
#translation-update-upstream
|
||||
cp %{S:1} src/miners/flickr/README.SUSE
|
||||
translation-update-upstream
|
||||
cp %{S:2} src/miners/rss/README.SUSE
|
||||
|
||||
%build
|
||||
@ -519,11 +475,6 @@ cp %{S:2} src/miners/rss/README.SUSE
|
||||
--enable-libvorbis \
|
||||
--enable-libflac \
|
||||
%endif
|
||||
%if %{build_applet}
|
||||
--enable-tracker-search-bar \
|
||||
%else
|
||||
--disable-tracker-search-bar \
|
||||
%endif
|
||||
%if %{build_evo}
|
||||
--enable-miner-evolution \
|
||||
%else
|
||||
@ -536,11 +487,9 @@ cp %{S:2} src/miners/rss/README.SUSE
|
||||
--disable-miner-firefox \
|
||||
%endif
|
||||
%if %{build_gui}
|
||||
--enable-tracker-explorer \
|
||||
--enable-tracker-needle \
|
||||
--enable-tracker-preferences \
|
||||
%else
|
||||
--disable-tracker-explorer \
|
||||
--disable-tracker-needle \
|
||||
--disable-tracker-preferences \
|
||||
%endif
|
||||
@ -549,11 +498,6 @@ cp %{S:2} src/miners/rss/README.SUSE
|
||||
%else
|
||||
--disable-nautilus-extension \
|
||||
%endif
|
||||
%if %{build_miner_flickr}
|
||||
--enable-miner-flickr \
|
||||
%else
|
||||
--disable-miner-flickr \
|
||||
%endif
|
||||
%if %{build_miner_rss}
|
||||
--enable-miner-rss \
|
||||
%else
|
||||
@ -604,18 +548,12 @@ rm %{buildroot}%{_datadir}/locale/*/LC_MESSAGES/tracker.mo
|
||||
|
||||
%endif
|
||||
|
||||
%if %{build_miner_flickr}
|
||||
%suse_update_desktop_file tracker-miner-flickr
|
||||
%endif
|
||||
%if %{build_miner_rss}
|
||||
%suse_update_desktop_file tracker-miner-rss
|
||||
%endif
|
||||
%if %{build_evo}
|
||||
%suse_update_desktop_file %{buildroot}%{_datadir}/tracker/miners/tracker-miner-evolution.desktop
|
||||
%endif
|
||||
%if %{build_miner_flickr}
|
||||
%suse_update_desktop_file %{buildroot}%{_datadir}/tracker/miners/tracker-miner-flickr.desktop
|
||||
%endif
|
||||
%if %{build_miner_rss}
|
||||
%suse_update_desktop_file %{buildroot}%{_datadir}/tracker/miners/tracker-miner-rss.desktop
|
||||
%endif
|
||||
@ -730,22 +668,13 @@ rm -rf %{buildroot}
|
||||
%exclude %{_datadir}/tracker/miners/tracker-miner-evolution.desktop
|
||||
%endif
|
||||
%exclude %{_datadir}/tracker/miners/tracker-miner-files.desktop
|
||||
%if %{build_miner_flickr}
|
||||
%exclude %{_datadir}/tracker/icons/tracker-miner-flickr.svg
|
||||
%exclude %{_datadir}/tracker/miners/tracker-miner-flickr.desktop
|
||||
%endif
|
||||
%if %{build_miner_rss}
|
||||
%exclude %{_datadir}/tracker/miners/tracker-miner-rss.desktop
|
||||
%endif
|
||||
%if %{build_gui}
|
||||
%exclude %{_datadir}/tracker/tracker-explorer.ui
|
||||
%exclude %{_datadir}/tracker/tracker-needle.ui
|
||||
%exclude %{_datadir}/tracker/tracker-preferences.ui
|
||||
%endif
|
||||
%if %{build_applet}
|
||||
%exclude %{_datadir}/tracker/tracker-search-bar.ui
|
||||
%exclude %{_datadir}/tracker/tracker-search-bar-menu.xml
|
||||
%endif
|
||||
|
||||
%files -n %{_name}-miner-files
|
||||
%defattr(-,root,root)
|
||||
@ -826,18 +755,6 @@ rm -rf %{buildroot}
|
||||
%{_datadir}/xul-ext/trackerfox/
|
||||
%endif
|
||||
|
||||
%if %{build_miner_flickr}
|
||||
|
||||
%files -n %{_name}-miner-flickr
|
||||
%defattr(-,root,root)
|
||||
%doc src/miners/flickr/README.SUSE
|
||||
%{_sysconfdir}/xdg/autostart/tracker-miner-flickr.desktop
|
||||
%{_libexecdir}/tracker-miner-flickr
|
||||
%{_datadir}/dbus-1/services/org.freedesktop.Tracker1.Miner.Flickr.service
|
||||
%{_datadir}/tracker/icons/tracker-miner-flickr.svg
|
||||
%{_datadir}/tracker/miners/tracker-miner-flickr.desktop
|
||||
%endif
|
||||
|
||||
%if %{build_miner_rss}
|
||||
|
||||
%files -n %{_name}-miner-rss
|
||||
@ -876,21 +793,6 @@ rm -rf %{buildroot}
|
||||
%{_datadir}/applications/tracker-needle.desktop
|
||||
%{_datadir}/tracker/tracker-needle.ui
|
||||
%{_mandir}/man1/tracker-needle.1*
|
||||
# explorer
|
||||
%{_bindir}/tracker-explorer
|
||||
%{_datadir}/tracker/tracker-explorer.ui
|
||||
%endif
|
||||
|
||||
%if %{build_applet}
|
||||
|
||||
%files -n gnome-panel-applet-tracker
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/tracker/tracker-search-bar.ui
|
||||
%{_datadir}/tracker/tracker-search-bar-menu.xml
|
||||
%{_datadir}/dbus-1/services/org.gnome.panel.applet.SearchBarFactory.service
|
||||
%{_datadir}/gnome-panel/4.0/applets/org.gnome.panel.SearchBar.panel-applet
|
||||
%{_libexecdir}/tracker-search-bar
|
||||
%{_mandir}/man1/tracker-search-bar.1*
|
||||
%endif
|
||||
|
||||
%if %{build_nautilus}
|
||||
|
Loading…
Reference in New Issue
Block a user