GNU bug report logs -
#48663
[PATCH] gnu: Add emacs-org-inline-pdf.
Previous Next
Reported by: Xinglu Chen <public <at> yoctocell.xyz>
Date: Wed, 26 May 2021 07:37:02 UTC
Severity: normal
Tags: patch
Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
On Wed, May 26 2021, Xinglu Chen wrote:
> +(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 ")
^^
Oops, trailing whitespace. Should I add a linter check for this?
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 3 years and 362 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.