Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: zmedico@g.o
Subject: Re: [gentoo-dev] RFC: splitting virtual/
Date: Wed, 17 Aug 2011 07:19:10
Message-Id: 20110817092002.72329490@pomiocik.lan
In Reply to: Re: [gentoo-dev] RFC: splitting virtual/ by Zac Medico
1 On Tue, 16 Aug 2011 03:01:26 -0700
2 Zac Medico <zmedico@g.o> wrote:
3
4 > On 08/16/2011 02:32 AM, Ciaran McCreesh wrote:
5 > > On Tue, 16 Aug 2011 00:19:38 -0700
6 > > Zac Medico <zmedico@g.o> wrote:
7 > >>> Isn't that another, ugly, non-PMS hack which makes people think
8 > >>> they are creating correct packages?
9 > >>
10 > >> Are you saying that you'd prefer to have package managers pull in
11 > >> redundant packages for not good reason?
12 > >
13 > > No, package managers should get things right regardless of whether
14 > > something is in the 'virtual/' category or not. If they can't get
15 > > things right, then we need to supply them with more data.
16 >
17 > Consider the virtual/jre and virtual/jdk case. Suppose that
18 > virtual/jdk isn't installed for some reason, but dev-java/sun-jdk
19 > which satisfies it is already installed. In this case, unless you
20 > know that virtual/jdk is zero-cost, it's not clear that it costs less
21 > to install virtual/jdk than to install dev-java/sun-jre-bin. There
22 > may be lots of cases like this where zero-cost metadata would be
23 > useful.
24
25 Maybe virtual/jre & virtual/jdk should me merged into a single ebuild
26 with USE-switchable behavior? Something like:
27
28 RDEPEND="jdk? ( || ( a-jdk b-jdk ) )
29 !jdk? ( || ( a-jre b-jre a-jdk b-jdk ) )"
30
31 --
32 Best regards,
33 Michał Górny

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] RFC: splitting virtual/ Zac Medico <zmedico@g.o>