[gnome-photos] Fix build with tracker 0.16
Matthias Clasen
mclasen at fedoraproject.org
Tue Jan 29 00:15:53 UTC 2013
commit c890773889815be49726d9b77d0c0048fa4d3def
Author: Matthias Clasen <mclasen at redhat.com>
Date: Mon Jan 28 19:16:20 2013 -0500
Fix build with tracker 0.16
gnome-photos.spec | 7 +++++++
tracker-0.16.patch | 12 ++++++++++++
2 files changed, 19 insertions(+), 0 deletions(-)
---
diff --git a/gnome-photos.spec b/gnome-photos.spec
index 2f0b8aa..505ed25 100644
--- a/gnome-photos.spec
+++ b/gnome-photos.spec
@@ -9,6 +9,9 @@ License: GPLv2+ and LGPLv2+
Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.7/%{name}-%{version}.tar.xz
+# build with tracker 0.16
+Patch0: tracker-0.16.patch
+
BuildRequires: desktop-file-utils
BuildRequires: cairo-devel
BuildRequires: intltool
@@ -24,6 +27,7 @@ BuildRequires: lcms2-devel
BuildRequires: libexif-devel => 0.6.14
BuildRequires: librsvg2-devel => 2.26.0
BuildRequires: tracker-devel
+BuildRequires: autoconf automake libtool
# libgd is not meant to be installed as a system-wide shared library.
# It is just a way for GNOME applications to share widgets and other common
@@ -38,6 +42,9 @@ applications meant for find and reminding the user about her content.
%prep
%setup -q
+%patch0 -p1
+
+autoreconf -i -f
%build
diff --git a/tracker-0.16.patch b/tracker-0.16.patch
new file mode 100644
index 0000000..e99558f
--- /dev/null
+++ b/tracker-0.16.patch
@@ -0,0 +1,12 @@
+diff -up gnome-photos-3.7.3/configure.ac.tracker gnome-photos-3.7.3/configure.ac
+--- gnome-photos-3.7.3/configure.ac.tracker 2013-01-28 19:11:53.074560113 -0500
++++ gnome-photos-3.7.3/configure.ac 2013-01-28 19:13:52.540555842 -0500
+@@ -94,7 +94,7 @@ PKG_CHECK_MODULES(GTK_UNIX_PRINT, [gtk+-
+ PKG_CHECK_MODULES(LCMS, [lcms2])
+ PKG_CHECK_MODULES(LIBEXIF, [libexif >= $LIBEXIF_MIN_VERSION])
+ PKG_CHECK_MODULES(LIBRSVG, [librsvg-2.0 >= $LIBRSVG_MIN_VERSION])
+-PKG_CHECK_MODULES(TRACKER, [tracker-miner-0.14 tracker-sparql-0.14])
++PKG_CHECK_MODULES(TRACKER, [tracker-miner-0.16 tracker-sparql-0.16])
+
+ LIBGD_INIT([
+ main-toolbar
More information about the scm-commits
mailing list