[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: Add emacs-org-inline-pdf.
From: |
guix-commits |
Subject: |
branch master updated: gnu: Add emacs-org-inline-pdf. |
Date: |
Wed, 26 May 2021 08:48:14 -0400 |
This is an automated email from the git hooks/post-receive script.
ngz pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new a866667 gnu: Add emacs-org-inline-pdf.
a866667 is described below
commit a866667f55a72300a98ba004fbabf4f96113f0c1
Author: Xinglu Chen <public@yoctocell.xyz>
AuthorDate: Wed May 26 09:36:49 2021 +0200
gnu: Add emacs-org-inline-pdf.
* gnu/packages/emacs-xyz.scm (emacs-org-inline-pdf): New variable.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
gnu/packages/emacs-xyz.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 0d7a8d4..decd9c0 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -4627,6 +4627,36 @@ strike through completed TODO headings, changes Org
blocks, changes Org check
boxes, and more.")
(license license:gpl3+))))
+(define-public emacs-org-inline-pdf
+ (package
+ (name "emacs-org-inline-pdf")
+ (version "0.2")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/shg/org-inline-pdf.el")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1qc92xvgxmnwjixk8bxwbc1l1jj0qk9dg73jyaip6lk4g0wjk6xf"))))
+ (build-system emacs-build-system)
+ (inputs
+ `(("pdf2svg" ,pdf2svg)))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-exec-paths
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((pdf2svg (assoc-ref inputs "pdf2svg")))
+ (substitute* "org-inline-pdf.el"
+ (("\"pdf2svg\"") (string-append "\"" pdf2svg
"/bin/pdf2svg\"")))))))))
+ (home-page "https://github.com/shg/org-inline-pdf.el")
+ (synopsis "Inline PDF previewing for Org")
+ (description "This package provides a minor mode that enables
+inline PDF preview in Org buffers by using pdf2svg.")
+ (license license:gpl3+)))
+
(define-public emacs-org-rich-yank
(package
(name "emacs-org-rich-yank")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: Add emacs-org-inline-pdf.,
guix-commits <=