1
0
Fork 0
Commit graph

97 commits

Author SHA1 Message Date
342cd3af3b Updated cmake helpers to latest patches-track-wip 2024-07-01 17:51:12 +03:00
John Preston
82f379f3e5 Add DESKTOP_APP_ASAN option for MSVC. 2024-01-19 21:00:45 +04:00
Ilya Fedin
c2ef75186a Replace jemalloc with scudo
This should provide a wider support for ARM hardware
2023-11-24 14:47:37 +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
25088a573b Revert "Add external_sonnet library"
This reverts commit 81705fb609.
2022-11-25 11:15:14 +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
6f96a68508 Revert "Move more compiler options to DESKTOP_APP_SPECIAL_TARGET condition"
This reverts commit 32257877e0.
2022-10-01 08:35:13 +04:00
23rd
0d27a76e76 Added ability to set target architecture in non-packaged mode for macOS. 2022-09-30 14:59:43 +03:00
Ilya Fedin
32257877e0 Move more compiler options to DESKTOP_APP_SPECIAL_TARGET condition 2022-09-30 10:09:46 +04:00
Ilya Fedin
5f980167f7 Move build_* variable computation back to variables.cmake 2022-08-22 17:16:25 +04:00
Ilya Fedin
0702ef4cdd Get rid of DESKTOP_APP_QT6 2022-08-14 10:01:20 +04:00
Ilya Fedin
50a67393ab Use cmake_dependent_option to better declare variables that relate on other variables 2022-08-11 09:00:14 +03:00
Ilya Fedin
d8442d4d96 Automatically disable Wayland integration with Qt 5 2022-06-20 23:58:11 +04:00
Klemens Nanni
ddd1ee547d Introduce DESKTOP_APP_DISABLE_JEMALLOC to enable using system malloc
On at least OpenBSD, malloc(3) is preferred to other implementations
like jemalloc for various reasons.

It is common for portable third-party software (ports) to provide a
switch for en/disabling jemalloc.

tdesktop makes this easy since it does not contain any (je)malloc
specific code (anymore).

Introduce a new default-off option that disables jemalloc when enabled
explicitly;  this also allow developers and package maintainers more
easily to try different malloc implementations, e.g. for debugging.

Memory leaks reported in the slightly old issue
"The app consumes an unexpectedly large amount of RAM"
https://github.com/telegramdesktop/tdesktop/issues/16084 could not
be reproduced on OpenBSD/amd64 with malloc(3) using tdesktop >= 3.3.1.
2022-02-27 19:58:36 +03:00
edd3374526 Updated cmake sources to TDesktop version 3.5.2+95e806c 2022-02-15 02:33:25 +03:00
Ilya Fedin
e97ab1bcb5 Use bundled fonts and rlottie by default since they're patched 2022-01-13 04:33:23 +03:00
9d26c287de Updated cmake sources to TDesktop version 3.4.3 2022-01-09 03:02:43 +03:00
7d2037630a Add an option to enable LTO 2021-12-30 08:03:01 +03:00
Ilya Fedin
19381f859c Revert "Add DESKTOP_APP_USE_PACKAGED_FFMPEG_STATIC option"
This reverts commit 85759739eb.

I don't need this hack anymore since it doesn't work with Big Sur GitHub actions and I know anyone who uses it
2021-12-12 23:05:05 +04:00
4bac1976e8 Updated cmake module
* Check whether CMAKE_OSX_ARCHITECTURES is initialized before using it
2021-12-12 14:04:54 +03:00
Ilya Fedin
651362c922 Check whether CMAKE_OSX_ARCHITECTURES is initialized before using it 2021-12-12 11:54:01 +04:00
Ilya Fedin
da42b96d8e fixup! Force mac architecture and deployment target only in non-packaged builds
Fix inverted condition
2021-12-11 07:25:17 +04:00
16fc0b3ebb Fix inverted condition 2021-12-10 21:19:50 +03:00
Ilya Fedin
99db326a25 fixup! Force mac architecture and deployment target only in non-packaged builds
Fix inverted condition
2021-12-10 21:54:52 +04:00
Ilya Fedin
95e322b9e6 Force mac architecture and deployment target only in non-packaged builds 2021-12-09 17:44:27 +04:00
8addfd3b3f Force mac architecture and deployment target only in non-packaged builds 2021-12-09 15:12:03 +03:00
Ilya Fedin
0d5a1ba297 Force mac architecture and deployment target only in non-packaged builds 2021-12-09 14:20:50 +04:00
e2f26c05de Updated cmake sources to TDesktop version 3.2.5 2021-12-04 16:29:09 +03:00
Ilya Fedin
051f7ba4e3 Remove DESKTOP_APP_DISABLE_WEBKITGTK 2021-11-06 16:27:58 +04:00
John Preston
410223b538 Add DESKTOP_APP_MAC_ARCH for separate macOS builds. 2021-10-28 16:15:30 +04:00
John Preston
891798c735 Enable universal binaries build on macOS with Qt 6.2. 2021-10-25 12:43:42 +04:00
Ilya Fedin
a8856aa831 Add Qt 6 support
Tested on Linux only
2021-10-21 08:44:20 +04:00
841c2d5cc1 Updated cmake sources to TDesktop version 3.1 2021-09-19 22:45:57 +03:00
789d9ee5e2 Updated cmake sources to TDesktop version 3.0.1 2021-09-17 09:18:28 +03:00
f1ce909de8 Updated cmake sources to TDesktop version 2.9.3 2021-09-16 09:53:16 +03:00
John Preston
f343a1634c Use macOS libs from Libraries/local. 2021-09-07 23:39:38 +03:00
Ilya Fedin
95ee188c7b Get rid of GTK integration 2021-09-05 17:37:54 +03:00
Ilya Fedin
b02fc90612 Get rid of osx and linux32 special targets 2021-08-11 16:01:08 +03:00
Ilya Fedin
f7ccab0e7c Allow LTO with clang
Seem to work fine
2021-08-08 09:26:18 +03:00
cbf0e42029 Updated cmake sources to TDesktop version 2.8.11+b2c762e 2021-07-20 06:53:29 +03:00
John Preston
a87ac4ad0c Update option description.
Co-authored-by: ilya-fedin <fedin-ilja2010@ya.ru>
2021-07-19 19:25:07 +03:00
mid-kid
1b71568048 Disable webkit separately from gtk integration 2021-07-19 19:25:07 +03:00
5b39ef4b82 Updated cmake sources to TDesktop version 2.8.8 2021-07-16 02:53:02 +03:00
Ilya Fedin
1c8cfe49c5 Clang build fixes 2021-07-13 20:28:33 +03:00
Ilya Fedin
4a63a30c17 Get rid of unneeded glibc wraps 2021-06-29 17:02:16 +03:00
10efb6461f Updated cmake sources to TDesktop version 2.7.10+5519bb35 2021-06-27 02:31:12 +03:00
Ilya Fedin
e002bba002 Some cleanup of unneeded hacks
qt5ct is removed since internal gtk integration is good enough
Removed the ability to override path to qtwayland client headers since that hack is no longer used
QXdgDesktopPortalThemePlugin is no longer linked since custom xdg-desktop-portal dialog implementation is present
2021-06-20 10:34:18 +04:00
John Preston
42d3840cde Add simple allocation tracer on Linux. 2021-05-14 15:09:28 +04:00