mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
Telegram: bump version
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From dbdfcfc68562cb0c260956172d96937f8faec5ad Mon Sep 17 00:00:00 2001
|
||||
From a954022fcc603584d30b5c0f8d2b64524af654ac Mon Sep 17 00:00:00 2001
|
||||
From: Gerasim Troeglazov <3dEyes@gmail.com>
|
||||
Date: Mon, 1 Jul 2024 18:02:34 +1000
|
||||
Subject: Add haiku support
|
||||
@@ -1,12 +1,12 @@
|
||||
From 9ae8128d5f2421cb972aec1da1b4c1d61750751c Mon Sep 17 00:00:00 2001
|
||||
From ef7d574eafceb1bf764c41fbcc644001185cd532 Mon Sep 17 00:00:00 2001
|
||||
From: Gerasim Troeglazov <3dEyes@gmail.com>
|
||||
Date: Tue, 2 Jul 2024 19:40:27 +1000
|
||||
Subject: Add PCH files
|
||||
Date: Wed, 3 Jul 2024 11:31:43 +0000
|
||||
Subject: Add PCH file
|
||||
|
||||
|
||||
diff --git a/pch_disable.patchset b/pch_disable.patchset
|
||||
new file mode 100644
|
||||
index 0000000..ebde5d5
|
||||
index 0000000..0ad119b
|
||||
--- /dev/null
|
||||
+++ b/pch_disable.patchset
|
||||
@@ -0,0 +1,10853 @@
|
||||
@@ -836,7 +836,7 @@ index 0000000..ebde5d5
|
||||
+ This file is part of Telegram Desktop,
|
||||
+ the official desktop application for the Telegram messaging service.
|
||||
+diff --git a/Telegram/SourceFiles/boxes/peers/edit_peer_info_box.cpp b/Telegram/SourceFiles/boxes/peers/edit_peer_info_box.cpp
|
||||
+index 5623bea..8ba0957 100644
|
||||
+index 0ba6354..76860d5 100644
|
||||
+--- a/Telegram/SourceFiles/boxes/peers/edit_peer_info_box.cpp
|
||||
++++ b/Telegram/SourceFiles/boxes/peers/edit_peer_info_box.cpp
|
||||
+@@ -1,3 +1,6 @@
|
||||
@@ -1640,7 +1640,7 @@ index 0000000..ebde5d5
|
||||
+ This file is part of Telegram Desktop,
|
||||
+ the official desktop application for the Telegram messaging service.
|
||||
+diff --git a/Telegram/SourceFiles/core/application.cpp b/Telegram/SourceFiles/core/application.cpp
|
||||
+index 21d3aa7..4ef0556 100644
|
||||
+index e3e0de6..cd19bc2 100644
|
||||
+--- a/Telegram/SourceFiles/core/application.cpp
|
||||
++++ b/Telegram/SourceFiles/core/application.cpp
|
||||
+@@ -1,3 +1,5 @@
|
||||
@@ -2719,7 +2719,7 @@ index 0000000..ebde5d5
|
||||
+ This file is part of Telegram Desktop,
|
||||
+ the official desktop application for the Telegram messaging service.
|
||||
+diff --git a/Telegram/SourceFiles/dialogs/dialogs_inner_widget.cpp b/Telegram/SourceFiles/dialogs/dialogs_inner_widget.cpp
|
||||
+index 1ac569e..06fbe5b 100644
|
||||
+index cb33e8a..f88c541 100644
|
||||
+--- a/Telegram/SourceFiles/dialogs/dialogs_inner_widget.cpp
|
||||
++++ b/Telegram/SourceFiles/dialogs/dialogs_inner_widget.cpp
|
||||
+@@ -1,3 +1,5 @@
|
||||
@@ -2729,7 +2729,7 @@ index 0000000..ebde5d5
|
||||
+ This file is part of Telegram Desktop,
|
||||
+ the official desktop application for the Telegram messaging service.
|
||||
+diff --git a/Telegram/SourceFiles/dialogs/dialogs_key.cpp b/Telegram/SourceFiles/dialogs/dialogs_key.cpp
|
||||
+index 544c48c..8cc76d1 100644
|
||||
+index db5df96..adedf11 100644
|
||||
+--- a/Telegram/SourceFiles/dialogs/dialogs_key.cpp
|
||||
++++ b/Telegram/SourceFiles/dialogs/dialogs_key.cpp
|
||||
+@@ -1,3 +1,5 @@
|
||||
@@ -2818,7 +2818,7 @@ index 0000000..ebde5d5
|
||||
+ This file is part of Telegram Desktop,
|
||||
+ the official desktop application for the Telegram messaging service.
|
||||
+diff --git a/Telegram/SourceFiles/dialogs/ui/chat_search_in.cpp b/Telegram/SourceFiles/dialogs/ui/chat_search_in.cpp
|
||||
+index 5fcc8f7..a638a32 100644
|
||||
+index 42e8c33..8b1a5ee 100644
|
||||
+--- a/Telegram/SourceFiles/dialogs/ui/chat_search_in.cpp
|
||||
++++ b/Telegram/SourceFiles/dialogs/ui/chat_search_in.cpp
|
||||
+@@ -1,3 +1,4 @@
|
||||
@@ -3273,7 +3273,7 @@ index 0000000..ebde5d5
|
||||
+ This file is part of Telegram Desktop,
|
||||
+ the official desktop application for the Telegram messaging service.
|
||||
+diff --git a/Telegram/SourceFiles/history/history_inner_widget.cpp b/Telegram/SourceFiles/history/history_inner_widget.cpp
|
||||
+index 69268f0..bbf19ac 100644
|
||||
+index 1a302bd..549dd50 100644
|
||||
+--- a/Telegram/SourceFiles/history/history_inner_widget.cpp
|
||||
++++ b/Telegram/SourceFiles/history/history_inner_widget.cpp
|
||||
+@@ -1,3 +1,5 @@
|
||||
@@ -3619,7 +3619,7 @@ index 0000000..ebde5d5
|
||||
+ This file is part of Telegram Desktop,
|
||||
+ the official desktop application for the Telegram messaging service.
|
||||
+diff --git a/Telegram/SourceFiles/history/view/history_view_list_widget.cpp b/Telegram/SourceFiles/history/view/history_view_list_widget.cpp
|
||||
+index 2c99c63..45e96b6 100644
|
||||
+index 4155adf..42eac4a 100644
|
||||
+--- a/Telegram/SourceFiles/history/view/history_view_list_widget.cpp
|
||||
++++ b/Telegram/SourceFiles/history/view/history_view_list_widget.cpp
|
||||
+@@ -1,3 +1,5 @@
|
||||
@@ -4218,20 +4218,20 @@ index 0000000..ebde5d5
|
||||
+ /*
|
||||
+ This file is part of Telegram Desktop,
|
||||
+ the official desktop application for the Telegram messaging service.
|
||||
+diff --git a/Telegram/SourceFiles/info/bot/earn/info_earn_inner_widget.cpp b/Telegram/SourceFiles/info/bot/earn/info_earn_inner_widget.cpp
|
||||
+index 2b152ad..e0518b3 100644
|
||||
+--- a/Telegram/SourceFiles/info/bot/earn/info_earn_inner_widget.cpp
|
||||
++++ b/Telegram/SourceFiles/info/bot/earn/info_earn_inner_widget.cpp
|
||||
+diff --git a/Telegram/SourceFiles/info/bot/earn/info_bot_earn_list.cpp b/Telegram/SourceFiles/info/bot/earn/info_bot_earn_list.cpp
|
||||
+index 169fe88..47f9073 100644
|
||||
+--- a/Telegram/SourceFiles/info/bot/earn/info_bot_earn_list.cpp
|
||||
++++ b/Telegram/SourceFiles/info/bot/earn/info_bot_earn_list.cpp
|
||||
+@@ -1,3 +1,5 @@
|
||||
++#include "ui/ui_pch.h"
|
||||
++#include "stdafx.h"
|
||||
+ /*
|
||||
+ This file is part of Telegram Desktop,
|
||||
+ the official desktop application for the Telegram messaging service.
|
||||
+diff --git a/Telegram/SourceFiles/info/bot/earn/info_earn_widget.cpp b/Telegram/SourceFiles/info/bot/earn/info_earn_widget.cpp
|
||||
+index 59ddb37..b371f59 100644
|
||||
+--- a/Telegram/SourceFiles/info/bot/earn/info_earn_widget.cpp
|
||||
++++ b/Telegram/SourceFiles/info/bot/earn/info_earn_widget.cpp
|
||||
+diff --git a/Telegram/SourceFiles/info/bot/earn/info_bot_earn_widget.cpp b/Telegram/SourceFiles/info/bot/earn/info_bot_earn_widget.cpp
|
||||
+index 03ad190..d403096 100644
|
||||
+--- a/Telegram/SourceFiles/info/bot/earn/info_bot_earn_widget.cpp
|
||||
++++ b/Telegram/SourceFiles/info/bot/earn/info_bot_earn_widget.cpp
|
||||
+@@ -1,3 +1,5 @@
|
||||
++#include "ui/ui_pch.h"
|
||||
++#include "stdafx.h"
|
||||
@@ -4314,20 +4314,20 @@ index 0000000..ebde5d5
|
||||
+ /*
|
||||
+ This file is part of Telegram Desktop,
|
||||
+ the official desktop application for the Telegram messaging service.
|
||||
+diff --git a/Telegram/SourceFiles/info/channel_statistics/earn/info_earn_inner_widget.cpp b/Telegram/SourceFiles/info/channel_statistics/earn/info_earn_inner_widget.cpp
|
||||
+index 9fea450..9cca449 100644
|
||||
+--- a/Telegram/SourceFiles/info/channel_statistics/earn/info_earn_inner_widget.cpp
|
||||
++++ b/Telegram/SourceFiles/info/channel_statistics/earn/info_earn_inner_widget.cpp
|
||||
+diff --git a/Telegram/SourceFiles/info/channel_statistics/earn/info_channel_earn_list.cpp b/Telegram/SourceFiles/info/channel_statistics/earn/info_channel_earn_list.cpp
|
||||
+index 84ad813..32d3807 100644
|
||||
+--- a/Telegram/SourceFiles/info/channel_statistics/earn/info_channel_earn_list.cpp
|
||||
++++ b/Telegram/SourceFiles/info/channel_statistics/earn/info_channel_earn_list.cpp
|
||||
+@@ -1,3 +1,5 @@
|
||||
++#include "ui/ui_pch.h"
|
||||
++#include "stdafx.h"
|
||||
+ /*
|
||||
+ This file is part of Telegram Desktop,
|
||||
+ the official desktop application for the Telegram messaging service.
|
||||
+diff --git a/Telegram/SourceFiles/info/channel_statistics/earn/info_earn_widget.cpp b/Telegram/SourceFiles/info/channel_statistics/earn/info_earn_widget.cpp
|
||||
+index b0c38e1..72c11c9 100644
|
||||
+--- a/Telegram/SourceFiles/info/channel_statistics/earn/info_earn_widget.cpp
|
||||
++++ b/Telegram/SourceFiles/info/channel_statistics/earn/info_earn_widget.cpp
|
||||
+diff --git a/Telegram/SourceFiles/info/channel_statistics/earn/info_channel_earn_widget.cpp b/Telegram/SourceFiles/info/channel_statistics/earn/info_channel_earn_widget.cpp
|
||||
+index dabd5e6..fa72a03 100644
|
||||
+--- a/Telegram/SourceFiles/info/channel_statistics/earn/info_channel_earn_widget.cpp
|
||||
++++ b/Telegram/SourceFiles/info/channel_statistics/earn/info_channel_earn_widget.cpp
|
||||
+@@ -1,3 +1,5 @@
|
||||
++#include "ui/ui_pch.h"
|
||||
++#include "stdafx.h"
|
||||
@@ -5015,7 +5015,7 @@ index 0000000..ebde5d5
|
||||
+ This file is part of Telegram Desktop,
|
||||
+ the official desktop application for the Telegram messaging service.
|
||||
+diff --git a/Telegram/SourceFiles/iv/iv_controller.cpp b/Telegram/SourceFiles/iv/iv_controller.cpp
|
||||
+index baad49d..5921fd9 100644
|
||||
+index 3b30dc6..a3f271e 100644
|
||||
+--- a/Telegram/SourceFiles/iv/iv_controller.cpp
|
||||
++++ b/Telegram/SourceFiles/iv/iv_controller.cpp
|
||||
+@@ -1,3 +1,5 @@
|
||||
@@ -5025,7 +5025,7 @@ index 0000000..ebde5d5
|
||||
+ This file is part of Telegram Desktop,
|
||||
+ the official desktop application for the Telegram messaging service.
|
||||
+diff --git a/Telegram/SourceFiles/iv/iv_data.cpp b/Telegram/SourceFiles/iv/iv_data.cpp
|
||||
+index 5258e6c..61c49d0 100644
|
||||
+index 16f9c0d..60b0135 100644
|
||||
+--- a/Telegram/SourceFiles/iv/iv_data.cpp
|
||||
++++ b/Telegram/SourceFiles/iv/iv_data.cpp
|
||||
+@@ -1,3 +1,5 @@
|
||||
@@ -5046,7 +5046,7 @@ index 0000000..ebde5d5
|
||||
+ This file is part of Telegram Desktop,
|
||||
+ the official desktop application for the Telegram messaging service.
|
||||
+diff --git a/Telegram/SourceFiles/iv/iv_instance.cpp b/Telegram/SourceFiles/iv/iv_instance.cpp
|
||||
+index 69df5f7..89969df 100644
|
||||
+index d070c93..f491d14 100644
|
||||
+--- a/Telegram/SourceFiles/iv/iv_instance.cpp
|
||||
++++ b/Telegram/SourceFiles/iv/iv_instance.cpp
|
||||
+@@ -1,3 +1,6 @@
|
||||
@@ -5057,7 +5057,7 @@ index 0000000..ebde5d5
|
||||
+ This file is part of Telegram Desktop,
|
||||
+ the official desktop application for the Telegram messaging service.
|
||||
+diff --git a/Telegram/SourceFiles/iv/iv_prepare.cpp b/Telegram/SourceFiles/iv/iv_prepare.cpp
|
||||
+index d5f5375..ff23011 100644
|
||||
+index 15d5eda..322cc7e 100644
|
||||
+--- a/Telegram/SourceFiles/iv/iv_prepare.cpp
|
||||
++++ b/Telegram/SourceFiles/iv/iv_prepare.cpp
|
||||
+@@ -1,3 +1,5 @@
|
||||
@@ -5253,7 +5253,7 @@ index 0000000..ebde5d5
|
||||
+ This file is part of Telegram Desktop,
|
||||
+ the official desktop application for the Telegram messaging service.
|
||||
+diff --git a/Telegram/SourceFiles/main/main_domain.cpp b/Telegram/SourceFiles/main/main_domain.cpp
|
||||
+index 9b4b120..a4b1b84 100644
|
||||
+index 714f7e2..649cc0c 100644
|
||||
+--- a/Telegram/SourceFiles/main/main_domain.cpp
|
||||
++++ b/Telegram/SourceFiles/main/main_domain.cpp
|
||||
+@@ -1,3 +1,4 @@
|
||||
@@ -5298,7 +5298,7 @@ index 0000000..ebde5d5
|
||||
+ This file is part of Telegram Desktop,
|
||||
+ the official desktop application for the Telegram messaging service.
|
||||
+diff --git a/Telegram/SourceFiles/mainwidget.cpp b/Telegram/SourceFiles/mainwidget.cpp
|
||||
+index 45ad3ef..04e36df 100644
|
||||
+index 854441b..de09f2a 100644
|
||||
+--- a/Telegram/SourceFiles/mainwidget.cpp
|
||||
++++ b/Telegram/SourceFiles/mainwidget.cpp
|
||||
+@@ -1,3 +1,4 @@
|
||||
@@ -5778,7 +5778,7 @@ index 0000000..ebde5d5
|
||||
+ This file is part of Telegram Desktop,
|
||||
+ the official desktop application for the Telegram messaging service.
|
||||
+diff --git a/Telegram/SourceFiles/media/view/media_view_overlay_widget.cpp b/Telegram/SourceFiles/media/view/media_view_overlay_widget.cpp
|
||||
+index a6320b6..db6e49e 100644
|
||||
+index c6a7e9c..29449af 100644
|
||||
+--- a/Telegram/SourceFiles/media/view/media_view_overlay_widget.cpp
|
||||
++++ b/Telegram/SourceFiles/media/view/media_view_overlay_widget.cpp
|
||||
+@@ -1,3 +1,5 @@
|
||||
@@ -6018,7 +6018,7 @@ index 0000000..ebde5d5
|
||||
+ This file is part of Telegram Desktop,
|
||||
+ the official desktop application for the Telegram messaging service.
|
||||
+diff --git a/Telegram/SourceFiles/mtproto/details/mtproto_domain_resolver.cpp b/Telegram/SourceFiles/mtproto/details/mtproto_domain_resolver.cpp
|
||||
+index 93865a5..0747116 100644
|
||||
+index 4ab0ce8..92a07f1 100644
|
||||
+--- a/Telegram/SourceFiles/mtproto/details/mtproto_domain_resolver.cpp
|
||||
++++ b/Telegram/SourceFiles/mtproto/details/mtproto_domain_resolver.cpp
|
||||
+@@ -1,3 +1,4 @@
|
||||
@@ -6589,7 +6589,7 @@ index 0000000..ebde5d5
|
||||
+ /*
|
||||
+ This file is part of Telegram Desktop,
|
||||
+diff --git a/Telegram/SourceFiles/platform/linux/specific_linux.cpp b/Telegram/SourceFiles/platform/linux/specific_linux.cpp
|
||||
+index 33aeb85..e184c65 100644
|
||||
+index ed30279..be099cf 100644
|
||||
+--- a/Telegram/SourceFiles/platform/linux/specific_linux.cpp
|
||||
++++ b/Telegram/SourceFiles/platform/linux/specific_linux.cpp
|
||||
+@@ -1,3 +1,4 @@
|
||||
@@ -6923,7 +6923,7 @@ index 0000000..ebde5d5
|
||||
+ This file is part of Telegram Desktop,
|
||||
+ the official desktop application for the Telegram messaging service.
|
||||
+diff --git a/Telegram/SourceFiles/settings/settings_credits_graphics.cpp b/Telegram/SourceFiles/settings/settings_credits_graphics.cpp
|
||||
+index 3e720ba..c6c423a 100644
|
||||
+index 648a649..cbebe7b 100644
|
||||
+--- a/Telegram/SourceFiles/settings/settings_credits_graphics.cpp
|
||||
++++ b/Telegram/SourceFiles/settings/settings_credits_graphics.cpp
|
||||
+@@ -1,3 +1,4 @@
|
||||
@@ -6932,7 +6932,7 @@ index 0000000..ebde5d5
|
||||
+ This file is part of Telegram Desktop,
|
||||
+ the official desktop application for the Telegram messaging service.
|
||||
+diff --git a/Telegram/SourceFiles/settings/settings_experimental.cpp b/Telegram/SourceFiles/settings/settings_experimental.cpp
|
||||
+index 93e9e74..7b25958 100644
|
||||
+index f578bce..9ed862f 100644
|
||||
+--- a/Telegram/SourceFiles/settings/settings_experimental.cpp
|
||||
++++ b/Telegram/SourceFiles/settings/settings_experimental.cpp
|
||||
+@@ -1,3 +1,4 @@
|
||||
@@ -6977,7 +6977,7 @@ index 0000000..ebde5d5
|
||||
+ This file is part of Telegram Desktop,
|
||||
+ the official desktop application for the Telegram messaging service.
|
||||
+diff --git a/Telegram/SourceFiles/settings/settings_local_passcode.cpp b/Telegram/SourceFiles/settings/settings_local_passcode.cpp
|
||||
+index db21f71..c64a8b6 100644
|
||||
+index 193445c..e08dc07 100644
|
||||
+--- a/Telegram/SourceFiles/settings/settings_local_passcode.cpp
|
||||
++++ b/Telegram/SourceFiles/settings/settings_local_passcode.cpp
|
||||
+@@ -1,3 +1,4 @@
|
||||
@@ -8757,7 +8757,7 @@ index 0000000..ebde5d5
|
||||
+ This file is part of Telegram Desktop,
|
||||
+ the official desktop application for the Telegram messaging service.
|
||||
+diff --git a/Telegram/SourceFiles/window/window_lock_widgets.cpp b/Telegram/SourceFiles/window/window_lock_widgets.cpp
|
||||
+index e6453fb..6a5fe93 100644
|
||||
+index 0235088..6afbd5f 100644
|
||||
+--- a/Telegram/SourceFiles/window/window_lock_widgets.cpp
|
||||
++++ b/Telegram/SourceFiles/window/window_lock_widgets.cpp
|
||||
+@@ -1,3 +1,4 @@
|
||||
@@ -8793,7 +8793,7 @@ index 0000000..ebde5d5
|
||||
+ This file is part of Telegram Desktop,
|
||||
+ the official desktop application for the Telegram messaging service.
|
||||
+diff --git a/Telegram/SourceFiles/window/window_peer_menu.cpp b/Telegram/SourceFiles/window/window_peer_menu.cpp
|
||||
+index 712e022..18643b0 100644
|
||||
+index bce7a9a..d229ea4 100644
|
||||
+--- a/Telegram/SourceFiles/window/window_peer_menu.cpp
|
||||
++++ b/Telegram/SourceFiles/window/window_peer_menu.cpp
|
||||
+@@ -1,3 +1,4 @@
|
||||
@@ -8811,7 +8811,7 @@ index 0000000..ebde5d5
|
||||
+ This file is part of Telegram Desktop,
|
||||
+ the official desktop application for the Telegram messaging service.
|
||||
+diff --git a/Telegram/SourceFiles/window/window_session_controller.cpp b/Telegram/SourceFiles/window/window_session_controller.cpp
|
||||
+index 34d3bf4..cc0e6dc 100644
|
||||
+index 8380e45..7865e9c 100644
|
||||
+--- a/Telegram/SourceFiles/window/window_session_controller.cpp
|
||||
++++ b/Telegram/SourceFiles/window/window_session_controller.cpp
|
||||
+@@ -1,3 +1,4 @@
|
||||
@@ -9216,7 +9216,7 @@ index 0000000..ebde5d5
|
||||
+ // a set of libraries for developing nice desktop applications.
|
||||
+ //
|
||||
+diff --git a/Telegram/lib_base/base/platform/linux/base_system_unlock_linux.cpp b/Telegram/lib_base/base/platform/linux/base_system_unlock_linux.cpp
|
||||
+index 066907a..39f41c6 100644
|
||||
+index e72d450..f9cb2e0 100644
|
||||
+--- a/Telegram/lib_base/base/platform/linux/base_system_unlock_linux.cpp
|
||||
++++ b/Telegram/lib_base/base/platform/linux/base_system_unlock_linux.cpp
|
||||
+@@ -1,3 +1,4 @@
|
||||
@@ -1,4 +1,4 @@
|
||||
From 9d841a2d5ed1a4e1e9579e1c815fb124ddbc9ab8 Mon Sep 17 00:00:00 2001
|
||||
From 3a9acb201f5f203879c51187528c75a309b4d4e4 Mon Sep 17 00:00:00 2001
|
||||
From: Gerasim Troeglazov <3dEyes@gmail.com>
|
||||
Date: Mon, 1 Jul 2024 20:26:05 +1000
|
||||
Subject: Add haiku support
|
||||
@@ -138,7 +138,7 @@ index 0000000..e5f8b64
|
||||
+
|
||||
+resource("BEOS:default_shortcut") "S";
|
||||
diff --git a/Telegram/CMakeLists.txt b/Telegram/CMakeLists.txt
|
||||
index e305108..1338dee 100644
|
||||
index 6528a85..a2aa98d 100644
|
||||
--- a/Telegram/CMakeLists.txt
|
||||
+++ b/Telegram/CMakeLists.txt
|
||||
@@ -93,6 +93,15 @@ PRIVATE
|
||||
@@ -681,10 +681,10 @@ index 0000000..21935f0
|
||||
+} // namespace Notifications
|
||||
+} // namespace Platform
|
||||
diff --git a/Telegram/SourceFiles/platform/linux/specific_linux.cpp b/Telegram/SourceFiles/platform/linux/specific_linux.cpp
|
||||
index 474f477..33aeb85 100644
|
||||
index 6d8a8ec..ed30279 100644
|
||||
--- a/Telegram/SourceFiles/platform/linux/specific_linux.cpp
|
||||
+++ b/Telegram/SourceFiles/platform/linux/specific_linux.cpp
|
||||
@@ -25,6 +25,10 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
@@ -26,6 +26,10 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
#include "base/platform/linux/base_linux_xcb_utilities.h"
|
||||
#endif // !DESKTOP_APP_DISABLE_X11_INTEGRATION
|
||||
|
||||
@@ -695,7 +695,7 @@ index 474f477..33aeb85 100644
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QSystemTrayIcon>
|
||||
#include <QtCore/QStandardPaths>
|
||||
@@ -48,6 +52,33 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
@@ -49,6 +53,33 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
#include <iostream>
|
||||
|
||||
namespace {
|
||||
@@ -729,7 +729,7 @@ index 474f477..33aeb85 100644
|
||||
|
||||
using namespace gi::repository;
|
||||
namespace GObject = gi::repository::GObject;
|
||||
@@ -523,6 +554,10 @@ bool AutostartSupported() {
|
||||
@@ -534,6 +565,10 @@ bool AutostartSupported() {
|
||||
}
|
||||
|
||||
void AutostartToggle(bool enabled, Fn<void(bool)> done) {
|
||||
@@ -740,7 +740,7 @@ index 474f477..33aeb85 100644
|
||||
if (KSandbox::isFlatpak()) {
|
||||
PortalAutostart(enabled, done);
|
||||
return;
|
||||
@@ -550,6 +585,7 @@ void AutostartToggle(bool enabled, Fn<void(bool)> done) {
|
||||
@@ -561,6 +596,7 @@ void AutostartToggle(bool enabled, Fn<void(bool)> done) {
|
||||
if (done) {
|
||||
done(enabled && success);
|
||||
}
|
||||
@@ -748,7 +748,7 @@ index 474f477..33aeb85 100644
|
||||
}
|
||||
|
||||
bool AutostartSkip() {
|
||||
@@ -611,7 +647,11 @@ QString psAppDataPath() {
|
||||
@@ -622,7 +658,11 @@ QString psAppDataPath() {
|
||||
}
|
||||
}
|
||||
|
||||
@@ -760,7 +760,7 @@ index 474f477..33aeb85 100644
|
||||
}
|
||||
|
||||
void psDoCleanup() {
|
||||
@@ -721,6 +761,7 @@ bool OpenSystemSettings(SystemSettingsType type) {
|
||||
@@ -732,6 +772,7 @@ bool OpenSystemSettings(SystemSettingsType type) {
|
||||
}
|
||||
options.push_back(std::move(command));
|
||||
};
|
||||
@@ -768,7 +768,7 @@ index 474f477..33aeb85 100644
|
||||
add("unity-control-center", "sound");
|
||||
add("kcmshell6", "kcm_pulseaudio");
|
||||
add("kcmshell5", "kcm_pulseaudio");
|
||||
@@ -730,7 +771,7 @@ bool OpenSystemSettings(SystemSettingsType type) {
|
||||
@@ -741,7 +782,7 @@ bool OpenSystemSettings(SystemSettingsType type) {
|
||||
add("mate-volume-control");
|
||||
add("pavucontrol-qt");
|
||||
add("pavucontrol");
|
||||
@@ -5,7 +5,7 @@ COPYRIGHT="2013-2024 Telegram"
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/telegramdesktop/tdesktop/releases/download/v$portVersion/tdesktop-$portVersion-full.tar.gz"
|
||||
CHECKSUM_SHA256="13500b4373920aebac907c7f67059a0754b0f0c1ea72490cec14df3cabd11995"
|
||||
CHECKSUM_SHA256="8c278aae061a9461459a09fe0139854027182a4bec6d706d0f4fb9df9b303e3e"
|
||||
SOURCE_FILENAME="tdesktop-$portVersion-full.tar.gz"
|
||||
SOURCE_DIR="tdesktop-$portVersion-full"
|
||||
srcGitRev_2="2b383fe05f8ae78ac99470b9a2b9ea22b3ee5a92"
|
||||
Reference in New Issue
Block a user