From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: Re: Keyboard layout configuration Date: Wed, 16 Jan 2019 14:10:23 +0100 Message-ID: <87a7k0vjcw.fsf@gnu.org> References: <87bm4wwrku.fsf@dismail.de> <877efktnry.fsf@elephly.net> <87imyss44u.fsf@dismail.de> <87won81bqi.fsf_-_@gnu.org> <6ac13233-d351-6ce5-09a2-4eb91750364f@cock.li> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:59813) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gjkxh-00079i-T7 for guix-devel@gnu.org; Wed, 16 Jan 2019 08:10:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gjkxh-0002Lz-6v for guix-devel@gnu.org; Wed, 16 Jan 2019 08:10:29 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:53658) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gjkxg-0002AT-W6 for guix-devel@gnu.org; Wed, 16 Jan 2019 08:10:29 -0500 In-Reply-To: <6ac13233-d351-6ce5-09a2-4eb91750364f@cock.li> (nee's message of "Sun, 13 Jan 2019 23:49:56 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: nee Cc: guix-devel@gnu.org, 25453@debbugs.gnu.org nee skribis: > --- a/gnu/packages/bootloaders.scm > +++ b/gnu/packages/bootloaders.scm > @@ -55,6 +55,7 @@ > #:use-module (gnu packages swig) > #:use-module (gnu packages valgrind) > #:use-module (gnu packages virtualization) > + #:use-module (gnu packages xorg) > #:use-module (gnu packages web) > #:use-module (guix build-system gnu) > #:use-module (guix download) > @@ -110,6 +111,12 @@ > ;; Make the font visible. > (copy-file (assoc-ref inputs "unifont") "unifont.bd= f.gz") > (system* "gunzip" "unifont.bdf.gz") > + > + ;; patch the path to ckbcomp > + (substitute* "util/grub-kbdcomp.in" > + (("^ckbcomp ") > + (string-append (assoc-ref inputs "console-setup") > + "/bin/ckbcomp "))) > #t)) > (add-before 'check 'disable-flaky-test > (lambda _ > @@ -134,6 +141,10 @@ > ;; to determine whether the root file system is RAID. > ("mdadm" ,mdadm) >=20=20 > + ;; console-setup's ckbcomp is invoked by grub-kbdcomp > + ;; it is required for generating alternative keyboard layouts > + ("console-setup" ,console-setup) I pushed this bit on your behalf as commit ab100b905f4073b24d69af3de6de61c4c55ce27d. It=E2=80=99s a bit sad that the closure of =E2=80=98grub-efi=E2=80=99 goes = from 162=C2=A0MiB to 223=C2=A0MiB because of Perl, which is used to run this tiny =E2=80=98ckbco= mp=E2=80=99 program. At some point we should consider translating it to Scheme, especially since it=E2=80=99s essentially data. Thanks, Ludo=E2=80=99.