Currently misc/calibre is stuck at version 3.x. Version 4.x uses a different HTML viewer: QtWebEngine instead of QtWebKit. For a long time there was no package for QtWebEngine, but now there is. So I created the python bindings for it (wip/py-qt5-webengine), and calibre-4.11.0 is now present in wip/calibre. I have tested it lightly. It shows my database and some .epub files, so I have good hopes that it works. Previously the calibre build skipped the extensions "libusb" and "libmtp". They are now included. Presumably they have something to do with managing files on a connected ereader, but I haven't tried that. So I wanted to continue with the second major version update: from 4 to 5. Here it finally uses Python 3 instead of 2. However in the process of getting this version to build (it's in pkgsrc/wip/calibre5) "make build" fails at SIPing 3 files... /usr/pkg/bin/python3.9 -c from sipbuild.tools.build import main; main(); --verbose --no-make --qmake /usr/pkg/qt5/bin/qmake Traceback (most recent call last): File "<string>", line 1, in <module> ModuleNotFoundError: No module named 'sipbuild' It seems that this requires a new version of x11/py-sip, which is also 2 major versions behind currently. However its Makefile.common has the ominous comment # Before updating, please check that any new version works with qgis. # Apparently, there are problems with 5 and 6 with qgis 3.16 as of # 2021-11. So what are those problems, and can they be solved? I think updating sip is fairly unavoidable. Maybe a separate package can be created, but the current one is somewhat intertwined with py-sip-qt4 and py-sip-qt5. That seems to make things a lot more complicated. Any suggestions? -Olaf. -- ___ "Buying carbon credits is a bit like a serial killer paying someone else to \X/ have kids to make his activity cost neutral." -The BOFH falu.nl@rhialto
Attachment:
signature.asc
Description: PGP signature