From patchwork Thu Feb 14 22:17:15 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: 1088 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 9872A16C42; Thu, 14 Feb 2019 22:18:08 +0000 (GMT) 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 autolearn=unavailable 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 5FF7716C2C for ; Thu, 14 Feb 2019 22:18:08 +0000 (GMT) Received: from localhost ([127.0.0.1]:55978 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1guPKZ-0003mx-R7 for patchwork@mira.cbaines.net; Thu, 14 Feb 2019 17:18:07 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40865) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1guPKV-0003mf-7m for guix-patches@gnu.org; Thu, 14 Feb 2019 17:18:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1guPKU-000538-EI for guix-patches@gnu.org; Thu, 14 Feb 2019 17:18:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:49168) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1guPKU-00052s-AU for guix-patches@gnu.org; Thu, 14 Feb 2019 17:18:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1guPKU-0006zg-3j for guix-patches@gnu.org; Thu, 14 Feb 2019 17:18:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34480] [PATCH 0/2] Ensure Guix always has 'glibc-utf8-locales' Resent-From: Ludovic =?utf-8?q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 14 Feb 2019 22:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 34480 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34480@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.155018268126876 (code B ref -1); Thu, 14 Feb 2019 22:18:01 +0000 Received: (at submit) by debbugs.gnu.org; 14 Feb 2019 22:18:01 +0000 Received: from localhost ([127.0.0.1]:48449 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1guPKS-0006zP-VO for submit@debbugs.gnu.org; Thu, 14 Feb 2019 17:18:01 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54634) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1guPKR-0006zB-Dj for submit@debbugs.gnu.org; Thu, 14 Feb 2019 17:17:59 -0500 Received: from lists.gnu.org ([209.51.188.17]:53192) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1guPKG-0004lV-V1 for submit@debbugs.gnu.org; Thu, 14 Feb 2019 17:17:51 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40776) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1guPKG-0003kO-58 for guix-patches@gnu.org; Thu, 14 Feb 2019 17:17:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1guPKC-0004i7-9J for guix-patches@gnu.org; Thu, 14 Feb 2019 17:17:48 -0500 Received: from hera.aquilenet.fr ([2a0c:e300::1]:42020) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1guPKA-0004dP-Ll; Thu, 14 Feb 2019 17:17:44 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 67B13FCCB; Thu, 14 Feb 2019 23:17:39 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr 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 xO9yqrx4pg2p; Thu, 14 Feb 2019 23:17:38 +0100 (CET) Received: from gnu.org (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 6943BFBC9; Thu, 14 Feb 2019 23:17:38 +0100 (CET) From: Ludovic =?utf-8?q?Court=C3=A8s?= Date: Thu, 14 Feb 2019 23:17:15 +0100 Message-Id: <20190214221715.10714-1-ludo@gnu.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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 Guix, After hearing about so many bad first impressions due to missing locales, I decided to bite the bullet. I still don’t consider the approach really satisfying, in particular due to the arbitrary locale selection in ‘glibc-utf8-locales’, but the benefits are worth it IMO (I feel like I’ve been too obtuse on this topic, and I’m sorry about that!). The closure size of the ‘guix’ package increases like this: --8<---------------cut here---------------start------------->8--- $ guix size guix | tail -1 total: 354.2 MiB $ guix size guix glibc-utf8-locales | tail -1 total: 368.0 MiB --8<---------------cut here---------------end--------------->8--- That’s a 4% increase, not that bad. Something that would be worth looking into is how much space it would take to have all the supported UTF-8 locales in that package. Thoughts? Ludo’. Ludovic Courtès (2): self: Bundle 'glibc-utf8-locales'. gnu: guix: Embed 'glibc-utf8-locales'. gnu/packages/package-management.scm | 12 +++++++++--- guix/self.scm | 14 ++++++++++++++ 2 files changed, 23 insertions(+), 3 deletions(-)