Gentoo Archives: gentoo-dev

From: Ian Stakenvicius <axs@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] RFC: l10n.eclass
Date: Fri, 20 Jul 2012 19:06:50
Message-Id: 5009ABFF.4050100@gentoo.org
In Reply to: Re: [gentoo-dev] RFC: l10n.eclass by Ciaran McCreesh
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA256
3
4 On 20/07/12 01:54 PM, Ciaran McCreesh wrote:
5 > On Fri, 20 Jul 2012 13:43:15 -0400 Alexandre Rostovtsev
6 > <tetromino@g.o> wrote:
7 >>> If you dep upon foo[linguas_en(+)] and linguas_en isn't in
8 >>> IUSE, what happens?
9 >>
10 >> Fatal error. If a package installs its translations implicitly
11 >> via gettext's rules depending on the value of LINGUAS at
12 >> configure time, then obviously other packages must rely on that
13 >> package having installed any particular translation.
14 >
15 > Uh, the entire point of the (+) is that it's *not* a fatal error if
16 > you have a default.
17 >
18
19 If this doesn't work (assuming foo provides whatever this package
20 needs it to have for linguas_en), then the dep is wrong in the first
21 place and either (+) shouldn't be set or the use-dep on foo shouldn't
22 exist to begin with.
23
24 -----BEGIN PGP SIGNATURE-----
25 Version: GnuPG v2.0.19 (GNU/Linux)
26
27 iF4EAREIAAYFAlAJq/4ACgkQ2ugaI38ACPDIrgEAlPMn/3pSM/GK3BbCozQgGpxc
28 9aSnmtIXlOsr7HZ7QcUA/1dbtqqt6B/ClgriFHvHcVpZEiz5QiQh6RJ2t4Mr5jgk
29 =ai7O
30 -----END PGP SIGNATURE-----

Replies

Subject Author
Re: [gentoo-dev] RFC: l10n.eclass Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>