Commit Graph

66 Commits

Author SHA1 Message Date
Kovid Goyal 497d689d8a Workaround for usual Linux distro nonsense
Fedora 44 broke the long standing decade plus location of OpenSSL
certificates file. Fixes #2151819 [Download metadata not working](https://bugs.launchpad.net/calibre/+bug/2151819)
2026-05-08 11:19:58 +05:30
Kovid Goyal 2ebd196769 Fix incorrect sqlite soname in frozen Linux bundle
Fixes #2125721 [Install of 8.11.0 on Linux fails with "Setting up completion failed with error"](https://bugs.launchpad.net/calibre/+bug/2125721)
2025-09-26 09:32:46 +05:30
Kovid Goyal 051c25f1fa Add a retry when stripping files on Linux 2025-09-21 14:07:20 +05:30
Kovid Goyal 95f9cd9584 Add test for poppler build and include lcms2 dll 2025-09-21 08:22:58 +05:30
Kovid Goyal 848de725de Get the new piper module building on Linux 2025-07-30 21:00:09 +05:30
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 c09d5c9e68 Fix compiler warnings 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
xxyzz 5c12e51ef1 Add USER_SITE to site.py to fix error in pip 2022-11-04 15:13:18 +08:00
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
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 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 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 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 130b27219f QT_ACCESSIBILITY was Qt 4 only 2020-08-25 08:09:00 +05:30
Kovid Goyal e57801b7e4 Add a bug reference for qt-at-spi crashes 2020-08-25 07:03:42 +05:30
Kovid Goyal 1f1d8024cb Fix lib names for OpenSSL 1.1 2020-08-22 18:48:38 +05:30
Kovid Goyal 066ff4127b Remove useless if branch 2020-08-22 18:47:56 +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