Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o, Mart Raudsepp <leio@g.o>
Subject: Re: [gentoo-dev] Re: [RFC] Masterplan for solving LINGUAS problems
Date: Wed, 01 Jun 2016 14:18:23
Message-Id: DAFBF36D-395C-4F51-8D31-390E1CA95138@gentoo.org
In Reply to: Re: [gentoo-dev] Re: [RFC] Masterplan for solving LINGUAS problems by Mart Raudsepp
1 Dnia 1 czerwca 2016 16:03:40 CEST, Mart Raudsepp <leio@g.o> napisał(a):
2 >Ühel kenal päeval, K, 01.06.2016 kell 15:19, kirjutas Michał Górny:
3 >> As for LINGUAS, it should be left as a toy for advanced users and not
4 >> presented as a recommended solution.
5 >
6 >There is nothing advanced in it for the user, only the mess we have
7 >created with package manager behaviour and mis-use of it (the order
8 >matters case; which I believe is long eradicated).
9 >We are a source based distribution, and gettext/intltool upstream
10 >LINGUAS behaviour is perfect advantage for our main use case of
11 >customizing ones own system and almost always building things from
12 >source, only using binary packages before an upgrade as a backup, if at
13 >all.
14 >So it's natural to use the way that really build only the support you
15 >want. This is what LINGUAS gives you, when the PM doesn't happen to
16 >munge it.
17 >
18 >Hiding this away under some toy for advanced users is not in our spirit
19 >of Gentoo, as far as I would judge.
20
21 You forget the important point that it's done silently and implicitly, with no clear way of knowing which localizations were actually discarded afterwards.
22
23 And the fact that currently LINGUAS affects both packages listing the flags and not doing so is causing even more confusion.
24
25 >
26 >But this is a matter of documentation at this point, in principle I
27 >agree that SRC_URI extra downloads should be under a different naming.
28 >
29 >INSTALL_MASK groups for locales is what I would consider a convenience
30 >for binary package builders in a wide environment where language choice
31 >to the end user preferably gets filtered on deployment in a site- or
32 >machine-specific manner. Or a toy for advanced binary distribution
33 >creators, if you will. A way for binary packages to provide almost as
34 >good support for LINGUAS as source packages (but not quite).
35 >That said, supporting our binary package ecosystem is very important,
36 >and I applaud these efforts. The proposed INSTALL_MASK improvements are
37 >very useful for many other cases as well. For source-based users as
38 >well (openrc init scripts, systemd unit files, gtk-doc documentation,
39 >etc)
40 >
41 >Either way, the masterplan works out, I just don't think we need to
42 >wait for INSTALL_MASK groups here in any way. The reminder is a matter
43 >of documentation, a matter of perspective.
44 >This l10n.eclass PLOCALES nonsense needs to go ASAP.
45 >
46 >
47 >Mart
48
49
50 --
51 Best regards,
52 Michał Górny (by phone)

Replies

Subject Author
Re: [gentoo-dev] Re: [RFC] Masterplan for solving LINGUAS problems Raymond Jennings <shentino@×××××.com>