Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 559488 - app-misc/strigi: default enable inotify USE and use.mask fam
Summary: app-misc/strigi: default enable inotify USE and use.mask fam
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-03 09:34 UTC by Pacho Ramos
Modified: 2015-09-03 12:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2015-09-03 09:34:33 UTC
Looking to Strigi, it looks like the same as done in glib-2 (bug 413403) applies for it: it's much better to directly rely on direct inotify support on linux than using obsolete and dead fam/gamin.

Then, I would suggest to enable inotify support by default and use.mask "fam" at default/linux/package.use.mask as done with glib-2 to make people use inotify instead of using it indirectly via gamin (this is also the way used in Arch Linux for ages without issues)

Thanks
Comment 1 Michael Palimaka (kensington) gentoo-dev 2015-09-03 09:47:04 UTC
I guess we should probably do something similar for kde-base/kdelibs and kde-frameworks/kcoreaddons too?
Comment 3 Timo Gurr (RETIRED) gentoo-dev 2015-09-03 11:13:33 UTC
(In reply to Michael Palimaka (kensington) from comment #1)
> I guess we should probably do something similar for kde-base/kdelibs and
> kde-frameworks/kcoreaddons too?

At least for the KF5 package kcoreaddons Arch Linux (who as mentioned before disable FAM in kdelibs and strig) don't disable it and have it listed in their dependencies (https://projects.archlinux.org/svntogit/packages.git/plain/kcoreaddons/trunk/PKGBUILD).

The CMakeLists.txt of kcoreaddons also mentions additional features when building with FAM support:

PURPOSE "Provides file alteration notification facilities using a separate service. FAM provides additional support for NFS."

But I'm not sure if this is still true, especially since the code is pretty old and probably copied over from kdelibs (as stated in the header of kdirwatch.cpp). 

I'm not really familiar with either FAM or NFS.
Comment 4 Pacho Ramos gentoo-dev 2015-09-03 12:46:47 UTC
(In reply to Timo Gurr from comment #3)
[...]
> PURPOSE "Provides file alteration notification facilities using a separate
> service. FAM provides additional support for NFS."
> 

I think that for that NFS capabilities even the original fam was needed over gamin and, then, the virtual wouldn't comply that