emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#61040: closed ([PATCH] gnu: emacs-ergoemacs-mode: Include keyboard l


From: GNU bug Tracking System
Subject: bug#61040: closed ([PATCH] gnu: emacs-ergoemacs-mode: Include keyboard layout SVGs.)
Date: Fri, 27 Jan 2023 08:35:02 +0000

Your message dated Fri, 27 Jan 2023 09:34:44 +0100
with message-id <871qngml3v.fsf@nicolasgoaziou.fr>
and subject line Re: [bug#61040] [PATCH] gnu: emacs-ergoemacs-mode: Include 
keyboard layout SVGs.
has caused the debbugs.gnu.org bug report #61040,
regarding [PATCH] gnu: emacs-ergoemacs-mode: Include keyboard layout SVGs.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
61040: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=61040
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: emacs-ergoemacs-mode: Include keyboard layout SVGs. Date: Tue, 24 Jan 2023 19:16:00 +0100
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.
---
 gnu/packages/emacs-xyz.scm | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 41a0ccf09e..ec8dffc3e5 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -120,6 +120,7 @@
 ;;; Copyright © 2022 Thiago Jung Bauermann <bauermann@kolabnow.com>
 ;;; Copyright © 2022 Joeke de Graaf <joeke@posteo.net>
 ;;; Copyright © 2023 Simon Streit <simon@netpanic.org>
+;;; Copyright © 2023 Ivan Vilata-i-Balaguer <ivan@selidor.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -19952,6 +19953,13 @@ (define-public emacs-ergoemacs-mode
         (base32
          "1ipwzl0l26g5qvc1sgmz2ra5vn1j3hl0mnkgzpa3j4p8gsmxdiqr"))))
     (build-system emacs-build-system)
+    (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)))))))
     (propagated-inputs
      (list emacs-undo-tree))
     (home-page "https://ergoemacs.github.io/";)
-- 
2.38.1


-- 
Ivan Vilata i Balaguer -- https://elvil.net/

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message --- Subject: Re: [bug#61040] [PATCH] gnu: emacs-ergoemacs-mode: Include keyboard layout SVGs. Date: Fri, 27 Jan 2023 09:34:44 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Hello,

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

> Thanks Nicolas, I didn't know about the keyword.  Attaching the updated patch.
> Much simpler! 🙂

Applied. Thank you.

Regards,
-- 
Nicolas Goaziou


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]