42 Commits

Author SHA1 Message Date
Kovid Goyal
b83938314f
Windows build: Also sign the portable launcher exes 2025-01-02 17:00:39 +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
53b74283a4
sort imports in all python files 2024-03-30 13:02:22 +05:30
Kovid Goyal
d2b976d866
Remove portable installer manifest file as it is embedded 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
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
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
baf07dde67
Prevent the portable installer from running on windows older than w10 2022-07-11 11:22:32 +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
5db39aa16e
Drop 32-bit code paths 2022-07-06 19:19:39 +05:30
Kovid Goyal
fb5e0bf2c9
Get it building on windows 2022-07-06 19:19:38 +05:30
Zbigniew Jędrzejewski-Szmek
9d63b6ae56 Drop (object) from class definitions
Python2 had old-style classes (no "(object)"), and new style classes (with
"object"). Under Py3 this is a noop, so let's drop it to make the code
a bit shorter.
2021-09-30 09:23:56 +02:00
Kovid Goyal
e9d1f2c25c
Windows: Fix command line arguments not working for the portable.exe launchers 2020-11-01 08:18:25 +05:30
Kovid Goyal
73df11e69e
Mark calibre as long path aware on Windows
Python 3.8 is supposedly long path aware and calibre itself does not use
MAX_PATH except in a few functions in the launcher/installer, and a
couple in winutil. So hopefully this means we are long path capable.
2020-10-24 09:17:27 +05:30
Kovid Goyal
defa85e918
Use simplified interface for freezing 2020-10-03 12:03:21 +05:30
Kovid Goyal
fe478a2cee
Use the new bypy freezing code for windows build 2020-10-03 09:05:37 +05:30
Kovid Goyal
7a4b3f61ff
Move to SIP v5 2020-09-16 21:52:25 +05:30
Kovid Goyal
1b9318e01b
calibre portable: Add launchers for standalone viewer and editor 2020-08-22 18:48:16 +05:30
Kovid Goyal
2966a3233d
Fix pycryptodome not working on windows 2020-08-22 18:48:04 +05:30
Kovid Goyal
e52848671a
Copy in python3.dll as PyQt links against it instead of python38.dll 2020-08-22 18:47:58 +05:30
Kovid Goyal
dfb5b72eca
Ensure no __pycache__ is added to pylib.zip 2020-08-22 18:47:58 +05:30
Kovid Goyal
8c7c3c9061
Work on windows python3 build 2020-08-22 18:47:58 +05:30
Kovid Goyal
55214540fd
Dont remove v3 port from PyQt 2020-08-22 18:47:57 +05:30
Kovid Goyal
01b0fba8ad
Auto fix excess blank lines 2020-08-22 18:47:56 +05:30
Kovid Goyal
9ff27782de
Remove useless __future__ imports
Not needed on python3
2020-08-22 18:47:55 +05:30
Kovid Goyal
50a19e2b75
Switch to using QEMU VMs for building calibre on macOS and Windows
The VM performance is better and QEMU is more
hackable/automatable than VirtualBox. Also paves the way to do the
building on remote servers if needed.
2020-05-30 14:48:47 +05:30
Kovid Goyal
8901836673
Bundle distutils in the binaries as Pillow now requires it 2019-09-13 09:13:36 +05:30
Kovid Goyal
03929d5959
Fix building of calibre portable installer 2019-09-13 09:12:39 +05:30
Kovid Goyal
0a05d2f578
Disabe SetDllDirectories on 32bit builds since it causes a crash 2019-09-13 09:12:38 +05:30
Kovid Goyal
b78f584264
Add mesa DLL to windows build for machines without OpenGL such as VMs 2019-09-13 09:12:35 +05:30
Kovid Goyal
be471a8cbe
Work on getting windows running 2019-09-13 09:12:35 +05:30
Eli Schwartz
d50a6ddc1b
use context managers to open files 2019-07-25 01:30:54 -04:00
Kovid Goyal
1be0c8ee8b
Get signing working 2019-06-19 17:59:16 +05:30
Kovid Goyal
aed78ba857
calibre now builds on windows, though for some reason the test fails 2019-06-19 17:04:35 +05:30
Kovid Goyal
947fb029d8
More work on building calibre on windows 2019-06-19 12:15:30 +05:30
Kovid Goyal
e804e48747
Start work on building calibre on windows 2019-06-19 10:06:54 +05:30