GNU bug report logs - #61040
[PATCH] gnu: emacs-ergoemacs-mode: Include keyboard layout SVGs.

Previous Next

Package: guix-patches;

Reported by: Ivan Vilata i Balaguer <ivan <at> selidor.net>

Date: Tue, 24 Jan 2023 18:17:01 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Ivan Vilata i Balaguer <ivan <at> selidor.net>
Cc: 61040 <at> debbugs.gnu.org
Subject: [bug#61040] [PATCH] gnu: emacs-ergoemacs-mode: Include keyboard layout SVGs.
Date: Tue, 24 Jan 2023 19:59:20 +0100
Hello,

Ivan Vilata i Balaguer <ivan <at> selidor.net> writes:

> A couple of SVG files from the source need to be installed to make
> ‘ergoemacs-theme-describe’ and ‘ergoemacs-layout-describe’ work.
>
> * gnu/packages/emacs-xyz.scm (emacs-ergoemacs-mode)[arguments]: New
> field.

Thank you.

> +    (arguments
> +     (list #:phases #~(modify-phases %standard-phases
> +                        (add-after 'install 'install-kbd-svgs
> +                          (lambda _
> +                            (let ((dir (elpa-directory #$output)))
> +                              (install-file "kbd.svg" dir)
> +                              (install-file "kbd-ergo.svg" dir)))))))

Please use #:include keyword for these files instead of this
hand-crafted phase.

Regards,
-- 
Nicolas Goaziou




This bug report was last modified 2 years and 118 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.