From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Om8ih-00014p-Se for garchives@archives.gentoo.org; Thu, 19 Aug 2010 17:16:05 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AAB00E082F; Thu, 19 Aug 2010 17:14:45 +0000 (UTC) Received: from smtp206.alice.it (smtp206.alice.it [82.57.200.102]) by pigeon.gentoo.org (Postfix) with ESMTP id 5D937E082F for ; Thu, 19 Aug 2010 17:14:45 +0000 (UTC) Received: from infra.agr.fm (87.14.4.246) by smtp206.alice.it (8.5.124.08) id 4C1A268C039FE268 for gentoo-user@lists.gentoo.org; Thu, 19 Aug 2010 19:14:44 +0200 Received: from [192.168.64.9] (silver.agr.fm [192.168.64.9]) by infra.agr.fm (Postfix) with ESMTP id DAB1F5DD353 for ; Thu, 19 Aug 2010 19:14:43 +0200 (CEST) Message-ID: <4C6D6684.7060202@alyf.net> Date: Thu, 19 Aug 2010 19:14:44 +0200 From: Andrea Conti User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.8) Gecko/20100802 Lightning/1.0b2 Thunderbird/3.1.2 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] /etc/portage/package.use for LINGUAS? References: <4C6D5283.5070504@f_philipp.fastmail.net> In-Reply-To: <4C6D5283.5070504@f_philipp.fastmail.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 76f5c568-4c92-4800-93a4-1a4adba24803 X-Archives-Hash: c0d36b34a28afdac87bc7d837b26e106 On 19/08/2010 17:49, Florian Philipp wrote: > Hi list! > > I'd like to change the LINGUAS setting for a single package. Is there a > config file for stuff like this? LINGUAS (like VIDEO_CARDS, INPUT_DEVICES and similar stuff) is declared as an USE_EXPAND variable, so that its contents get automatically translated in a set of USE flags. For example, having LINGUAS="de en" results in the USE flags "linguas_de" and "linguas_en" being set for ebuilds. User-specified settings take precedence over expanded USE flags, so you can simply set/unset the flags as needed through package.use (e.g. if you have a global LINGUAS="de", "sys-apps/man-pages -linguas_de" in package.use would do the trick) andrea