all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Yuval Langer <yuval.langer@gmail.com>
To: 74953@debbugs.gnu.org
Subject: [bug#74953] Add an info manual building phase to the emacs-denote package definition.
Date: Wed, 18 Dec 2024 22:34:53 +0200	[thread overview]
Message-ID: <CAK0OjG3_TY9skQBmSPHLoxvib7UbFmPJQMT4ikToFxUUPOfRLQ@mail.gmail.com> (raw)

[-- 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


                 reply	other threads:[~2024-12-18 20:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=CAK0OjG3_TY9skQBmSPHLoxvib7UbFmPJQMT4ikToFxUUPOfRLQ@mail.gmail.com \
    --to=yuval.langer@gmail.com \
    --cc=74953@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.