un-pogaz
19994000c9
use f-string instead of format call (extra-edit)
...
ruff 'UP030,UP032' --extend-exclude "src/calibre/*" !partial
2025-01-24 11:14:16 +01:00
un-pogaz
0560b429bf
convert some legacy percent format (auto-fix)
...
ruff 'UP031'
2025-01-24 11:14:16 +01:00
Kovid Goyal
adb38e258d
Use pkgconfig for ffmpeg paths on Linux
2024-10-09 14:33:05 +05:30
Kovid Goyal
2010f2ca48
Proper path for ffmpeg libs on windows
2024-10-09 14:24:36 +05:30
Kovid Goyal
a69f0b221f
Wrap some ffmpeg code to do raw audio rate conversion
2024-10-09 14:13:11 +05:30
Kovid Goyal
db74bfa41e
A more convenient way to build against a custom podofo 0.10
2023-05-25 08:12:14 +05:30
Kovid Goyal
76fbbef9d0
Start work on porting to new PoDoFo API
2023-05-20 14:11:46 +05:30
Kovid Goyal
d13404d9ea
Refactor the build system to allow cross compiling windows native code extensions on linux
2023-01-27 12:03:37 +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
485badb13a
missed a spot to remove is64bit
2022-07-06 19:19:39 +05:30
Kovid Goyal
e195b3a1e2
Build universal binaries on macOS
2022-07-06 19:19:37 +05:30
Kovid Goyal
e3d0259d70
Get the Qt plugins building with Qt6
2022-07-06 19:19:32 +05:30
Kovid Goyal
f56d0b5ec0
Replace references to PyQt5 in the source
2022-07-06 19:19:32 +05:30
Kovid Goyal
24c460faec
also upgrade code in setup folder
2022-01-08 12:15:18 +05:30
Kovid Goyal
73a312dd64
Workaround for sip version mismatch on Arch
2021-05-13 08:40:37 +05:30
Kovid Goyal
b08794a6c2
Make the full vcvars env available for the benefit of qmake
2021-03-18 22:03:29 +05:30
Kovid Goyal
0f2aff9a4a
Cleanup path handling when building on windows
2021-03-18 21:41:15 +05:30
Kovid Goyal
75586d8eb0
Always build on Windows with Visual Studio 2019
2021-03-18 21:22:31 +05:30
Kovid Goyal
7a4b3f61ff
Move to SIP v5
2020-09-16 21:52:25 +05:30
Kovid Goyal
13552bef07
isosx -> ismacos
2020-09-09 14:51:09 +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
fc1803a800
Remove obsolete workarounds for buggy distro Qt packages
2020-02-04 08:45:03 +05:30
Kovid Goyal
5ef79c742a
Add support for sip5
2019-12-14 12:40:08 +05:30
Kovid Goyal
5c1b69f5b9
Add hyphen dependency
2019-11-30 17:58:57 +05:30
Kovid Goyal
46295bb17f
Get the hunspell wraper building correctly on all platforms
2019-09-13 09:12:35 +05:30
Kovid Goyal
22a1481bcd
De-vendor hunspell
2019-09-13 09:12:35 +05:30
Kovid Goyal
e804e48747
Start work on building calibre on windows
2019-06-19 10:06:54 +05:30
Kovid Goyal
f2f57d2dda
Work on new calibre macOS build
2019-06-04 16:22:50 +05:30
Kovid Goyal
9695a6e1cc
Merge branch 'py3' of https://github.com/eli-schwartz/calibre
2019-02-26 08:39:42 +05:30
Eli Schwartz
3258c464e7
Port headless plugin to build on python2/python3
...
The only thing needed is to port the buildsystem to not pass strings
starting with a "b" as build flags.
2019-02-25 22:04:26 -05:00
Kovid Goyal
3c10a86c65
setup.py build now runs under python3
2018-09-10 21:02:10 +05:30
Kovid Goyal
f39f3951f4
dict fixes in the setup package
2018-09-10 20:54:35 +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
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