guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: emacs-hyperbole: Install images and help fil


From: guix-commits
Subject: branch master updated: gnu: emacs-hyperbole: Install images and help files.
Date: Wed, 28 Apr 2021 18:33:06 -0400

This is an automated email from the git hooks/post-receive script.

ngz pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 0d570b6  gnu: emacs-hyperbole: Install images and help files.
0d570b6 is described below

commit 0d570b60195e8db89cfa026f09e84a933a636e7d
Author: Xinglu Chen <public@yoctocell.xyz>
AuthorDate: Tue Apr 27 18:58:15 2021 +0200

    gnu: emacs-hyperbole: Install images and help files.
    
    * gnu/packages/emacs-xyz.scm (emacs-hyperbole)[arguments]: Include help file
    and install images for the manual.
    
    Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
 gnu/packages/emacs-xyz.scm | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 758336a..ef26d19 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -359,6 +359,7 @@ server}.  The main advantage compared to @code{vc-hg} is 
speed.")
      `(#:include '("DEMO"
                    "DEMO-ROLO.otl"
                    "HY-ABOUT"
+                   "man/hkey-help.txt"
                    "\\.el$"
                    "\\.info$"
                    "\\.kotl$")
@@ -373,8 +374,15 @@ server}.  The main advantage compared to @code{vc-hg} is 
speed.")
                 (string-append (assoc-ref inputs "inetutils")
                                "/bin/dnsdomainname")))
              (substitute* "hyperbole.el"
-               (("\\(hyperb:check-dir-user\\)") ""))
-             #t)))))
+               (("\\(hyperb:check-dir-user\\)") ""))))
+         (add-after 'install 'install-images
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let ((out (assoc-ref outputs "out")))
+               (for-each (lambda (file)
+                           (install-file
+                            file
+                            (string-append out "/share/info/im")))
+                         (find-files "man/im" "\\.png$"))))))))
     (inputs
      `(("inetutils" ,inetutils)))
     (home-page "https://www.gnu.org/software/hyperbole/";)



reply via email to

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