I noticed we needed this in some packages and we should pass it when possible as, otherwise, mime stuff can be overwritten (I noticed due QA warnings in summary.log)
Note that this would be less of a problem if packages providing these tools could own these files like we did for gtk immodules and gdk-pixbuf loaders cache.
As in, at least if would throw a conflict on src_install.
Well, we probably can do both: fix the other package to own /usr/share/mime dirs and append the proper configure option for packages using that ;)
OK The gdk-pixbuf case is a bit different as it only affects when concrete file, on the other site, for this one, we would need shared-mime-info package to own any file under /usr/share/mime... but I don't know how could this be done :/, the package could install the directory... but how can we prevent other ebuilds from installing random files there?
I would finally go ahead with this, it wouldn't block any future work on trying to own all that mime files to get better "collision" error messages :/
[master 7349ee6] eclass/gnome2.eclass: prevent packages from trying to update mimedb (#511944) 1 file changed, 5 insertions(+)