From: "Ludovic Courtès" <ludo@gnu.org>
To: nee <nee@cock.li>
Cc: guix-devel@gnu.org, 25453@debbugs.gnu.org
Subject: bug#25453: Keyboard layout configuration
Date: Wed, 16 Jan 2019 14:10:23 +0100 [thread overview]
Message-ID: <87a7k0vjcw.fsf__31256.7474240952$1547644230$gmane$org@gnu.org> (raw)
In-Reply-To: <6ac13233-d351-6ce5-09a2-4eb91750364f@cock.li> (nee's message of "Sun, 13 Jan 2019 23:49:56 +0100")
nee <nee@cock.li> 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.bdf.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)
>
> + ;; 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’s a bit sad that the closure of ‘grub-efi’ goes from 162 MiB to
223 MiB because of Perl, which is used to run this tiny ‘ckbcomp’
program. At some point we should consider translating it to Scheme,
especially since it’s essentially data.
Thanks,
Ludo’.
next prev parent reply other threads:[~2019-01-16 13:11 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87bm4wwrku.fsf@dismail.de>
[not found] ` <877efktnry.fsf@elephly.net>
[not found] ` <87imyss44u.fsf@dismail.de>
2019-01-13 21:36 ` bug#25453: Keyboard layout configuration Ludovic Courtès
2019-01-13 22:49 ` nee
[not found] ` <6ac13233-d351-6ce5-09a2-4eb91750364f@cock.li>
2019-01-15 22:21 ` Ludovic Courtès
2019-01-16 13:10 ` Ludovic Courtès [this message]
[not found] ` <874la9y323.fsf@gnu.org>
2019-03-12 19:34 ` Taylan Kammer
[not found] ` <871s3blweg.fsf@gmail.com>
2019-03-15 18:19 ` nee
2019-03-21 22:23 ` Taylan Kammer
2019-03-20 23:07 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='87a7k0vjcw.fsf__31256.7474240952$1547644230$gmane$org@gnu.org' \
--to=ludo@gnu.org \
--cc=25453@debbugs.gnu.org \
--cc=guix-devel@gnu.org \
--cc=nee@cock.li \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).