Hi folks,Some of you have already noticed Spotlight indexing /sw/src, which makes builds slow. For various reasons the solutions suggested so far aren't ideal[1], but msachs found out for us that directories with the *.build do not have anything inside them indexed.
So we're going to try moving the default buildpath from %p/src to %p/ src/fink.build . If we decide to release Fink with this change, those using the default buildpath will use the new one automatically. If you have a custom build path, Fink will warn you that this might be slowing down your builds, and offer to append .build--if you decline, Fink will never bother you about it again.
I'll be committing the changes to fink HEAD just after sending this. msachs is going to run another complete build, so that should help find any problems.
I don't think there are any other situations where fink is badly impacted by Spotlight. I suppose if you do a lot of installing/ removing that could cause problems. The new incremental indexing in HEAD creates lots of files, however that's apparently not a problem so long as there's no mdimporter. But if there are other places where we'd like to disable Spotlight, we've got a reasonable strategy now.
Comments would be appreciated. Dave[1] The solutions involved modifying files in /.Spotlight-V100. But Spotlight doesn't notice changes to the relevant files right away, build paths on different volumes are harder to deal with, and munging plists isn't fun.
PGP.sig
Description: This is a digitally signed message part
