From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#25453: Keyboard layout configuration Date: Wed, 16 Jan 2019 14:10:23 +0100 Message-ID: <87a7k0vjcw.fsf__31256.7474240952$1547644230$gmane$org@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]:60718) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gjkyE-0007Zz-Qs for bug-guix@gnu.org; Wed, 16 Jan 2019 08:11:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gjkyE-00048s-0v for bug-guix@gnu.org; Wed, 16 Jan 2019 08:11:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:33438) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gjkyD-00048c-Tq for bug-guix@gnu.org; Wed, 16 Jan 2019 08:11:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gjkyD-0000nv-NX for bug-guix@gnu.org; Wed, 16 Jan 2019 08:11:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <6ac13233-d351-6ce5-09a2-4eb91750364f@cock.li> (nee's message of "Sun, 13 Jan 2019 23:49:56 +0100") 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" 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.