|
Line
Link Here
|
| 0 |
-- tdesktop-2.9.0-full.orig/Telegram/CMakeLists.txt |
0 |
++ tdesktop-2.9.0-full/Telegram/CMakeLists.txt |
|
Lines 1258-1264
Link Here
|
| 1258 |
PRIVATE |
1258 |
PRIVATE |
| 1259 |
desktop-app::external_glibmm |
1259 |
desktop-app::external_glibmm |
| 1260 |
desktop-app::external_glib |
1260 |
desktop-app::external_glib |
| 1261 |
desktop-app::external_jemalloc |
|
|
| 1262 |
) |
1261 |
) |
| 1263 |
|
1262 |
|
| 1264 |
if (NOT DESKTOP_APP_DISABLE_DBUS_INTEGRATION) |
1263 |
if (NOT DESKTOP_APP_DISABLE_DBUS_INTEGRATION) |
| 1265 |
-- tdesktop-2.9.0-full.orig/Telegram/SourceFiles/platform/linux/specific_linux.cpp |
1264 |
++ tdesktop-2.9.0-full/Telegram/SourceFiles/platform/linux/specific_linux.cpp |
|
Lines 45-51
Link Here
|
| 45 |
#include <private/qguiapplication_p.h> |
45 |
#include <private/qguiapplication_p.h> |
| 46 |
#include <glibmm.h> |
46 |
#include <glibmm.h> |
| 47 |
#include <giomm.h> |
47 |
#include <giomm.h> |
| 48 |
#include <jemalloc/jemalloc.h> |
|
|
| 49 |
|
48 |
|
| 50 |
#include <sys/stat.h> |
49 |
#include <sys/stat.h> |
| 51 |
#include <sys/types.h> |
50 |
#include <sys/types.h> |
|
Lines 641-649
Link Here
|
| 641 |
namespace Platform { |
640 |
namespace Platform { |
| 642 |
|
641 |
|
| 643 |
void start() { |
642 |
void start() { |
| 644 |
auto backgroundThread = true; |
|
|
| 645 |
mallctl("background_thread", nullptr, nullptr, &backgroundThread, sizeof(bool)); |
| 646 |
|
| 647 |
LOG(("Launcher filename: %1").arg(QGuiApplication::desktopFileName())); |
643 |
LOG(("Launcher filename: %1").arg(QGuiApplication::desktopFileName())); |
| 648 |
|
644 |
|
| 649 |
#ifndef DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION |
645 |
#ifndef DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION |
| 650 |
-- tdesktop-2.9.0-full.orig/cmake/external/CMakeLists.txt |
646 |
++ tdesktop-2.9.0-full/cmake/external/CMakeLists.txt |
|
Lines 37-45
Link Here
|
| 37 |
add_checked_subdirectory(hunspell) |
37 |
add_checked_subdirectory(hunspell) |
| 38 |
endif() |
38 |
endif() |
| 39 |
add_checked_subdirectory(iconv) |
39 |
add_checked_subdirectory(iconv) |
| 40 |
if (LINUX) |
|
|
| 41 |
add_checked_subdirectory(jemalloc) |
| 42 |
endif() |
| 43 |
add_checked_subdirectory(jpeg) |
40 |
add_checked_subdirectory(jpeg) |
| 44 |
if (LINUX AND NOT DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION) |
41 |
if (LINUX AND NOT DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION) |
| 45 |
add_checked_subdirectory(kwayland) |
42 |
add_checked_subdirectory(kwayland) |