GNU bug report logs - #48663
[PATCH] gnu: Add emacs-org-inline-pdf.

Previous Next

Package: guix-patches;

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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 48663 in the body.
You can then email your comments to 48663 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#48663; Package guix-patches. (Wed, 26 May 2021 07:37:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Xinglu Chen <public <at> yoctocell.xyz>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 26 May 2021 07:37:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Xinglu Chen <public <at> yoctocell.xyz>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add emacs-org-inline-pdf.
Date: Wed, 26 May 2021 09:36:49 +0200
* gnu/packages/emacs-xyz.scm (emacs-org-inline-pdf): New variable.
---
 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 886320cc34..22918c8f9b 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -4635,6 +4635,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")

base-commit: 0ffac75ece4f22a8595e19b8a375791e87d365aa
-- 
2.31.1




Information forwarded to guix-patches <at> gnu.org:
bug#48663; Package guix-patches. (Wed, 26 May 2021 07:55:01 GMT) Full text and rfc822 format available.

Message #8 received at 48663 <at> debbugs.gnu.org (full text, mbox):

From: Xinglu Chen <public <at> yoctocell.xyz>
To: 48663 <at> debbugs.gnu.org
Subject: Re: [bug#48663] [PATCH] gnu: Add emacs-org-inline-pdf.
Date: Wed, 26 May 2021 09:54:02 +0200
[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)]

Reply sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
You have taken responsibility. (Wed, 26 May 2021 12:53:02 GMT) Full text and rfc822 format available.

Notification sent to Xinglu Chen <public <at> yoctocell.xyz>:
bug acknowledged by developer. (Wed, 26 May 2021 12:53:02 GMT) Full text and rfc822 format available.

Message #13 received at 48663-done <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Xinglu Chen <public <at> yoctocell.xyz>
Cc: 48663-done <at> debbugs.gnu.org
Subject: Re: [bug#48663] [PATCH] gnu: Add emacs-org-inline-pdf.
Date: Wed, 26 May 2021 14:52:31 +0200
Hello,

Xinglu Chen <public <at> yoctocell.xyz> writes:

> On Wed, May 26 2021, Xinglu Chen wrote:
>
>> +(define-public emacs-org-inline-pdf

Patch applied. Thank you.

> Oops, trailing whitespace.  Should I add a linter check for this?

Isn't it the case already? There's a `report-trailing-white-space'
checker in "lint.scm".

Regards,
-- 
Nicolas Goaziou




Information forwarded to guix-patches <at> gnu.org:
bug#48663; Package guix-patches. (Wed, 26 May 2021 14:11:02 GMT) Full text and rfc822 format available.

Message #16 received at 48663-done <at> debbugs.gnu.org (full text, mbox):

From: Xinglu Chen <public <at> yoctocell.xyz>
To: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Cc: 48663-done <at> debbugs.gnu.org
Subject: Re: bug#48663: [PATCH] gnu: Add emacs-org-inline-pdf.
Date: Wed, 26 May 2021 16:10:08 +0200
[Message part 1 (text/plain, inline)]
On Wed, May 26 2021, Nicolas Goaziou wrote:

>> Oops, trailing whitespace.  Should I add a linter check for this?
>
> Isn't it the case already? There's a `report-trailing-white-space'
> checker in "lint.scm".

I think this one only checks the lines and not the text inside of the
synopsis string.

[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 24 Jun 2021 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 305 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.