8 Commits

Author SHA256 Message Date
fcdb1a73ca Accepting request 1302175 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/1302175
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-fsnotify?expand=0&rev=18
2025-09-01 15:18:33 +00:00
1ea0278154 osc copypac from project:devel:languages:haskell:ghc-9.12.x package:ghc-fsnotify revision:5, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-fsnotify?expand=0&rev=62
2025-09-01 10:02:17 +00:00
741789dc8a Accepting request 1279242 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/1279242
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-fsnotify?expand=0&rev=17
2025-05-22 14:57:08 +00:00
a01fa0111e osc copypac from project:devel:languages:haskell:ghc-9.10.x package:ghc-fsnotify revision:8, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-fsnotify?expand=0&rev=60
2025-05-22 10:58:59 +00:00
cea4fd2210 Accepting request 1256271 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/1256271
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-fsnotify?expand=0&rev=16
2025-03-26 20:24:35 +00:00
0065f4f94b osc copypac from project:devel:languages:haskell:ghc-9.10.x package:ghc-fsnotify revision:7, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-fsnotify?expand=0&rev=58
2025-03-26 15:16:59 +00:00
8aa981b3d6 osc copypac from project:devel:languages:haskell:ghc-9.10.x package:ghc-fsnotify revision:5, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-fsnotify?expand=0&rev=57
2025-03-26 13:52:05 +00:00
0944b1fda1 osc copypac from project:devel:languages:haskell:ghc-9.10.x package:ghc-fsnotify revision:3, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-fsnotify?expand=0&rev=56
2025-03-25 09:35:07 +00:00
6 changed files with 69 additions and 137 deletions

View File

@@ -0,0 +1,11 @@
diff -ub fsnotify-0.4.4.0-old/fsnotify.cabal fsnotify-0.4.4.0-new/fsnotify.cabal
--- fsnotify-0.4.4.0-old/fsnotify.cabal 2025-08-26 01:36:06.000000000 +0200
+++ fsnotify-0.4.4.0-new/fsnotify.cabal 2025-09-01 11:43:01.226384902 +0200
@@ -81,6 +81,7 @@
hinotify >=0.4.1
executable example
+ buildable: False
main-is: Main.hs
other-modules:
Paths_fsnotify

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d130fb4a871a181a3d1485f24da85aa49d6ff9022ce08f8401b4626143eaf7ef
size 22783

3
fsnotify-0.4.4.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:82b1afd9e2f0bf50afd190de4401132e879c031e06800c161e64eebbd1f2631b
size 24582

View File

@@ -1,117 +0,0 @@
cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.35.0.
--
-- see: https://github.com/sol/hpack
name: fsnotify
version: 0.4.1.0
x-revision: 1
synopsis: Cross platform library for file change notification.
description: Cross platform library for file creation, modification, and deletion notification. This library builds upon existing libraries for platform-specific Windows, Mac, and Linux filesystem event notification.
category: Filesystem
homepage: https://github.com/haskell-fswatch/hfsnotify
author: Mark Dittmer <mark.s.dittmer@gmail.com>, Niklas Broberg
maintainer: Tom McLaughlin <tom@codedown.io>
license: BSD3
license-file: LICENSE
build-type: Simple
extra-source-files:
README.md
CHANGELOG.md
test/Main.hs
library
exposed-modules:
System.FSNotify
System.FSNotify.Devel
other-modules:
System.FSNotify.Find
System.FSNotify.Listener
System.FSNotify.Path
System.FSNotify.Polling
System.FSNotify.Types
hs-source-dirs:
src
ghc-options: -Wall
build-depends:
async >=2.0.0.0
, base >=4.8 && <5
, bytestring >=0.10.2
, containers >=0.4
, directory >=1.3.0.0
, filepath >=1.3.0.0
, monad-control >=1.0.0.0
, safe-exceptions >=0.1.0.0
, text >=0.11.0 && <2.1.2
, time >=1.1
, unix-compat >=0.2
default-language: Haskell2010
if os(linux)
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)
cpp-options: -DOS_BSD
if os(linux)
other-modules:
System.FSNotify.Linux
build-depends:
hinotify >=0.3.7
, unix >=2.7.1.0
if os(windows)
other-modules:
System.FSNotify.Win32
System.Win32.FileNotify
System.Win32.Notify
hs-source-dirs:
win-src
build-depends:
Win32
if os(darwin)
other-modules:
System.FSNotify.OSX
build-depends:
hfsevents >=0.1.3
test-suite tests
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
FSNotify.Test.EventTests
FSNotify.Test.Util
Paths_fsnotify
hs-source-dirs:
test
ghc-options: -threaded -Wall
build-depends:
async >=2
, base >=4.3.1.0
, directory
, exceptions
, filepath
, fsnotify
, random
, retry
, safe-exceptions
, temporary
, unix-compat
, unliftio >=0.2.20
default-language: Haskell2010
if os(linux)
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)
cpp-options: -DOS_BSD
if os(windows)
build-depends:
Win32
, sandwich >=0.1.1.1
else
build-depends:
sandwich

View File

@@ -1,3 +1,36 @@
-------------------------------------------------------------------
Mon Aug 25 23:37:12 UTC 2025 - Peter Simons <psimons@suse.com>
- Update fsnotify to version 0.4.4.0.
Version 0.4.4.0
----------
* Use hinotify and -DHAVE_NATIVE_WATCHER for FreeBSD (#121)
* Start testing FreeBSD in CI (#122)
-------------------------------------------------------------------
Tue May 20 11:39:03 UTC 2025 - Peter Simons <psimons@suse.com>
- Update fsnotify to version 0.4.3.0.
Version 0.4.3.0
----------
* Use polling as a generic fallback and add support for WASM (https://github.com/haskell-fswatch/hfsnotify/pull/110)
* Gracefully handle broken symlinks (https://github.com/haskell-fswatch/hfsnotify/pull/120)
-------------------------------------------------------------------
Fri Mar 21 10:47:51 UTC 2025 - Peter Simons <psimons@suse.com>
- Update fsnotify to version 0.4.2.0.
* Bump hfsevents constraint to >= 0.1.8 to pick up race condition fix (see
https://github.com/luite/hfsevents/pull/19).
* Compatibility with text-2.1.2 and an upper bound of 2.2.
* Lots of CI and test improvements.
* Document polling interval units (#111).
* Fix compat with text-2.1.2 (closes #116).
* Remove some redundant cleanup code paths.
- Apply "dont-install-example-exe.patch" to disable installing
the "example" executable from this package.
-------------------------------------------------------------------
Tue Oct 29 12:52:15 UTC 2024 - Peter Simons <psimons@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package ghc-fsnotify
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -20,13 +20,14 @@
%global pkgver %{pkg_name}-%{version}
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 0.4.1.0
Version: 0.4.4.0
Release: 0
Summary: Cross platform library for file change notification
License: BSD-3-Clause
URL: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
Patch01: dont-install-example-exe.patch
BuildRequires: chrpath
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-async-devel
BuildRequires: ghc-async-prof
@@ -38,15 +39,27 @@ BuildRequires: ghc-containers-devel
BuildRequires: ghc-containers-prof
BuildRequires: ghc-directory-devel
BuildRequires: ghc-directory-prof
BuildRequires: ghc-exceptions-devel
BuildRequires: ghc-exceptions-prof
BuildRequires: ghc-filepath-devel
BuildRequires: ghc-filepath-prof
BuildRequires: ghc-hinotify-devel
BuildRequires: ghc-hinotify-prof
BuildRequires: ghc-monad-control-devel
BuildRequires: ghc-monad-control-prof
BuildRequires: ghc-monad-logger-devel
BuildRequires: ghc-monad-logger-prof
BuildRequires: ghc-random-devel
BuildRequires: ghc-random-prof
BuildRequires: ghc-retry-devel
BuildRequires: ghc-retry-prof
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-safe-exceptions-devel
BuildRequires: ghc-safe-exceptions-prof
BuildRequires: ghc-string-interpolate-devel
BuildRequires: ghc-string-interpolate-prof
BuildRequires: ghc-temporary-devel
BuildRequires: ghc-temporary-prof
BuildRequires: ghc-text-devel
BuildRequires: ghc-text-prof
BuildRequires: ghc-time-devel
@@ -55,20 +68,12 @@ BuildRequires: ghc-unix-compat-devel
BuildRequires: ghc-unix-compat-prof
BuildRequires: ghc-unix-devel
BuildRequires: ghc-unix-prof
ExcludeArch: %{ix86}
%if %{with tests}
BuildRequires: ghc-exceptions-devel
BuildRequires: ghc-exceptions-prof
BuildRequires: ghc-random-devel
BuildRequires: ghc-random-prof
BuildRequires: ghc-retry-devel
BuildRequires: ghc-retry-prof
BuildRequires: ghc-sandwich-devel
BuildRequires: ghc-sandwich-prof
BuildRequires: ghc-temporary-devel
BuildRequires: ghc-temporary-prof
BuildRequires: ghc-unliftio-devel
BuildRequires: ghc-unliftio-prof
ExcludeArch: %{ix86}
%if %{with tests}
BuildRequires: ghc-sandwich-devel
BuildRequires: ghc-sandwich-prof
%endif
%description
@@ -103,14 +108,14 @@ Supplements: (ghc-%{pkg_name}-devel and ghc-prof)
This package provides the Haskell %{pkg_name} profiling library.
%prep
%autosetup -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
%autosetup -n %{pkg_name}-%{version} -p1
%build
%ghc_lib_build
%install
%ghc_lib_install
%ghc_fix_rpath %{pkg_name}-%{version}
%check
%cabal_test