Date: Mon, 30 Jul 2018 01:57:30 +0000 From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: [Bug 214338] [PATCH] devel/glib20: new kqueue() backend for file monitoring Message-ID: <bug-214338-6497-K76dOEScym@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-214338-6497@https.bugs.freebsd.org/bugzilla/> References: <bug-214338-6497@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214338 --- Comment #54 from lightside <lightside@gmx.com> --- Created attachment 195618 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D195618&action= =3Dedit Alternative patch (since 473551 revision) (In reply to comment #52) > Probably, possible to propose these changes as an alternative backend, > for example as an additional gio's sub-directory I attached (obsoleted) patch, which adds/uses --enable-kqueue-fnm configure= 's option, if FAM_ALTBACKEND port's option enabled. But this may require to use autoreconf for current devel/glib20 version. I converted changes for Makefile.in to Makefile.am changes, with using some s= ed patches (similar to attachment #191861). For example, this adds "--enable-kqueue-fnm" configure option: -8<-- AC_ARG_ENABLE([kqueue-fnm], [AS_HELP_STRING([--enable-kqueue-fnm], [enable gio/kqueue_fnm backend, if kqueue supported])]) AM_CONDITIONAL(ENABLE_KQUEUE_FNM, [test "$enable_kqueue_fnm" =3D "yes"]) -->8- and "gio/kqueue_fnm/Makefile" to list of AC_CONFIG_FILES for configure.ac f= ile. The ENABLE_KQUEUE_FNM define checked in gio/Makefile.am: -8<-- if HAVE_KQUEUE if ENABLE_KQUEUE_FNM SUBDIRS +=3D kqueue_fnm platform_libadd +=3D kqueue_fnm/libkqueue.la platform_deps +=3D kqueue_fnm/libkqueue.la else SUBDIRS +=3D kqueue platform_libadd +=3D kqueue/libkqueue.la platform_deps +=3D kqueue/libkqueue.la endif endif -->8- It's just to show that such a concept is possible. --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-214338-6497-K76dOEScym>