Gentoo Archives: gentoo-dev

From: grozin@g.o
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] LINGUAS to be removed from USE_EXPAND
Date: Sun, 31 Dec 2017 02:52:53
Message-Id: alpine.LRH.2.21.1712310947440.21607@star.inp.nsk.su
In Reply to: [gentoo-dev] LINGUAS to be removed from USE_EXPAND by Ulrich Mueller
1 On Thu, 28 Dec 2017, Ulrich Mueller wrote:
2 > Last year we had announced introduction of a new L10N variable
3 > intended to replace LINGUAS as a USE_EXPAND variable [1]. Since then,
4 > many packages have been converted to the new variable.
5 >
6 > The next step in the conversion will be removal of LINGUAS from
7 > USE_EXPAND, which means that LINGUAS will become a normal variable,
8 > maintaining the standard gettext behaviour. For a transition time,
9 > all linguas_* flags currently existing in packages' IUSE will be
10 > added to use.desc, but will be removed again when conversion of the
11 > remaining packages is complete.
12 The package sci-mathematics/maxima for ages uses linguas_* flags for
13 installing translated documentation, the possible values of * are
14
15 de es pt pt_BR
16
17 This usage is, I suppose, wrong. I tried simply to replace all linguas_ to
18 l10n_ in the ebuild, but repoman complains about pt_BR.
19
20 What is the correct mechanism to install translated documentation
21 depending on the user's wishes?
22
23 Andrey

Replies

Subject Author
Re: [gentoo-dev] LINGUAS to be removed from USE_EXPAND "Chí-Thanh Christopher Nguyễn" <chithanh@g.o>