Re: [Tracker] [PATCH] libtracker-gtk (Gtk widgets for tracker)



2007/2/28, John Stowers <john stowers lists gmail com>:
On 3/1/07, Michael Biebl <mbiebl gmail com> wrote:
> Interesting work, John. Looks promising!
>
> To actually get libtracker-gtk to compile though, I had to apply a
> little patch against tracker (attached), which guards against multiple
> inclusions of tracker.h.

Yeah I included this in my patch also. I guess the first time you
build libtracker-gtk it uses the system tracker.h and not the one in
the tree.

Can someone with better autotools knowledge look into this?

I gladly offer my help here, I just have to know first, how exactly
everything is meant to work:

1.) Do you want to develop libtracker-gtk as a separate package or do
you want to have it included in the tracker source tree?
2.) If the former, you should use #include <tracker.h>
3.) If the latter, you should include tracker.h via #include
"../trackerd/tracker.h"
I'd also propose to *not* move libtracker-gtk files into
src/tracker-search-tool/ then, but instead create a separate
subdirectory src/libtracker-gtk and install it as a separate library
which can be used by 3rd party applications. The compilation of
src/libtracker-gtk would be optional (via a --enable-libtracker-gtk
configure switch).
src/tracker-search-tool/Makefile.am would use
../src/libtracker-gtk/libtracker-gtk.la and the tracker-search-tool
sources would optionally use libtracker-gtk (via #ifdefs).

I can quickly put together a patch if you prefer.

Cheers,
Michael



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