Ilya Fedin
179fe08842
Switch WaylandClient platform plugins to target check
...
Just like DBus and WaylandCompositor do
2023-06-25 13:30:35 +04:00
Ilya Fedin
0811c5f446
Add interface file as dependency to generate_dbus
...
This ensures the code gets updated as the file changes
2023-06-21 10:05:39 +04:00
Ilya Fedin
9e47fc7e20
Get rid of QML
2023-06-19 15:17:32 +04:00
Ilya Fedin
926c3119df
Migrate from qt_static_plugins.cpp to the Qt6-pregenerated initializators
2023-06-19 11:31:04 +04:00
mid-kid
92ec041c38
Fix duplicate main declaration when linking with LLD
...
https://github.com/gentoo/gentoo/blob/master/net-im/telegram-desktop/files/tdesktop-4.4.1-fix-dupe-main-decl.patch
2023-06-11 10:34:32 +04:00
Ilya Fedin
6b0eeb2c15
Ensure cppgir is not getting installed
2023-06-02 10:52:41 +04:00
John Preston
32e1044c51
Revert "Get rid of xcb_xlib dependencies"
...
This reverts commit 6ab5543b3d .
Otherwise HIME input is broken:
https://github.com/telegramdesktop/tdesktop/issues/26228
2023-05-24 17:54:53 +04:00
Ilya Fedin
cb7a966ad8
Update cppgir
...
This allows to supply const variables to generated functions arguments
2023-05-19 14:13:52 +04:00
Ilya Fedin
ff81e9562d
Fix compatibility with older cmake
2023-05-16 16:24:07 +04:00
Ilya Fedin
4eec033889
Update cppgir
2023-05-16 16:23:49 +04:00
Ilya Fedin
96d69f646b
Fix build with DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION
2023-05-15 14:58:23 +04:00
Ilya Fedin
42f8428489
Wayland integration uses Qt 6.5 APIs now
2023-05-15 10:22:14 +04:00
Ilya Fedin
a7d000be71
Get rid of qt5compat dependency
2023-05-15 09:45:40 +04:00
Ilya Fedin
dee3777ffd
Add cppgir support
2023-05-15 09:44:42 +04:00
Ilya Fedin
fecdffbbf4
Fix a D-Bus condition in kcoreaddons
...
To fix macOS build
2023-05-15 09:02:17 +04:00
Ilya Fedin
c09c5b61a8
Get rid of DESKTOP_APP_DISABLE_DBUS_INTEGRATION
...
Desktop App Toolkit uses GLib as the D-Bus library for quite long time, but GLib is not only a D-Bus library, it's more a basic library providing native Linux APIs implementing various specs. The situation right now is that DESKTOP_APP_DISABLE_DBUS_INTEGRATION disables not only D-Bus code but all the native API integration such as MIME handling or .desktop file parsing. In other words, the option disables native Linux APIs on Linux what is absurd and doesn't have any sense.
2023-05-14 12:11:48 +04:00
Ilya Fedin
d625b4d1ba
Get rid of -Ofast on Linux
...
This seem to make some miscompilation that lead to hangs
2023-05-03 23:45:07 +04:00
Ilya Fedin
c03178c09b
Parallelize dispatch & jemalloc build
2023-04-29 13:35:03 +04:00
Ilya Fedin
6ab5543b3d
Get rid of xcb_xlib dependencies
...
We can drop this dependency thanks to Qt 6.5.0's xcursor -> xcb-cursor rewrite
2023-04-03 13:32:43 +04:00
Ilya Fedin
c33cf7240f
Add minimum glibmm version
2023-03-21 11:40:45 +04:00
John Preston
49272b9606
Fix linking on GCC.
2023-03-09 23:21:14 +04:00
John Preston
d3977a83a6
Link avfilter.
2023-03-07 19:48:39 +04:00
Ilya Fedin
31eb395967
Update Qt cmake rules for Qt 6.5 on Linux
2023-03-01 10:32:18 +04:00
Ilya Fedin
8a62b6659d
Use _init targets that provide Q_IMPORT_PLUGIN calls
2023-03-01 10:32:18 +04:00
Ilya Fedin
b5dd1db129
Fix link to new libde265 on Linux
2023-02-21 18:53:02 +04:00
Vitaly Zaitsev
86270a961e
Set minimal packaged GSL version to 4.0.0 due to modern headers usage.
2023-02-15 20:22:14 +04:00
Ilya Fedin
9310263cd6
Don't try to find Qt 6 on Windows
2023-02-13 16:52:42 +04:00
Ilya Fedin
4d8c8a0f84
Link Qt to lcms2 on Linux
2022-12-28 15:35:51 +04:00
John Preston
8cbc57f355
Fix generate_single_protobuf timestamp file generation.
2022-12-26 13:42:33 +04:00
Ilya Fedin
bb07e9d698
Add dav1d dependency to external_ffmpeg
2022-12-25 07:35:22 +04:00
Daniel Novomeský
af37d955bb
Enable support for AVIF, HEIF and JPEG XL on Windows
2022-12-19 11:36:44 +04:00
Ilya Fedin
c84790f978
Set NDEBUG when debug webrtc build is not found
2022-12-16 10:46:40 +04:00
Klemens Nanni
085086856c
Fix tdesktop 4.3.4 cld3 bundle build with system protobuf
...
```
.../Telegram/ThirdParty/cld3/build/gen/cld_3/protos/sentence.pb.h:10:10: fatal error: 'google/protobuf/port_def.inc' file not found
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
```
2022-12-08 06:41:46 +04:00
Ilya Fedin
609e21643b
Fix the order of default Qt version
...
It seems both Qt and cmake documentations are incorrect about the order used in NAMES keyword
2022-12-07 09:23:29 +04:00
Ilya Fedin
4a261d8c52
Fallback to protobuf cmake config
2022-11-25 12:18:45 +01:00
Ilya Fedin
2c86aa9a3d
Fix packaged build with cld3
2022-11-25 11:15:14 +01:00
Ilya Fedin
25088a573b
Revert "Add external_sonnet library"
...
This reverts commit 81705fb609 .
2022-11-25 11:15:14 +01:00
23rd
7267c03054
Fixed generating of timestamp file for protobuf dependencies.
2022-11-23 22:58:29 +01:00
Ilya Fedin
81705fb609
Add external_sonnet library
2022-11-23 22:57:44 +01:00
23rd
5727743f9a
Added external cld3 module.
2022-11-21 22:01:49 +00:00
Ilya Fedin
cc8fc487d7
Switch to the new glibmm ABI
2022-11-03 13:48:11 +04:00
Ilya Fedin
36ee4977bb
Synchronize dispatch and jemalloc build flags with common_options
2022-11-01 14:36:38 +04:00
Ilya Fedin
bcd5e3a640
Use QtWaylandCompositor for webview embedding on Linux
2022-11-01 14:36:38 +04:00
Ilya Fedin
2ba61d5977
Fix default kcoreaddons logging level
2022-10-22 08:45:41 +04:00
Ilya Fedin
e8bc7cfd1d
Don't update kcoreaddons helper headers on every reconfigure
2022-10-03 08:02:14 +04:00
Ilya Fedin
84f43a8252
Build bundled kcoreaddons
2022-09-28 21:18:22 +04:00
John Preston
6c7b8d8b4c
Link Qt::WidgetsPrivate for touch support in popup windows.
2022-09-19 16:28:19 +04:00
Ilya Fedin
d405db0737
Fix order of brotlicommon linking
2022-09-19 15:25:50 +04:00
Ilya Fedin
152fc28f34
Add a shim for KSandbox
2022-09-19 12:37:42 +04:00
Ilya Fedin
c79563ea34
Add support for AVIF, HEIF and JPEG XL (only on Linux yet)
2022-09-18 16:59:09 +04:00