111 Commits

Author SHA1 Message Date
Kovid Goyal
75586d8eb0
Always build on Windows with Visual Studio 2019 2021-03-18 21:22:31 +05:30
Kovid Goyal
7a4b3f61ff
Move to SIP v5 2020-09-16 21:52:25 +05:30
Kovid Goyal
13552bef07
isosx -> ismacos 2020-09-09 14:51:09 +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
5ef79c742a
Add support for sip5 2019-12-14 12:40:08 +05:30
Kovid Goyal
5c1b69f5b9
Add hyphen dependency 2019-11-30 17:58:57 +05:30
Kovid Goyal
46295bb17f
Get the hunspell wraper building correctly on all platforms 2019-09-13 09:12:35 +05:30
Kovid Goyal
22a1481bcd
De-vendor hunspell 2019-09-13 09:12:35 +05:30
Kovid Goyal
e804e48747
Start work on building calibre on windows 2019-06-19 10:06:54 +05:30
Kovid Goyal
f2f57d2dda
Work on new calibre macOS build 2019-06-04 16:22:50 +05:30
Kovid Goyal
9695a6e1cc
Merge branch 'py3' of https://github.com/eli-schwartz/calibre 2019-02-26 08:39:42 +05:30
Eli Schwartz
3258c464e7 Port headless plugin to build on python2/python3
The only thing needed is to port the buildsystem to not pass strings
starting with a "b" as build flags.
2019-02-25 22:04:26 -05:00
Kovid Goyal
3c10a86c65
setup.py build now runs under python3 2018-09-10 21:02:10 +05:30
Kovid Goyal
f39f3951f4
dict fixes in the setup package 2018-09-10 20:54:35 +05:30
Flaviu Tamas
0889ee85ec
Fix syntax errors
Command used:

futurize --no-diffs -f libfuturize.fixes.fix_print_with_import -f lib2to3.fixes.fix_throw -f lib2to3.fixes.fix_numliterals -f lib2to3.fixes.fix_except -f lib2to3.fixes.fix_exec -f lib2to3.fixes.fix_raise -f lib2to3.fixes.fix_tuple_params -f lib2to3.fixes.fix_ne -j20 -w -n setup recipes src manual setup.py recipes/*.recipe

And manual adjustments of print((...)) -> print(...)
2018-09-10 12:11:28 +05:30
Kovid Goyal
73cd57bebb
DRYer 2018-03-10 09:07:38 +05:30
Kovid Goyal
53e5d1a748
Fix #1754698 [SIP_DIR no longer works to specify pyqt_sip_dir](https://bugs.launchpad.net/calibre/+bug/1754698) 2018-03-10 09:04:54 +05:30
Conrad Meyer
712edec636 Compatibility improvements for FreeBSD systems
Don't exclude libmtp on FreeBSD systems.

Don't exclude libusb on FreeBSD systems.  Our libusb has a different include
path structure and libname than Linux, but compiles fine once those are
corrected.

Correct path to py-sip on FreeBSD.  We install it to a different directory
than build_environment.py was looking in.
2017-12-26 13:01:13 -08:00
Kovid Goyal
dda2541a30
Remove unused code 2017-05-21 13:39:09 +05:30
Kovid Goyal
4488703e1e
Start work on setting up CO testing on windows with AppVeyor 2017-05-21 13:39:09 +05:30
Kovid Goyal
7bce30a9db
Change windows build environment detection to work with the new automatic build system 2017-05-21 13:39:08 +05:30
Kovid Goyal
ef7c1a3c69
Fix detection of mt.exe 2017-05-21 13:39:07 +05:30
Zoltán Mizsei
f7b9885660 Revert "More brackets (Maybe they are unneeded)"
This reverts commit 7f83c236aa3dab7e814c8ce4f03844f056bc25db.
2017-02-01 07:30:32 +01:00
Zoltán Mizsei
7f83c236aa More brackets (Maybe they are unneeded) 2017-02-01 07:21:30 +01:00
Zoltán Mizsei
ca33868c67 Missing brackets 2017-02-01 07:19:16 +01:00
Zoltán Mizsei
2e2236684d Setup build env 2017-01-26 08:41:58 +01:00
Kovid Goyal
0009565f8a Linux: Fix calibre not working when used with some old VNC server implementations 2016-09-27 18:20:22 +05:30
Kovid Goyal
eb91bf77e2 Include the Mac Extras Qt module 2016-09-01 10:04:23 +05:30
Kovid Goyal
3466aaff4c Define the extensions as pure data 2016-07-20 15:59:02 +05:30
Kovid Goyal
f910c1201a ... 2016-07-20 12:23:26 +05:30
Kovid Goyal
948e2cf2da Move deifintion of icu_libs to where it belongs 2016-07-20 12:20:36 +05:30
Kovid Goyal
6ca56ccdcf Do not use pywin32 to get cpu_count while building 2016-07-20 11:57:58 +05:30
Kovid Goyal
fcf95655da ... 2016-06-24 19:43:16 +05:30
Kovid Goyal
8fc27049a7 ... 2016-06-24 19:42:52 +05:30
Kovid Goyal
9f28fe27b4 ... 2016-06-24 19:40:58 +05:30
Kovid Goyal
0f653b4d99 Allow using environment variables to override SIP directories 2016-06-22 11:13:15 +05:30
Kovid Goyal
126ea17b34 Do not build the ImageMagick extension 2016-05-10 15:43:09 +05:30
Kovid Goyal
59d1a6f2c6 Update version of Qt in OS X build to 5.5.1
Needed to prevent QT from using the system openssl library. For Qt >=
5.5 it uses Apple's TextScure API instead of openssl.
2016-01-30 15:56:27 +05:30
Kovid Goyal
fc7d4830a9 Switch to using a private openssl lib on OS X 2016-01-30 12:40:50 +05:30
Kovid Goyal
7c5ab5bc17 Additional DLL for linux build with Qt 5.5 2016-01-05 00:52:58 +05:30
Kovid Goyal
dc52214b2b Building of calibre extension modules with VS 2015 2015-12-06 13:47:56 +05:30
Kovid Goyal
21979dad96 ... 2015-11-28 13:50:47 +05:30
Kovid Goyal
4ef778fff8 Better error message when pkg-config not found 2015-09-25 22:55:13 +05:30
Kovid Goyal
7750fdcf0e Add a test for HTTPS serving
Uses a nice new module I created to wrap OpenSSl's insance API for
creating certificates.
2015-05-26 20:30:38 +05:30
Kovid Goyal
ef09e886b3 Change all shebangs to use python2 2015-01-23 19:08:21 +05:30
Kovid Goyal
b2a78f0d4b Revert inclusion of PyQt QTDBus module 2014-10-27 08:04:20 +05:30
Kovid Goyal
49c7a857e4 Include python bindings for QtDBus on linux 2014-10-26 12:04:43 +05:30
Kovid Goyal
e8d2a6a02f Remove platform theme plugin as it causes crashes in Ubuntu 2014-08-27 13:34:18 +05:30