all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#18085: libc locales moved to separate package
@ 2014-07-22 21:45 Ludovic Courtès
  2015-04-20 13:36 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Ludovic Courtès @ 2014-07-22 21:45 UTC (permalink / raw)
  To: 18085

[-- Attachment #1: Type: text/plain, Size: 521 bytes --]

The ‘locales’ output of libc is huge, and contains way more locale data
than anyone needs.

We should follow roughly what other distros do, that is:

  • Provide just 1 or 2 locales by default, in the ‘locales’ output (say
    en_US.utf8 and en_US.iso88591).

  • Add a parametric package that builds the specified locales, which
    users can choose to install and add to their $LOCPATH.

The big ‘locale-archive’ will actually be ignored when $LOCPATH is set,
as per locale/findlocale.c:


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-csrc, Size: 273 bytes --]

  /* We really have to load some data.  First we try the archive,
     but only if there was no LOCPATH environment variable specified.  */
  if (__glibc_likely (locale_path == NULL))
    {
      struct __locale_data *data
	= _nl_load_locale_from_archive (category, name);

[-- Attachment #3: Type: text/plain, Size: 12 bytes --]


Ludo’.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#18085: libc locales moved to separate package
  2014-07-22 21:45 bug#18085: libc locales moved to separate package Ludovic Courtès
@ 2015-04-20 13:36 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2015-04-20 13:36 UTC (permalink / raw)
  To: 18085-done

ludo@gnu.org (Ludovic Courtès) skribis:

> The ‘locales’ output of libc is huge, and contains way more locale data
> than anyone needs.

This was done in Nov. 2014, commit 97e1120.

Ludo’.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-04-20 13:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-22 21:45 bug#18085: libc locales moved to separate package Ludovic Courtès
2015-04-20 13:36 ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.