mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-07 04:42:58 -05:00
[filescanner] Use libinotify for FreeBSD (should fix issue #245)
Filescanner was broken in FreeBSD. Besides fixing this, using libinotify instead of kqueue directly should make the code easier to maintain, since it will be less divergent. This commit includes these changes: - Add libinotify to FreeBSD install scripts - Fix reading multiple events from inotify fd (possible bug in Linux too) - Deferred scanning since FreeBSD doesn't have IN_CLOSE_WRITE - Configure search for inotify library - Removal of kqueue stuff
This commit is contained in:
@@ -11,7 +11,7 @@ fi
|
||||
|
||||
DEPS="gmake autoconf automake libtool gettext gperf glib pkgconf wget git \
|
||||
ffmpeg libconfuse libevent2 mxml libgcrypt libunistring libiconv \
|
||||
libplist avahi sqlite3"
|
||||
libplist libinotify avahi sqlite3"
|
||||
echo "The script can install the following dependency packages for you:"
|
||||
echo $DEPS
|
||||
read -p "Should the script install these packages? [y/N] " yn
|
||||
|
||||
Reference in New Issue
Block a user