From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 4B0F4138A1A for ; Mon, 19 Jan 2015 22:45:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AD6CCE0A5F; Mon, 19 Jan 2015 22:44:56 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B6070E0A52 for ; Mon, 19 Jan 2015 22:44:55 +0000 (UTC) Received: from [192.168.1.33] (21.Red-88-3-205.dynamicIP.rima-tde.net [88.3.205.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: pacho) by smtp.gentoo.org (Postfix) with ESMTPSA id 1ADE8340522 for ; Mon, 19 Jan 2015 22:44:53 +0000 (UTC) Message-ID: <1421707488.1239.3.camel@gentoo.org> Subject: Re: [gentoo-dev] RFC: USE=libav as replacement for broken || ( libav:= ffmpeg:= ) From: Pacho Ramos To: gentoo-dev@lists.gentoo.org Date: Mon, 19 Jan 2015 23:44:48 +0100 In-Reply-To: <20150119234044.7db04287@pomiot.lan> References: <20150119203145.38bd0aaa@pomiocik> <54BD80B3.4080603@gentoo.org> <20150119234044.7db04287@pomiot.lan> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.10 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Archives-Salt: 483c9e61-6be3-4181-a6be-42ddbd723086 X-Archives-Hash: 244b26fc95e03ed23e54f454cb50fa0d El lun, 19-01-2015 a las 23:40 +0100, Michał Górny escribió: > Dnia 2015-01-19, o godz. 23:09:55 > Rémi Cardona napisał(a): > > > Why not : > > > > libav? ( media-libs/libav:= ) > > ffmpeg? ( media-libs/ffmpeg:= ) > > > > + REQUIRED_USE="^^ ( libav ffmpeg )" > > > > I for one would never expect USE=-libav to enable ffmpeg (nor > > USE=-ffmpeg to enable libav FWIW). > > Two reasons: > > 1. Compatibility. USE=ffmpeg is already used for || ( libav ffmpeg ) in > a lot of packages. If we changed the meaning, libav users will end up > switching '-ffmpeg libav' per-package. Ugly. > > 2. Feature-oriented flags. USE=ffmpeg represents the generic feature, > USE=libav is auxiliary implementation-switch flag. Well, maybe we could > use, say, USE=avcodec to avoid ambiguity but that's a larger change. > > I agree with your suggestion but I would prefer the Remi's approach of letting people to know if they want "ffmpeg" or "libav", otherwise it is not so obvious to know what disabling/enabling one of that USE flags will end up causing without reading each ebuild :/ (also, maybe some ebuilds will use one logic while others the inverse)