There are many packages, who bundle some of their libraries they use, with corresponding USE flags to force them use system ones instead. As I don't like any package to bundle and use their own copy of those libraries, and there are plenty others like that also, I propose to have the posibility of something like "system-*" USE in make.conf for example, to avoid having lots of system-sqlite, system-cairo, etc USE flags over there. Or some other config to tell portage that you want to *always* (unless specified otherwise) use system libraries rather than package's ones. Reproducible: Always
This varies widely from one source package to another. There is no generic way to force this or we wouldn't have a tracker bug for it. *** This bug has been marked as a duplicate of bug 251464 ***
I think it is not really a duplicate: That tracker talks about the ebuilds/program that bundles libraries and links to them *silently* (or that I understood). The issue I report is past that tracker issue, when it is resolved via an USE flag, for example www-client/firefox having "system-cairo" USE flag for avoiding that tracker bug behaviour. What I am talking here is, once resolved the bundling via a system-{$LIBRARY} IUSE, having also an option to autoenable it for all packages supporting that approach, rather than having all of the combinations out there, as it may pollute a lot the config file for use flags, in my opinion unnecesarily. So I reopen this, feel free to re-evaluate, as I really think it is a very different issue from the bug you mentioned. To clarify, a sum up: this is not about the ebuilds that needs *fixing* for this cause, this has to be applied *after* ebuilds are actually fixed, to provide a generic way to support all different USE and system library configurations, in case the ebuilds are fixed with a USE flag instead of forcing them to use affected system libraries hardcoded (for example www-client/firefox is resolved with an USE flag).
For example, having this option in /etc/portage/make.conf (just an example): USE_SYSTEM_LIBRARIES="cairo sqlite" And with that line, will trigger automatically system-cairo and system-sqlite USE flags for affected packages.
(Ouch, sorry for double posting), I forgot to mention that even: USE_SYSTEM_LIBRARIES="*" could be a good idea also. Thanks
So this is a request for a change of USE flags so it is easier to recognise USE flags that enable/disable use of bundled sources/libraries? Please bring this up on the gentoo-dev@ mailing list.