Add RSS support

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
This commit is contained in:
Igor Gnatenko 2015-07-14 16:51:39 +03:00
parent ee25a782ac
commit fc8b4a94ec
2 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,38 @@
From 69edbc76f1d964d190b23f3ffea1aa044220446c Mon Sep 17 00:00:00 2001
From: Igor Gnatenko <ignatenko@src.gnome.org>
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 <ignatenko@src.gnome.org>
---
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

View File

@ -6,10 +6,12 @@
%global with_enca 0 %global with_enca 0
%global with_libcue 0 %global with_libcue 0
%global with_thunderbird 0 %global with_thunderbird 0
%global with_rss 0
%else %else
%global with_enca 1 %global with_enca 1
%global with_libcue 1 %global with_libcue 1
%global with_thunderbird 1 %global with_thunderbird 1
%global with_rss 1
%endif %endif
Name: tracker Name: tracker
@ -25,6 +27,8 @@ Source0: https://download.gnome.org/sources/%{name}/1.4/%{name}-%{version
# only autostart in Gnome, see also # only autostart in Gnome, see also
# https://bugzilla.redhat.com/show_bug.cgi?id=771601 # https://bugzilla.redhat.com/show_bug.cgi?id=771601
Patch0: 0001-Only-autostart-in-GNOME-771601.patch 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: desktop-file-utils
BuildRequires: firefox BuildRequires: firefox
@ -74,6 +78,9 @@ BuildRequires: pkgconfig(totem-plparser)
BuildRequires: pkgconfig(upower-glib) BuildRequires: pkgconfig(upower-glib)
BuildRequires: pkgconfig(uuid) BuildRequires: pkgconfig(uuid)
BuildRequires: pkgconfig(vorbisfile) BuildRequires: pkgconfig(vorbisfile)
%if 0%{?with_rss}
BuildRequires: pkgconfig(libgrss-0.6)
%endif
Obsoletes: compat-tracker018 < 0.17.2-2 Obsoletes: compat-tracker018 < 0.17.2-2
Obsoletes: tracker-miner-flickr < 0.16.0 Obsoletes: tracker-miner-flickr < 0.16.0
@ -169,6 +176,7 @@ This package contains the documentation for tracker
%setup -q %setup -q
%patch0 -p1 -b .autostart-gnome %patch0 -p1 -b .autostart-gnome
%patch1 -p1 -b .rss
## nuke unwanted rpaths, see also ## nuke unwanted rpaths, see also
## https://fedoraproject.org/wiki/Packaging/Guidelines#Beware_of_Rpath ## https://fedoraproject.org/wiki/Packaging/Guidelines#Beware_of_Rpath
@ -323,6 +331,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%changelog %changelog
* Tue Jul 14 2015 Igor Gnatenko <ignatenko@src.gnome.org> - 1.4.0-6 * Tue Jul 14 2015 Igor Gnatenko <ignatenko@src.gnome.org> - 1.4.0-6
- Rebuild due to enabled FTS in sqlite - Rebuild due to enabled FTS in sqlite
- Add RSS support
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-5 * Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild