Gentoo Archives: gentoo-dev

From: Matt Turner <mattst88@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Reducing glibc's default locale.gen
Date: Tue, 07 Jun 2011 20:01:39
Message-Id: BANLkTikMqA0U4LazCKnaR50ED3X-sB+VtQ@mail.gmail.com
1 Hi,
2
3 Building 400~ locales is not fun on mips when building stages.
4
5 No user has a need for more than some small subset of the total
6 available locales.
7
8 I filed bug [1] to request the ability to select locales in catalyst
9 spec files, but no responses after six months -- which is totally
10 typical of catalyst bugs.
11
12 I commented in bug [2] suggesting that we perhaps reduce the default
13 locale.gen to only 'en_US.UTF-8 UTF-8' or some other limited subset.
14
15 The default subset should be sufficient for a large number of users,
16 and users whose locales aren't shipped by default would simply be able
17 to edit /etc/locale.gen (which I'm sure almost everyone does anyway)
18 to select their desired locale and then run locale-gen to generate it
19 and remove unwanted locales.
20
21 Please provide feedback. I'd love to get this resolved one way or another.
22
23 Thanks,
24 Matt
25
26 [1] http://bugs.gentoo.org/show_bug.cgi?id=348454
27 [2] http://bugs.gentoo.org/show_bug.cgi?id=146882#c13

Replies