Re: [Tracker] Totem Tracker plugin fails to build against trunk



Hi Luca,

 I run into the same problem compiling a small program using tracker.h

 In my case, it was fixed including <dbus/dbus.h> _before_ tracker.h

 So in that file you need this lines (in this order):

#include <dbus/dbus.h>
#include <tracker.h>

 I hope it helps,

Ivan


On Fri, Dec 5, 2008 at 2:08 PM, Luca Ferretti <elle uca libero it> wrote:
Most probably Totem code needs to be ported from 0.6.6 to trunk
(tracker-client.h no longer exist) but could some tracker guy check this
error:

 gcc -DHAVE_CONFIG_H -I. -I../../.. -D_REENTRANT
-DDBUS_API_SUBJECT_TO_CHANGE -DGNOMELOCALEDIR=\"/opt/gnome2/share/locale
\" -DGCONF_PREFIX=\"/apps/totem\" -DDATADIR=\"/opt/gnome2/share\"
-DLIBEXECDIR=\"/opt/gnome2/libexec\" -DBINDIR=\"/opt/gnome2/bin\"
-DTOTEM_PLUGIN_DIR=\"/opt/gnome2/lib/totem/plugins\"
-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED
-DGDK_PIXBUF_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED
-DGTK_DISABLE_DEPRECATED -DGCONF_DISABLE_DEPRECATED
-DBONOBO_DISABLE_DEPRECATED -DBONOBO_UI_DISABLE_DEPRECATED
-DGNOME_VFS_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED
-DLIBGLADE_DISABLE_DEPRECATED -DWNCK_DISABLE_DEPRECATED
-DLIBSOUP_DISABLE_DEPRECATED -DORBIT2=1 -pthread
-I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include
-I/opt/gnome2/include/gtk-2.0 -I/opt/gnome2/lib/gtk-2.0/include
-I/opt/gnome2/include/atk-1.0 -I/opt/gnome2/include/cairo
-I/opt/gnome2/include/pango-1.0 -I/opt/gnome2/include/pixman-1
-I/opt/gnome2/include/gconf/2 -I/opt/gnome2/include/orbit-2.0
-I/opt/gnome2/include/dbus-1.0 -I/opt/gnome2/lib/dbus-1.0/include
-I/opt/gnome2/include/totem-pl-parser/1/plparser
-I/opt/gnome2/include/libxml2
-I/opt/gnome2/include/evolution-data-server-2.26
-I/opt/gnome2/include/libsoup-2.4 -I/opt/gnome2/include/libbonobo-2.0
-I/opt/gnome2/include/bonobo-activation-2.0 -I/usr/include/freetype2
-I/usr/include/libpng12 -DDBUS_API_SUBJECT_TO_CHANGE
-I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include
-I/opt/gnome2/include/dbus-1.0 -I/opt/gnome2/lib/dbus-1.0/include -Wall
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare
-I/opt/gnome2/include/dbus-1.0 -I/opt/gnome2/lib/dbus-1.0/include
-I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include
-I../../../ -I../../../src -I./ -I../../../src/plugins -Wall
-Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes
-Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare
-fno-strict-aliasing -g -O2 -MT libtracker_la-totem-tracker-widget.lo
-MD -MP -MF .deps/libtracker_la-totem-tracker-widget.Tpo -c
totem-tracker-widget.c  -fPIC -DPIC
-o .libs/libtracker_la-totem-tracker-widget.o
In file included from /opt/gnome2/include/dbus-1.0/dbus/dbus.h:29,
                from /opt/gnome2/include/tracker.h:25,
                from totem-tracker-widget.c:31:
/opt/gnome2/lib/dbus-1.0/include/dbus/dbus-arch-deps.h:36: error:
expected '=', ',', ';', 'asm' or '__attribute__' before '__extension__'
totem-tracker-widget.c:32:28: error: tracker-client.h: Nessun file o
directory

Is it an issue in dbus-arch-deps.h or in tracker.h ??

PS jhbuild sandbox, tracker and totem from trunk, dbus from 1.2.4
tarball

_______________________________________________
tracker-list mailing list
tracker-list gnome org
http://mail.gnome.org/mailman/listinfo/tracker-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]