OSX FSEvents support

Needs work to deal with directory renames better; otherwise seems to
basically work.
This commit is contained in:
Joey Hess 2012-12-27 14:19:12 -05:00 committed by Joey Hess
parent 44665452a8
commit 7af958d92c
5 changed files with 120 additions and 18 deletions

View file

@ -1,5 +1,5 @@
Name: git-annex
Version: 3.20121211
Version: 3.20121212
Cabal-Version: >= 1.8
License: GPL
Maintainer: Joey Hess <joey@kitenet.net>
@ -84,9 +84,13 @@ Executable git-annex
Build-Depends: hinotify
CPP-Options: -DWITH_INOTIFY
else
if (! os(windows) && ! os(solaris) && ! os(linux))
CPP-Options: -DWITH_KQUEUE
C-Sources: Utility/libkqueue.c
if os(darwin)
Build-Depends: hfsevents
CPP-Options: -DWITH_HFSEVENTS
else
if (! os(windows) && ! os(solaris) && ! os(linux))
CPP-Options: -DWITH_KQUEUE
C-Sources: Utility/libkqueue.c
if os(linux) && flag(Dbus)
Build-Depends: dbus (>= 0.10.3)