53 Commits

Author SHA1 Message Date
un-pogaz
b0d58ade70 add 'code' dictionary to codespell setting 2025-03-23 16:02:05 +01:00
Kovid Goyal
04d5728ef9
More work on de-vendoring pykakasi 2024-11-12 19:52:31 +05:30
Kovid Goyal
dd10d5ca52
Bundle dynamic DLLs for ffmpeg on Linux 2024-10-11 21:33:03 +05:30
Kovid Goyal
95854ebc16
Add piper to binary macOS builds 2024-09-04 22:11:34 +05:30
Kovid Goyal
9190114d0d
Build piper binaries on macOS as well 2024-09-04 17:36:02 +05:30
Kovid Goyal
25620a7886
Include the piper binaries in the Linux binary build 2024-09-03 21:34:08 +05:30
Kovid Goyal
a25c767de3
Fix #2077794 [Missing libdeflate dependency in calibre distribution](https://bugs.launchpad.net/calibre/+bug/2077794) 2024-08-25 10:36:07 +05:30
Kovid Goyal
954316b543
Fix tarball arch name 2024-08-16 09:30:26 +05:30
Kovid Goyal
149d680e60
Support building in container 2024-08-13 21:39:41 +05:30
Kovid Goyal
53b74283a4
sort imports in all python files 2024-03-30 13:02:22 +05:30
Kovid Goyal
54a96cc152
Now we have a .bin file in resources as well as pak files 2023-12-05 14:31:40 +05:30
Kovid Goyal
8bcf1aed00
Include libtiff as otherwise when building on linux various components link against the system version 2023-11-13 19:21:34 +05:30
Kovid Goyal
07e47871a7
Fix loading of legacy openssl module on Linux frozen build
Needed by podofo unconditionally even though we dont actually use
encryption.
2023-11-13 19:21:34 +05:30
Kovid Goyal
e6f4a17c98
Openssl 3 no longer uses so names with two levels 2023-11-13 19:21:34 +05:30
Kovid Goyal
f37fc83754
libwebp now comes with libsharp 2023-09-17 08:10:18 +05:30
Kovid Goyal
741f195e13
Also bump apsw
apsw now uses a compiled etension module as its __init__
so support that.
2023-09-13 18:44:07 +05:30
Kovid Goyal
dab71f54e3
Fix the soname used to bundle libpodofo on Linux. Fixes #2020842 [converting epub to pdf fails with error "ImportError: libpodofo.so.1: cannot open shared object file: No such file or directory"](https://bugs.launchpad.net/calibre/+bug/2020842) 2023-05-26 11:50:01 +05:30
Kovid Goyal
36203a7497
Functions to optimize and encode webp images 2023-04-22 13:22:48 +05:30
Kovid Goyal
328d0b5758
Add zstd as a dependency
Fixes #1826 (add zstd as a dependency)
2023-04-05 16:39:47 +05:30
Kovid Goyal
bdaa9a1ca9
SHow progress while compressing linux build tarballs 2022-10-14 09:08:36 +05:30
Kovid Goyal
19f007fa9d
Linux binaries: Bundle brotli and graphite2 as well as Qt links against them 2022-07-18 19:30:24 +05:30
Kovid Goyal
5c3385476f
Switch from cchardet to uchardet
cchardet is not maintained anymore: https://github.com/PyYoshi/cChardet/issues/77

cchardet is based on uchardet with the addition of reporting encoding
detection confidence. We dont really need that, so moving to uchardet is
simplest.

See #1690 (Low effort port to charset_normalizer)
2022-07-16 15:36:28 +05:30
Kovid Goyal
cde3ff211c
Use pdftotext to index PDF files
Much faster and less resource intensive than pdftohtml
2022-07-06 19:19:55 +05:30
Kovid Goyal
87a7aa3037
Bundle libpcre.so.3 because Linux distros are so goddamn stupid they cant even agree on so names for widely used libraries 2022-07-06 19:19:45 +05:30
Kovid Goyal
5db39aa16e
Drop 32-bit code paths 2022-07-06 19:19:39 +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
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
2959f98698
Fix pyrcytodome not useable on macOS and Linux 2020-11-25 20:57:14 +05:30
Kovid Goyal
defa85e918
Use simplified interface for freezing 2020-10-03 12:03:21 +05:30
Kovid Goyal
b5af89b594
Dont remove lib2to3 as it is used by some thirdparty deps 2020-10-03 09:05:36 +05:30
Kovid Goyal
2938e2c203
New bypy freezing framework for Linux builds 2020-10-03 09:05:36 +05:30
Kovid Goyal
cc9a40868e
Linux: Move the calibre extensions out of site-packages
This means path based imports of them will continue to work
even after freeze into single dir
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
2c8454e014
Make code used to launch interpreter re-useable 2020-08-22 18:47:56 +05:30
Kovid Goyal
4f47385bd5
Add the lzma dependency 2020-08-22 18:47:56 +05:30
Kovid Goyal
ec167b7ac7
Get the linux frozen build working with py3 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
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
8901836673
Bundle distutils in the binaries as Pillow now requires it 2019-09-13 09:13:36 +05:30
Kovid Goyal
46295bb17f
Get the hunspell wraper building correctly on all platforms 2019-09-13 09:12:35 +05:30
Kovid Goyal
7710697ea1
Add webengine resources 2019-09-13 09:12:33 +05:30
Kovid Goyal
0f0df3b5e2
Get webengine loading in the binary build 2019-09-13 09:12:33 +05:30
Kovid Goyal
3434a40c35
Move Qt DLL list into this codebase from bypy 2019-06-08 10:48:21 +05:30
Kovid Goyal
5e2248fdce
qt -> qt-base 2019-06-06 08:57:08 +05:30
Kovid Goyal
dedbc1ddb3
Split up Qt into modules
Add extra deps for webengine
2019-06-05 17:55:35 +05:30
Kovid Goyal
a7fd7a0aee
DRYer 2019-06-05 08:17:03 +05:30
Kovid Goyal
f2f57d2dda
Work on new calibre macOS build 2019-06-04 16:22:50 +05:30