View | Details | Raw Unified | Return to bug 254024 | Differences between
and this patch

Collapse All | Expand All

(-)b/devel/glib20/Makefile (-5 / +19 lines)
Lines 35-45 PORTSCOUT= limitw:1,even Link Here
35
_LIBVERSION=	0.6600.7
35
_LIBVERSION=	0.6600.7
36
PLIST_SUB=	LIBVERSION=${_LIBVERSION}
36
PLIST_SUB=	LIBVERSION=${_LIBVERSION}
37
37
38
OPTIONS_DEFINE=	DEBUG FAM_ALTBACKEND MANPAGES NLS
38
OPTIONS_DEFINE=	DEBUG MANPAGES NLS
39
OPTIONS_DEFAULT=	MANPAGES
39
OPTIONS_DEFAULT=	LIBINOTIFY MANPAGES
40
OPTIONS_RADIO=		FAM
41
OPTIONS_RADIO_FAM=	BUILTIN FAM_ALTBACKEND LIBINOTIFY
40
OPTIONS_SUB=		yes
42
OPTIONS_SUB=		yes
41
43
44
BUILTIN_DESC=		Built-in GIO file monitor backend
42
FAM_ALTBACKEND_DESC=	Alternate file monitor backend
45
FAM_ALTBACKEND_DESC=	Alternate file monitor backend
46
LIBINOTIFY_DESC=	Libinotify file monitor backend
47
LIBINOTIFY_LIB_DEPENDS=	libinotify.so:devel/libinotify
48
LIBINOTIFY_LDFLAGS=	-linotify
43
49
44
MANPAGES_BUILD_DEPENDS=	docbook-xml>4.1.2:textproc/docbook-xml \
50
MANPAGES_BUILD_DEPENDS=	docbook-xml>4.1.2:textproc/docbook-xml \
45
			docbook-xsl>0:textproc/docbook-xsl
51
			docbook-xsl>0:textproc/docbook-xsl
Lines 80-88 post-patch: Link Here
80
		${WRKSRC}/glib/gtester-report.in \
86
		${WRKSRC}/glib/gtester-report.in \
81
		${WRKSRC}/gobject/glib-genmarshal.in \
87
		${WRKSRC}/gobject/glib-genmarshal.in \
82
		${WRKSRC}/gobject/glib-mkenums.in
88
		${WRKSRC}/gobject/glib-mkenums.in
83
	${REINPLACE_CMD} -e '/inotify_init1/d' \
84
		-e '/inotify.h/d' \
85
		${WRKSRC}/meson.build
86
	${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
89
	${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
87
		${WRKSRC}/gio/xdgmime/xdgmime.c \
90
		${WRKSRC}/gio/xdgmime/xdgmime.c \
88
		${WRKSRC}/glib/gutils.c \
91
		${WRKSRC}/glib/gutils.c \
Lines 90-95 post-patch: Link Here
90
93
91
CODEGENDIR=	${PREFIX}/share/glib-2.0/codegen
94
CODEGENDIR=	${PREFIX}/share/glib-2.0/codegen
92
95
96
post-patch-LIBINOTIFY-on:
97
	${REINPLACE_CMD} -e '/kqueue/d ; /kevent/d ; /event.h/d' \
98
		${WRKSRC}/meson.build
99
	${REINPLACE_CMD} -e 's/have_func_kqueue/false/' \
100
		-e 's/have_func_kevent/false/' \
101
		${WRKSRC}/gio/meson.build
102
103
post-patch-LIBINOTIFY-off:
104
	${REINPLACE_CMD} -e '/inotify_init1/d ; /inotify.h/d' \
105
		${WRKSRC}/meson.build
106
93
post-install:
107
post-install:
94
	${MKDIR} ${STAGEDIR}${PREFIX}/share/GConf/gsettings
108
	${MKDIR} ${STAGEDIR}${PREFIX}/share/GConf/gsettings
95
	${MKDIR} ${STAGEDIR}${PREFIX}/lib/gio/modules
109
	${MKDIR} ${STAGEDIR}${PREFIX}/lib/gio/modules
(-)b/devel/libinotify/Makefile (-3 / +6 lines)
Lines 4-19 PORTNAME= libinotify Link Here
4
PORTVERSION=	20180201
4
PORTVERSION=	20180201
5
PORTREVISION=	2
5
PORTREVISION=	2
6
CATEGORIES=	devel
6
CATEGORIES=	devel
7
MASTER_SITES=	https://github.com/libinotify-kqueue/libinotify-kqueue/releases/download/${PORTVERSION}/
8
7
9
MAINTAINER=	sunpoet@FreeBSD.org
8
MAINTAINER=	sunpoet@FreeBSD.org
10
COMMENT=	Kevent based inotify compatible library
9
COMMENT=	Kevent based inotify compatible library
11
10
12
LICENSE=	MIT
11
LICENSE=	MIT
13
12
14
USES=		libtool
13
USES=		autoreconf libtool
14
15
USE_GITHUB=	yes
16
GH_ACCOUNT=	wulf7
17
GH_PROJECT=	libinotify-kqueue
18
GH_TAGNAME=	62eaa10
15
19
16
CONFIGURE_ARGS=	--enable-skip-subfiles=fusefs,smbfs
17
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE=	yes
18
INSTALL_TARGET=	install-strip
21
INSTALL_TARGET=	install-strip
19
USE_LDCONFIG=	yes
22
USE_LDCONFIG=	yes
(-)b/devel/libinotify/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1598621988
1
TIMESTAMP = 1618608679
2
SHA256 (libinotify-20180201.tar.gz) = 0110344305bf9ddf1019276657e656b359d4360dc94526dc6b8aa68fba688420
2
SHA256 (wulf7-libinotify-kqueue-20180201-62eaa10_GH0.tar.gz) = 561b26a9355bab2649f7c4f139ebf60108818c8012bbd93d910f415dba1fa97f
3
SIZE (libinotify-20180201.tar.gz) = 437685
3
SIZE (wulf7-libinotify-kqueue-20180201-62eaa10_GH0.tar.gz) = 74454
(-)a/devel/libinotify/pkg-message (-41 lines)
Removed Link Here
1
[
2
{ type: install
3
  message: <<EOM
4
Libinotify functionality on FreeBSD is missing support for
5
6
  - detecting a file being moved into or out of a directory within the
7
    same filesystem
8
  - certain modifications to a symbolic link (rather than the
9
    file it points to.)
10
11
in addition to the known limitations on all platforms using kqueue(2)
12
where various open and close notifications are unimplemented.
13
14
This means the following regression tests will fail:
15
16
Directory notifications:
17
   IN_MOVED_FROM
18
   IN_MOVED_TO
19
20
Open/close notifications:
21
   IN_OPEN
22
   IN_CLOSE_NOWRITE
23
   IN_CLOSE_WRITE
24
25
Symbolic Link notifications:
26
   IN_DONT_FOLLOW
27
   IN_ATTRIB
28
   IN_MOVE_SELF
29
   IN_DELETE_SELF
30
31
Kernel patches to address the missing directory and symbolic link
32
notifications are available from:
33
34
https://github.com/libinotify-kqueue/libinotify-kqueue/tree/master/patches
35
36
You might want to consider increasing the kern.maxfiles tunable if you plan
37
to use this library for applications that need to monitor activity of a lot
38
of files.
39
EOM
40
}
41
]

Return to bug 254024