[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#48663] [PATCH] gnu: Add emacs-org-inline-pdf.
From: |
Xinglu Chen |
Subject: |
[bug#48663] [PATCH] gnu: Add emacs-org-inline-pdf. |
Date: |
Wed, 26 May 2021 09:54:02 +0200 |
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
Description: PGP signature