417 Commits

Author SHA1 Message Date
Kovid Goyal
25b642acba
Include fonttools will eventually be used for subsetting or conversion to/from WOFF 2023-04-23 19:54:21 +05:30
Kovid Goyal
36203a7497
Functions to optimize and encode webp images 2023-04-22 13:22:48 +05:30
Kovid Goyal
f2f49c9d8e
Add libxcb-xcursor0 to linux build env for Qt 6.5
https://codereview.qt-project.org/c/qt/qtbase/+/325414
2023-04-11 19:41:37 +05:30
Kovid Goyal
328d0b5758
Add zstd as a dependency
Fixes #1826 (add zstd as a dependency)
2023-04-05 16:39:47 +05:30
Kovid Goyal
a86b88c634
Bump unrardll version 2023-03-09 14:08:07 +05:30
Kovid Goyal
bf6db247a2
Command to automatically install the Windows SDK 2023-01-26 20:33:49 +05:30
Kovid Goyal
4cab9b598e
Document XCode version 2023-01-19 09:09:00 +05:30
Kovid Goyal
34cb9ccffc
Change the macOS VM to a Big Sur based one since Qt WebEngine 6.4 needs XCode 13 which needs Big Sur 2023-01-16 22:17:00 +05:30
Kovid Goyal
37f042affc
... 2023-01-15 13:18:57 +05:30
Kovid Goyal
3b1cc81562
Install instructions for Windows SDK 2023-01-15 11:35:49 +05:30
Kovid Goyal
a54227469b
Bump version of pyqt 2023-01-10 09:07:15 +05:30
Kovid Goyal
d7c31f4a81
Automated fixes from ruff 2023-01-09 18:13:56 +05:30
Kovid Goyal
f7f0cf059f
Bump Qt version to 6.4.2 2023-01-09 18:09:06 +05:30
Kovid Goyal
d1a6bfa7b5
Windows build: Double the stack size
Python assumes a stack size of 2MB on windows. The windows default is
1MB. Presumably whoever builds python.exe changes it. Do the same to
avoid crashes due to too much recursion. Fixes #2000888 [BS4 str(soup) crashes Calibre instead of raising RecursionError](https://bugs.launchpad.net/calibre/+bug/2000888)
2023-01-04 15:58:41 +05:30
Kovid Goyal
48d08139de
Bump the version of the bundled zlib
Fixes #1811 (Dependencies: zlib file url changed)
2022-12-22 19:23:04 +05:30
Kovid Goyal
168718e3e7
Windows builds: sign DLLs in addition to EXEs
Apparently Microsoft's latest pointless bit of security theatre now wants
DLLs signed in addition to EXEs. Because of course, executable code can
only be in DLLs and EXEs. Roll eyes.

Fixes #1997486 [calibre does not start when Win 11´s smart app control is activated](https://bugs.launchpad.net/calibre/+bug/1997486)
2022-11-23 09:10:24 +05:30
xxyzz
5c12e51ef1
Add USER_SITE to site.py to fix error in pip 2022-11-04 15:13:18 +08:00
Kovid Goyal
bdaa9a1ca9
SHow progress while compressing linux build tarballs 2022-10-14 09:08:36 +05:30
Kovid Goyal
1f13e36547
Edit book: Fix an error when processing books that contain comments inside unknown CSS @ rules. Fixes #1990660 [Editor Error in Calibre 6.5](https://bugs.launchpad.net/calibre/+bug/1990660) 2022-09-26 14:52:50 +05:30
lifegpc
0443965b92
Bump speech dispatcher version from 0.10.2 to 0.11.1
This will fix [template with C linkage](https://github.com/brailcom/speechd/issues/616) error when compiling from source.
2022-08-16 19:10:30 +08:00
Kovid Goyal
d73fef560e
Allow using QtWebEngine in the main calibre application as well 2022-08-10 21:07:29 +05:30
Kovid Goyal
28070b6661
FB2 Input: Fix a regression in 6.0 that broke conversion of FB2 on macOS. Fixes #1982743 [failed to convert fb2](https://bugs.launchpad.net/calibre/+bug/1982743) 2022-07-27 12:12:51 +05:30
Kovid Goyal
f2a3233e9a
Bump versions of xml libs
Seeing crashes with libxslt involvement on macOS needs further
investigation, but maybe bumping  the versions will fix it.
2022-07-27 11:10:38 +05:30
Kovid Goyal
19f007fa9d
Linux binaries: Bundle brotli and graphite2 as well as Qt links against them 2022-07-18 19:30:24 +05:30
Kovid Goyal
dd69957517
Binary builds: Fix Qt TLS backends not included. Fixes #1981887 [Include SSL dlls in Calibre 6?](https://bugs.launchpad.net/calibre/+bug/1981887) 2022-07-17 08:55:39 +05:30
Charles Haley
ab55120f90 Fix an amusing typo. :)
This is a second commit, removing the white space processing my editor did.
I thought I had made a PR but there is no record of it. Apologies if this is a duplicate.
2022-07-16 16:22:13 +01:00
Kovid Goyal
5c3385476f
Switch from cchardet to uchardet
cchardet is not maintained anymore: https://github.com/PyYoshi/cChardet/issues/77

cchardet is based on uchardet with the addition of reporting encoding
detection confidence. We dont really need that, so moving to uchardet is
simplest.

See #1690 (Low effort port to charset_normalizer)
2022-07-16 15:36:28 +05:30
Kovid Goyal
e98c1fdc8e
Bump version of libmtp 2022-07-14 19:58:47 +05:30
Kovid Goyal
55b3cfaf12
Fix EXE manifest
Only Microsoft could come up with something so byzantine and prone to
silent failure
2022-07-11 13:13:27 +05:30
Kovid Goyal
424f0b8cc6
Indicate Catalina is required in Info.plist 2022-07-11 12:56:51 +05:30
Kovid Goyal
b8c00070d8
Implement a proper check for Win10 in the MSI based on the build number from the registry 2022-07-11 12:00:19 +05:30
Kovid Goyal
baf07dde67
Prevent the portable installer from running on windows older than w10 2022-07-11 11:22:32 +05:30
Kovid Goyal
58e8bf98cd
Change the minimum version on windows to 10 in the installer
Qt 6 does not support windows 8. https://www.qt.io/blog/qt6-development-hosts-and-targets
2022-07-11 11:02:00 +05:30
Kovid Goyal
cde3ff211c
Use pdftotext to index PDF files
Much faster and less resource intensive than pdftohtml
2022-07-06 19:19:55 +05:30
Kovid Goyal
ff34c69f3a
... 2022-07-06 19:19:54 +05:30
Kovid Goyal
97d613016c
Bump PyQt version 2022-07-06 19:19:52 +05:30
Kovid Goyal
2fbe290470
update pyqt 2022-07-06 19:19:52 +05:30
Kovid Goyal
7a96143b10
install libcups2-dev as it is needed by qt webengine 2022-07-06 19:19:52 +05:30
Kovid Goyal
a07a320a24
build node on linux as well as qt 6.3 requires nodejs >= 12 2022-07-06 19:19:52 +05:30
Kovid Goyal
cb4cec8d83
Bump Qt to 6.3.1 2022-07-06 19:19:52 +05:30
Kovid Goyal
d87cbe63e5
Qt 6 wayland needs yet another dll 2022-07-06 19:19:46 +05:30
Kovid Goyal
87a7aa3037
Bundle libpcre.so.3 because Linux distros are so goddamn stupid they cant even agree on so names for widely used libraries 2022-07-06 19:19:45 +05:30
Kovid Goyal
df89c9f251
Automatically uninstall 32-bit calibre on windows when installing 2022-07-06 19:19:39 +05:30
Kovid Goyal
ecf9f103d6
Get the portable installer building on 64bits 2022-07-06 19:19:39 +05:30
Kovid Goyal
2d0429ebce
Fix a couple of compiler warnings 2022-07-06 19:19:39 +05:30
Kovid Goyal
5db39aa16e
Drop 32-bit code paths 2022-07-06 19:19:39 +05:30
Kovid Goyal
271f988b72
Fix windows build 2022-07-06 19:19:38 +05:30
Kovid Goyal
fb5e0bf2c9
Get it building on windows 2022-07-06 19:19:38 +05:30
Kovid Goyal
7e8a5cf449
Dont build NodeJS on windows
It only builds with one version of Visual Studio. Typical web tech.
2022-07-06 19:19:38 +05:30
Kovid Goyal
87f3a5808e
... 2022-07-06 19:19:38 +05:30