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.77) (envelope-from ) id 1SrzSx-0003ki-4W for garchives@archives.gentoo.org; Thu, 19 Jul 2012 22:45:03 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D21D5E0768; Thu, 19 Jul 2012 22:44:49 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 08A68E043A for ; Thu, 19 Jul 2012 22:44:05 +0000 (UTC) Received: from mail-wg0-f53.google.com (mail-wg0-f53.google.com [74.125.82.53]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: floppym) by smtp.gentoo.org (Postfix) with ESMTPSA id 4001E1B40B8 for ; Thu, 19 Jul 2012 22:44:05 +0000 (UTC) Received: by wgbfm10 with SMTP id fm10so2504336wgb.10 for ; Thu, 19 Jul 2012 15:44:02 -0700 (PDT) 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 Received: by 10.216.4.147 with SMTP id 19mr2078134wej.109.1342737842533; Thu, 19 Jul 2012 15:44:02 -0700 (PDT) Received: by 10.223.3.142 with HTTP; Thu, 19 Jul 2012 15:44:02 -0700 (PDT) In-Reply-To: References: Date: Thu, 19 Jul 2012 18:44:02 -0400 Message-ID: Subject: Re: [gentoo-dev] RFC: l10n.eclass From: Mike Gilbert To: gentoo-dev@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: 8f6be5c7-21cd-4c80-97a5-ea29a95ec829 X-Archives-Hash: 7648c547db05e938b9d2d7d6a27f327d On Thu, Jul 19, 2012 at 2:45 AM, Ben de Groot wrote: > Today I would like to present to you my proposal for a new eclass with > helper functions for treating localizations: l10n.eclass (see the > attached file or [1]). Its functionality can be used in other eclasses > (such as qt4-r2 and cmake-utils) as well as directly in ebuilds. > In a previous thread, I proposed that the linguas_* use flags should default to enabled (IUSE="+linguas_en_US ..."). This would cause LINGUAS use-expand behavior to more closely mimic the behavior of the gettext autoconf macros (/usr/share/aclocal/po.m4). If LINGUAS is unset, all translations are installed. If LINGUAS is set a subset of translations are install. If LINGUAS is set to the empty string, no translations are installed.