public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Thomas de Grenier de Latour <degrenier@easyconnect.fr>
To: gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] dummy-sources
Date: Fri, 25 Jul 2003 02:08:46 +0200	[thread overview]
Message-ID: <20030725020846.096f1d24.degrenier@easyconnect.fr> (raw)
In-Reply-To: <1059060256.7704.6.camel@malfus>

On 24 Jul 2003 09:24:17 -0600
Dave Nellans <dnellans@cs.utah.edu> wrote:

> you explicitly inject some version but as long as you never add it to
> your world file it won't be updated unless required by something that
> depends on it.  And in that case you are going to want to update
> anyways, and you can just inject it again and build your own source
> that satisfies the new dependancies.

If pkgA depends on virtual/foo, and virtual/foo is instanciated by pkgB,
then an "emerge -u pkgA" will try to update pkgB, whether it has been
really emerged  or injected. Hence, if pkgA is a world package, an
"emerge -u world" can build an update of your injected package, and in
the linux-source example, that's not what we want.

Another issue is that the inject of pkgB to instanciate virtual/foo will
only does what we expect if pkgB is the default package associated to
virtual/foo in your profile "virtuals" dictionnary. This is because
ebuilds are not parsed by inject (hence PROVIDE is ignored, and nothing
gets added to your edb/virtuals). For instance, because gentoo-sources
is the default value for virtual/linux-sources, if you inject
vanilla-sources and then emerge something depending on
virtual/linux-sources, gentoo-sources will be emerged.

That's why I was suggesting the possibility to inject virtual packages,
I think it would really be more clear when what the user wants is to
satisfy the dependencies on this virtual packages. 

But dummy ebuilds are also an acceptable (and easier) way to do it. We
can imagine a dummy category for such stub ebuilds, one for each virtual
packages, so that "emerge dummy/linux-sources" would definitly
instanciate virtual/linux-sources, because there would be no updates in
this category.

-- 
TGL.

--
gentoo-dev@gentoo.org mailing list


  reply	other threads:[~2003-07-25  0:08 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-24 14:43 [gentoo-dev] dummy-sources Florian Huber
2003-07-24 14:59 ` Dave Nellans
2003-07-24 15:13   ` Thomas de Grenier de Latour
2003-07-24 15:24     ` Dave Nellans
2003-07-25  0:08       ` Thomas de Grenier de Latour [this message]
2003-07-24 15:15   ` Florian Huber
2003-07-24 15:37     ` Georgi Georgiev
2003-07-26  2:01       ` Mike Frysinger
2003-07-26  2:22         ` Brad Laue
2003-07-26  3:26           ` Dave Nellans
2003-07-26  4:34             ` Georgi Georgiev
2003-07-26  5:39               ` Dave Nellans
2003-07-26  6:20         ` Seemant Kulleen
2003-07-26  7:46           ` Jason A. Mobarak
2003-07-26  8:18           ` Thomas de Grenier de Latour
2003-07-27 14:55         ` Jay Pfeifer
2003-07-25  0:29 ` George Shapovalov
2003-07-26  8:22 ` Bartosch Pixa
2003-07-27 17:01 ` Florian Huber

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=20030725020846.096f1d24.degrenier@easyconnect.fr \
    --to=degrenier@easyconnect.fr \
    --cc=gentoo-dev@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