public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] virtuals in /etc/portage/package.use
@ 2005-04-18  7:47 Philipp Hasse
  2005-04-18  9:32 ` Jason Stubbs
  0 siblings, 1 reply; 2+ messages in thread
From: Philipp Hasse @ 2005-04-18  7:47 UTC (permalink / raw
  To: gentoo-dev

Hi,

is it true that entries starting with virtual won't work in
/etc/portage/package.use?
For example if I want to disable the doc use flag on the selected java
distribution I would write: "virtual/jre -doc".
What about adding this feature to portage?

Regards
Philipp Hasse

-- 
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-dev] virtuals in /etc/portage/package.use
  2005-04-18  7:47 [gentoo-dev] virtuals in /etc/portage/package.use Philipp Hasse
@ 2005-04-18  9:32 ` Jason Stubbs
  0 siblings, 0 replies; 2+ messages in thread
From: Jason Stubbs @ 2005-04-18  9:32 UTC (permalink / raw
  To: gentoo-dev

On Monday 18 April 2005 16:47, Philipp Hasse wrote:
> Hi,
>
> is it true that entries starting with virtual won't work in
> /etc/portage/package.use?
> For example if I want to disable the doc use flag on the selected java
> distribution I would write: "virtual/jre -doc".
> What about adding this feature to portage?

Short answer? No.

Long answer? Here:

You're opening a can of worms there... What to do when virtual/jre and 
dev-java/blackdown-jre are both specified but in conflict? What about if 
dev-java/blackdown-jre is specified directly on the command line?

There would also be a big performance loss. For every package that is looked 
at, portage would have to check if it provides any virtuals. After that every 
one of the virtuals would have to be checked against package.use. It would 
then have to check for and resolve any conflicts.

But of course, if package.use were to support this then package.mask, 
package.unmask and package.keywords would have to support it as well. All in 
all, a big loss for a small gain.

Regards,
Jason Stubbs
-- 
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-04-18  9:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-18  7:47 [gentoo-dev] virtuals in /etc/portage/package.use Philipp Hasse
2005-04-18  9:32 ` Jason Stubbs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox