unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#65611] [PATCH] gnu: emacs-dired-preview: Add Info manual.
@ 2023-08-29 17:57 fernseed
  2023-08-30 11:49 ` bug#65611: " Andrew Tropin
  2023-08-30 18:25 ` [bug#65611] [PATCH v2] " fernseed
  0 siblings, 2 replies; 4+ messages in thread
From: fernseed @ 2023-08-29 17:57 UTC (permalink / raw)
  To: 65611
  Cc: Kierin Bell, Andrew Tropin, Katherine Cox-Buday,
	Liliana Marie Prikler

From: Kierin Bell <fernseed@fernseed.me>

* gnu/packages/emacs-xyz.scm (emacs-dired-preview): Add Info manual.
---
 gnu/packages/emacs-xyz.scm | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 3eaf215134..05f1488650 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -27347,6 +27347,21 @@ (define-public emacs-dired-preview
                (base32
                 "0d485812k1rv0qrw4xvzv4z3qf370apsajnf4q3pjk3q0r1fpm8b"))))
     (build-system emacs-build-system)
+    (native-inputs (list texinfo))
+    (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 "dired-preview.info"
+                            (string-append #$output
+                                           "/share/info")))))))
     (home-page "https://protesilaos.com/emacs/dired-preview")
     (synopsis "Automatically preview file at point in Dired")
     (description

base-commit: 9f4b6bcb5c548f9206b89270b13da54abdff31b1
-- 
2.41.0





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

end of thread, other threads:[~2023-08-30 18:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-29 17:57 [bug#65611] [PATCH] gnu: emacs-dired-preview: Add Info manual fernseed
2023-08-30 11:49 ` bug#65611: " Andrew Tropin
2023-08-30 16:48   ` [bug#65611] " Liliana Marie Prikler
2023-08-30 18:25 ` [bug#65611] [PATCH v2] " fernseed

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