head 1.3; access; symbols pkgsrc-2026Q1:1.3.0.16 pkgsrc-2026Q1-base:1.3 pkgsrc-2025Q4:1.3.0.14 pkgsrc-2025Q4-base:1.3 pkgsrc-2025Q3:1.3.0.12 pkgsrc-2025Q3-base:1.3 pkgsrc-2025Q2:1.3.0.10 pkgsrc-2025Q2-base:1.3 pkgsrc-2025Q1:1.3.0.8 pkgsrc-2025Q1-base:1.3 pkgsrc-2024Q4:1.3.0.6 pkgsrc-2024Q4-base:1.3 pkgsrc-2024Q3:1.3.0.4 pkgsrc-2024Q3-base:1.3 pkgsrc-2024Q2:1.3.0.2 pkgsrc-2024Q2-base:1.3 pkgsrc-2024Q1:1.2.0.10 pkgsrc-2024Q1-base:1.2 pkgsrc-2023Q4:1.2.0.8 pkgsrc-2023Q4-base:1.2 pkgsrc-2023Q3:1.2.0.6 pkgsrc-2023Q3-base:1.2 pkgsrc-2023Q2:1.2.0.4 pkgsrc-2023Q2-base:1.2 pkgsrc-2023Q1:1.2.0.2 pkgsrc-2023Q1-base:1.2 pkgsrc-2022Q4:1.1.0.8 pkgsrc-2022Q4-base:1.1 pkgsrc-2022Q3:1.1.0.6 pkgsrc-2022Q3-base:1.1 pkgsrc-2022Q2:1.1.0.4 pkgsrc-2022Q2-base:1.1 pkgsrc-2022Q1:1.1.0.2 pkgsrc-2022Q1-base:1.1; locks; strict; comment @# @; 1.3 date 2024.05.02.09.44.00; author pho; state Exp; branches; next 1.2; commitid Cxrv3mqUGvWflp8F; 1.2 date 2023.01.26.15.08.26; author pho; state Exp; branches; next 1.1; commitid bqL9PsSZlqNgZ3bE; 1.1 date 2022.02.26.12.33.45; author pho; state Exp; branches; next ; commitid mXdaHhRFsIYPR7uD; desc @@ 1.3 log @devel/hs-fsnotify: Fix build with GHC 9.8 This breaks build with the currently default GHC 9.6. Please bear with me until I switch the default compiler. @ text @$NetBSD: patch-fsnotify.cabal,v 1.2 2023/01/26 15:08:26 pho Exp $ Use hinotify on some BSDs. libinotify emulates it with kqueue(2) which is much better than polling. Not upstreamed yet; can only be upstreamed after ../../devel/hs-hinotify/patches/patch-hinotify.cabal gets merged. --- fsnotify.cabal.orig 2022-10-17 01:19:16.000000000 +0000 +++ fsnotify.cabal @@@@ -46,15 +46,15 @@@@ library , time >=1.1 , unix-compat >=0.2 default-language: Haskell2010 - if os(linux) + if os(linux) || os(freebsd) || os(netbsd) || os(openbsd) cpp-options: -DOS_Linux if os(windows) cpp-options: -DOS_Win32 if os(darwin) cpp-options: -DOS_Mac - if os(freebsd) || os(netbsd) || os(openbsd) + if !os(linux) && !os(freebsd) && !os(netbsd) && !os(openbsd) && !os(windows) cpp-options: -DOS_BSD - if os(linux) + if os(linux) || os(freebsd) || os(netbsd) || os(openbsd) other-modules: System.FSNotify.Linux build-depends: @@@@ -99,13 +99,13 @@@@ test-suite tests , unix-compat , unliftio >=0.2.20 default-language: Haskell2010 - if os(linux) + if os(linux) || os(freebsd) || os(netbsd) || os(openbsd) cpp-options: -DOS_Linux if os(windows) cpp-options: -DOS_Win32 if os(darwin) cpp-options: -DOS_Mac - if os(freebsd) || os(netbsd) || os(openbsd) + if !os(linux) && !os(freebsd) && !os(netbsd) && !os(openbsd) && !os(windows) cpp-options: -DOS_BSD if os(windows) build-depends: @ 1.2 log @devel/hs-fsnotify: Update to 0.4.1.0 Version 0.4.1.0 * Add unliftio lower bound (#106) * Change the tests back to a test-suite to avoid building for library users. (#107) * Fix up Windows compatibility. * Export WatchConfig type (#108) Version 0.4.0.1 * Fix compatibility with *BSD. Version 0.4.0.0 API breaking update. * New options for threading control (single-threaded, thread-per-watch, and thread-per-manager) * Revamp WatchConfig options to be less confusing and reduce boolean blindness. * Pull out debouncing stuff, since it was never correct as it simply took the last event affecting a given file in the debounce period. Debouncing is currently not included, and should be handled as an orthogonal concern. I'd like to include some debouncing logic, but didn't want to delay this release any longer. - We now expose type DebounceFn = Action -> IO Action, which represents an arbitrary debouncer. All debouncers should be in the form of one of these functions. - A robust state machine debouncer is in progress but not fully implemented yet; see the state-machine branch. - Contributions are welcome! We can potentially add multiple debouncers of different complexity as modules under System.FSNotify.Debounce.*. * Don't silently fall back to polling on failure of native watcher. Instead, throw an exception which the user can recover from by switching to polling. * Add ModifiedAttributes event type + Linux support * Add confOnHandlerException to be able to control what happens when a handler throws an exception. * WatchConfig constructor is no longer exposed. Instead use defaultConfig {...} with the accessors. @ text @d1 1 a1 1 $NetBSD: patch-fsnotify.cabal,v 1.1 2022/02/26 12:33:45 pho Exp $ d11 1 a11 1 @@@@ -46,15 +46,13 @@@@ library d23 2 a24 1 - cpp-options: -DOS_BSD d30 16 @ 1.1 log @devel/hs-fsnotify: Use hinotify on Linux and some BSDs On any other platforms it falls back to the polling method as the last resort, which is obviously isn't very practical. @ text @d1 1 a1 1 $NetBSD$ d3 4 a6 1 Use hinotify on some BSDs. Not upstreamed yet; can only be upstreamed after d9 1 a9 1 --- fsnotify.cabal.orig 2022-02-26 11:04:55.313630845 +0000 d11 13 a23 4 @@@@ -38,7 +38,7 @@@@ Library , System.FSNotify.Types Hs-Source-Dirs: src GHC-Options: -Wall d26 3 a28 3 CPP-Options: -DOS_Linux Other-Modules: System.FSNotify.Linux Build-Depends: hinotify >= 0.3.0, @