Am Sonntag, 14. April 2013, 15:09:13 schrieb Rich Freeman: > For whoever is interested I tossed together a script to identify > packages that would immediately benefit from slot operator > dependencies but which are not doing so. > > The list can be found at: > http://dev.gentoo.org/~rich0/missedslotops.txt >
Please be careful with this... and think before you add the subslot dependency. Whether it makes sense depends a lot on the handling and on the maintainer of the package that you depend on. Examples (yes I learned...): 1) Perl stuff I *suspect* all KDE ebuilds depend on perl by default because the packages have to be able to run perl scripts. However, unless they install perl modules or link to libperl, there is absolutely no need to add a subslot dependency. 2) Poppler Poppler provides several libraries, and I set the subslot equal the major soversion of the one that is varied most frequently (libpoppler). If your application links to that, you should use a subslot dep. If your application links to another library, you can use a subslot dep, but it will lead to some unneeded rebuilds. If your application only uses the commandline tools installed by app- text/poppler[utils], then there's no need to rebuild. Actually I would like to recommend that we document the reason and recommended handling for the subslot somewhere for each package (unless it's trivial). For example, we could place something like the above text into dev-lang/perl or app-text/poppler metadata.xml. -- Andreas K. Huettel Gentoo Linux developer [email protected] http://www.akhuettel.de/
signature.asc
Description: This is a digitally signed message part.
