Gentoo Archives: gentoo-dev

From: Jim Ramsay <lack@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Optional Package Dependencies for netscape-flash -> libflashsupport
Date: Fri, 11 May 2007 19:58:00
Message-Id: 20070511135253.19192cf2@sed-192.sedsystems.ca
In Reply to: Re: [gentoo-dev] Optional Package Dependencies for netscape-flash -> libflashsupport by "Thomas Rösner"
1 Thomas Rösner wrote:
2 > Jim Ramsay wrote:
3 > > [snip]
4 > > Have netscape-flash with IUSE="vanilla" (by default it is off),
5 > > which when enabled will not pull in libflashsupport.
6 > >
7 >
8 > I don't quite see why this is necessary? Or why you do have this
9 > discussion?
10
11 I started this discussion to find out the best way to add
12 libflashsupport to netscape-flash for users who want the extra features
13 that it offers.
14
15 > > This meets the following goals:
16 > >
17 > > 1) It makes it easy for "regular" users to get netscape-flash with
18 > > any additions required by any global USE flags in exactly one step:
19 > > - emerge netscape-flash
20 > >
21 >
22 > So, in netscape-flash:
23 > RDEPEND="
24 > ssl? ( foo/libflashsupport )
25 > pulseaudio? ( foo/libflashsupport )
26 > esd? ( foo/libflashsupport )
27 > oss? ( foo/libflashsupport )
28 > "
29 > and IUSE="ssl pulseaudio esd oss gnutls" in libflashsupport (which, as
30 > already said, has it's own ebuild)?
31
32 Yes, I considered this, it is option (2) in the original post in this
33 thread. However, I do not believe this is the best solution. Consider
34 the case where:
35 - A user has 'ssl' disabled globally
36 - A user sees that netscape-flash now has 'ssl' support, so he/she
37 enables 'ssl' just for the netscape-flash ebuild.
38 - The ebuild would then install libflashsupport, but do so without
39 actually adding ssl support, which would be quite frustrating to the
40 user, and probably generate unnedded bug traffic.
41
42 It would be much more clear to only use the ssl USE flag when it
43 actually affects ssl support.
44
45 > > 2) It makes it easy for "power" users to not have libflashsupport
46 > > actually install anything by disabling all the USE flags. This will
47 > > take 3 steps:
48 > > - Notice at upgrade or install time that there's this new 'extra'
49 > > package being installed
50 > > - Enable the 'vanilla' flag for netscape-flash
51 > > - Continue with upgrade or install
52 >
53 > It's still easy enough to disable it via -* in package.use?
54
55 I'm not sure I understand what you are saying here.
56
57 --
58 Jim Ramsay
59 Gentoo/Linux Developer (rox,gkrellm)

Attachments

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

Replies