Ilya Fedin
6b0eeb2c15
Ensure cppgir is not getting installed
2023-06-02 10:52:41 +04:00
Ilya Fedin
1c07a71d6f
Use ARGN where applicable
2023-06-01 11:44:53 +04:00
Ilya Fedin
a20e3a1349
Fix error messages in various cmake functions
2023-06-01 11:44:53 +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
9abd685bf4
Get rid of unused DESKTOP_APP_DISABLE_SPELLSHECK
2023-05-14 12:11:48 +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
0f86a05ab0
Silence new Xcode warnings
2023-02-13 16:52:42 +04:00
Ilya Fedin
556dcb0166
Use QT_DEPRECATED_WARNINGS_SINCE
2023-02-13 16:52:42 +04:00
John Preston
17951fb650
Re-enable global /LTCG on Windows.
...
With /LTCGOUT: empty path it should not try generating .iobj file,
and work on both 32 bit and 64 bit build with all static libs.
2023-02-08 13:19:21 +04:00
John Preston
aa1e0d84b9
Allow weak-linking of macOS frameworks.
2023-01-09 10:29:08 +04:00
Ilya Fedin
de92292f89
Ensure executables operating in UTF-8 charset on Windows
...
Otherwise Qt assumptions are likely broken
2022-12-31 10:19:02 +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
John Preston
f4c7f67d60
Allow passing LTCG as an init_target argument.
2022-12-07 10:55:53 +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
John Preston
125b9571c5
Remove global LTCG on Windows build (object too large).
2022-12-06 18:11:17 +04:00
John Preston
f5dab7d4b7
Don't enable LTCG in Debug on Windows.
2022-11-25 16:33:41 +01:00
Ilya Fedin
4a261d8c52
Fallback to protobuf cmake config
2022-11-25 12:18:45 +01:00
Ilya Fedin
0ff8f97600
Fix noisy warnings with clang
2022-11-25 11:15:14 +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
John Preston
2c341a0d3e
Return LTCG for Windows 32 bit build.
2022-11-23 10:06:52 +01:00
23rd
5727743f9a
Added external cld3 module.
2022-11-21 22:01:49 +00:00
23rd
07ed08bf94
Added NaturalLanguage framework on macOS.
2022-11-20 16:51:23 +03:00
Ilya Fedin
d41ce7f553
Inherit per-config INTERPROCEDURAL_OPTIMIZATION options
...
This also fixes the missing -fno-use-linker-plugin in Debug configuration with DESKTOP_APP_SPECIAL_TARGET since the last change
2022-11-18 20:31:01 +04:00