Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 511944

Summary: gnome2.eclass: pass --disable-update-mimedb when available
Product: Gentoo Linux Reporter: Pacho Ramos <pacho>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal CC: esigra
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 262490    

Description Pacho Ramos gentoo-dev 2014-05-31 10:40:03 UTC
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)
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2014-12-26 23:03:40 UTC
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.
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2014-12-26 23:04:04 UTC
As in, at least if would throw a conflict on src_install.
Comment 3 Pacho Ramos gentoo-dev 2014-12-28 19:08:42 UTC
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 ;)
Comment 4 Pacho Ramos gentoo-dev 2014-12-28 19:31:14 UTC
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?
Comment 5 Pacho Ramos gentoo-dev 2016-01-20 11:38:42 UTC
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 :/
Comment 6 Pacho Ramos gentoo-dev 2016-01-30 09:54:40 UTC
[master 7349ee6] eclass/gnome2.eclass: prevent packages from trying to update mimedb (#511944)
 1 file changed, 5 insertions(+)