Re: [Tracker] why only enable inotify on tracker trunk?
- From: Jerry Tan <Jerry Tan Sun COM>
- To: Martyn Russell <martyn imendio com>
- Cc: Tracker-List <tracker-list gnome org>
- Subject: Re: [Tracker] why only enable inotify on tracker trunk?
- Date: Tue, 04 Nov 2008 11:23:50 +0800
Jerry Tan wrote:
I remember that tracker 0.6.6 support both inotify and gamin,
so it can work on solaris since gamin is there.
but when I check out trunk code, I found that it has only support for
inotify,
which only exists on linux.
We support whatever GLib supports, which is inotify, fam, fen and win32.
For Linux we use libinotify ourselves and not GLib's inotify because it
doesn't support MOVE events properly.
There is a bug upstream about this:
http://bugzilla.gnome.org/show_bug.cgi?id=547890
So, the current trunk is inotify only, right?
I found that I have to add my patch here ,not to build with inotify on
solaris.
Index: configure.ac
===================================================================
--- configure.ac (revision 2435)
+++ configure.ac (working copy)
@@ -529,8 +529,8 @@
inotify_init(void);
],
+ have_inotify=yes; AC_MSG_RESULT(yes),
have_inotify=no; AC_MSG_RESULT(no),
- have_inotify=yes; AC_MSG_RESULT(yes),
)
AM_CONDITIONAL(HAVE_INOTIFY, test "$have_inotify" = "yes")
Index: src/Makefile.am
===================================================================
--- src/Makefile.am (revision 2435)
+++ src/Makefile.am (working copy)
@@ -6,6 +6,8 @@
if HAVE_INOTIFY
build_libinotify = libinotify
+else
+build_libinotify =
endif
if !USING_EXTERNAL_QDBM
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]