all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jai Vetrivelan <jaivetrivelan@gmail.com>
To: 54474@debbugs.gnu.org
Subject: [bug#54474] [PATCH 5/6] gnu: emacs-modus-themes: Add Info manual.
Date: Sun, 20 Mar 2022 18:52:13 +0530	[thread overview]
Message-ID: <87ils8bvy2.fsf@gmail.com> (raw)
In-Reply-To: <87y214bw95.fsf@gmail.com>

[-- Attachment #1: 0005-gnu-emacs-modus-themes-Add-Info-manual.patch --]
[-- Type: text/patch, Size: 2048 bytes --]

From 355eb767d9b0013908980035cdfee361333c3280 Mon Sep 17 00:00:00 2001
From: Jai Vetrivelan <jaivetrivelan@gmail.com>
Date: Sun, 20 Mar 2022 17:27:00 +0530
Subject: [PATCH 5/6] gnu: emacs-modus-themes: Add Info manual.

* gnu/packages/emacs-xyz.scm (emacs-modus-themes): 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 a9aca35d65..6f69d30e86 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -27454,7 +27454,21 @@ (define-public emacs-modus-themes
        (file-name (git-file-name name version))
        (sha256
         (base32 "1mnfbr312dqifsdngb29kvggfirfclc9ncaw5srd52hnwc5n0rxi"))))
+    (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 \"doc/modus-themes.org\")"
+                     "--eval=(org-texinfo-export-to-info)")
+             (install-file "doc/modus-themes.info"
+                           (string-append (assoc-ref outputs "out")
+                                          "/share/info")))))))
     (home-page "https://protesilaos.com/modus-themes/")
     (synopsis "Accessible themes (WCAG AAA)")
     (description
@@ -27467,7 +27481,7 @@ (define-public emacs-modus-themes
 Vivendi (modus-vivendi) is dark.  Each theme’s color palette is designed to
 meet the needs of the numerous interfaces that are possible in the Emacs
 computing environment.")
-    (license license:gpl3+)))
+    (license license:gpl3+))) ; GFDLv1.3+ for the manual
 
 (define-public emacs-punpun-theme
   (let ((commit "7026684cd568cb691af3ced5de14c375fe6f5a1a")
-- 
2.34.0





  parent reply	other threads:[~2022-03-20 13:23 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-20 13:15 [bug#54474] [PATCH 0/6] gnu: emacs-xyz: Add info manuals of packages Jai Vetrivelan
2022-03-20 13:18 ` [bug#54474] [PATCH 1/6] gnu: Add emacs-logos Jai Vetrivelan
2022-03-20 13:22   ` Maxime Devos
2022-03-20 13:33     ` Jai Vetrivelan
2022-03-20 13:43       ` Maxime Devos
2022-03-20 13:22   ` Maxime Devos
2022-03-20 13:30   ` Nicolas Goaziou
2022-03-20 13:19 ` [bug#54474] [PATCH 2/6] gnu: Add emacs-pulsar Jai Vetrivelan
2022-03-20 13:20 ` [bug#54474] [PATCH 3/6] gnu: Add emacs-lin Jai Vetrivelan
2022-03-20 13:21 ` [bug#54474] [PATCH 4/6] gnu: Add emacs-tmr Jai Vetrivelan
2022-03-20 13:22 ` Jai Vetrivelan [this message]
2022-03-20 13:22 ` [bug#54474] [PATCH 6/6] gnu: emacs-mct: Add Info manual Jai Vetrivelan
2022-03-20 14:40 ` [bug#54474] [PATCH 1/6] gnu: Add emacs-pulsar Jai Vetrivelan
2022-03-20 14:40   ` [bug#54474] [PATCH 2/6] gnu: Add emacs-lin Jai Vetrivelan
2022-03-20 14:40   ` [bug#54474] [PATCH 3/6] gnu: Add emacs-logos Jai Vetrivelan
2022-03-20 14:40   ` [bug#54474] [PATCH 4/6] gnu: Add emacs-tmr Jai Vetrivelan
2022-03-20 14:40   ` [bug#54474] [PATCH 5/6] gnu: emacs-modus-themes: Add Info manual Jai Vetrivelan
2022-03-20 14:40   ` [bug#54474] [PATCH 6/6] gnu: emacs-mct: " Jai Vetrivelan

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

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

  git send-email \
    --in-reply-to=87ils8bvy2.fsf@gmail.com \
    --to=jaivetrivelan@gmail.com \
    --cc=54474@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.