You are not logged in.
Seeing as fam is broken beyond believe and most vendors are moving towards it's SELinux safe replacement gamin I would like to see it on Arch Linux as well.
I'm proud to be a a freedomloving infidel piece of treehugging eurotrash.
Offline
Here's my attempt:
pkgname=gamin
pkgver=0.0.9
pkgrel=1
pkgdesc="Gamin is a file and directory monitoring system defined to be a subset of the FAM (File Alteration Monitor) system."
url="http://www.gnome.org/~veillard/gamin"
license="GPL"
depends=('glib2')
makedepends=('gtk-doc')
source=($url/sources/$pkgname-$pkgver.tar.gz)
md5sums=('2d0f6ac13d4c2120d6a1bc242583a689')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr --enable-gtk-doc
make || return 1
make prefix=$startdir/pkg/usr install
}
I'm not sure whether it replaces/conflicts with FAM or not, though.
Some PKGBUILDs: http://members.lycos.co.uk/sweiss3
Offline
This actually works very nicely as it is. The file-change response time in nautilus is much better than with fam, there is no daemon to run in sysinit, and it doesn't use portmap. Nice.
It does conflict with fam though, since it provides the fam libraries.
edit: needs to provide, replace, and conflict 'fam'
Offline
how this work? I need recompile some apps in gnome for the support?
Offline
It provides the fam libraries in a compatible way, executing the relevant code only when the library is used. FAM compatible programs do not need to be recompiled to work with gamin.. at least.. not as far as I can tell.. (mine's working fine without) 8)
Offline
I just tried it out. I think it's a very good replacement for fam, because it
* doesn't have the portmap dependency
* isn't a daemon
* doesn't crash on shutdown
* is much faster
I would actually consider officially replacing fam in Archlinux with gamin. If other people could try that out and give feedback that would be nice. I'll provide hereafter an up-to-date PKGBUILD for Gamin 0.0.20.
pkgname=gamin
pkgver=0.0.20
pkgrel=1
pkgdesc="Gamin is a file and directory monitoring system defined to be a subset of the FAM (File Alteration Monitor) system."
url="http://www.gnome.org/~veillard/gamin"
license="GPL"
depends=('glib2')
makedepends=('gtk-doc')
provides=('fam')
conflicts=('fam')
replaces=('fam')
source=($url/sources/$pkgname-$pkgver.tar.gz)
md5sums=('6fef61914cca3b6cdd6cce3e391024bb')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr --enable-gtk-doc
make || return 1
make prefix=$startdir/pkg/usr install
}
Note: even though I put a "provides=('fam')", pacman refused replacing fam with gamin without the --nodeps option.
Offline
Note: while Nautilus in general works with gamin directly after the package upgrade, it does need a reboot for the updating of the desktop icons to work correctly.
Could some Gnome user with fam installed please verify whether the file open dialog supports fam? It doesn't show newly created files with gam.
Offline
Anyone out there successfully using gamin? I gave it another try and still it doesn't seem to work as it should.
Offline
I use it. It mostly works. You'll find a PKGBUILD in the AUR.
Offline
Yeah, just got it to work. But only version patched for inotify 0.23 seems to work, while I'm still using kernel with inotify 0.21 patch. Peculiar
Offline
Isn't there anything one needs to do to get gamin working? I've installed it now and removed fam, but there's no update at all in nautius. I've also tried to install version .26, but that didn't help either...
Offline
Basically, it should work 'out of box' (i.e. only installation is needed, gam_server is started on request). However, it doesn't seem to be that ideal. For me, it worked only from time to time in konqueror - compiling it from cvs helped, but only till the next kernel update ;-) Damn, I did spend some time trying to find the culprit. I'll keep fighting with it when I get back to my box. Concluding, you should be aware that it's still a pretty fishy and unpredictable thing.
Offline
Thanks for the input, lucke. So neither fam nor gamin can be trusted. No other alternatives, I guess...
Offline
Finally, I've observed some regularity. Gamin seems to work here in konqueror every time (or almost every) with kernels patched with inotify 23, whereas it works only sometimes with kernels patched with inotify 44 from mm. It gave me some cpu usage problems, just like fam did, but I guess it was only on the latter kernels (ie. with inotify 44).
If anyone's interested, below I paste the CVS pkgbuild. There are few (2?) actual bugfixes currently in cvs, compared to 0.1.0 version.
pkgname=gamin-cvs
pkgver=0.1.0
pkgrel=1
pkgdesc="Gamin is a file and directory monitoring system defined to be a subset of the FAM (File Alteration Monitor) system."
url="http://www.gnome.org/~veillard/gamin"
license="GPL"
depends=('glib2' 'python')
provides=('fam')
conflicts=('fam')
build() {
cvs -d:pserver:anonymous:@anoncvs.gnome.org:/cvs/gnome login
cvs -d:pserver:anonymous:@anoncvs.gnome.org:/cvs/gnome -z3 co gamin
cd $startdir/src/gamin
./autogen.sh --prefix=/usr
make || return 1
make prefix=$startdir/pkg/usr install
}
Offline
Apologies for resurrecting this thread, but I think I have some reason to - gamin 0.1.1 seems to work perfectly with GNOME, out of the box. Could somebody else try out the latest version? Got to make sure this isn't a fluke...
Offline
Well, I can only say that I haven't experienced any problems with gamin 0.1.1 and inotify from mm yet in konqueror.
Offline
Glad to hear.
Any other Gnome users? If gamin works well enough, it might just be time to throw fam out the window...
Offline
I just installed gamin 0.1.2 and it works absolutely beautifully No problems installing, no hitch anywhere!
Offline
Running gnome 2.11 with gamin instead of fam. No problems yet. Since we have inotify in the kernel now, I want to replace fam with gamin in the near future.
Offline
Glad to hear.
Running Gnome 2.1 with gamin 0.1.2 myself... With 0.1.1 there was a bug involving the desktop not being updated when apps created files on it, but that seems to have been fixed in the current version.
Offline
Been using this for about a week in KDE and seems to be working good. Actually, I was having problems with KDE network programs not fully loading and having stray processes left after programs were closed. I finally noticed famd was using like 30% CPU which didn't seem right. So far, since changing to gamin, I haven't had this problem.
I'll test it some more, but my power went out this morning, so figured I'd report my experience so far.
Offline
Now I know that this gamin is a better replacement for fam. But how do I start to use it?
I see it is in the testing repository and when I do "pacman -Su" it asks me whether to replace fam with gamin. What should I do after saying yes?
I have fam and portmap started in rc.conf. Can I remove them since gamin doesn't work as a daemon and doesnt need portmap?
Thanks.
Offline
Yes, you don't need to start any daemon in order to use gamin. It will start automatically when requested. Thus, you can safely remove portmap and fam daemons from rc.conf (unless you use portmap for something else).
Offline
Installing gamin requires fam to be removed. However, the installation message says that doing so will break the following dependancies:
wvstreams
kaffeine
gnome-vfs
apollon
gentoo
kdelibs
Presumably, you guys don't have those apps on your systems?
Offline
Just force it. It shouldn't bork anything.
Offline