31 Commits

Author SHA1 Message Date
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
Flaviu Tamas
46b521dfbf Build hunspell in py3
The verbose old-style intialization is used because GCC 4.8 & MSVC don't
support the nicer `.foo = bar` style of initialization.
2018-09-12 22:41:57 -04:00
Kovid Goyal
e125996ee6
Remove basestring from the setup package 2018-09-10 20:58:01 +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
499578beaa
Try to get unicode_names compiling on ancient compilers 2018-05-01 11:31:21 +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
9768d16334
Forgot that on macOS qmake generates .dylib files 2017-06-26 16:20:53 +05:30
Kovid Goyal
2291b2d2a0
Build the headless QPA backend on macOS as well 2017-06-26 14:56:58 +05:30
Kovid Goyal
aee8af31f3
Hide all symbols in the compiled python extensions on unix
They were already hidden on windows. Avoids the possibility of symbol
collisions and also means ld has to do less work when loading them
extensions.
2017-06-07 12:19:24 +05:30
Kovid Goyal
511bb93d4a Initial work on supporting haiku 2017-02-01 13:22:09 +05:30
Zoltán Mizsei
7c90ef80d0 Haiku is unix from now, hail to Haiku! 2017-01-26 11:59:50 +01:00
Zoltán Mizsei
dd649edea9 Disable headless on Haiku for now 2017-01-26 11:52:45 +01:00
Zoltán Mizsei
2e5cb8f727 Linker flags for the build script 2017-01-26 08:31:32 +01:00
Kovid Goyal
24300a6a7d More Qt 5.8 fixes 2017-01-26 09:55:53 +05:30
Kovid Goyal
2693a2c614 Move load(qt_plugin) into the < 5.8 block 2017-01-25 20:38:26 +05:30
Kovid Goyal
86f5bb8c6d Merge branch 'qt5.8' of https://github.com/jelly/calibre 2017-01-24 07:12:46 +05:30
Jelle van der Waa
c1e3603feb Fix build with Qt >= 5.8.0
platformsupport-private was modularized in Qt 5.8.
Use the appropriate theme_support-private module
2017-01-23 22:25:21 +01:00
Kovid Goyal
c36c60b708 Fix #1615322 [Failure when cleaning build](https://bugs.launchpad.net/calibre/+bug/1615322) 2016-08-21 10:06:28 +05:30
Guido Falsi
adb5e6f0c4 Make new extensions data code differentiate BSD from Linux. 2016-07-22 21:50:58 +02:00
Kovid Goyal
e9317c7490 ... 2016-07-20 16:47:06 +05:30
Kovid Goyal
d5896390c2 Another oops 2016-07-20 16:30:52 +05:30
Kovid Goyal
8e9bf3ddc9 Another oops 2016-07-20 16:21:55 +05:30
Kovid Goyal
37649fc9ed oops 2016-07-20 16:13:33 +05:30
Kovid Goyal
3466aaff4c Define the extensions as pure data 2016-07-20 15:59:02 +05:30
Kovid Goyal
948e2cf2da Move deifintion of icu_libs to where it belongs 2016-07-20 12:20:36 +05:30
Kovid Goyal
15e3f8a1af Rename extensions.py to build.py to match the command name 2016-07-20 12:15:19 +05:30