As a reminder. The simplest will probably to transpose gamin's hurd support (gamin/server/gam_hurd_mach_notify.c) as a GLocalFileMonitor backend, using gio/kqueue/gkqueuefilemonitor.c as a skeleton example.
Samuel Simon McVittie, le jeu. 24 mars 2022 10:55:48 +0000, a ecrit: > Source: glib2.0,hurd > Severity: normal > Tags: sid bookworm > X-Debbugs-Cc: debian-h...@lists.debian.org > > As a result of gamin being unmaintained upstream (see #1008205), a branch > was recently merged for GLib 2.73.x that will remove GLib's fam-based > GFileMonitor backend. This means that in the next GNOME release cycle, > which should reach Debian in approximately 6 months, there will be no > GLocalFileMonitor backend suitable for use on Hurd, unless Hurd developers > take action before then. > > One option would be for Hurd developers to add a GLocalFileMonitor > backend to GLib upstream, alongside the GInotifyFileMonitor (for Linux) > and the GKqueueFileMonitor (for FreeBSD and kFreeBSD). > > Another option would be for Hurd developers to create and maintain > an out-of-tree GLocalFileMonitor backend (a GIO module that implements > G_LOCAL_FILE_MONITOR_EXTENSION_POINT_NAME, analogous to the GIO modules in > src:gvfs and src:glib-networking that implement various other extension > points), which could do whatever Hurd-specific things are desired. > > I do not intend to work on this myself, and I do not intend to merge > significant features into src:glib2.0 as Debian-specific patches. > > smcv >