[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


From: Ludovic Courtès
Subject: Locales
Date: Thu, 27 Nov 2014 09:04:03 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)


In current ‘master’, libc builds all the available locales and carries
them with itself (~110 MiB.)

In ‘core-updates’ commit 97e1120, I changed libc to build and install
zero locales.  Instead, locale definitions that users may want must be
specified in the ‘operating-system’ declaration, in a new
‘locale-definitions’ field (see commit 598e19d in ‘master’.)  Locale
data is then available in /run/current-system/locale (and people can
also use $LOCPATH if needed.)

I’ve already noticed that gawk had test failures in the absence of UTF-8
locales, so commit e9bab1d works around it by explicitly invoking
‘localedef’.  Hopefully such problems will be quite rare and can be
worked around similarly, on a case by case basis.  If it turns out to be
not-so-rare, we can add a helper package that contains locale data, or a
helper procedure somewhere.

Comments welcome!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]