Re: [Tracker] [Fwd: [PATCH] tracker-0.5.2 configure options]



Hi,
On Tue, 21 Nov 2006 23:33:45 +0000
Jamie McCracken <jamiemcc blueyonder co uk> wrote:

I agree but I cant get it to work on Edgy at all (complains about 
linxine even though I did not enable it and does not find any of the 
metadata extractorsor inotify)

I guess it does not work well with autogen.sh or maybe it needs
latest autoconf?

Sorry, I thought, that the question is more about the idea and
not about the implementation, which I haven't tested :)
I re-worked the patch, to address some issues hopefully:
It should work the same way as till now, if there are no options
specified with configure and should allow controlling the configure,
if needed. From configure --help
  --disable-warnings      disable GCC warnings
  --enable-video-extractor=ARG
                          enables one of the (gstreamer, xine,
external, auto) video extractor backends
  --enable-test           build test suite
  --enable-external-sqlite
                          build using system's sqlite which must be a
                          threadsafe version
  --enable-file-monitoring=ARG
                          enables one of the (inotify, fam, polling,
auto) file monitoring backends
  --enable-inotify-debug  turn on inotify debugging
  --disable-gui           Disable building of the gnome-search-tool
  --disable-pdf           Disable PDF data extractor
  --disable-png           Disable PNG data extractor
  --disable-exif          Disable exif data extractor
  --disable-gsf           Disable GSF data extractor
  
the ones with disable option should be enabled by default and not die if
the libraries are not found, just flip it to disabled state.
--enable-video-extractor is auto by default meaning that it searches
for gstreamer or xine (gstreamer has priority before xine) and should
fall back to external if none of them is found. If the extractor is
specified with configure (and it is not the auto one), the configure
process will die if the needed libraries are not found.
--enable-file-monitoring is also auto by default, which means that it
searches in the following way:
inotify - kernerl headers, inotify - glibc headers, gamin, fam, polling
and in this order it should select the used backend. If a
backend is specified (not the auto one) and not found, the configure
will die.
Hope this patch works :), I haven't have the time to test it 100%
though.

Regards
Gergan

Attachment: tracker-configure.patch
Description: Text Data



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