From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DMARC_MISSING, MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=4.0.0 Received: from potre.gontran.net (cx894108-a.phnx2.az.home.com [24.177.68.68]) by chiba.3jane.net (Postfix) with ESMTP id 49956EF7A for ; Sun, 25 Nov 2001 13:36:50 -0600 (CST) Received: (from gontran@localhost) by potre.gontran.net (8.9.3/8.9.3) id MAA21454 for gentoo-dev@gentoo.org; Sun, 25 Nov 2001 12:33:32 -0700 Date: Sun, 25 Nov 2001 12:33:32 -0700 From: Gontran To: gentoo-dev@gentoo.org Subject: Re: [gentoo-dev] USE settings for specific apps Message-ID: <20011125123332.A21254@potre> Mail-Followup-To: gentoo-dev@gentoo.org References: <1074.24.38.252.76.1006707846.squirrel@thinktank.mediafarm.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <1074.24.38.252.76.1006707846.squirrel@thinktank.mediafarm.ch>; from tvon@etria.org on Sun, Nov 25, 2001 at 06:04:06PM +0100 X-Operating-System: GNU/Linux 2.4.13-ac5 X-Uptime: 12:23pm up 18 days, 3:36, 2 users, load average: 1.07, 1.02, 1.00 Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0.6 Precedence: bulk Reply-To: gentoo-dev@gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Developer discussion list List-Unsubscribe: , List-Archive: X-Archives-Salt: 29316475-7375-4107-8a70-5d30dabd11ac X-Archives-Hash: 768fe172cc108a26c852710e0528403d * Tom von Schwerdtner (tvon@etria.org) wrote: > Hey all, > > Some people have suggested that they would like to be able to set some > USE variables for specific apps.....examples escape me, but I know it has > been brought up. > > Anyways, I was thinking something along these lines would work: > > ---- > # Global settings > USE = "this that other etc" > > # App specific > USE-mozilla = "!this !that foo" > ---- > > Basicaly, the syntax would be "USE-". This portion should be > simple enough to impliment, however the variables pose more of a problem > since you dont want to have to repeat all of the normal USE settings for a > specific app and most of the time you just want to specify a USE setting not > to use (hence the !'s). Special vars might be good here too, like > "defaults" to inherit all the global USE settings...or "no-defaults" to > ignore them all... > > .....thats the general idea....comments? Hey Tom, I've heard these requests too; however, adding more complexity doesn't seem, to me, like the thing to do. Why not the user read the ebuild prior to emerging, and modify her USE variables to taste? I thought this was standard practice, in fact. The current state encourages ebuild reading prior to merging, understanding of how Portage works, and maintains existing elegance. More practically, would it even be feasable to add such a feature to Portage at this stage in its lifecycle? Very Best Regards, Gontran