From: Xinglu Chen <public@yoctocell.xyz>
To: 48663@debbugs.gnu.org
Subject: [bug#48663] [PATCH] gnu: Add emacs-org-inline-pdf.
Date: Wed, 26 May 2021 09:54:02 +0200 [thread overview]
Message-ID: <87o8cy53s5.fsf@yoctocell.xyz> (raw)
In-Reply-To: <fe7af910ca2905b310be739bcdefcb38cbff8298.1622014570.git.public@yoctocell.xyz>
[-- Attachment #1: Type: text/plain, Size: 1259 bytes --]
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?
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]
next prev parent reply other threads:[~2021-05-26 7:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-26 7:36 [bug#48663] [PATCH] gnu: Add emacs-org-inline-pdf Xinglu Chen
2021-05-26 7:54 ` Xinglu Chen [this message]
2021-05-26 12:52 ` bug#48663: " Nicolas Goaziou
2021-05-26 14:10 ` [bug#48663] " Xinglu Chen
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87o8cy53s5.fsf@yoctocell.xyz \
--to=public@yoctocell.xyz \
--cc=48663@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 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).