Subject: bug#74953: closed (Re: Add an info manual building phase to the emacs-denote package definition.)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 23 Dec 2024 23:51:03 +0000

Your bug report

#74953: Add an info manual building phase to the emacs-denote package definition.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
74953: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=74953
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: Add an info manual building phase to the emacs-denote package definition.
From: Nicolas Goaziou <[email-masked]>
To: [email-masked]
Cc: Yuval Langer <[email-masked]>
Date: Tue, 24 Dec 2024 00:49:48 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

> This step builds the info manual from the org file.

I wrote a proper commit message and applied your patch. Thank you.

Regards,
-- 
Nicolas Goaziou

Subject: Add an info manual building phase to the emacs-denote package definition.
From: Yuval Langer <[email-masked]>
To: [email-masked]
Date: Wed, 18 Dec 2024 22:34:53 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

This step builds the info manual from the org file.
From cacbb9d549a35b6ae3bb36516a68ae49dcd248ad Mon Sep 17 00:00:00 2001
Message-Id: <cacb[email-masked]>
From: Yuval Langer <[email-masked]>
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