From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1IfhHx-0007Vl-54 for garchives@archives.gentoo.org; Wed, 10 Oct 2007 19:32:13 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.1/8.14.0) with SMTP id l9AJLQe5028028; Wed, 10 Oct 2007 19:21:26 GMT Received: from mail.twi-31o2.org (c-24-6-168-204.hsd1.ca.comcast.net [24.6.168.204]) by robin.gentoo.org (8.14.1/8.14.0) with ESMTP id l9AJJRAG025634 for ; Wed, 10 Oct 2007 19:19:28 GMT Received: from localhost (localhost [127.0.0.1]) by mail.twi-31o2.org (Postfix) with ESMTP id B43DD17B8060 for ; Wed, 10 Oct 2007 19:19:26 +0000 (UTC) X-Virus-Scanned: amavisd-new at twi-31o2.org Received: from mail.twi-31o2.org ([127.0.0.1]) by localhost (gravity.twi-31o2.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id S4ch802m1Ufk for ; Wed, 10 Oct 2007 19:19:20 +0000 (UTC) Received: from [192.168.100.35] (dsl211-165-131.sfo1.dsl.speakeasy.net [74.211.165.131]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail.twi-31o2.org (Postfix) with ESMTP id 3EF0F17B804F for ; Wed, 10 Oct 2007 19:19:20 +0000 (UTC) Subject: Re: [gentoo-dev] lame use flag, local to global From: Chris Gianelloni To: gentoo-dev@lists.gentoo.org In-Reply-To: <470CD9B5.3000706@gentoo.org> References: <470C40F0.8050501@gentoo.org> <1192002003.19716.2.camel@localhost> <470CD9B5.3000706@gentoo.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-o+Qt0ko60O3Qvx8lRnlv" Date: Wed, 10 Oct 2007 12:19:08 -0700 Message-Id: <1192043948.8847.7.camel@inertia.twi-31o2.org> 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.10.3 X-Archives-Salt: 0e88ec01-a3cc-489d-8833-5b78880359ab X-Archives-Hash: aa782ef7e02340a073e2d21a7f2b2a9b --=-o+Qt0ko60O3Qvx8lRnlv Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2007-10-10 at 07:55 -0600, Steve Dibb wrote: > Mart Raudsepp wrote: > > On T, 2007-10-09 at 21:03 -0600, Steve Dibb wrote: > >> The little lame use flag has started showing up more in local use flag= s,=20 > >> and all for the same purpose, MP3 support using LAME libraries. I vot= e=20 > >> we move it into a global use flag. Any objections, let me know. > >> > >> $ quse -D lame > >> local:lame:media-libs/libquicktime: Support LAME mp3 encoding > >> local:lame:media-libs/mlt: Support LAME mp3 encoding > >> local:lame:media-sound/abcde: Support LAME mp3 encoding > >> local:lame:media-sound/gnusound: Enable lame support > >> local:lame:media-video/mpeg4ip: Support LAME mp3 encoding in the=20 > >> server/mp4live > >=20 > > Any reason to not use something like mp3enc flag instead at that point? > > mp3 USE flag is already global, and appears to mean mp3 decoding, so ho= w > > about a general mp3 encoding USE flag? I guess merging decoding and > > encoding behind the same USE flag might be an option too. > >=20 >=20 > Ah, I knew this question was gonna come up, should have addresed it=20 > first time around. >=20 > The reason we have mp3 and lame use flag is because there is more than=20 > one mp3 encoder. In almost every case of the use flag being applied=20 > above, there is already support for another mp3 codec (ffmpeg). So,=20 > lame adds support for lame, not for mp3, which is also provided. >=20 > When there is just one mp3 codec used in an ebuild, then it makes sense=20 > to use just the mp3 use flag. Actually, the encode USE flag makes more sense, if encoding support is optional. Basically, it should be like so: A is a mp3 program/library, which can do both encoding and decoding. It doesn't use USE=3Dmp3, at all, since it is solely an mp3 program. Encoding support is enabled via USE=3Dencode. B is a media program/library, which can do both encoding and decoding for multiple formats. It would use USE=3Dmp3 to enable mp3 support. It would use USE=3Dencode (with mp3 support enabled) to enable mp3 encoding support. C is an encoder for multiple formats. It uses USE=3Dmp3 for enabling mp3 encoding. D is an encoder for mp3. It uses no USE flags, since it is always a mp3 encoder. I'm sure I missed other cases, but you get the point. --=20 Chris Gianelloni Release Engineering Strategic Lead Alpha/AMD64/x86 Architecture Teams Games Developer/Foundation Trustee Gentoo Foundation --=-o+Qt0ko60O3Qvx8lRnlv Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) iD8DBQBHDSWskT4lNIS36YERAtNjAKC0crtY12tTweJytcn6RgZaTLyLbgCglxzf TMMUeEfZevcdnTLMWK256Gg= =voeT -----END PGP SIGNATURE----- --=-o+Qt0ko60O3Qvx8lRnlv-- -- gentoo-dev@gentoo.org mailing list