From patchwork Thu Jun 6 14:56:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Ludovic_Court=C3=A8s?= X-Patchwork-Id: 14248 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id EBD96170BB; Thu, 6 Jun 2019 15:58:07 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 945FC170B9 for ; Thu, 6 Jun 2019 15:58:07 +0100 (BST) Received: from localhost ([127.0.0.1]:33559 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hYtqA-00061y-9E for patchwork@mira.cbaines.net; Thu, 06 Jun 2019 10:58:06 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33026) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hYtq7-00061c-DF for guix-patches@gnu.org; Thu, 06 Jun 2019 10:58:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hYtq6-0003vx-Cd for guix-patches@gnu.org; Thu, 06 Jun 2019 10:58:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36857) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hYtq6-0003vX-2f for guix-patches@gnu.org; Thu, 06 Jun 2019 10:58:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hYtq5-0004tq-VL for guix-patches@gnu.org; Thu, 06 Jun 2019 10:58:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#36116] [PATCH 0/2] Add (gnu build locale), and fix 'glib-locales' Resent-From: Ludovic =?utf-8?q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 06 Jun 2019 14:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 36116 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 36116@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.155983303218773 (code B ref -1); Thu, 06 Jun 2019 14:58:01 +0000 Received: (at submit) by debbugs.gnu.org; 6 Jun 2019 14:57:12 +0000 Received: from localhost ([127.0.0.1]:50398 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hYtpH-0004si-WF for submit@debbugs.gnu.org; Thu, 06 Jun 2019 10:57:12 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46651) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hYtpG-0004sV-VK for submit@debbugs.gnu.org; Thu, 06 Jun 2019 10:57:11 -0400 Received: from lists.gnu.org ([209.51.188.17]:52188) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hYtpB-0003UV-PR for submit@debbugs.gnu.org; Thu, 06 Jun 2019 10:57:05 -0400 Received: from eggs.gnu.org ([209.51.188.92]:32799) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hYtpA-0005pI-Oq for guix-patches@gnu.org; Thu, 06 Jun 2019 10:57:05 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46804) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hYtpA-0003U3-Lu; Thu, 06 Jun 2019 10:57:04 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=44974 helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hYtp9-0002J9-QW; Thu, 06 Jun 2019 10:57:04 -0400 From: Ludovic =?utf-8?q?Court=C3=A8s?= Date: Thu, 6 Jun 2019 16:56:55 +0200 Message-Id: <20190606145655.16902-1-ludo@gnu.org> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hello, The first patch here factorizes common locale-related code in (gnu build locale). Eventually we can probably use it in ‘glibc-utf8-locales’. The second patch adds symlinks for “en_US.utf8” etc., which were missing from ‘glibc-locales’, as reported at . Thanks, Ludo’. Ludovic Courtès (2): Add (gnu build locale). gnu: glibc-locales: Install symlinks using the normalized codeset. gnu/build/locale.scm | 95 ++++++++++++++++++++++++++++++++++++++++ gnu/installer/locale.scm | 19 +------- gnu/local.mk | 1 + gnu/packages/base.scm | 37 +++++++++++++++- gnu/system/locale.scm | 77 ++++++++++---------------------- 5 files changed, 156 insertions(+), 73 deletions(-) create mode 100644 gnu/build/locale.scm