[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#61040] [PATCH] gnu: emacs-ergoemacs-mode: Include keyboard layout S
From: |
Nicolas Goaziou |
Subject: |
[bug#61040] [PATCH] gnu: emacs-ergoemacs-mode: Include keyboard layout SVGs. |
Date: |
Tue, 24 Jan 2023 19:59:20 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Hello,
Ivan Vilata i Balaguer <ivan@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