95 Commits

Author SHA1 Message Date
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
Kovid Goyal
74fc0e6f3f Add some missing plugins to the Qt bundled with calibre on linux 2014-08-26 23:44:30 +05:30
Kovid Goyal
40f764283b ... 2014-08-08 18:31:14 +05:30
Kovid Goyal
82659bd7ae Build system: Drop dependency on the sipconfig module as it is slated for removal in sip v5 2014-08-08 18:31:14 +05:30
Kovid Goyal
f49cd34288 Parallelize compiling of individual extension modules 2014-08-08 18:31:13 +05:30
Kovid Goyal
3b9a4762a0 ... 2014-08-08 18:31:12 +05:30
Kovid Goyal
db449ebb71 Various fixed for linux binary. Also performance improvement by not importing PyQt in site.py 2014-08-08 18:31:11 +05:30
Kovid Goyal
d6b5176c65 Linux binaries build 2014-08-08 18:31:11 +05:30
Kovid Goyal
495c518849 Need QtXml dll for the svg image plugin on OS X 2014-08-08 18:31:11 +05:30
Kovid Goyal
deaba78d42 ... 2014-08-08 18:31:11 +05:30
Kovid Goyal
d7fec99345 OS X builds, needs testing 2014-08-08 18:31:11 +05:30
Kovid Goyal
0ec4fc3caf Get the native code extensions building on OS X 2014-08-08 18:31:11 +05:30
Kovid Goyal
5b3f45ed1b ... 2014-08-08 18:31:10 +05:30
Kovid Goyal
b43fd024d7 The windows binaries build 2014-08-08 18:31:10 +05:30
Kovid Goyal
1a478dd15e Get the C extensions all building on windows 2014-08-08 18:31:10 +05:30
Kovid Goyal
06cbf5fad3 Start work on porting windows build scripts 2014-08-08 18:31:10 +05:30
Kovid Goyal
57a1e1ee8e ... 2014-08-08 18:31:10 +05:30