On Tue, Oct 01, 2024 at 11:19:27PM GMT, Kirill A. Korinsky wrote: > Well, > > Now I discovered https://gitlab.com/worthwhileit/bsd/fsnotifier which is > used at FreeBSD. > > It requires some work but can be used on OpenBSD as well. > > Here a port and update for devel/intellij to enjoy it. > > Some medium size Java project requires to tune openfiles and kern.maxfiles > to value large than 60k > > Lucas, do you think we need it?
Not opposed to it. It's been a while since I've dived into the intellij guts, is there an easy way to enable this for PyCharm as well? In either/both cases, it would be worth adding some text to pkg/README for guidance on adjusting values with a YMMV. > > The diff for intellij port: > > Index: Makefile > =================================================================== > RCS file: /cvs/ports/devel/intellij/Makefile,v > retrieving revision 1.99 > diff -u -p -r1.99 Makefile > --- Makefile 8 Sep 2024 02:15:54 -0000 1.99 > +++ Makefile 1 Oct 2024 21:14:51 -0000 > @@ -1,6 +1,7 @@ > COMMENT= IntelliJ IDEA Java IDE > > V= 2024.2.1 > +REVISION= 0 > DISTNAME= ideaIC-${V} > PKGNAME= intellij-${V} > CATEGORIES= devel > @@ -19,6 +20,7 @@ MODJAVA_VER= 17 > BUILD_DEPENDS= ${MODJAVA_RUN_DEPENDS} > > RUN_DEPENDS= devel/desktop-file-utils \ > + devel/intellij-fsnotifier \ > java/javaPathHelper > > NO_TEST= Yes > @@ -56,5 +58,7 @@ do-install: > @ln -s ${TRUEPREFIX}/bin/idea-lightedit \ > ${PREFIX}/bin/intellij-lightedit > ${INSTALL_MAN} ${FILESDIR}/idea.1 ${PREFIX}/man/man1 > + > + @echo > "idea.filewatcher.executable.path=${LOCALBASE}/bin/intellij-fsnotifier" >> > ${IJ}/bin/idea.properties > > .include <bsd.port.mk> > > > -- > wbr, Kirill