Telegram: bump version

This commit is contained in:
Gerasim Troeglazov
2025-04-03 23:38:32 +10:00
parent dd0bc9c195
commit 5e896327e7
4 changed files with 310 additions and 285 deletions

View File

@@ -1,6 +1,6 @@
From f7ceaddf839fcaf407db1c156416dcb2cb4c9d11 Mon Sep 17 00:00:00 2001
From e1052847d80ec3c81d1166febe5c9149064e4e86 Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
Date: Sat, 15 Feb 2025 10:43:19 +0000
Date: Thu, 3 Apr 2025 20:19:59 +1000
Subject: Add haiku support
@@ -928,5 +928,5 @@ index fbae709..18f96ec 100644
add_library(lib_tgvoip_bundled_options INTERFACE)
target_compile_options(lib_tgvoip_bundled_options
--
2.45.2
2.48.1

View File

@@ -1,6 +1,6 @@
From fefca40e7fefef8e0ef73dcdfaf7fb6581633ece Mon Sep 17 00:00:00 2001
From 37e676746eb4a16cbcf65484caa4d90a06d17104 Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
Date: Sat, 15 Feb 2025 10:44:26 +0000
Date: Thu, 3 Apr 2025 20:21:44 +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 1c881e2..63e1f1d 100644
index 7fa9bb9..c5f4a33 100644
--- a/Telegram/CMakeLists.txt
+++ b/Telegram/CMakeLists.txt
@@ -97,6 +97,15 @@ PRIVATE
@@ -157,7 +157,7 @@ index 1c881e2..63e1f1d 100644
target_precompile_headers(Telegram PRIVATE $<$<COMPILE_LANGUAGE:CXX,OBJCXX>:${src_loc}/stdafx.h>)
nice_target_sources(Telegram ${src_loc}
PRIVATE
@@ -1676,6 +1685,16 @@ if (NOT build_winstore)
@@ -1682,6 +1691,16 @@ if (NOT build_winstore)
)
endif()
@@ -174,7 +174,7 @@ index 1c881e2..63e1f1d 100644
if (DESKTOP_APP_USE_PACKAGED)
remove_target_sources(Telegram ${src_loc}
platform/mac/mac_iconv_helper.c
@@ -1839,7 +1858,7 @@ else()
@@ -1845,7 +1864,7 @@ else()
set(bundle_identifier "com.tdesktop.Telegram")
endif()
set(bundle_entitlements "Telegram.entitlements")
@@ -204,10 +204,10 @@ index 51a9068..b5296bc 100644
if (const auto strong = weak.get()) {
showBox(Box(SettingsBox, strong));
diff --git a/Telegram/SourceFiles/core/core_settings.h b/Telegram/SourceFiles/core/core_settings.h
index 91da794..0c9713e 100644
index 8ce8d72..a116d04 100644
--- a/Telegram/SourceFiles/core/core_settings.h
+++ b/Telegram/SourceFiles/core/core_settings.h
@@ -1033,7 +1033,7 @@ private:
@@ -1037,7 +1037,7 @@ private:
rpl::variable<float64> _dialogsNoChatWidthRatio; // per-window
rpl::variable<int> _thirdColumnWidth = kDefaultThirdColumnWidth; // p-w
bool _notifyFromAll = true;
@@ -336,10 +336,10 @@ index f314fb0..331db8a 100644
}
diff --git a/Telegram/SourceFiles/platform/linux/integration_linux.cpp b/Telegram/SourceFiles/platform/linux/integration_linux.cpp
index 147a9f0..111b33f 100644
index e3e331c..c92886b 100644
--- a/Telegram/SourceFiles/platform/linux/integration_linux.cpp
+++ b/Telegram/SourceFiles/platform/linux/integration_linux.cpp
@@ -18,12 +18,18 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
@@ -19,12 +19,18 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include <QtCore/QAbstractEventDispatcher>
@@ -358,7 +358,7 @@ index 147a9f0..111b33f 100644
using namespace gi::repository;
namespace GObject = gi::repository::GObject;
@@ -286,7 +292,7 @@ void LinuxIntegration::initInhibit() {
@@ -237,7 +243,7 @@ void LinuxIntegration::initInhibit() {
}),
nullptr);
}
@@ -689,7 +689,7 @@ index 0000000..0d7526d
+} // namespace Notifications
+} // namespace Platform
diff --git a/Telegram/SourceFiles/platform/linux/specific_linux.cpp b/Telegram/SourceFiles/platform/linux/specific_linux.cpp
index c460d1e..771dc33 100644
index dcbefc2..6b53ba0 100644
--- a/Telegram/SourceFiles/platform/linux/specific_linux.cpp
+++ b/Telegram/SourceFiles/platform/linux/specific_linux.cpp
@@ -27,6 +27,10 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
@@ -737,7 +737,7 @@ index c460d1e..771dc33 100644
using namespace gi::repository;
namespace GObject = gi::repository::GObject;
@@ -550,6 +581,10 @@ bool AutostartSupported() {
@@ -572,6 +603,10 @@ bool AutostartSupported() {
}
void AutostartToggle(bool enabled, Fn<void(bool)> done) {
@@ -748,7 +748,7 @@ index c460d1e..771dc33 100644
if (KSandbox::isFlatpak()) {
PortalAutostart(enabled, done);
return;
@@ -577,6 +612,7 @@ void AutostartToggle(bool enabled, Fn<void(bool)> done) {
@@ -599,6 +634,7 @@ void AutostartToggle(bool enabled, Fn<void(bool)> done) {
if (done) {
done(enabled && success);
}
@@ -756,7 +756,7 @@ index c460d1e..771dc33 100644
}
bool AutostartSkip() {
@@ -629,7 +665,11 @@ QString psAppDataPath() {
@@ -651,7 +687,11 @@ QString psAppDataPath() {
}
}
@@ -768,7 +768,7 @@ index c460d1e..771dc33 100644
}
void psDoCleanup() {
@@ -739,6 +779,7 @@ bool OpenSystemSettings(SystemSettingsType type) {
@@ -749,6 +789,7 @@ bool OpenSystemSettings(SystemSettingsType type) {
}
options.push_back(std::move(command));
};
@@ -776,7 +776,7 @@ index c460d1e..771dc33 100644
add("unity-control-center", "sound");
add("kcmshell6", "kcm_pulseaudio");
add("kcmshell5", "kcm_pulseaudio");
@@ -748,7 +789,7 @@ bool OpenSystemSettings(SystemSettingsType type) {
@@ -758,7 +799,7 @@ bool OpenSystemSettings(SystemSettingsType type) {
add("mate-volume-control");
add("pavucontrol-qt");
add("pavucontrol");
@@ -785,19 +785,6 @@ index c460d1e..771dc33 100644
return ranges::any_of(options, [](const Command &command) {
return QProcess::startDetached(
command.command,
diff --git a/Telegram/SourceFiles/platform/linux/tray_linux.cpp b/Telegram/SourceFiles/platform/linux/tray_linux.cpp
index 2d0e23a..b4cb04c 100644
--- a/Telegram/SourceFiles/platform/linux/tray_linux.cpp
+++ b/Telegram/SourceFiles/platform/linux/tray_linux.cpp
@@ -317,7 +317,7 @@ void Tray::createIcon() {
const auto showXEmbed = [=] {
_aboutToShowRequests.fire({});
InvokeQueued(_menuXEmbed.get(), [=] {
- _menuXEmbed->popup(QCursor::pos());
+// _menuXEmbed->popup(QCursor::pos());
});
};
diff --git a/Telegram/ThirdParty/tgcalls/tgcalls/MediaManager.cpp b/Telegram/ThirdParty/tgcalls/tgcalls/MediaManager.cpp
index d1995ba..c6c9513 100644
--- a/Telegram/ThirdParty/tgcalls/tgcalls/MediaManager.cpp
@@ -1019,7 +1006,7 @@ index 9a52714..9bd332a 100644
const auto xcbResult = XCBLastUserInputTime();
if (xcbResult.has_value()) {
diff --git a/Telegram/lib_base/base/platform/linux/base_linux_xdp_utilities.cpp b/Telegram/lib_base/base/platform/linux/base_linux_xdp_utilities.cpp
index af97691..1a0f256 100644
index 8aca67c..df4dc86 100644
--- a/Telegram/lib_base/base/platform/linux/base_linux_xdp_utilities.cpp
+++ b/Telegram/lib_base/base/platform/linux/base_linux_xdp_utilities.cpp
@@ -10,6 +10,10 @@
@@ -1209,5 +1196,5 @@ index 58f2503..65dbe67 100644
endif()
add_checked_subdirectory(expected)
--
2.45.2
2.48.1

View File

@@ -5,7 +5,7 @@ COPYRIGHT="2013-2025 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="050a19e74632eff02737f078b02d78e11faa108d0932371f3d64122b225d3034"
CHECKSUM_SHA256="caa37bbf7d9fcdfecdb5f596f02a44becbe468ea5c6af7f3c670b61952744a80"
SOURCE_FILENAME="tdesktop-$portVersion-full.tar.gz"
SOURCE_DIR="tdesktop-$portVersion-full"
SOURCE_URI_2="https://github.com/ada-url/ada/releases/download/v2.9.0/singleheader.zip"