From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:38888) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gbl90-0002Zh-2f for guix-patches@gnu.org; Tue, 25 Dec 2018 06:45:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gbl8w-0004tW-0Y for guix-patches@gnu.org; Tue, 25 Dec 2018 06:45:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:32847) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gbl8v-0004t9-TL for guix-patches@gnu.org; Tue, 25 Dec 2018 06:45:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gbl8v-0003Uq-N8 for guix-patches@gnu.org; Tue, 25 Dec 2018 06:45:01 -0500 Subject: [bug#33868] [PATCH] gnu: calibre: Fix PDF to EPUB conversion. Resent-Message-ID: Received: from eggs.gnu.org ([208.118.235.92]:38823) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gbl8a-0002E4-PR for guix-patches@gnu.org; Tue, 25 Dec 2018 06:44:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gbl8W-0004Py-OE for guix-patches@gnu.org; Tue, 25 Dec 2018 06:44:40 -0500 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]:38309) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gbl8W-0004Og-Hh for guix-patches@gnu.org; Tue, 25 Dec 2018 06:44:36 -0500 Received: by mail-wm1-x32e.google.com with SMTP id m22so13496726wml.3 for ; Tue, 25 Dec 2018 03:44:36 -0800 (PST) From: Mathieu Othacehe Date: Tue, 25 Dec 2018 12:44:27 +0100 Message-Id: <20181225114427.2777-1-m.othacehe@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 33868@debbugs.gnu.org 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 ;;; Copyright © 2017 Roel Janssen ;;; Copyright © 2018 Tobias Geerinckx-Rice +;;; Copyright © 2018 Mathieu Othacehe ;;; ;;; 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