unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Jai Vetrivelan <jaivetrivelan@gmail.com>
To: 54925@debbugs.gnu.org
Cc: Jai Vetrivelan <jaivetrivelan@gmail.com>
Subject: [bug#54925] [PATCH 1/5] gnu: emacs-mct: Add Info manual.
Date: Thu, 14 Apr 2022 13:08:02 +0530	[thread overview]
Message-ID: <20220414073806.24819-1-jaivetrivelan@gmail.com> (raw)
In-Reply-To: <87y208xgna.fsf@gmail.com>

* 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 bc96813754..38db64100f 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -1008,7 +1008,20 @@ (define-public emacs-mct
               (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
@@ -1017,7 +1030,8 @@ (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 (list license:gpl3+
+                   license:fdl1.3+)))) ; GFDLv1.3+ for the manual
 
 (define-public emacs-minions
   (package
-- 
2.34.0





  reply	other threads:[~2022-04-14  7:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-14  7:34 [bug#54925] [PATCH 0/6] emacs-xyz: add info manuals Jai Vetrivelan
2022-04-14  7:38 ` Jai Vetrivelan [this message]
2022-04-14  7:38   ` [bug#54925] [PATCH 2/5] gnu: Add emacs-logos Jai Vetrivelan
2022-04-14  7:38     ` [bug#54925] [PATCH 3/5] gnu: Add emacs-lin Jai Vetrivelan
2022-04-14  7:38       ` [bug#54925] [PATCH 4/5] gnu: Add emacs-pulsar Jai Vetrivelan
2022-04-14  7:38         ` [bug#54925] [PATCH 5/5] gnu: emacs-modus-themes: Update to 2.3.2 Jai Vetrivelan
2022-05-08 22:09 ` bug#54925: [PATCH 0/6] emacs-xyz: add info manuals Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220414073806.24819-1-jaivetrivelan@gmail.com \
    --to=jaivetrivelan@gmail.com \
    --cc=54925@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).