Telegram: bump version

This commit is contained in:
Gerasim Troeglazov
2024-09-10 16:24:41 +10:00
parent eeaf438fec
commit 985f80d36d
4 changed files with 379 additions and 292 deletions

View File

@@ -1,4 +1,4 @@
From 92f9d1c2f09560fe521d6a302327205d209376da Mon Sep 17 00:00:00 2001
From 988a550f1aab9837196e53a21fe2d27f86879c6f Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
Date: Thu, 1 Aug 2024 22:40:58 +1000
Subject: Add haiku support

View File

@@ -1,4 +1,4 @@
From 4b87233d217e6ee5015a888e1e72c3850d6a090e Mon Sep 17 00:00:00 2001
From b264d506761442e46e2278a2d011c0eece67cadf Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
Date: Thu, 1 Aug 2024 22:42:14 +1000
Subject: Add haiku support
@@ -138,10 +138,10 @@ index 0000000..e5f8b64
+
+resource("BEOS:default_shortcut") "S";
diff --git a/Telegram/CMakeLists.txt b/Telegram/CMakeLists.txt
index 4dafca5..e23089e 100644
index a9e8498..19584bd 100644
--- a/Telegram/CMakeLists.txt
+++ b/Telegram/CMakeLists.txt
@@ -93,6 +93,15 @@ PRIVATE
@@ -97,6 +97,15 @@ PRIVATE
desktop-app::external_xxhash
)
@@ -157,7 +157,7 @@ index 4dafca5..e23089e 100644
target_precompile_headers(Telegram PRIVATE $<$<COMPILE_LANGUAGE:CXX,OBJCXX>:${src_loc}/stdafx.h>)
nice_target_sources(Telegram ${src_loc}
PRIVATE
@@ -1608,6 +1617,16 @@ if (NOT build_winstore)
@@ -1618,6 +1627,16 @@ if (NOT build_winstore)
)
endif()
@@ -174,7 +174,7 @@ index 4dafca5..e23089e 100644
if (DESKTOP_APP_USE_PACKAGED)
remove_target_sources(Telegram ${src_loc}
platform/mac/mac_iconv_helper.c
@@ -1771,7 +1790,7 @@ else()
@@ -1781,7 +1800,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 73f0f5e..1c30fa3 100644
index 06f7475..6c1ba99 100644
--- a/Telegram/SourceFiles/core/core_settings.h
+++ b/Telegram/SourceFiles/core/core_settings.h
@@ -1000,7 +1000,7 @@ private:
@@ -1005,7 +1005,7 @@ private:
rpl::variable<float64> _dialogsNoChatWidthRatio; // per-window
rpl::variable<int> _thirdColumnWidth = kDefaultThirdColumnWidth; // p-w
bool _notifyFromAll = true;
@@ -1059,10 +1059,10 @@ index efbfb72..9c82321 100644
#include "nnet_language_identifier.h"
diff --git a/Telegram/lib_ui/ui/ui_utility.cpp b/Telegram/lib_ui/ui/ui_utility.cpp
index 26b284f..5aa150c 100644
index 5173f25..83138b7 100644
--- a/Telegram/lib_ui/ui/ui_utility.cpp
+++ b/Telegram/lib_ui/ui/ui_utility.cpp
@@ -9,6 +9,10 @@
@@ -10,6 +10,10 @@
#include "ui/platform/ui_platform_utility.h"
#include "ui/style/style_core.h"
@@ -1074,10 +1074,10 @@ index 26b284f..5aa150c 100644
#include <QtGui/QWindow>
#include <QtGui/QtEvents>
diff --git a/Telegram/lib_ui/ui/widgets/popup_menu.cpp b/Telegram/lib_ui/ui/widgets/popup_menu.cpp
index c7a89d6..6221153 100644
index 0da7968..25da2ed 100644
--- a/Telegram/lib_ui/ui/widgets/popup_menu.cpp
+++ b/Telegram/lib_ui/ui/widgets/popup_menu.cpp
@@ -18,6 +18,10 @@
@@ -19,6 +19,10 @@
#include "base/invoke_queued.h"
#include "base/platform/base_platform_info.h"
@@ -1121,7 +1121,7 @@ index d4c3f30..22fb3d6 100644
#include "webrtc/webrtc_device_common.h"
diff --git a/cmake/external/CMakeLists.txt b/cmake/external/CMakeLists.txt
index 37561e9..52243d2 100644
index ea4b8bf..2ba72a6 100644
--- a/cmake/external/CMakeLists.txt
+++ b/cmake/external/CMakeLists.txt
@@ -19,7 +19,7 @@ if (add_cld3_library)
@@ -1137,17 +1137,17 @@ index 37561e9..52243d2 100644
2.45.2
From f887e6763db929968ecd7a8ad0ef3dfd88ba6b9c Mon Sep 17 00:00:00 2001
From a654bafddc156ee07156feb1c7f97d0cb5671577 Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
Date: Fri, 2 Aug 2024 23:06:18 +1000
Subject: Use singleheader ada library
diff --git a/Telegram/SourceFiles/iv/iv_controller.cpp b/Telegram/SourceFiles/iv/iv_controller.cpp
index 759ef0d..0a9a767 100644
index b864833..88da067 100644
--- a/Telegram/SourceFiles/iv/iv_controller.cpp
+++ b/Telegram/SourceFiles/iv/iv_controller.cpp
@@ -44,7 +44,8 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
@@ -45,7 +45,8 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include <QtGui/QWindow>
#include <charconv>
@@ -1170,7 +1170,7 @@ index 1d4edf9..602abf4 100644
tdesktop::td_ui
)
diff --git a/cmake/external/CMakeLists.txt b/cmake/external/CMakeLists.txt
index 52243d2..985d8e5 100644
index 2ba72a6..9e30578 100644
--- a/cmake/external/CMakeLists.txt
+++ b/cmake/external/CMakeLists.txt
@@ -11,7 +11,7 @@ macro(add_checked_subdirectory name)

View File

@@ -3,9 +3,9 @@ DESCRIPTION="Unofficial build of the original Telegram client for Haiku."
HOMEPAGE="https://www.telegram.org/"
COPYRIGHT="2013-2024 Telegram"
LICENSE="GNU GPL v3"
REVISION="3"
REVISION="1"
SOURCE_URI="https://github.com/telegramdesktop/tdesktop/releases/download/v$portVersion/tdesktop-$portVersion-full.tar.gz"
CHECKSUM_SHA256="b7ef049f64aa7015753c3be158e1a38dafd5e4b58d69bed16aee2402d11ef394"
CHECKSUM_SHA256="4f5aa0f3abc0d82bb92b427f7b9faa41b9ceed937d66ff35a14e331404eeea10"
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"