From patchwork Sun Oct 28 12:35:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Othacehe X-Patchwork-Id: 42 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 77BC616754; Sun, 28 Oct 2018 12:36:13 +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=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) by mira.cbaines.net (Postfix) with ESMTPS id 1322316750 for ; Sun, 28 Oct 2018 12:36:13 +0000 (GMT) Received: from localhost ([::1]:39999 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gGkIe-0005km-BK for patchwork@mira.cbaines.net; Sun, 28 Oct 2018 08:36:12 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49641) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gGkIc-0005kb-4q for guix-patches@gnu.org; Sun, 28 Oct 2018 08:36:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gGkIV-0006uP-Rm for guix-patches@gnu.org; Sun, 28 Oct 2018 08:36:09 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:42511) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gGkIV-0006tq-9o for guix-patches@gnu.org; Sun, 28 Oct 2018 08:36:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gGkIV-0007DB-3C for guix-patches@gnu.org; Sun, 28 Oct 2018 08:36:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#33186] [PATCH 0/7] Preliminary installer work Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 28 Oct 2018 12:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 33186 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 33186@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.154073014527696 (code B ref -1); Sun, 28 Oct 2018 12:36:02 +0000 Received: (at submit) by debbugs.gnu.org; 28 Oct 2018 12:35:45 +0000 Received: from localhost ([127.0.0.1]:46769 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gGkIC-0007Ce-LW for submit@debbugs.gnu.org; Sun, 28 Oct 2018 08:35:44 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40003) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gGkIA-0007CQ-IH for submit@debbugs.gnu.org; Sun, 28 Oct 2018 08:35:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gGkI4-0006dR-Ej for submit@debbugs.gnu.org; Sun, 28 Oct 2018 08:35:37 -0400 Received: from lists.gnu.org ([2001:4830:134:3::11]:56131) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gGkI3-0006cH-7f for submit@debbugs.gnu.org; Sun, 28 Oct 2018 08:35:36 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49608) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gGkI2-0005iP-C3 for guix-patches@gnu.org; Sun, 28 Oct 2018 08:35:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gGkHw-0006XG-IJ for guix-patches@gnu.org; Sun, 28 Oct 2018 08:35:34 -0400 Received: from mail-pf1-x442.google.com ([2607:f8b0:4864:20::442]:38319) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gGkHs-0006S5-MC for guix-patches@gnu.org; Sun, 28 Oct 2018 08:35:26 -0400 Received: by mail-pf1-x442.google.com with SMTP id b11-v6so2666584pfi.5 for ; Sun, 28 Oct 2018 05:35:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=r0L4oyhxgHkk/Db1ceAQC3mbIkbvONkwx8ZDryktj/U=; b=IXmz7fWSn2Yw6qMC7HMxQSr89q1DGkb/CCScXiMYrCTd5iKAurWgPjs7etIVvY7adD Tbsp42lkHr3imjizz2jtfo6EOIPjJGEMxo/rZhWgUNHb13IuIVzIwmgpN2cFA1Hs3itL hRcFYU1e8uzFhoOWUPA97HP148Ahqv7MRTO0YZDgEFO/+xBLzmC3OyUMWLUreZuGHcdQ ysMOSnIIqGU3RB8gsgwzd3uXrqVEwm388k0UPXhkV9AK6TzfDrLVa8fEWnsiv8QDe/ag ZEYwGc2ob3ewCkQV8n6QJ8o23hqH8/UIDelk2IRhLpgsoD3vuEJVqBoTZ9UNk6h5QL29 A4Qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=r0L4oyhxgHkk/Db1ceAQC3mbIkbvONkwx8ZDryktj/U=; b=MP6tF+w8gQLTfo5xCGxswGHbWGt0AsRCtWjXNe3ZgCGIxWtW+YVrcnWSjvvhsf7eF6 3IHugKnoz1jMLT7dnmQVJkQEQKAv80Ch9GM3l8jvIigzte51IBxiet4vZpfKYDOiyZ5+ B4KFERA2IBCEG6Ad5eUqpMZGXozt7S7Ir5+HvWACKoAe+ic2jRmYqXRSnRFVIMiH6/uB tSi+0rpT2AFuSaXJL9WtbcIEpNCfJfpiS4ies/tNTXtXaf+R6d2clmByFVN4sUx+D6nE rAmIYQCsE7lkjY+SfRuvSkZnzlhXPNi8Mm16zHLYPN7r2uLqRtlr1JUHsoHD8fvebPju EaGw== X-Gm-Message-State: AGRZ1gIcjS82n180ZD9WS2Y+mnor0hWjaTs6Kd96WQ5F8AXEXU4nUrjU CUSlOCMgg69nDHUtbNtjmGFqyM1T X-Google-Smtp-Source: AJdET5dZcQ9LzI0Id83fhrep0f9fmHcBCgDrPksnWZDt3os2z6IsBUj40MguEysgrZP+7R2kPBRm9g== X-Received: by 2002:a63:1412:: with SMTP id u18mr9878651pgl.247.1540730121076; Sun, 28 Oct 2018 05:35:21 -0700 (PDT) Received: from localhost.localdomain (p506075-ipngn200505niho.hiroshima.ocn.ne.jp. [180.49.233.75]) by smtp.gmail.com with ESMTPSA id 3-v6sm19486870pga.12.2018.10.28.05.35.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Oct 2018 05:35:20 -0700 (PDT) From: Mathieu Othacehe Date: Sun, 28 Oct 2018 21:35:11 +0900 Message-Id: <20181028123511.21265-1-m.othacehe@gmail.com> X-Mailer: git-send-email 2.17.1 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: 208.118.235.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! Here are some patches required for the upcoming graphical installer. As I patched the glibc they require to rebuild the world, thus I would like to push them on a wip-newt-installer branch. By the way, is this approach (sending series to review and push them on a wip branch) ok, or should I proceed differently ? Another precision, I'd like the installer to support internationalization. So working with raw linux terminal is excluded. After some resarchs, I see only two options: * Using bterm[1] like D-I (Debian Installer) and Anaconda. It is a framebuffer terminal supporting multibyte locales. * Use kmscon[2], a terminal emulator based on linux KMS. Even if both of them are unmaintained, I prefer kmscon which seems stable enough and has nice features, such as font rendering with pango, internationalized keyboard handling with libxkbcommon, hardware accelerated rendering and is already packaged as a service for GuixSD. What do you think of this choice? Thank you, Mathieu [1]: https://packages.debian.org/en/jessie/bogl-bterm [2]: https://wiki.archlinux.org/index.php/KMSCON Mathieu Othacehe (7): gnu: Add guile-newt. services: kmscon: Do not switch to vt at start. services: kmscon: Add an auto-login option. gnu: glibc: Export supported locales. gnu: terminals: Change libtsm and kmscon repositories. gnu: slang: Use a correct location for terminfo dirs. gnu: python-3.6: Disable congestion test. doc/guix.texi | 6 +- gnu/local.mk | 2 + gnu/packages/base.scm | 6 +- gnu/packages/guile.scm | 43 ++++- .../patches/glibc-supported-locales.patch | 31 +++ .../python-disable-congestion-test.patch | 60 ++++++ gnu/packages/python.scm | 1 + gnu/packages/slang.scm | 14 +- gnu/packages/terminals.scm | 176 ++++++++++-------- gnu/services/base.scm | 10 +- 10 files changed, 260 insertions(+), 89 deletions(-) create mode 100644 gnu/packages/patches/glibc-supported-locales.patch create mode 100644 gnu/packages/patches/python-disable-congestion-test.patch