From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1KacMj-0002UF-QZ for garchives@archives.gentoo.org; Tue, 02 Sep 2008 20:20:41 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B11CFE0629; Tue, 2 Sep 2008 20:20:40 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 8D4D9E062B for ; Tue, 2 Sep 2008 20:20:40 +0000 (UTC) Received: from [192.168.1.33] (unknown [77.246.104.171]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id E406EB4010 for ; Tue, 2 Sep 2008 20:20:38 +0000 (UTC) Subject: [gentoo-dev] global USE flag overrides in metadata.xml (bug 235708) From: Peter Volkov To: gentoo-dev@lists.gentoo.org Content-Type: text/plain Date: Wed, 03 Sep 2008 00:19:00 +0400 Message-Id: <1220386740.6005.112.camel@localhost> 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 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 1f43d96d-3304-4abc-ad63-b51d929b1ca3 X-Archives-Hash: 79a75f1b97196a955064fd704b17df5b Hello. Is it allowed (good idea) to override global USE flags in metadata.xml? GLEP 56 in Motivation part give us such examples and media-libs/xine-lib already uses this possibility but before GLEP 56 was implemented having USE flag both in local.use.desc and use.desc was not allowed. We already discussed this issue on -dev in "USE flag documentation" thread(s) and although general opinion was that this is good idea (I have not found objections) we still have documented that this is not allowed. Cite from devmanual[1]: "All USE flags must be described in either use.desc or use.local.desc in the profiles/ directory." Personally I think that this is good idea to specialize global USE flags description in metadata.xml. In such case global USE flag description still correct, and we just adjust their meaning for specific package. What others think? P.S. After I wrote this e-mail I found bug 235708 [1] which discusses same issue but I still think -dev is better place for such discussion. [1] http://devmanual.gentoo.org/general-concepts/use-flags/index.html [2] http://bugs.gentoo.org/show_bug.cgi?id=235708 -- Peter.