MX 17 Repository: The Calibre Thread

Message
Author
User avatar
Stevo
Developer
Posts: 12842
Joined: Fri Dec 15, 2006 8:07 pm

Re: MX 17 Repository: The Calibre Thread

#31 Post by Stevo »

Updated to 3.43.0 in the main repo. Changes include:
# New features
- Kobo driver: Support for new Kobo firmware
- Edit metadata dialog: Remember relative sizes of the cover and comments editors.

# Bug fixes
- PDF Output: Fix hang when converting some documents.
- Handle newlines when serializing to csr files
- Fix searching in manage tags throws away all changes
- Fix a regression in the previous release that broke using the wireless
device driver with the device_for_template option
- Fix metadata download from Amazon stripping accents from comments text
in the binary builds
- Amazon metadata download: Fix some downloads failing when a mobile user
agent is randomnly selected.
- LRF Input: Fix a regression that broke parsing LRF files.
- PDF Input: Workaround for pdftohtml not always producing valid UTF-8.

# New news sources
- The Baffler by Jose Ortiz

# Improved news sources
- The Toronto Star
- The Financial Express
- London Review of Books
- Boston Globe Subscription

User avatar
Stevo
Developer
Posts: 12842
Joined: Fri Dec 15, 2006 8:07 pm

Re: MX 17 Repository: The Calibre Thread

#32 Post by Stevo »

Seems that this new version breaks the importation of .chm files, so don't update if that's important to you.

It turns out you can get it to respect your system theme with the terminal command

You can set the environment variable

Code: Select all

export CALIBRE_USE_SYSTEM_THEME=1
or even run Calibre right after

Code: Select all

export CALIBRE_USE_SYSTEM_THEME=1 && calibre
but I added the command to /etc/rc.local, above the "exit 0" line, so it's now automatic for my system. It might also be added to /etc/profile...

If you want "night mode" in the reader applet itself, you'll need to do some more work: https://askubuntu.com/questions/1053497 ...

User avatar
Stevo
Developer
Posts: 12842
Joined: Fri Dec 15, 2006 8:07 pm

Re: MX 17 Repository: The Calibre Thread

#33 Post by Stevo »

updated to 3.45.2 in the main MX 17/18 repo, as well as for the upcoming MX 19.

User avatar
Stevo
Developer
Posts: 12842
Joined: Fri Dec 15, 2006 8:07 pm

Re: MX 17 Repository: The Calibre Thread

#34 Post by Stevo »

Updated to the new 3.46.0 release in main.

User avatar
Stevo
Developer
Posts: 12842
Joined: Fri Dec 15, 2006 8:07 pm

Re: MX 17 Repository: The Calibre Thread

#35 Post by Stevo »

Well, looks like 3.48.0 is the last update for now. Backports of 4.0.0 from Sid in both MX 18 and 19 fail to open ebooks in its viewer now with this in the terminal:

Code: Select all

Traceback (most recent call last):
  File "/usr/bin/calibre-parallel", line 20, in <module>
    sys.exit(main())
  File "/usr/lib/calibre/calibre/utils/ipc/worker.py", line 208, in main
    result = func(*args, **kwargs)
  File "/usr/lib/calibre/calibre/gui_launch.py", line 80, in ebook_viewer
    from calibre.gui2.viewer.main import main
  File "/usr/lib/calibre/calibre/gui2/viewer/main.py", line 12, in <module>
    from PyQt5.QtWebEngineCore import QWebEngineUrlScheme
ImportError: No module named QtWebEngineCore
The last line is the error--maybe both distreleases' qtwebengines are now too old...

User avatar
Jerry3904
Administrator
Posts: 21962
Joined: Wed Jul 19, 2006 6:13 am

Re: MX 17 Repository: The Calibre Thread

#36 Post by Jerry3904 »

A user on FB just reported how well it was running for him using the website's command to install the new version:

Code: Select all

$ sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin
[sudo] password for jb: 
Using python executable: /usr/bin/python3
2019-10-06 16:45:48 URL:https://download.calibre-ebook.com/linux-installer.sh [31301/31301] -> "-" [1]
Installing to /opt/calibre
Downloading tarball signature securely...
Will download and install calibre-4.0.0-x86_64.txz 
                                                                   Downloading calibre-4.0.0-x86_64.txz                                                                   
100% [================================================================================================================================================================]
                                                                                                                                                                          Downloaded 100040748 bytes 
Checking downloaded file integrity... 
Extracting files to /opt/calibre ...
Extracting application files... 
Creating symlinks...
	Symlinking /opt/calibre/calibre-parallel to /usr/bin/calibre-parallel
	Symlinking /opt/calibre/ebook-convert to /usr/bin/ebook-convert
	Symlinking /opt/calibre/lrs2lrf to /usr/bin/lrs2lrf
	Symlinking /opt/calibre/web2disk to /usr/bin/web2disk
	Symlinking /opt/calibre/fetch-ebook-metadata to /usr/bin/fetch-ebook-metadata
	Symlinking /opt/calibre/ebook-meta to /usr/bin/ebook-meta
	Symlinking /opt/calibre/markdown-calibre to /usr/bin/markdown-calibre
	Symlinking /opt/calibre/calibre-debug to /usr/bin/calibre-debug
	Symlinking /opt/calibre/calibre-customize to /usr/bin/calibre-customize
	Symlinking /opt/calibre/lrf2lrs to /usr/bin/lrf2lrs
	Symlinking /opt/calibre/calibre-smtp to /usr/bin/calibre-smtp
	Symlinking /opt/calibre/lrfviewer to /usr/bin/lrfviewer
	Symlinking /opt/calibre/ebook-viewer to /usr/bin/ebook-viewer
	Symlinking /opt/calibre/ebook-polish to /usr/bin/ebook-polish
	Symlinking /opt/calibre/calibre to /usr/bin/calibre
	Symlinking /opt/calibre/ebook-edit to /usr/bin/ebook-edit
	Symlinking /opt/calibre/calibredb to /usr/bin/calibredb
	Symlinking /opt/calibre/calibre-server to /usr/bin/calibre-server
	Symlinking /opt/calibre/ebook-device to /usr/bin/ebook-device
Setting up command-line completion...
Installing zsh completion to: /usr/share/zsh/vendor-completions/_calibre
Failed to find directory to install bash completions, using default.
Installing bash completion to: /usr/share/bash-completion/completions/calibre
Setting up desktop integration...
Creating un-installer: /usr/bin/calibre-uninstall
Run "calibre" to start calibre 
We could put that into MXPI if not in the repos, right?
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
Stevo
Developer
Posts: 12842
Joined: Fri Dec 15, 2006 8:07 pm

Re: MX 17 Repository: The Calibre Thread

#37 Post by Stevo »

Jerry3904 wrote: Sun Oct 06, 2019 4:45 pm A user on FB just reported how well it was running for him using the website's command to install the new version:

Code: Select all

$ sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin
[sudo] password for jb: 
Using python executable: /usr/bin/python3
2019-10-06 16:45:48 URL:https://download.calibre-ebook.com/linux-installer.sh [31301/31301] -> "-" [1]
Installing to /opt/calibre
Downloading tarball signature securely...
Will download and install calibre-4.0.0-x86_64.txz 
                                                                   Downloading calibre-4.0.0-x86_64.txz                                                                   
100% [================================================================================================================================================================]
                                                                                                                                                                          Downloaded 100040748 bytes 
Checking downloaded file integrity... 
Extracting files to /opt/calibre ...
Extracting application files... 
Creating symlinks...
	Symlinking /opt/calibre/calibre-parallel to /usr/bin/calibre-parallel
	Symlinking /opt/calibre/ebook-convert to /usr/bin/ebook-convert
	Symlinking /opt/calibre/lrs2lrf to /usr/bin/lrs2lrf
	Symlinking /opt/calibre/web2disk to /usr/bin/web2disk
	Symlinking /opt/calibre/fetch-ebook-metadata to /usr/bin/fetch-ebook-metadata
	Symlinking /opt/calibre/ebook-meta to /usr/bin/ebook-meta
	Symlinking /opt/calibre/markdown-calibre to /usr/bin/markdown-calibre
	Symlinking /opt/calibre/calibre-debug to /usr/bin/calibre-debug
	Symlinking /opt/calibre/calibre-customize to /usr/bin/calibre-customize
	Symlinking /opt/calibre/lrf2lrs to /usr/bin/lrf2lrs
	Symlinking /opt/calibre/calibre-smtp to /usr/bin/calibre-smtp
	Symlinking /opt/calibre/lrfviewer to /usr/bin/lrfviewer
	Symlinking /opt/calibre/ebook-viewer to /usr/bin/ebook-viewer
	Symlinking /opt/calibre/ebook-polish to /usr/bin/ebook-polish
	Symlinking /opt/calibre/calibre to /usr/bin/calibre
	Symlinking /opt/calibre/ebook-edit to /usr/bin/ebook-edit
	Symlinking /opt/calibre/calibredb to /usr/bin/calibredb
	Symlinking /opt/calibre/calibre-server to /usr/bin/calibre-server
	Symlinking /opt/calibre/ebook-device to /usr/bin/ebook-device
Setting up command-line completion...
Installing zsh completion to: /usr/share/zsh/vendor-completions/_calibre
Failed to find directory to install bash completions, using default.
Installing bash completion to: /usr/share/bash-completion/completions/calibre
Setting up desktop integration...
Creating un-installer: /usr/bin/calibre-uninstall
Run "calibre" to start calibre 
We could put that into MXPI if not in the repos, right?
Yes, if it's really the case that it needs a newer qtwebengine. I asked any Sid users on the Debian forum if they get the same error when trying to open an ebook in its viewer.

Edit: looking at the new changelog today--apparently not, so install of the static version from their website is currently the only way to get a working 4.0.0:

Code: Select all

calibre (4.0.0+really3.48.dfsg-1) unstable; urgency=medium

  * Revert to 3.48 since necessary modules for running Calibre >= 4.0 are
    not available for Python 2 (Closes: #941802, #941806)

 -- Norbert Preining <norbert@preining.info>  Sun, 06 Oct 2019 10:09:23 +0900

calibre (4.0.0+dfsg-1) unstable; urgency=medium

  * New upstream version 4.0.0+dfsg
  * fix debian packaging for 4.0 upstream
  * add libhunspell-dev to B-D

 -- Norbert Preining <norbert@preining.info>  Sat, 05 Oct 2019 09:42:11 +0900

User avatar
Jerry3904
Administrator
Posts: 21962
Joined: Wed Jul 19, 2006 6:13 am

Re: MX 17 Repository: The Calibre Thread

#38 Post by Jerry3904 »

I had an epub file, clicked it and up it came in calibre 4.0, totally readable. Very nice.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
Stevo
Developer
Posts: 12842
Joined: Fri Dec 15, 2006 8:07 pm

Re: MX 17 Repository: The Calibre Thread

#39 Post by Stevo »

I did some more research--apparently it now needs at least Qt Web Engine 5.12, but upstream Debian removed any python 2 packages from that build as part of their python2 purge. That means Debian won't be packaging Calibre until it switches to python 3.

It may be possible for us to put the static builds that that install command gets from Calibre into deb packages, like we do for Firefox. That would need investigation.

Locked

Return to “Package Requests/Status - MX 17/18”