gnu: calibre: Fix PDF to EPUB conversion.
authorMathieu Othacehe <m.othacehe@gmail.com>
Mon, 21 Jan 2019 09:52:10 +0000 (10:52 +0100)
committerMathieu Othacehe <m.othacehe@gmail.com>
Mon, 21 Jan 2019 09:56:24 +0000 (10:56 +0100)
commitb65b78ff386978ea4f29ddf2c913ed0fe3d582d0
tree388372b6137aedc7d15771f4e18f10b2dc59bcbb
parent26e4203be1044f6aa2004289864f5e1a421d7c88
gnu: calibre: Fix PDF to EPUB conversion.

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'))

Hardcode pdftohtml binary path by patching pdftohtml.py.

* gnu/packages/ebook.scm (calibre)[arguments]: Patch pdftohtml.py in
'configure phase to set hardcode pdftohtml binary path.
gnu/packages/ebook.scm