This requires inotify 0.23-6 which is not available in portage yet, so if its added to portage, it needs to be in package.mask. gentoo-sources-2.6.12 will include inotify 0.23-7 or whatever the newest one is at time of release.
Created attachment 58855 [details] gamin-0.1.0.ebuild Nothing needed changing except the info messages
Created attachment 58948 [details] gamin-0.1.0.ebuild (noinotify USE flag) Optional (although heavily encouraged) inotify usage. I got it imported to gentopia yesterday.
Comment on attachment 58948 [details] gamin-0.1.0.ebuild (noinotify USE flag) Never mind. joem didn't like the idea of configurable inotify support.
Created attachment 59654 [details] gamin-0.1.0.ebuild Latest bugfix from John McCutchan
Created attachment 59655 [details, diff] gamin-0.1.0-flow-control.patch The actual fix
Created attachment 59663 [details, diff] gamin-0.1.0-cvs-upgrade.patch includes two CVS fixes since the release of 0.1.0 * server/gam_poll.c: (unregister_node), factorize code and make sure node are unregistered correctly. Fix crash from bug #303932. * libgamin/gam_data.c: (gamin_data_conn_event): Fix req->state vs req->type thinko.
Is this going to go into the gentopia overlay as well?
Dan, any chance we can give ya commit access or anything? And you toss them in there? It will give you a larger test base.
Dan, to Gentopia that is. Added ebuild to Gentopia overlay as gamin-0.1.0-r1.ebuild with both patches applied.
fam is not going to work fine on Gentoo/FreeBSD, I'll submit a patch to this ebuild and a patch to gamin sourced (cumulative of ports patches) as gamin is probably the best way to go for us.
Created attachment 59898 [details, diff] gamin-0.1.0-r1.patch (svn) patch over gamin-0.1.0-r1 ebuild, which adds G/FreeBSD support.
Created attachment 59899 [details, diff] gamin-0.1.0-freebsd.patch Patch with all the FreeBSD changes. Works fine on Linux (and probably Gentoo/kFreeBSD), too.
gamin-0.1.1 is out, but it doesn't look like kernel 2.6.12 has inotify ?
Correct. inotify has never been in the upstream kernel.
gentoo-sources-2.6.12 is out with inotify 0.23-12. So gamin-0.1.0 can now be in portage in ~x86
I'm not sure if it works for you Claessens, however, here, I have gentoo-sources-2.6.12, and gamin-0.1.0-r1 (and even tried gamin CVS) and I am back to the problem that I had before with mm-sources, in which, gamin no longer notifies/reads my usb disk insertion/pmount no longer automounts the disk. steev@mebius ~ $ pmount-hal /org/freedesktop/Hal/devices/volume_uuid_1C98_52D7 Error: device /dev/sda1 is not removable Is what I get (and got with mm-sources, but due to mm-sources nature, I didn't file a bug, simply bumped down to 2.6.11-r11, which worked fine once I applied the proper patch for inotify to the kernel) It seems like the new inotify patch in gentoo-sources SHOULD work, but apparently, something is missing somewhere. Watching both gamin and pmount closely to see.
I think you are running into a HAL bug which is fixed in hal 0.5. Either way, it's certainly not related to gamin.
works for me yes ! just tried gamin-0.1.0.ebuild and gamin-0.1.0-flow-control.patch. i've sys-apps/hal-0.4.8 and usb key are correctly monted and the icon appeare on the gnome desktop witch was buggy with preview versions of kernel/gamin.
gamin-0.1.1 is now included in the tree