Commit graph

230 commits

Author SHA1 Message Date
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
4e5fda27a8
Switch macOS build to use new bypy freezer 2020-10-03 09:05:36 +05:30
Kovid Goyal
b5af89b594
Dont remove lib2to3 as it is used by some thirdparty deps 2020-10-03 09:05:36 +05:30
Kovid Goyal
2938e2c203
New bypy freezing framework for Linux builds 2020-10-03 09:05:36 +05:30
Kovid Goyal
eb824ef094
Remove CALIBRE_DEVELOP_FROM from site.py
It will be implemented in the bypy frozen loader instead
2020-10-03 09:05:36 +05:30
Kovid Goyal
cc9a40868e
Linux: Move the calibre extensions out of site-packages
This means path based imports of them will continue to work
even after freeze into single dir
2020-10-03 09:05:36 +05:30
Kovid Goyal
7a4b3f61ff
Move to SIP v5 2020-09-16 21:52:25 +05:30
Kovid Goyal
c31ead51dc
Minor fixes for new build deps 2020-09-02 10:49:45 +05:30
Kovid Goyal
6db4815793
Remove embedded bookmarks from swe.epub 2020-08-27 08:50:28 +05:30
Kovid Goyal
bcf5ccc3e5
Switch to VS 2019
Although VS 2017 is officially supported, Qt WebEngine fails to build
with it
2020-08-26 08:04:07 +05:30
Kovid Goyal
130b27219f
QT_ACCESSIBILITY was Qt 4 only 2020-08-25 08:09:00 +05:30
Kovid Goyal
e57801b7e4
Add a bug reference for qt-at-spi crashes 2020-08-25 07:03:42 +05:30
Kovid Goyal
7368d78f3b
... 2020-08-24 17:19:32 +05:30
Kovid Goyal
f39ebb6ff2
Qt 5.15 does not have bundled xcb 2020-08-24 13:24:36 +05:30
Kovid Goyal
984bb98fc7
Upgrade all dependencies in the calibre build 2020-08-24 12:18:31 +05:30
Kovid Goyal
1f1d8024cb
Fix lib names for OpenSSL 1.1 2020-08-22 18:48:38 +05:30
Kovid Goyal
607fc44919
Bump versions of openssl and glib 2020-08-22 18:48:36 +05:30
Kovid Goyal
140ef318ce
Fix accidental re-execing for calibre_parallel as well on macOS 2020-08-22 18:48:33 +05:30
Kovid Goyal
1b9318e01b
calibre portable: Add launchers for standalone viewer and editor 2020-08-22 18:48:16 +05:30
Kovid Goyal
ee44316ac2
Remove some __future__ imports 2020-08-22 18:48:08 +05:30
Kovid Goyal
d2f24d6449
Update ICU version in macOS freezer 2020-08-22 18:48:08 +05:30
Kovid Goyal
ba32a87c1f
Accidentally removed python 2 needed for building Qt 2020-08-22 18:48:08 +05:30
Kovid Goyal
6e9b25b602
Bump Qt to 5.14.2 2020-08-22 18:48:07 +05:30
Kovid Goyal
eec44aa506
Bump version of libusb and libmtp 2020-08-22 18:48:07 +05:30
Kovid Goyal
23fe380275
Bump version of python and ICU 2020-08-22 18:48:07 +05:30
Kovid Goyal
75a0251391
Use separate vms for python3 builds 2020-08-22 18:48:07 +05:30
Kovid Goyal
8cbda9e18a
Build fixes 2020-08-22 18:48:07 +05:30
Kovid Goyal
2a2f641856
Port the commit to master to fix PDF Output with ebook-convert via symlink on macOS 2020-08-22 18:48:05 +05:30
Kovid Goyal
c4eedda5f2
Prevent installation on Windows 7 2020-08-22 18:48:05 +05:30
Kovid Goyal
2966a3233d
Fix pycryptodome not working on windows 2020-08-22 18:48:04 +05:30
Kovid Goyal
76204c71d1
Bump pychm version 2020-08-22 18:48:03 +05:30
Kovid Goyal
605857e276
Only report unhandled errors if excepthook is the default 2020-08-22 18:48:00 +05:30
Kovid Goyal
1c13f9634c
Restore reporting of unhandled exceptions during GUI application startup on windows
Not as nice as it was previously since errors importing the site module
will not be reported, but the python API provides no hooks for this in
Py_RunMain
2020-08-22 18:48:00 +05:30
Kovid Goyal
007b6d06ed
... 2020-08-22 18:47:59 +05:30
Kovid Goyal
eb60be9186
Py_RunMain does not call exit() 2020-08-22 18:47:59 +05:30
Kovid Goyal
8fc745c7fb
Use an at exit handler to restore console state
Py_Main() does not return if an unhandled SystemExit is raised
2020-08-22 18:47:59 +05:30
Kovid Goyal
df70399661
Allow using ANSI escape codes on windows when writing to the console 2020-08-22 18:47:59 +05:30
Kovid Goyal
bd80269072
Dont redirect stdoutstderr to NUL if it is a tty 2020-08-22 18:47:59 +05:30
Kovid Goyal
f615b44ace
Update pillow to version that builds with python 3.8 2020-08-22 18:47:58 +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
6adbf803aa
... 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
488fe5198b
Add proper paths in windows frozen build 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
04aedf8411
Switch to pycryptodome as pycrypto is un-maintained 2020-08-22 18:47:57 +05:30
Kovid Goyal
319b2b375f
Need updated pywin32 for python 3.8 2020-08-22 18:47:57 +05:30
Kovid Goyal
9588afa4d5
Get python3 and webengine building on windows 2020-08-22 18:47:57 +05:30
Kovid Goyal
55214540fd
Dont remove v3 port from PyQt 2020-08-22 18:47:57 +05:30
Kovid Goyal
baf0685ceb
De-vendor pychm 2020-08-22 18:47:57 +05:30
Kovid Goyal
411da596b4
The Apple build is working 2020-08-22 18:47:57 +05:30
Kovid Goyal
066ff4127b
Remove useless if branch 2020-08-22 18:47:56 +05:30
Kovid Goyal
2c8454e014
Make code used to launch interpreter re-useable 2020-08-22 18:47:56 +05:30
Kovid Goyal
01b0fba8ad
Auto fix excess blank lines 2020-08-22 18:47:56 +05:30
Kovid Goyal
4f47385bd5
Add the lzma dependency 2020-08-22 18:47:56 +05:30
Kovid Goyal
ec167b7ac7
Get the linux frozen build working with py3 2020-08-22 18:47:56 +05:30
Kovid Goyal
520c46dfb9
Minor fixups for changes when removing py3 conditionals 2020-08-22 18:47:56 +05:30
Kovid Goyal
f3062760ab
Build with python 3.8 2020-08-22 18:47:55 +05:30
Kovid Goyal
9ff27782de
Remove useless __future__ imports
Not needed on python3
2020-08-22 18:47:55 +05:30
Kovid Goyal
29cd8d64ea
Change shebangs to python from python2
Also remove a few other miscellaneous references to python2
2020-08-22 18:47:51 +05:30
Kovid Goyal
a3a617cd78
Bump versions of sqlite and apsw 2020-06-12 22:06:09 +05:30
Kovid Goyal
4d2a91ecf2
DRYer 2020-06-05 20:27:18 +05:30
Kovid Goyal
b2c50c0c41
Make macOS signing code re-useable 2020-06-05 20:16:18 +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
5efeaceaef
Windows: Fix amazon metadata download failing when accented characters in search query
Fix #1880300 [[BUG] Amazon Metadata grabber: InvalidURL: URL can't contain control characters](https://bugs.launchpad.net/calibre/+bug/1880300)
2020-05-26 21:41:05 +05:30
Kovid Goyal
f6f418fcb0
When running calibre-portable.exe popup a more useful error message if it is placed in a location with a too long path. Fixes #1866739 [Path length for calibre portable](https://bugs.launchpad.net/calibre/+bug/1866739) 2020-03-25 13:08:54 +05:30
Kovid Goyal
2d61ed50d9
Remove unused variable 2020-02-21 10:48:02 +05:30
Kovid Goyal
72509e53e0
As of Qt 5.14 we need to bundle QmlModels as well 2020-02-04 09:00:47 +05:30
Kovid Goyal
49defc9a13
Bump sqlite needed for upgraded apsw on unix 2020-02-04 07:20:48 +05:30
Kovid Goyal
e53c9868a5
Bump apsw version 2020-02-03 17:57:41 +05:30
Kovid Goyal
36a7af3b0b
Bump unrar version again 2020-02-03 06:14:13 +05:30
Kovid Goyal
910d384d19
Bump version of unrar 2020-02-02 15:55:10 +05:30
Kovid Goyal
d370c9bff5
Needed newer windows sdk for webengine 14.1 2020-02-02 15:39:06 +05:30
Kovid Goyal
86739db534
Update bundled Qt to 5.14.1 2020-02-02 07:49:51 +05:30
Kovid Goyal
ff4316bc93
Make it easier to set calibre environment variables on macOS 2020-01-02 09:52:25 +05:30
Kovid Goyal
e24e4b0a58
macOS: Fix PDF Output not working when running ebook-convert via symlink on the command line. Fixes #1857377 [ebook-convert hangs on rendering (possible packaging issue)](https://bugs.launchpad.net/calibre/+bug/1857377)
It really grinds my gears that this is necessary, but with macOS...
2019-12-24 19:55:20 +05:30
Kovid Goyal
e082b67a6e
Fix #1856720 [Calibre activates discrete gpu on MacBook Pro](https://bugs.launchpad.net/calibre/+bug/1856720) 2019-12-17 20:56:08 +05:30
Kovid Goyal
f1ce7c0cf9
Dont exec a symlink in the codesign placeholders
Instead use the full path to the actual binary in the outermost bundle
2019-12-07 15:30:29 +05:30
Kovid Goyal
5c1b69f5b9
Add hyphen dependency 2019-11-30 17:58:57 +05:30
Kovid Goyal
e534f2e558
Forgot to update hashes 2019-11-24 12:04:41 +05:30
Kovid Goyal
0198a77397
Bump sip and PyQt versions 2019-11-24 11:33:13 +05:30
Kovid Goyal
6d8c3c3fbd
Bump version of html5-parser 2019-11-03 08:53:18 +05:30
Kovid Goyal
e73f7da330
Windows fix UTF-16 output when reporting unhandled exceptions 2019-11-01 19:02:46 +05:30
Kovid Goyal
10d5d8b6bc
Fix a regression in 4.0 that broke rendering of PDF covers for PDF files that used JPEG2000 compression. Fixes #1847567 [Cover generation from PDF files is not working](https://bugs.launchpad.net/calibre/+bug/1847567) 2019-10-17 11:10:42 +05:30
Kovid Goyal
b698e78547
time formatting 2019-10-04 07:34:54 +05:30
Darío Hereñú
7004af805b
Minor formatting proposals 2019-10-03 14:48:43 -03:00
Kovid Goyal
337e8df8bd
... 2019-10-03 19:04:01 +05:30
Kovid Goyal
79fd57eb24
Format lists better on github 2019-10-03 19:02:22 +05:30
Kovid Goyal
97e49f379a
github does not render :file: 2019-10-03 18:59:48 +05:30
Kovid Goyal
0bb66f2316
Add instructions for building binaries using bypy 2019-10-03 18:57:43 +05:30
Kovid Goyal
3ce1c8bd63
Use UDBZ dmg files for best compression 2019-09-19 16:31:12 +05:30
Kovid Goyal
5196b29005
Notarize macOS builds 2019-09-18 18:55:50 +05:30
Kovid Goyal
d6e8d00b52
Enable hardened runtime on macOS
This is needed for notarization
2019-09-17 09:01:25 +05:30
Kovid Goyal
1b679ae5c8
Fix some compiler warnings 2019-09-13 09:13:37 +05:30
Kovid Goyal
2dd562b731
DRYer 2019-09-13 09:13:37 +05:30
Kovid Goyal
75ffbbba42
Apparently styles plugins dont exist on linux 2019-09-13 09:13:37 +05:30
Kovid Goyal
0c076ab759
Add the Qt styles plugins
Needed on windows for the system theme
2019-09-13 09:13:37 +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