From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#18085: libc locales moved to separate package Date: Tue, 22 Jul 2014 23:45:47 +0200 Message-ID: <8738dtrrsk.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55889) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9htw-0005O2-5x for bug-guix@gnu.org; Tue, 22 Jul 2014 17:47:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X9htn-0008W1-5N for bug-guix@gnu.org; Tue, 22 Jul 2014 17:47:12 -0400 Received: from debbugs.gnu.org ([140.186.70.43]:39703) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9htn-0008Vx-29 for bug-guix@gnu.org; Tue, 22 Jul 2014 17:47:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1X9htm-0001gV-MT for bug-guix@gnu.org; Tue, 22 Jul 2014 17:47:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55756) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9hsl-0005Le-RE for bug-guix@gnu.org; Tue, 22 Jul 2014 17:46:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X9hsc-00084I-M7 for bug-guix@gnu.org; Tue, 22 Jul 2014 17:45:59 -0400 Received: from hera.aquilenet.fr ([2a01:474::1]:38446) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9hsc-00084D-FD for bug-guix@gnu.org; Tue, 22 Jul 2014 17:45:50 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id DFF44323D for ; Tue, 22 Jul 2014 23:45:48 +0200 (CEST) Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id P0HfvtUg0QDM for ; Tue, 22 Jul 2014 23:45:48 +0200 (CEST) Received: from pluto (reverse-83.fdn.fr [80.67.176.83]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 8F61453E for ; Tue, 22 Jul 2014 23:45:48 +0200 (CEST) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: 18085@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable The =E2=80=98locales=E2=80=99 output of libc is huge, and contains way more= locale data than anyone needs. We should follow roughly what other distros do, that is: =E2=80=A2 Provide just 1 or 2 locales by default, in the =E2=80=98locales= =E2=80=99 output (say en_US.utf8 and en_US.iso88591). =E2=80=A2 Add a parametric package that builds the specified locales, whi= ch users can choose to install and add to their $LOCPATH. The big =E2=80=98locale-archive=E2=80=99 will actually be ignored when $LOC= PATH is set, as per locale/findlocale.c: --=-=-= Content-Type: text/x-csrc Content-Disposition: inline /* 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); --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 DQpMdWRv4oCZLg0K --=-=-=--