--- Begin Message ---
Subject: |
Resolve Calibre run-time dependency |
Date: |
Mon, 7 Sep 2020 00:17:23 +0545 |
Esteemed maintainers,
Currently, Calibre can't open .epub files unless `qtwebengine` package is also available in one's $GUIX_PROFILE. Neither can the stand-alone `ebook-viewer` program supplied with Calibre. It exits with the complaint: "Could not find QtWebEngineProcess".
Attached is a patch to fix the issue. QtWebEngineProcess is now made available to all Calibre binaries via QTWEBENGINE_PATH set during a new 'wrap-program phase introduced with the patch.
Thank you
0001-gnu-calibre-make-QtWebEngineProcess-available-during.patch
Description: Text Data
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#43151: Resolve Calibre run-time dependency |
Date: |
Tue, 8 Sep 2020 22:11:44 +0200 |
Hello,
On Mon, Sep 07, 2020 at 06:15:15PM +1000, Brendan Tildesley wrote:
> Your patch also works I think but it will wrap the programs twice, so
> you will get calibre, .calibre-real, and ..calibre-real-real, etc for
> every program, which seems ugly. My patch reproduces the same PYTHONPATH
> that is set in python-build-system in addition to wrapping PYTHONPATH
> (unless I made a mistake), although at the cost of code duplication. I
> leave it to you and who ever is reviewing this to decide which way is
> more correct and push one, haha.
thanks to both of your for your patches! I just pushed Brendan's, which
wraps only once at the price of copy-pasting from another package. I confirm
that it works, also to click on an epub file from within calibre. Closing
the two bugs asking about qtwebengine.
Concerning the update, is mathjax a required input now, or could we just
leave it out and update nevertheless?
Andreas
--- End Message ---