Commit graph

234 commits

Author SHA1 Message Date
John Preston
2a1e3c4453 Initial implementation of windowed media viewer on macOS. 2023-02-18 15:10:13 +04:00
John Preston
5c33f0cc5b Allow translucent captioned windows on Windows. 2023-02-18 15:10:13 +04:00
Daniel Novomeský
7463aad755 Upgrade libde265, libheif, libjxl in Windows build 2023-02-15 20:19:13 +04:00
John Preston
369862a3a7 Always use 64 bit build of dump_syms. 2023-02-09 09:56:54 +04:00
John Preston
26ff3148d6 One more fonts fix and fix paste from clipboard. 2023-02-07 11:31:19 +04:00
John Preston
f95610edfc Version 4.6.1: Add one more patch on Windows. 2023-02-06 23:04:40 +04:00
John Preston
c4402c717a Rebuild Qt with a patch for fonts fallback. 2023-02-06 20:39:00 +04:00
John Preston
a4cdd83816 Improve crash report window on Windows. 2023-02-02 10:55:04 +04:00
John Preston
ecf61712cd Fix CJK font fallback on Windows.
Fixes #25714.
2023-01-12 11:34:02 +04:00
John Preston
0a3d31a91f Beta version 4.5.4: Try updating OpenAL on macOS. 2023-01-10 15:34:33 +04:00
23rd
0f538e2606 Updated Qt to 5.15.8 on Windows. 2023-01-09 09:05:06 +04:00
Ilya Fedin
db6bdf36af Update patches 2023-01-02 11:19:15 +04:00
Ilya Fedin
b9f7a501f5 Do pacman -Syu twice in prepare.py
So new databases are downloaded in case runtime updates and gets new repostiories
2023-01-01 13:19:11 +04:00
Ilya Fedin
322a085b70 Fix the check for Native Tools Command Prompt in prepare.py 2022-12-31 16:03:27 +04:00
Ilya Fedin
6c4dc34441 Fix build with various Windows locales 2022-12-31 16:02:28 +04:00
Ilya Fedin
efa287b786 Use text=True instead of decode() in prepare.py 2022-12-31 16:02:28 +04:00
Ilya Fedin
2cbd2725e5 Remove force-disabling of Qt's color space support for sent images
Qt had a bug with interpreting PNG gamma, but it seems it's fixed now.
2022-12-27 11:52:27 +04:00
Ilya Fedin
95b29f5f35 Enable ffmpeg dav1d support 2022-12-25 08:40:16 +04:00
Daniel Novomeský
6ff2c08764 Added dependencies for Windows build
They will be used for plugins in kimageformats:
dav1d, libavif are needed for AVIF plugin
libde265, libheif are needed for HEIF plugin
libjxl is needed for JXL plugin
dav1d could be used by ffmpeg to provide AV1 decoding
meson is required to build dav1d
2022-12-23 10:58:22 +04:00
Ilya Fedin
2bbe511a6f Revert some mistakenly replaced '/' symbols earlier 2022-12-20 17:22:19 +04:00
Ilya Fedin
5cbdc2f739 Install gyp python dependencies in prepare.py 2022-12-20 17:22:19 +04:00
23rd
5101ea2a96 Updated Qt to 5.15.7 on Windows. 2022-12-09 11:54:37 +03:00
John Preston
cad87f6818 Update to WebRTC M108. 2022-12-08 14:22:04 +04:00
John Preston
6abfdd20fa Don't apply deleted GYP patch in Windows prepare. 2022-12-06 18:23:51 +04:00
John Preston
4dd1f95fbf Disable deprecated warning when building dump_syms.
Fixes #25366.
2022-12-06 18:13:23 +04:00
John Preston
cd85c4911c Migrate macOS build to patched Qt 6.3.2.
Fixes #24915.
2022-12-06 16:38:08 +04:00
Ilya Fedin
b9a766387c Replace docker buildx with DOCKER_BUILDKIT=1 environment variable
This seem to work better with distribution-provided Docker
2022-11-28 21:54:37 +01:00
23rd
53c4b511f8 Fixed different configuration flags for FFmpeg on macOS. 2022-11-25 16:01:41 +03:00
23rd
7aede75e43 Added external cld3 library. 2022-11-22 00:28:03 +00:00
Ilya Fedin
f7971733f4 Update msys2 base
It has new signatures and fixes the CI
2022-11-19 02:21:32 +04:00
23rd
5b1a9fb3e1 Migrated gyp for breakpad to upstream in prepare script on macOS. 2022-09-29 21:22:06 +04:00
John Preston
4e7a5eeffb Use Python 3.10 and GYP supporting it. 2022-09-22 15:31:46 +04:00
Ilya Fedin
eab41d272b Fix various spaces on end of lines 2022-09-02 21:27:41 +04:00
23rd
c20ed7c7a8 Enabled utf-8 mode for python while breakpad is building. 2022-09-02 21:14:29 +04:00
John Preston
92a9ba2ba0 Use exact jom url instead of mirrored. 2022-08-29 09:12:09 +04:00
Ilya Fedin
4d4d75addf Install nuget and jom with prepare.py 2022-08-28 08:38:37 +04:00
Ilya Fedin
42fe80b5e2 Use perl, nasm, yasm and ninja from msys64 2022-08-28 08:38:37 +04:00
Ilya Fedin
fc19ce5a9b Install msys64 with prepare.py 2022-08-28 00:35:45 +04:00
Ilya Fedin
31fa6d24f4 Use zlib built with cmake on Windows 2022-08-28 00:35:45 +04:00
Ilya Fedin
5f3c957b1d Use COPY --link to consume less space when building Docker image 2022-08-13 12:10:07 +04:00
John Preston
b829ed3530 Build docker using poetry by ./build/prepare/linux.sh 2022-07-26 20:12:13 +03:00
Ilya Fedin
aeddaf3dbd Update openal to 1.22.2 2022-06-28 09:49:45 +04:00
John Preston
65c7a9a554 Fix title on Win7 and macOS file chooser. 2022-06-24 20:45:14 +04:00
Ilya Fedin
28f75525b2 Update openal to 1.22.1
Downgrade pipewire headers as openal won't work with pipewire version less than headers it builds with now
2022-06-23 09:48:27 +04:00
John Preston
45caa25e55 Beta version 3.7.6: Backport a Qt 5.15.4 crashfix. 2022-06-16 19:12:33 +04:00
Ilya Fedin
226154baa5 Fix macOS action 2022-06-15 16:09:42 +04:00
John Preston
1c6fac337e Fix global menu and file chooser on macOS. 2022-06-15 14:49:53 +04:00
John Preston
0f5d71434f Update Qt to 6.3.1 in prepare script. 2022-06-15 12:57:59 +04:00
John Preston
326304ca48 Update Qt to 5.15.4 and 6.3.1. 2022-06-14 18:34:09 +04:00
John Preston
45857fe208 Build FFmpeg with AC3 decoder. 2022-05-19 17:27:03 +04:00
John Preston
7749794d6b Update OpenAL to fix macOS audio recording. 2022-05-12 17:26:30 +04:00
John Preston
84af084a3b Update tg_owt to WebRTC M101. 2022-05-03 23:09:26 +04:00
Ilya Fedin
48589b721d Update openal to 1.22.0 2022-05-02 15:33:56 +04:00
Ilya Fedin
3d8742fa7c Fix some working with paths in prepare.py
Use os.path.join for separator
Get real path of Libraries/ThirdParty directories to workaround gyp's problems with drive letters
2022-04-16 20:27:19 +04:00
Ilya Fedin
6a3c1f2fd9 Fix macOS action 2022-04-16 20:27:19 +04:00
John Preston
17be462d59 Fix build for macOS with Qt 6.3.0.. 2022-04-13 16:03:35 +04:00
Ilya Fedin
2e1f504c11 Update to Qt 6.3 2022-04-13 15:06:06 +04:00
John Preston
6716c08306 Fix another crash on context loss. 2022-04-01 10:12:41 +04:00
John Preston
3e1cac94bf Migrate macOS build to Qt 6.2.4. 2022-03-28 17:39:00 +04:00
John Preston
bf3fbd4141 Build FFmpeg with av1 and vp8 on macOS. 2022-03-23 10:28:53 +04:00
John Preston
0dca556843 Use FFmpeg hardware acceleration in media viewer / PiP. 2022-03-23 10:03:38 +04:00
Ilya Fedin
c6d7270bbc Update submodules and patches 2022-03-23 09:42:51 +04:00
John Preston
a2ac9e10e2 Fix camera capture DCHECKs in tg_owt on Windows. 2022-03-14 17:25:14 +04:00
John Preston
6e00b4636b Move Qt 5 version to 5.15.3 open source. 2022-03-08 22:24:31 +04:00
John Preston
d2d41f978d Update Qt to 6.2.3 on macOS and Linux. 2022-03-05 17:04:10 +04:00
wangxiangqing
1ddc0c1977 Fix dir separator on windows
Change-Id: I4afe534c826127e11163f716612d62ea44705448
2022-03-05 16:54:46 +04:00
John Preston
9918a20946 Fix tg_owt@M98 build with MSVC. 2022-01-29 15:18:23 +03:00
John Preston
ae5e7d641a Build on macOS with WebRTC M98. 2022-01-29 14:06:55 +03:00
John Preston
f6ff0f3b2c Fix build for macOS 10.12+. 2022-01-28 23:52:11 +03:00
John Preston
8c349c0515 Fix non-Retina spelling error underline on macOS. 2022-01-26 12:42:12 +03:00
Ilya Fedin
6073da2843 Disable libvpx unit tests in Dockerfile & prepare.py 2022-01-23 18:25:37 +04:00
Ilya Fedin
ca5d2c115d Update tg_owt 2022-01-23 18:25:37 +04:00
John Preston
152aa06930 Qt patch with a possible work-through-proxy fix. 2022-01-23 00:54:41 +03:00
John Preston
7c46b292ac Fix build with MSVC. 2022-01-23 00:26:16 +03:00
John Preston
aed49b9289 Build FFmpeg with libvpx on macOS. 2022-01-22 19:51:00 +03:00
John Preston
72d81cc52f Build 32 bit Windows version with external_vpx. 2022-01-22 19:50:55 +03:00
23rd
99f65ab5ec Migrated dependencies in Github CI for Windows. 2022-01-05 10:48:06 +03:00
John Preston
948dd7d545 Fix emoji in the input field with Qt 6.2.2. 2021-12-29 21:22:33 +03:00
k1ee
4c3835c61c Use https:// not git:// to clone.
git:// is not going through proxy.
2021-12-28 15:26:42 +04:00
John Preston
8aa2f56717 Specify exact FFmpeg revision. 2021-12-23 00:07:26 +00:00
John Preston
999e4264c5 Move macOS and Linux builds to Qt 6.2.2. 2021-12-22 10:13:29 +00:00
John Preston
19320cc5d8 Fix dependencies build on M1. 2021-12-14 11:33:59 +04:00
k1ee
107a87c7ce Add support to build on M1 Mac
On M1 mac, some dependencies build two `arm64` builds and makes `lipo` fail.
2021-12-14 11:32:13 +04:00
RadRussianRus
2cb1d2c0bc Removed explicit definition of cmake generator
Even though TDesktop build migrated to VS 2022, dependencies script still had "Visual Studio 16 2019" for mozjpeg and openal-soft as a generator. Removing these lines allows to use latest Visual Studio without changing the script.
2021-12-13 14:26:05 +04:00
John Preston
09bed4989b Cherry-pick a crash-fix patch for Qt 6.2. 2021-11-29 15:59:48 +04:00
John Preston
c7678f17ac Fix build of tg_owt with VS 2022. 2021-11-26 18:00:18 +04:00
John Preston
0c695a6a9a Update tg_owt with desktop capture fix on macOS. 2021-11-26 18:00:18 +04:00
John Preston
efe12e0289 Fix tg_owt build on Windows with C++20. 2021-11-26 18:00:18 +04:00
John Preston
dad11a17dd Build tg_owt / tgcalls / tgvoip with C++20. 2021-11-26 18:00:18 +04:00
John Preston
9308615361 Fix crash in search in Finder on macOS. 2021-11-24 17:37:33 +04:00
John Preston
f55d3d1c6a Version 3.2.5: Add information about macOS build. 2021-11-16 14:35:28 +04:00
John Preston
79a8fced80 Fix scrolling by Page Up / Down by Qt 6 patch. 2021-11-01 16:57:40 +04:00
John Preston
1bfa97d4fd Fix invite link icons on macOS Retina. 2021-11-01 16:57:40 +04:00
John Preston
28f85eb710 Allow running custom commands through prepare script. 2021-11-01 11:51:49 +04:00
John Preston
1d655fb5b5 Fix build on Windows and Linux CI. 2021-10-31 10:07:12 +04:00
John Preston
b4950fe943 Fix build for Mac App Store. 2021-10-30 17:19:24 +04:00
John Preston
9c0bf32b84 Fix tg_owt build in prepare script on Windows. 2021-10-29 22:29:05 +04:00
John Preston
094010a91d Fix Breakpad + remove Crashpad build on Windows. 2021-10-29 22:01:04 +04:00
John Preston
f71a2149f3 Improve defaults in prepare script. 2021-10-29 21:21:33 +04:00
John Preston
1297860652 Fix build of minidump_stackwalk. 2021-10-29 21:11:23 +04:00
John Preston
5276e5b4ae Build minidump_stackwalk separately.
On macOS gyp is no longer required for non-official builds.
2021-10-29 16:10:07 +04:00
John Preston
6587f89db1 Update Breakpad to the latest commit. 2021-10-29 16:10:07 +04:00
John Preston
fb262b265b Link a single crashpad_client library. 2021-10-29 16:10:07 +04:00
John Preston
759e3270cc Fix popup menu transparency on macOS with Qt 6.2. 2021-10-29 16:10:07 +04:00
John Preston
0292df12ef Working Universal 2 build. 2021-10-29 16:10:07 +04:00
John Preston
1e86c07505 Build FFMpeg as Universal 2 binaries. 2021-10-29 16:10:07 +04:00
John Preston
df8708ef1e Build some dependencies as Universal 2 binaries. 2021-10-29 16:10:07 +04:00
John Preston
20c0be0df6 Use python from a correct folder. 2021-10-29 16:10:07 +04:00
23rd
cefdc29a7f Fixed release build of Breakpad on clean macOS. 2021-10-29 16:10:07 +04:00
John Preston
3d8899b9dc Update tg_owt revision. 2021-10-21 22:53:12 +04:00
John Preston
1f6a9ab556 Fix prepare libraries on macOS with Qt 6.2. 2021-10-21 20:19:56 +04:00
John Preston
f7085b40b1 Support building macOS version with Qt 6.2. 2021-10-21 19:49:48 +04:00
Ilya Fedin
7222bc63f7 Update MozJPEG 2021-10-21 19:31:22 +04:00
John Preston
937c2d3dce Beta version 3.1.6: Update patches revision. 2021-10-06 13:44:28 +04:00
John Preston
80028e41f3 Bump OpenAL version in prepare script. 2021-09-28 19:25:39 +04:00
Ilya Fedin
1b789de4f4 Cherry-pick a opus fix for detecting CPU instructions on Windows 2021-09-27 08:50:51 +04:00
John Preston
12252ef1aa One more attempt of OpenGL context loss crash fix. 2021-09-25 22:39:49 +04:00
Ilya Fedin
0984e631fa Use opus built with cmake on Windows 2021-09-25 15:35:32 +04:00
John Preston
b47692e920 Update patches revision. 2021-09-24 08:46:52 +04:00
John Preston
eaa4c5e5b1 Fix caching by making a fake dir ThirdParty/gyp. 2021-09-22 12:42:59 +04:00
John Preston
c1be1ca4ae Add ./build/prepare/linux.sh which builds docker. 2021-09-21 18:11:24 +04:00
John Preston
2ec92f541c Version 3.1: Fix building Qt for Release. 2021-09-19 18:42:29 +03:00
John Preston
b02967a44e Update tg_angle in prepare script. 2021-09-19 14:40:43 +03:00
23rd
449f2d2f94 Migrated dependencies in Github CI for macOS. 2021-09-17 13:12:07 +03:00
John Preston
3bf9a1c70b Build minidump_stackwalk as part of macOS prepare. 2021-09-13 16:59:10 +03:00
John Preston
3202a5f081 Fix prepare getch for macOS. 2021-09-13 16:50:44 +03:00
John Preston
5a63428093 Improve messages in preparep.py. 2021-09-13 15:39:44 +03:00
John Preston
0c42bca111 Ask before rebuilding in prepare.py. 2021-09-13 15:01:52 +03:00
John Preston
13bf089672 Update patches revision. 2021-09-13 14:21:56 +03:00
John Preston
c4d822ba02 Fix action build on Windows. 2021-09-10 16:19:07 +03:00
John Preston
fd288fbdfd Beta version 3.0.2: Fix Windows build scripts. 2021-09-10 14:33:47 +03:00
John Preston
f135ece841 Update patches revision. 2021-09-08 00:10:36 +03:00
John Preston
374e3238ad Build FFmpeg with upstream yasm on macOS. 2021-09-07 23:41:54 +03:00
John Preston
54adf77d99 Build dependencies by script on Windows and macOS. 2021-09-07 23:41:54 +03:00