From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1Hmaqq-0001rk-Pl for garchives@archives.gentoo.org; Fri, 11 May 2007 19:32:29 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l4BJVWF2026744; Fri, 11 May 2007 19:31:32 GMT Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l4BJTRIS024275 for ; Fri, 11 May 2007 19:29:27 GMT Received: from TesterServ.TesterNet ([70.83.102.151]) by VL-MH-MR001.ip.videotron.ca (Sun Java System Messaging Server 6.2-2.05 (built Apr 28 2005)) with ESMTP id <0JHW009OA64QYC70@VL-MH-MR001.ip.videotron.ca> for gentoo-dev@lists.gentoo.org; Fri, 11 May 2007 15:29:15 -0400 (EDT) Received: from uucp by TesterServ.TesterNet with local-rmail (Exim 4.63) (envelope-from ) id 1Hmani-0005g4-KN for gentoo-dev@lists.gentoo.org; Fri, 11 May 2007 15:29:14 -0400 Received: by TesterTop3.tester.ca (Postfix, from userid 1000) id 5A79F4A40F2; Fri, 11 May 2007 15:29:07 -0400 (EDT) Date: Fri, 11 May 2007 15:29:06 -0400 From: Olivier =?ISO-8859-1?Q?Cr=EAte?= Subject: Re: [gentoo-dev] Optional Package Dependencies for netscape-flash -> libflashsupport In-reply-to: <20070511131951.362744ed@sed-192.sedsystems.ca> To: gentoo-dev@lists.gentoo.org Message-id: <1178911746.8007.25.camel@localhost> Organization: Gentoo Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-version: 1.0 X-Mailer: Evolution 2.8.2.1 Content-type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-Crbb2yPUuxAg5Msv6iDf" References: <20070510110018.67dd40a0@sed-192.sedsystems.ca> <46436275.8050809@gentoo.org> <1178824282.8007.18.camel@localhost> <20070511111555.5f26e596@sed-192.sedsystems.ca> <4644AF3F.7030503@gentoo.org> <20070511121210.7a75dfa2@sed-192.sedsystems.ca> <1178908077.8007.21.camel@localhost> <20070511131951.362744ed@sed-192.sedsystems.ca> X-Archives-Salt: 5b753d00-d568-4f7c-b0ce-87a5f39e873a X-Archives-Hash: 7f1c38e7c6d6e32f947efab64622c4ff --=-Crbb2yPUuxAg5Msv6iDf Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Fri, 2007-11-05 at 13:19 -0600, Jim Ramsay wrote: > Olivier Cr=C3=AAte wrote: > > On Fri, 2007-11-05 at 12:12 -0600, Jim Ramsay wrote: > > > Josh Saddler wrote: > > > > Jim Ramsay wrote: > > > > > I suppose I could also propose: > > > > >=20 > > > > > 4) netscape-flash just RDEPENDS on libflashsupport all the time. > > > > > It's certainly not a large library to be added on. > > > > >=20 > > > >=20 > > > > That is a terrible idea. Don't make it "depend" on something that > > > > it clearly does *not* depend on. Flash works just fine without the > > > > optional add-ons, and those are *definitely* optional. I've never > > > > needed libflashsupport and would prefer not seeing useless cruft > > > > attached to a perfectly working Flash installation. > > >=20 > > > Point taken - If you don't want the extra features you don't want > > > libflashsupport at all. > > >=20 > > > I could make it so that if all of the USE flags for libflashsupport > > > are turned off it doesn't actually install the library at all, just > > > gets added to the list of installed packages. > > >=20 > > > > If you're going to add it to USE, then make sure it's *not* on by > > > > default, thanks. > > >=20 > > > This way it will adhere to your current set of global USE flags. If > > > you have pulseaudio, esd, oss, ssl, or gnutls on globally, it will > > > install libflashsupport with the appropriate hooks in it. If they > > > are all off (either globally or specifically for libflashsupport) > > > you will just get the same old netscape-flash with no add-ons. > > >=20 > > > Is this a worthy compromise? > >=20 > > This seems even worse.. I think either having one local use flag in > > netscape-flash is probably the best solution.. The second best is to > > have all of the use flags and RDEPEND on flash-support if any is > > enabled. >=20 > Can you explain what you mean by "even worse"? I think my latest > solution is more correct than any of the others yet proposed. In fact, > here's another small improvement on it: >=20 > Have netscape-flash with IUSE=3D"vanilla" (by default it is off), which > when enabled will not pull in libflashsupport. flashsupport should be disabled by default. I still think you should add a positive use flag to netscape-flash (call it flashsupport or or a combination of esd/ssl/gnutls/etc). > This meets the following goals: >=20 > 1) It makes it easy for "regular" users to get netscape-flash with any > additions required by any global USE flags in exactly one step: > - emerge netscape-flash > This is my #1 goal, otherwise I'd just have 'libflashsupport' as its > own separate package and those "in the know" would install it > separately if they want any of the extra features. But users should not > have to have special knowledge to get the features they have already > enabled in their global USE flags. >=20 > 2) It makes it easy for "power" users to not have libflashsupport > actually install anything by disabling all the USE flags. This will > take 3 steps: > - Notice at upgrade or install time that there's this new 'extra' > package being installed > - Enable the 'vanilla' flag for netscape-flash > - Continue with upgrade or install >=20 > Also, having all of the ssl/gnutls/pulseaudio/esd/oss flags turned off > for libflashsupport will have the effect of not actually installing the > library, so the only added cost there is one more entry in the list of > installed packages, which I hope you will agree is basically zero. Installing a package without really installing it is EVIL. The db should represent whats installed on the system, otherwise it will become very very confusion for users. --=20 Olivier Cr=C3=AAte tester@gentoo.org Gentoo Developer --=-Crbb2yPUuxAg5Msv6iDf Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBGRMQCHTiOWk7ZorsRAkjEAJ9UAExhtp82Vho+BvNOjdwnOdBGfACfV5H8 A36lCZblnFzdPlQ2k8C9BGk= =dZkB -----END PGP SIGNATURE----- --=-Crbb2yPUuxAg5Msv6iDf-- -- gentoo-dev@gentoo.org mailing list