guix-commits
[Top][All Lists]
Advanced

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

16/20: gnu: emacs-mct: Add Info manual.


From: guix-commits
Subject: 16/20: gnu: emacs-mct: Add Info manual.
Date: Sun, 8 May 2022 18:08:41 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit f9157b736bc3a38cf071a2a73699beb44f1670ae
Author: Jai Vetrivelan <jaivetrivelan@gmail.com>
AuthorDate: Thu Apr 14 13:08:02 2022 +0530

    gnu: emacs-mct: Add Info manual.
    
    * gnu/packages/emacs-xyz.scm (emacs-mct): Add Info manual.
    
    Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
 gnu/packages/emacs-xyz.scm | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 2d1e83b021..c1783426cc 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -1009,7 +1009,20 @@ process, passing on the arguments as command line 
arguments.")
               (sha256
                (base32 "0714n5nim0hyd5jywvvddka2gi2bhi1vkrbhx75mdn8h50r688kq"))
               (file-name (git-file-name name version))))
+    (native-inputs (list texinfo))
     (build-system emacs-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'install 'makeinfo
+            (lambda _
+              (invoke "emacs"
+                      "--batch"
+                      "--eval=(require 'ox-texinfo)"
+                      "--eval=(find-file \"README.org\")"
+                      "--eval=(org-texinfo-export-to-info)")
+              (install-file "mct.info" (string-append #$output 
"/share/info")))))))
     (home-page "https://protesilaos.com/emacs/mct";)
     (synopsis "Enhancement of the default Emacs minibuffer completion UI")
     (description "Minibuffer and Completions in Tandem, also known as MCT, or
@@ -1018,7 +1031,8 @@ mct.el, is an Emacs package that enhances the default 
minibuffer and
 framework.  The idea is to make the presentation and overall functionality be
 consistent with other popular, vertically aligned completion UIs while
 leveraging built-in functionality.")
-    (license license:gpl3+)))
+    (license (list license:gpl3+
+                   license:fdl1.3+)))) ; GFDLv1.3+ for the manual
 
 (define-public emacs-minions
   (package



reply via email to

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