GNU bug report logs - #54474
[PATCH 0/6] gnu: emacs-xyz: Add info manuals of packages

Previous Next

Package: guix-patches;

Reported by: Jai Vetrivelan <jaivetrivelan <at> gmail.com>

Date: Sun, 20 Mar 2022 13:16:02 UTC

Severity: normal

Tags: patch

Done: Jai Vetrivelan <jaivetrivelan <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #29 received at 54474 <at> debbugs.gnu.org (full text, mbox):

From: Jai Vetrivelan <jaivetrivelan <at> gmail.com>
To: 54474 <at> debbugs.gnu.org
Subject: [PATCH 6/6] gnu: emacs-mct: Add Info manual.
Date: Sun, 20 Mar 2022 18:52:47 +0530
[0006-gnu-emacs-mct-Add-Info-manual.patch (text/patch, inline)]
From e1df75980b273603e0d78e48317ef2df8cbbcae9 Mon Sep 17 00:00:00 2001
From: Jai Vetrivelan <jaivetrivelan <at> gmail.com>
Date: Sun, 20 Mar 2022 17:27:00 +0530
Subject: [PATCH 6/6] gnu: emacs-mct: Add Info manual.

* gnu/packages/emacs-xyz.scm (emacs-mct): Add Info manual.
---
 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 6f69d30e86..9a00f7ce4a 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -1007,7 +1007,21 @@ (define-public emacs-mct
               (sha256
                (base32 "0714n5nim0hyd5jywvvddka2gi2bhi1vkrbhx75mdn8h50r688kq"))
               (file-name (git-file-name name version))))
+    (native-inputs (list texinfo))
     (build-system emacs-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'install 'makeinfo
+           (lambda* (#:key outputs #:allow-other-keys)
+             (invoke "emacs"
+                     "--batch"
+                     "--eval=(require 'ox-texinfo)"
+                     "--eval=(find-file \"README.org\")"
+                     "--eval=(org-texinfo-export-to-info)")
+             (install-file "mct.info"
+                           (string-append (assoc-ref outputs "out")
+                                          "/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
@@ -1016,7 +1030,7 @@ (define-public emacs-mct
 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 license:gpl3+))) ; GFDLv1.3+ for the manual
 
 (define-public emacs-minions
   (package
-- 
2.34.0





This bug report was last modified 3 years and 37 days ago.

Previous Next


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