diff --git a/0001-bump-libgrss-to-latest-0.6.patch b/0001-bump-libgrss-to-latest-0.6.patch new file mode 100644 index 0000000..8ed36d7 --- /dev/null +++ b/0001-bump-libgrss-to-latest-0.6.patch @@ -0,0 +1,38 @@ +From 69edbc76f1d964d190b23f3ffea1aa044220446c Mon Sep 17 00:00:00 2001 +From: Igor Gnatenko +Date: Tue, 14 Jul 2015 16:47:53 +0300 +Subject: [PATCH] bump libgrss to latest 0.6 + +There are no API break since 0.5, but 0.5 doesn't work well and doesn't shipped in distros + +Reference: https://bugzilla.gnome.org/show_bug.cgi?id=752371 +Signed-off-by: Igor Gnatenko +--- + configure.ac | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index d84b5ad..d1ad1bb 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -225,7 +225,7 @@ EDS_REQUIRED=2.32.0 + CAMEL_REQUIRED=2.32.0 + GEE_REQUIRED=0.3 + TAGLIB_REQUIRED=1.6 +-LIBGRSS_REQUIRED=0.5 ++LIBGRSS_REQUIRED=0.6 + REST_REQUIRED=0.6 + NETWORK_MANAGER_REQUIRED=0.8 + GSTREAMER_REQUIRED=0.10.31 +@@ -499,7 +499,7 @@ fi + + # Check requirements for tracker-miner-rss + TRACKER_MINER_RSS_REQUIRED="glib-2.0 >= $GLIB_REQUIRED +- libgrss-0.5 >= $LIBGRSS_REQUIRED" ++ libgrss-0.6 >= $LIBGRSS_REQUIRED" + + PKG_CHECK_MODULES(TRACKER_MINER_RSS, [$TRACKER_MINER_RSS_REQUIRED], + [have_tracker_miner_rss=yes], +-- +2.4.5 + diff --git a/tracker.spec b/tracker.spec index cbb8dfb..1bd9fdd 100644 --- a/tracker.spec +++ b/tracker.spec @@ -6,10 +6,12 @@ %global with_enca 0 %global with_libcue 0 %global with_thunderbird 0 +%global with_rss 0 %else %global with_enca 1 %global with_libcue 1 %global with_thunderbird 1 +%global with_rss 1 %endif Name: tracker @@ -25,6 +27,8 @@ Source0: https://download.gnome.org/sources/%{name}/1.4/%{name}-%{version # only autostart in Gnome, see also # https://bugzilla.redhat.com/show_bug.cgi?id=771601 Patch0: 0001-Only-autostart-in-GNOME-771601.patch +# https://bugzilla.gnome.org/show_bug.cgi?id=752371 +Patch1: 0001-bump-libgrss-to-latest-0.6.patch BuildRequires: desktop-file-utils BuildRequires: firefox @@ -74,6 +78,9 @@ BuildRequires: pkgconfig(totem-plparser) BuildRequires: pkgconfig(upower-glib) BuildRequires: pkgconfig(uuid) BuildRequires: pkgconfig(vorbisfile) +%if 0%{?with_rss} +BuildRequires: pkgconfig(libgrss-0.6) +%endif Obsoletes: compat-tracker018 < 0.17.2-2 Obsoletes: tracker-miner-flickr < 0.16.0 @@ -169,6 +176,7 @@ This package contains the documentation for tracker %setup -q %patch0 -p1 -b .autostart-gnome +%patch1 -p1 -b .rss ## nuke unwanted rpaths, see also ## https://fedoraproject.org/wiki/Packaging/Guidelines#Beware_of_Rpath @@ -323,6 +331,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %changelog * Tue Jul 14 2015 Igor Gnatenko - 1.4.0-6 - Rebuild due to enabled FTS in sqlite +- Add RSS support * Fri Jun 19 2015 Fedora Release Engineering - 1.4.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild