75 Commits

Author SHA1 Message Date
Kovid Goyal
9f0ab6e40f
Get rcc compiler building 2022-07-06 19:19:42 +05:30
Kovid Goyal
5db39aa16e
Drop 32-bit code paths 2022-07-06 19:19:39 +05:30
Kovid Goyal
e195b3a1e2
Build universal binaries on macOS 2022-07-06 19:19:37 +05:30
Kovid Goyal
17d9cd0b6a
Add the SW prefix to cmake when building headless 2022-07-06 19:19:35 +05:30
Kovid Goyal
e3d0259d70
Get the Qt plugins building with Qt6 2022-07-06 19:19:32 +05:30
Kovid Goyal
f56d0b5ec0
Replace references to PyQt5 in the source 2022-07-06 19:19:32 +05:30
Kovid Goyal
24c460faec
also upgrade code in setup folder 2022-01-08 12:15:18 +05:30
Kovid Goyal
f01268b2ec
Remove deprecated distutils 2021-12-13 21:55:53 +05:30
Christian Clauss
3e81179175 Fix more typos 2021-10-02 17:15:24 +02:00
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
618bf197e2
Fix more deprecation warnings in the test suite 2021-06-24 09:09:04 +05:30
Kovid Goyal
a37c14499c
Fix building of sqlite_extension on ancient Linux 2021-06-16 17:14:31 +05:30
Kovid Goyal
d8595e5bf5
Fix ICU build on Windows 2021-06-16 17:02:07 +05:30
Kovid Goyal
6d845cfa37
Generate db of compile commands for use by tools when building 2021-06-14 09:02:55 +05:30
Kovid Goyal
73a312dd64
Workaround for sip version mismatch on Arch 2021-05-13 08:40:37 +05:30
Kovid Goyal
d368c4f96e
Dont chdir as part of sip-build command
Instead chdir overall, makes the command simpler.
2021-05-13 07:48:08 +05:30
Kovid Goyal
c8b5289a34
Handle empty parser state stack 2021-03-20 21:14:14 +05:30
Kovid Goyal
370ece64b0
Add sanitize build option 2021-03-20 20:15:34 +05:30
Kovid Goyal
9765f4a81f
Add a build flag to build in debug mode 2021-03-20 16:53:15 +05:30
Kovid Goyal
0f2aff9a4a
Cleanup path handling when building on windows 2021-03-18 21:41:15 +05:30
Kovid Goyal
75586d8eb0
Always build on Windows with Visual Studio 2019 2021-03-18 21:22:31 +05:30
Kovid Goyal
b1c34ab520
Add support for building with c++14 2021-03-18 07:40:07 +05:30
Kovid Goyal
04ad7bc901
Remove workarounds that are not needed with the current versions of sip-build 2020-12-03 22:03:05 +05:30
Kovid Goyal
7a4b3f61ff
Move to SIP v5 2020-09-16 21:52:25 +05:30
Kovid Goyal
a4df5cc67b
Dont use -b flag when calling sip
Was inexplicably removed from SIP5
2020-09-14 12:26:08 +05:30
Kovid Goyal
9642eeea83
Also use macos in extensions.json 2020-09-09 19:28:07 +05:30
Kovid Goyal
7f6dce5218
Fix build failure missed one isosx instance 2020-09-09 15:56:14 +05:30
Kovid Goyal
13552bef07
isosx -> ismacos 2020-09-09 14:51:09 +05:30
Kovid Goyal
0213b80693
Tell MSVC our source files are UTF-8 2020-08-22 18:48:07 +05:30
Kovid Goyal
2e1c57a86c
... 2020-08-22 18:48:02 +05:30
Kovid Goyal
5a1b4430b2
Colorize compiler output on linux 2020-08-22 18:48:02 +05:30
Kovid Goyal
dd12f0a76e
Parallelize building sip files 2020-08-22 18:48:02 +05:30
Kovid Goyal
dc4e482799
Fully parallelize building of non-pyqt extensions 2020-08-22 18:48:02 +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
764e8bff7e
Remove py3 conditionals 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
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
fc1803a800
Remove obsolete workarounds for buggy distro Qt packages 2020-02-04 08:45:03 +05:30
Kovid Goyal
e2b730b3b2
Fix building of headless on macOS
Apparently we can link against both themesuport private and font
database private as they both contain the same symbol
2020-02-04 08:40:54 +05:30
Kovid Goyal
bf199d6bfa
Get podofo building on older compilers on linux 2019-09-13 09:12:33 +05:30
Eli Schwartz
d50a6ddc1b
use context managers to open files 2019-07-25 01:30:54 -04:00
Bernhard M. Wiedemann
53298f87ff
Sort input file list
so that calibre/plugins/lzma_binding.so builds in a reproducible way
in spite of indeterministic filesystem readdir order
and http://bugs.python.org/issue30461

See https://reproducible-builds.org/ for why this is good.
2019-07-01 14:47:32 +02:00
Kovid Goyal
e804e48747
Start work on building calibre on windows 2019-06-19 10:06:54 +05:30
Kovid Goyal
a08bdbeb4e
Dont depend on calibre in polyglot 2019-05-15 16:42:52 +05:30
Kovid Goyal
86ffa4f717
Allow running calibre under both python2 and python3 from the same source checkout 2019-04-10 13:47:10 +05:30
Kovid Goyal
9b0ed4204d
... 2019-03-26 08:24:54 +05:30
Kovid Goyal
f68c1f2672
DRYer 2019-03-26 08:24:12 +05:30
Kovid Goyal
f66d6f9fcf
Ensure init symbol is exported on py3 2019-03-26 08:14:46 +05:30
Flaviu Tamas
1270f32157 Only build monotonic on py2 2018-09-14 13:49:33 -04:00