My thoughts on Slackware, life and everything

Calibre 3.30.0 for Slackware with internal Qt5 libraries

It took me quite a while to release a new package for Calibre, the e-book library manager. That had a reason.

In July I switched the Qt5 package in my repositories to version 5.11 to support the latest KDE Plasma5 software and because it offers advantages over the previous 5.9 releases. Unfortunately, as I found out soon afterwards, the Calibre software fails to work with Qt 5.11 – its GUI components were not built and there was no obvious error to explain why.

Therefore I had to re-visit the calibre.SlackBuild‘s internals and try to revive the internal functions that compile an embedded Qt library set. This was last tested in the early days of my Calibre packages when Qt4 was the running champion. Adding internal Qt5 support was quite a different beast. Qt5 is a lot bigger than the venerable Qt4 so the build process needed some pruning to keep the compilation times acceptable and the package size under control.

That took a full week’s nights of compiling, debugging, recompiling and so on… hence the lack of updates on the ‘ktown’ front where I should perhaps pay some attention to a recent poppler update in slackware-current. But I managed to add Qt 5.9 internal library support to the calibre package.
My package for Slackware 14.2 still depends on an external ‘qt5’ package (to keep the package size small and because calibre works just fine with the qt 5.7 which is available from my own repository and the SBo script repository). The package for Slackware -current on the other hand was built with an embedded Qt 5.9, which means that its external dependency list shrunk to just ‘podofo’ and ‘unrar’.

Grab the new ‘calibre’ package and enjoy your e-book library!

4 Comments

  1. Konrad J Hambrick

    Thanks Eric !

    Installed Calibre 3.30.0 on Slackware64 14.2 + Multilib.

    Works great as always !

    — kjh

  2. Altor

    Hi, tanks Eric for all you work.

    I write it here as you speak about poppler update.
    I write document in latex and I use KDE plasma 5 on slackware -curent + multilib.
    So, in order to use the last texlive on -curent, I need to use the last poppler from -curent, but to visualize pdf with okular, I need to use your version of poppler.
    I manage it and it’s not a big deal, but it could be great to upgrade poppler 🙂
    Regards,
    Altor

  3. alienbob

    Altor I will update poppler (and okular, and calligra) this week.

  4. Altor

    Thanks.

Leave a Reply to Altor Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

© 2024 Alien Pastures

Theme by Anders NorenUp ↑