[Top][All Lists]

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

bug#18085: libc locales moved to separate package

From: Ludovic Courtès
Subject: bug#18085: libc locales moved to separate package
Date: Tue, 22 Jul 2014 23:45:47 +0200
User-agent: Gnus/5.130009 (Ma Gnus v0.9) Emacs/24.3 (gnu/linux)

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:

  /* 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);

reply via email to

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