From: "Andreas K. Huettel" <dilfridge@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Opportunities to use slot operators
Date: Sun, 14 Apr 2013 19:11:58 +0200 [thread overview]
Message-ID: <201304141912.04396.dilfridge@gentoo.org> (raw)
In-Reply-To: <CAGfcS_nPNnrUvCg29xOn_HxyNR_A84Pa_isSNFrTCq8wUsSCeg@mail.gmail.com>
[-- Attachment #1: Type: Text/Plain, Size: 1652 bytes --]
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
dilfridge@gentoo.org
http://www.akhuettel.de/
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 966 bytes --]
next prev parent reply other threads:[~2013-04-14 17:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-14 13:09 [gentoo-dev] Opportunities to use slot operators Rich Freeman
2013-04-14 13:23 ` [gentoo-dev] " Michael Palimaka
2013-04-14 17:11 ` Andreas K. Huettel [this message]
2013-04-14 20:59 ` [gentoo-dev] " Zac Medico
2013-04-15 9:39 ` Christopher Schwan
2013-04-15 11:30 ` Rich Freeman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201304141912.04396.dilfridge@gentoo.org \
--to=dilfridge@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox