102 Commits

Author SHA1 Message Date
Kovid Goyal
f92bfac622
... 2025-09-25 11:25:51 +05:30
Kovid Goyal
23f0af168c
DRYer 2025-09-25 00:44:01 +05:30
Kovid Goyal
8e148a1878
Sign launchers and utils 2025-09-25 00:20:43 +05:30
Kovid Goyal
b97219f202
Switch to sign server based signing 2025-09-24 23:32:43 +05:30
Kovid Goyal
dcc60d7df4
... 2025-09-18 22:54:23 +05:30
Kovid Goyal
0976c55c24
Go back to using old expiring certificate
It's good till Oct 2nd so at least the next calibre release
is doable.
2025-09-18 20:04:12 +05:30
Kovid Goyal
4d5671496d
Turn off signing of exe and dll files on windows
Now only the installers are signed. This is needed because
DigiCert now only allows a thousand files to be a signed a year.
And charges $800 per year for the privilege. There is an alternative of
using a HSM (hardware security module) but that doesnt work with
my remote VM based signing workflow.

There are over 200 exes and dlls in a single calibre install.
Until a better provider is found, dont sign them.
2025-09-18 18:47:26 +05:30
Kovid Goyal
b03dbbe128
Migrate to using new Digicert keylocker cert for authenticode signing
The old one is about to expire. The new keylocker based service is
highway robbery some 800 dollars a year. Migrate to Azure Trust based
signing once that leaves beta for $120 a year instead, assuming it was
not designed by incompetent buffoons, which is always a possibility.
2025-09-18 14:40:17 +05:30
Kovid Goyal
fa582d8f26
More work on using GPU to run inferencing 2025-07-30 21:00:10 +05:30
Kovid Goyal
9021419440
Get the piper module working on windows 2025-07-30 21:00:09 +05:30
un-pogaz
b0d58ade70 add 'code' dictionary to codespell setting 2025-03-23 16:02:05 +01:00
Luz Paz
253030327b Fix various typos 2025-03-22 13:09:53 -04:00
Kovid Goyal
b83938314f
Windows build: Also sign the portable launcher exes 2025-01-02 17:00:39 +05:30
Kovid Goyal
f207de192f
Add AppUserModelID to start menu shortcuts 2024-11-08 11:45:52 +05:30
Kovid Goyal
97d476811a
Windows: Use calibre's bundled SSL certificates instead of the system store by default
I am tired of all the bug reports about SSL cerificate verify failures
on windows caused by the windows certificate store not having needed
intermediate certificates. So use the bundled certificates instead which
are the set of certificates trusted by Firefox and curl.

Can be turned off via CALIBRE_USE_SYSTEM_CERTIFICATES=1 env var
2024-10-08 15:06:35 +05:30
Kovid Goyal
4cea5f082a
Build piper for windows as well 2024-09-05 11:30:36 +05:30
Kovid Goyal
d851c81b8c
More timestamp servers 2024-08-30 09:29:28 +05:30
Kovid Goyal
5d7fff99e5
Change the authenticode timestamp server URL
The symantec server has been shutdown
2024-08-30 09:17:38 +05:30
Kovid Goyal
3727bc2355
Include ffmpeg backed for Qt MultiMedia on macos and windows
Qt docs indicate this is the only actually maintained backend
2024-08-23 23:13:54 +05:30
Kovid Goyal
64cb4b3fc6
Bump Qt to version 6.7.2
Also fix some pep8 warnings in recipes
2024-08-04 14:26:28 +05:30
Matthew Wener
02b0dd19a9 Support WIX Version 5
Virtual Symbol "WixUISupportPerUser" needs to be overridden in WIX V5 https://wixtoolset.org/docs/fivefour/
2024-06-10 12:08:17 -04:00
Kovid Goyal
2a96578a0d
Bump the versions of libxml2 and lxml
No longer need the lxml workaround on windows
2024-04-26 14:01:52 +05:30
growfrow
f4a40c7280 chore: remove repetitive words
Signed-off-by: growfrow <growfrow@outlook.com>
2024-04-18 15:43:47 +08:00
Kovid Goyal
788e21fd03
Workaround wix adding of extensions being utterly broken 2024-04-06 11:59:25 +05:30
Kovid Goyal
53b74283a4
sort imports in all python files 2024-03-30 13:02:22 +05:30
Kovid Goyal
3596471257
Windows: Edit book: Fix a crash when using the check book tool with a book that contains malformed markup. Fixes #2045133 [Editor closes immediately if epub-check finds parsing-failures in too much text-files](https://bugs.launchpad.net/calibre/+bug/2045133)
Bloody lxml doesnt initialize libxml2 correctly.
2023-12-03 22:23:29 +05:30
Kovid Goyal
00814a0f0e
More WiX fixes 2023-11-13 19:21:36 +05:30
Kovid Goyal
6290f15f93
Remove installer pdb file 2023-11-13 19:21:36 +05:30
Kovid Goyal
d2b976d866
Remove portable installer manifest file as it is embedded 2023-11-13 19:21:36 +05:30
Kovid Goyal
516a203d09
More WiX porting 2023-11-13 19:21:36 +05:30
Kovid Goyal
036f7ba5e4
More WiX porting 2023-11-13 19:21:35 +05:30
Kovid Goyal
6fe8e094f5
Support openssl's legacy module on windows as well
Le sigh
2023-11-13 19:21:35 +05:30
Kovid Goyal
299a5788e2
... 2023-11-13 19:21:35 +05:30
Kovid Goyal
a4237b7814
Automated translation of wxs file for wix 4 2023-11-13 19:21:35 +05:30
Kovid Goyal
85d899461d
Start work on porting wix 2023-11-13 19:21:35 +05:30
Kovid Goyal
0b29da7f16
Update VM definitions 2023-11-13 19:21:35 +05:30
Kovid Goyal
36203a7497
Functions to optimize and encode webp images 2023-04-22 13:22:48 +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
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
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
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
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
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