From owner-cvs-all@FreeBSD.ORG Wed Jun 1 06:53:26 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 87B9616A41C; Wed, 1 Jun 2005 06:53:26 +0000 (GMT) (envelope-from mezz@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 645F743D58; Wed, 1 Jun 2005 06:53:26 +0000 (GMT) (envelope-from mezz@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j516rQxF010240; Wed, 1 Jun 2005 06:53:26 GMT (envelope-from mezz@repoman.freebsd.org) Received: (from mezz@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j516rQn1010239; Wed, 1 Jun 2005 06:53:26 GMT (envelope-from mezz) Message-Id: <200506010653.j516rQn1010239@repoman.freebsd.org> From: Jeremy Messenger Date: Wed, 1 Jun 2005 06:53:26 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/lang/mono Makefile ports/lang/mono/files patch-mono_metadata_filewatcher.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jun 2005 06:53:26 -0000 mezz 2005-06-01 06:53:26 UTC FreeBSD ports repository Modified files: lang/mono Makefile Added files: lang/mono/files patch-mono_metadata_filewatcher.c Log: [...Took from jylefort's comment in email with a bit tweak...] Mono will using Gamin or FAM by default if it exists in the runtime. If either doesn't exist then it will use KeventWatcher.cs. Add auto-check on Gamin and FAM for dependency. Bump the PORTREVISION to have the fix of kqueue. Rationale: - KeventWatcher.cs is naive, it does not report changes made to files within a monitored directory [1] - KeventWatcher.cs is implemented in C#, it is therefore slower than Gamin or FAM, which are implemented in C and C++, respectively [1] this is a bug which should be reported to the vendor Testing, using the attached WatchTest.cs: With KeventWatcher.cs: $ mono WatchTest.exe /somedir & [1] 89857 $ touch /somedir/foo OnCreatedEvent /somedir/foo $ echo foo >> /somedir/foo With Gamin: $ mono WatchTest.exe /somedir & [1] 89889 $ touch /somedir/foo OnCreatedEvent /somedir/foo $ echo foo >> /somedir/foo OnChangedEvent /somedir/foo Submitted by: jylefort Revision Changes Path 1.43 +7 -1 ports/lang/mono/Makefile 1.1 +34 -0 ports/lang/mono/files/patch-mono_metadata_filewatcher.c (new)