public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Ciaran McCreesh <ciaran.mccreesh@googlemail.com>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] The KDE overlay moves forward
Date: Tue, 18 Mar 2008 09:32:01 +0000	[thread overview]
Message-ID: <20080318093201.29427d38@snowcone> (raw)
In-Reply-To: <430880c50803180221w6a803fb2x310cd7f1908a29ab@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1330 bytes --]

On Tue, 18 Mar 2008 10:21:49 +0100
"Fabio Erculiani" <lxnay@sabayonlinux.org> wrote:
> Example:
> x11-libs/qt:*
> 
> In that case, what Paludis will pull? x11-libs/qt:3 or x11-libs/qt:4 ?
> Is my understanding right?
> Also, could you make an example for the ":= slot dependency" syntax?

See the section "Slot Dependencies" in chapter 9 of
http://www.mailstation.de/pms.pdf .

In non technical terms:

:* means, effectively, that the slot isn't locked at compile time, and
that if you build a package against foo:2, it will work at runtime
with foo:1 or foo:3 instead. Examples of this are many things that don't
do C-style linking.

:= means, effectively, that the slot is locked at compile time. An
example of this is a package that can use any version of 'db' -- the
package can often compile against any version of db, but if you remove
the slot of the db version against which the package was built, the
package will break.

It's used by Paludis as a hint to --uninstall and --uninstall-unused.
For normal dependencies, Paludis takes the safe option and assumes that
if something has a run dep upon foo, all installed slots of foo are
used. Using :* dependencies relaxes that restriction to any slot.
Using := dependencies changes that restriction to one specific slot.

-- 
Ciaran McCreesh

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2008-03-18  9:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-17 22:43 [gentoo-dev] The KDE overlay moves forward Wulf C. Krueger
2008-03-18  8:11 ` [gentoo-dev] " Steve Long
2008-03-18  8:17   ` Ciaran McCreesh
2008-03-18  9:21 ` [gentoo-dev] " Fabio Erculiani
2008-03-18  9:32   ` Ciaran McCreesh [this message]
2008-03-18 11:00     ` Fabio Erculiani
2008-03-18 13:53       ` [gentoo-dev] " Duncan
2008-03-18 14:26       ` [gentoo-dev] " Ciaran McCreesh
2009-10-21 19:56 ` Wulf C. Krueger

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=20080318093201.29427d38@snowcone \
    --to=ciaran.mccreesh@googlemail.com \
    --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