[tracker] fix build

Peter Robinson pbrobinson at fedoraproject.org
Mon Oct 31 19:47:10 UTC 2011


commit ab21521eeb5197489dbc1e960f7d5edd32698f84
Author: Peter Robinson <pbrobinson at gmail.com>
Date:   Mon Oct 31 19:46:56 2011 +0000

    fix build

 tracker-fixdso.patch |   11 +++++++++++
 tracker.spec         |    2 ++
 2 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/tracker-fixdso.patch b/tracker-fixdso.patch
new file mode 100644
index 0000000..18aa6d5
--- /dev/null
+++ b/tracker-fixdso.patch
@@ -0,0 +1,11 @@
+--- tracker-0.12.7/tests/libtracker-common/Makefile.in.orig	2011-10-31 18:49:24.625342415 +0000
++++ tracker-0.12.7/tests/libtracker-common/Makefile.in	2011-10-31 18:50:09.725340614 +0000
+@@ -248,7 +248,7 @@
+ INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@
+ INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@
+ LD = @LD@
+-LDFLAGS = @LDFLAGS@
++LDFLAGS = @LDFLAGS@ -lgthread-2.0
+ LIBCUE_CFLAGS = @LIBCUE_CFLAGS@
+ LIBCUE_LIBS = @LIBCUE_LIBS@
+ LIBEXIF_CFLAGS = @LIBEXIF_CFLAGS@
diff --git a/tracker.spec b/tracker.spec
index dacb6cf..30b7ea9 100644
--- a/tracker.spec
+++ b/tracker.spec
@@ -6,6 +6,7 @@ License:	GPLv2+
 Group:		Applications/System
 URL:		http://projects.gnome.org/tracker/
 Source0:	http://download.gnome.org/sources/tracker/0.12/%{name}-%{version}.tar.xz
+Patch0:		tracker-fixdso.patch
 
 BuildRequires:	poppler-glib-devel evolution-devel libxml2-devel libgsf-devel
 BuildRequires:	libuuid-devel dbus-glib-devel
@@ -88,6 +89,7 @@ This package contains the documentation for tracker
 
 %prep
 %setup -q
+%patch0 -p1 -b .fixdso
 
 %global evo_plugins_dir %(pkg-config evolution-plugin-3.0 --variable=plugindir)
 


More information about the scm-commits mailing list