You are not logged in.

#1 2004-09-12 21:58:50

Lovechild
Member
From: Århus, Denmark
Registered: 2003-09-24
Posts: 64

[REQUEST] Gamin

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

#2 2004-09-13 14:55:46

sweiss
Member
Registered: 2004-02-16
Posts: 635

Re: [REQUEST] Gamin

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.

Offline

#3 2004-09-17 18:55:34

Thikasabrik
Member
Registered: 2004-02-23
Posts: 92

Re: [REQUEST] Gamin

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

#4 2004-09-17 19:29:27

ro0x
Member
From: Santiago, Chile
Registered: 2004-06-20
Posts: 79

Re: [REQUEST] Gamin

how this work? I need recompile some apps in gnome for the support?

Offline

#5 2004-09-19 00:28:15

Thikasabrik
Member
Registered: 2004-02-23
Posts: 92

Re: [REQUEST] Gamin

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

#6 2005-01-15 08:33:22

alexthelion
Member
From: Switzerland
Registered: 2004-03-06
Posts: 117

Re: [REQUEST] Gamin

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

#7 2005-01-15 09:30:13

alexthelion
Member
From: Switzerland
Registered: 2004-03-06
Posts: 117

Re: [REQUEST] Gamin

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

#8 2005-05-10 12:30:16

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: [REQUEST] Gamin

Anyone out there successfully using gamin? I gave it another try and still it doesn't seem to work as it should.

Offline

#9 2005-05-10 12:43:37

alexthelion
Member
From: Switzerland
Registered: 2004-03-06
Posts: 117

Re: [REQUEST] Gamin

I use it. It mostly works. You'll find a PKGBUILD in the AUR.

Offline

#10 2005-05-10 12:50:30

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: [REQUEST] Gamin

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 roll

Offline

#11 2005-05-28 13:29:09

nightfrost
Member
From: Sweden
Registered: 2005-04-16
Posts: 647

Re: [REQUEST] Gamin

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

#12 2005-05-28 13:42:45

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: [REQUEST] Gamin

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

#13 2005-05-28 13:57:31

nightfrost
Member
From: Sweden
Registered: 2005-04-16
Posts: 647

Re: [REQUEST] Gamin

Thanks for the input, lucke. So neither fam nor gamin can be trusted. No other alternatives, I guess...

Offline

#14 2005-05-30 20:29:54

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: [REQUEST] Gamin

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

#15 2005-06-27 20:44:16

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: [REQUEST] Gamin

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

#16 2005-06-27 20:56:45

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: [REQUEST] Gamin

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

#17 2005-06-27 21:20:51

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: [REQUEST] Gamin

Glad to hear.

Any other Gnome users? If gamin works well enough, it might just be time to throw fam out the window...

Offline

#18 2005-07-14 11:01:56

nightfrost
Member
From: Sweden
Registered: 2005-04-16
Posts: 647

Re: [REQUEST] Gamin

I just installed gamin 0.1.2 and it works absolutely beautifully smile No problems installing, no hitch anywhere!

Offline

#19 2005-07-15 16:49:03

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: [REQUEST] Gamin

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

#20 2005-07-15 18:57:14

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: [REQUEST] Gamin

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

#21 2005-07-26 14:43:25

freakyc
Member
Registered: 2004-03-28
Posts: 91

Re: [REQUEST] Gamin

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

#22 2005-08-29 14:35:29

koyi
Member
From: Osaka, Japan
Registered: 2005-08-15
Posts: 37

Re: [REQUEST] Gamin

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

#23 2005-08-29 15:07:34

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: [REQUEST] Gamin

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

#24 2005-08-30 20:53:40

Cotton
Member
From: Cornwall, UK
Registered: 2004-09-17
Posts: 568

Re: [REQUEST] Gamin

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

#25 2005-08-30 20:56:00

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: [REQUEST] Gamin

Just force it. It shouldn't bork anything.

Offline

Board footer

Powered by FluxBB