From e0c9fe64a6842298c4f8f6f76bfa6cf4fd641820 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Wed, 19 Feb 2014 10:42:01 +0100 Subject: [PATCH] Support tracker 1.0 API --- brasero-tracker-1.0.patch | 17 +++++++++++++++++ brasero.spec | 8 +++++++- 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 brasero-tracker-1.0.patch diff --git a/brasero-tracker-1.0.patch b/brasero-tracker-1.0.patch new file mode 100644 index 0000000..ba8890b --- /dev/null +++ b/brasero-tracker-1.0.patch @@ -0,0 +1,17 @@ +--- brasero/configure.tracker_10 2014-02-19 10:39:34.190886512 +0100 ++++ brasero/configure 2014-02-19 10:39:51.140505861 +0100 +@@ -16711,6 +16711,14 @@ + test $ac_status = 0; }; then + tracker_api="0.18" + fi ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tracker-sparql-1.0 >= \$TRACKER_REQUIRED\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "tracker-sparql-1.0 >= $TRACKER_REQUIRED") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ tracker_api="1.0" ++fi + + fi + diff --git a/brasero.spec b/brasero.spec index 5c8102d..eb2f547 100644 --- a/brasero.spec +++ b/brasero.spec @@ -1,7 +1,7 @@ Name: brasero Version: 3.11.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Gnome CD/DVD burning application Group: Applications/Multimedia # see https://bugzilla.gnome.org/show_bug.cgi?id=683503 @@ -9,6 +9,8 @@ License: GPLv3+ URL: http://www.gnome.org/projects/brasero/ #VCS: git:git://git.gnome.org/brasero Source0: http://ftp.gnome.org/pub/GNOME/sources/brasero/3.11/%{name}-%{version}.tar.xz +# Support tracker 1.0 API, backported from upstream +Patch0: brasero-tracker-1.0.patch BuildRequires: gtk3-devel >= 2.99.0 BuildRequires: glib2-devel >= 2.15.6 @@ -95,6 +97,7 @@ developing brasero applications. %prep %setup -q +%patch0 -p1 -b .tracker_10 %build @@ -194,6 +197,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : %changelog +* Wed Feb 19 2014 Kalev Lember - 3.11.3-3 +- Support tracker 1.0 API + * Fri Dec 27 2013 Adam Williamson - 3.11.3-2 - rebuild for new tracker