Kovid Goyal
433e07fda7
Fix pyexpat not being linked against bundled libexpat
2022-02-16 15:37:56 +05:30
Kovid Goyal
055f5b0979
Add the Py_SSIZE_T_CLEAN definition needed for python 3.10
...
Ideally someone needs to go through all the code and check that nothing
breaks because of this macro, but, I dont have that kind of time
2021-12-01 10:47:51 +05:30
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
fe81410c74
Fix linking of libstemmer.dylib
2021-06-25 08:45:07 +05:30
Kovid Goyal
8457379487
Add libstemmer as a dependency
...
Will be used for tokenizing in the new ICU based FTS tokenizer
2021-06-20 12:38:04 +05:30
Kovid Goyal
d8d1d890ea
Dont internet enable dmg images as this functionality is deprecated by Apple and not used since 10.7. The internet-enable verb was also removed from hdiutil in Catalina (10.15)
2021-05-01 14:54:34 +05:30
Kovid Goyal
2959f98698
Fix pyrcytodome not useable on macOS and Linux
2020-11-25 20:57:14 +05:30
Kovid Goyal
3dd7bc160e
Move loading of env vars to bypy. Allows defining CALIBRE_DEVELOP_FROM in env vars file
2020-11-21 12:20:54 +05:30
Kovid Goyal
9dad654fc2
Register the calibre URL on macOS as well
2020-11-11 12:34:31 +05:30
Kovid Goyal
abcdb53b0e
Fix calibre 5.4 not running via Launch Services on macOS
2020-10-30 12:57:27 +05:30
Kovid Goyal
20150e3368
Remove more uses of the plugins dict
2020-10-18 11:57:23 +05:30
Kovid Goyal
defa85e918
Use simplified interface for freezing
2020-10-03 12:03:21 +05:30
Kovid Goyal
4e5fda27a8
Switch macOS build to use new bypy freezer
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
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
1f1d8024cb
Fix lib names for OpenSSL 1.1
2020-08-22 18:48:38 +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
d2f24d6449
Update ICU version in macOS freezer
2020-08-22 18:48:08 +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
55214540fd
Dont remove v3 port from PyQt
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
01b0fba8ad
Auto fix excess blank lines
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
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
2d61ed50d9
Remove unused variable
2020-02-21 10:48:02 +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
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
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
3b3b3292df
Get rid of travis.yml
2019-09-13 09:12:38 +05:30
Kovid Goyal
0024a7f8e8
Remove special casing for libjpeg and libpoppler as install names are now fixed at build time
2019-09-13 09:12:38 +05:30
Kovid Goyal
46295bb17f
Get the hunspell wraper building correctly on all platforms
2019-09-13 09:12:35 +05:30
Kovid Goyal
713bf6df42
Get macOS signing working again
2019-09-13 09:12:35 +05:30
Kovid Goyal
58f5577a13
Get rid of QT_PLUGIN_PATH on macOS
2019-09-13 09:12:35 +05:30
Kovid Goyal
e00835e5c6
Get the GUI apps working on macOS with proper doc integration
2019-09-13 09:12:35 +05:30
Kovid Goyal
a7453e877a
Simplify launching of console utilities on macOS
2019-09-13 09:12:34 +05:30
Kovid Goyal
133ed8968f
Add a plist to the utils bundle
...
Also move it to where it is easy to sign
2019-09-13 09:12:34 +05:30
Kovid Goyal
1db4a15d89
Fix dylib loading for webengine helper process
2019-09-13 09:12:34 +05:30
Kovid Goyal
22e3558a05
Move the utilities into their own bundle
2019-09-13 09:12:34 +05:30