emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#33868: closed ([PATCH] gnu: calibre: Fix PDF to EP


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#33868: closed ([PATCH] gnu: calibre: Fix PDF to EPUB conversion.)
Date: Mon, 21 Jan 2019 09:58:02 +0000

Your message dated Mon, 21 Jan 2019 10:57:41 +0100
with message-id <address@hidden>
and subject line Re: [bug#33868] [PATCH] gnu: calibre: Fix PDF to EPUB 
conversion.
has caused the debbugs.gnu.org bug report #33868,
regarding [PATCH] gnu: calibre: Fix PDF to EPUB conversion.
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
33868: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=33868
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] gnu: calibre: Fix PDF to EPUB conversion. Date: Tue, 25 Dec 2018 12:44:27 +0100
When trying to convert a PDF to EPUB, the following error occurs:

  File 
"/gnu/store/kz6bgqw9z7akj11zh20wkx14cgq0s3n2-calibre-3.35.0/lib/calibre/calibre/ebooks/pdf/pdftohtml.py",
 line 76, in pdftohtml
    _('Could not find pdftohtml, check it is in your PATH'))

Move poppler which provides pdftohtml from inputs to propagated-inputs to fix 
it.

* gnu/packages/ebook.scm (calibre)[inputs]: Move poppler from here ...
[propagated-inputs]: ... to here.
---
 gnu/packages/ebook.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/ebook.scm b/gnu/packages/ebook.scm
index e750c6cac..70434293a 100644
--- a/gnu/packages/ebook.scm
+++ b/gnu/packages/ebook.scm
@@ -5,6 +5,7 @@
 ;;; Copyright © 2017 Brendan Tildesley <address@hidden>
 ;;; Copyright © 2017 Roel Janssen <address@hidden>
 ;;; Copyright © 2018 Tobias Geerinckx-Rice <address@hidden>
+;;; Copyright © 2018 Mathieu Othacehe <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -121,7 +122,6 @@
        ("openssl" ,openssl)
        ("optipng" ,optipng)
        ("podofo" ,podofo)
-       ("poppler" ,poppler)
        ("python" ,python-2)
        ("python2-apsw" ,python2-apsw)
        ("python2-chardet" ,python2-chardet)
@@ -145,9 +145,9 @@
        ("python2-sip" ,python2-sip)
        ("python2-regex" ,python2-regex)
        ;; python2-unrardll is needed for decompressing RAR files.
-       ;; A program called 'pdf2html' is needed for reading PDF books
-       ;; in the web interface.
        ("sqlite" ,sqlite)))
+    (propagated-inputs
+     `(("poppler" ,poppler)))
     (arguments
      `(#:python ,python-2
        #:test-target "check"
-- 
2.20.1




--- End Message ---
--- Begin Message --- Subject: Re: [bug#33868] [PATCH] gnu: calibre: Fix PDF to EPUB conversion. Date: Mon, 21 Jan 2019 10:57:41 +0100 User-agent: mu4e 1.0; emacs 26.1
>> (substitute* "lib/calibre/calibre/ebooks/pdf/pdftohtml.py"
>>   (("PDFTOHTML = \"pdftohtml\"")
>>    (string-append "PDFTOHTML = \"" (assoc-ref inputs "poppler")
>>                   "/bin/pdftohtml\"")))

Pushed as b65b78ff using your substitute snippet.

Thanks,

Mathieu


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]