unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#74953] Add an info manual building phase to the emacs-denote package definition.
@ 2024-12-18 20:34 Yuval Langer
  2024-12-23 23:49 ` bug#74953: " Nicolas Goaziou via Guix-patches via
  0 siblings, 1 reply; 2+ messages in thread
From: Yuval Langer @ 2024-12-18 20:34 UTC (permalink / raw)
  To: 74953

[-- Attachment #1: Type: text/plain, Size: 52 bytes --]

This step builds the info manual from the org file.

[-- Attachment #2: 0001-PATCH-Add-an-info-manual-building-phase-to-the-emacs.patch --]
[-- Type: text/x-patch, Size: 1469 bytes --]

From cacbb9d549a35b6ae3bb36516a68ae49dcd248ad Mon Sep 17 00:00:00 2001
Message-Id: <cacbb9d549a35b6ae3bb36516a68ae49dcd248ad.1734554026.git.yuval.langer@gmail.com>
From: Yuval Langer <yuval.langer@gmail.com>
Date: Wed, 18 Dec 2024 22:30:53 +0200
Subject: [PATCH] [PATCH] Add an info manual building phase to the emacs-denote
 package definition.

---
 gnu/packages/emacs-xyz.scm | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index c3b98b3726..8dafc6a013 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -18705,6 +18705,18 @@ you to deal with multiple log levels.")
        (sha256
         (base32 "0g9ciqgkipm6ag5nvyvaz0wc51hpk0wh2wwiqaybdfhzja8bbqx6"))))
     (build-system emacs-build-system)
+    (arguments
+     (list
+      #:phases #~(modify-phases %standard-phases
+                   (add-after 'unpack 'build-info-manual
+                     (lambda _
+                       (import (guix build utils))
+                       (invoke (string-append #$emacs "/bin/emacs")
+                               "README.org"
+                               "--batch"
+                               "-f"
+                               "org-texinfo-export-to-info"
+                               "--kill") #t)))))
     (native-inputs (list texinfo))
     (home-page "https://protesilaos.com/emacs/denote/")
     (synopsis "Simple notes for Emacs")
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-12-23 23:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-18 20:34 [bug#74953] Add an info manual building phase to the emacs-denote package definition Yuval Langer
2024-12-23 23:49 ` bug#74953: " Nicolas Goaziou via Guix-patches via

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).