tags 577207 patch
thanks

Hi,

I attached a simple patch, to make totem 2.30.0 compile against tracker >= 
0.8.0.

The only testing I did, is I checked that it compiles successfully with
libtracker-client-0.8.

You will also need to add libtracker-client-0.8-dev (>= 0.8.0) to Build-Depends
and regenerate 90_autotools.patch.

Cheers,
Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
Index: totem-2.30.0/configure.in
===================================================================
--- totem-2.30.0.orig/configure.in	2010-04-10 16:46:46.021938953 +0200
+++ totem-2.30.0/configure.in	2010-04-10 16:47:10.025939464 +0200
@@ -527,7 +527,7 @@
 			fi
 		;;
 		tracker)
-			PKG_CHECK_MODULES(TRACKER, tracker-client-0.7 >= 0.7.1, [HAVE_TRACKER=yes], [HAVE_TRACKER=no])
+			PKG_CHECK_MODULES(TRACKER, tracker-client-0.8 >= 0.8.0, [HAVE_TRACKER=yes], [HAVE_TRACKER=no])
 			if test "${HAVE_TRACKER}" != "yes" ; then
 				plugin_error_or_ignore "you need the tracker development headers installed for the tracker plugin"
 				add_plugin="0"
Index: totem-2.30.0/src/plugins/tracker/totem-tracker-widget.c
===================================================================
--- totem-2.30.0.orig/src/plugins/tracker/totem-tracker-widget.c	2010-04-10 16:47:49.873943563 +0200
+++ totem-2.30.0/src/plugins/tracker/totem-tracker-widget.c	2010-04-10 16:48:16.937941095 +0200
@@ -31,7 +31,7 @@
 #include <glib/gi18n-lib.h>
 #include <gio/gio.h>
 #include <dbus/dbus.h>
-#include <libtracker-client/tracker.h>
+#include <libtracker-client/tracker-client.h>
 
 #include "totem-tracker-widget.h"
 #include "totem-cell-renderer-video.h"
Index: totem-2.30.0/src/plugins/tracker/totem-tracker-widget.h
===================================================================
--- totem-2.30.0.orig/src/plugins/tracker/totem-tracker-widget.h	2010-04-10 16:48:47.797939464 +0200
+++ totem-2.30.0/src/plugins/tracker/totem-tracker-widget.h	2010-04-10 16:49:00.593937794 +0200
@@ -25,7 +25,7 @@
 #include "totem.h"
 
 #include <gtk/gtk.h>
-#include <libtracker-client/tracker.h>
+#include <libtracker-client/tracker-client.h>
 
 #define TOTEM_TYPE_TRACKER_WIDGET               (totem_tracker_widget_get_type ())
 #define TOTEM_TRACKER_WIDGET(obj)               (G_TYPE_CHECK_INSTANCE_CAST ((obj), TOTEM_TYPE_TRACKER_WIDGET, TotemTrackerWidget))

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to