mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
Telegram: bump version
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
From 6879ca63a8c68dd4aac994c9d6d94932ed778d02 Mon Sep 17 00:00:00 2001
|
||||
From 813cf525a99915b2506d0d800fc5a23e6dd6be14 Mon Sep 17 00:00:00 2001
|
||||
From: Gerasim Troeglazov <3dEyes@gmail.com>
|
||||
Date: Sun, 7 Jan 2024 23:12:01 +1000
|
||||
Date: Thu, 15 Feb 2024 21:43:27 +1000
|
||||
Subject: Add haiku support
|
||||
|
||||
|
||||
diff --git a/Telegram/ThirdParty/libtgvoip/VoIPController.cpp b/Telegram/ThirdParty/libtgvoip/VoIPController.cpp
|
||||
index 0c0e23b..c41ecd4 100644
|
||||
index 5a9731e..38e8bd7 100644
|
||||
--- a/Telegram/ThirdParty/libtgvoip/VoIPController.cpp
|
||||
+++ b/Telegram/ThirdParty/libtgvoip/VoIPController.cpp
|
||||
@@ -8,6 +8,9 @@
|
||||
@@ -18,7 +18,7 @@ index 0c0e23b..c41ecd4 100644
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
#include <wchar.h>
|
||||
@@ -3018,6 +3021,10 @@ double VoIPController::GetCurrentTime(){
|
||||
@@ -3015,6 +3018,10 @@ double VoIPController::GetCurrentTime(){
|
||||
struct timespec ts;
|
||||
clock_gettime(CLOCK_MONOTONIC, &ts);
|
||||
return ts.tv_sec+(double)ts.tv_nsec/1000000000.0;
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,6 @@
|
||||
From df064a728db60e65a8a45683497bdd4dd4763e54 Mon Sep 17 00:00:00 2001
|
||||
From 24cb2faa326f5c2950b83d07070764d678eb1343 Mon Sep 17 00:00:00 2001
|
||||
From: Gerasim Troeglazov <3dEyes@gmail.com>
|
||||
Date: Sun, 7 Jan 2024 23:12:59 +1000
|
||||
Date: Thu, 15 Feb 2024 21:47:54 +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 4f9db79..6df3d3c 100644
|
||||
index b8765cd..f8c9bfd 100644
|
||||
--- a/Telegram/CMakeLists.txt
|
||||
+++ b/Telegram/CMakeLists.txt
|
||||
@@ -91,6 +91,15 @@ PRIVATE
|
||||
@@ -157,7 +157,7 @@ index 4f9db79..6df3d3c 100644
|
||||
target_precompile_headers(Telegram PRIVATE $<$<COMPILE_LANGUAGE:CXX,OBJCXX>:${src_loc}/stdafx.h>)
|
||||
nice_target_sources(Telegram ${src_loc}
|
||||
PRIVATE
|
||||
@@ -1505,6 +1514,17 @@ if (NOT build_winstore)
|
||||
@@ -1510,6 +1519,17 @@ if (NOT build_winstore)
|
||||
)
|
||||
endif()
|
||||
|
||||
@@ -175,7 +175,7 @@ index 4f9db79..6df3d3c 100644
|
||||
if (DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION)
|
||||
remove_target_sources(Telegram ${src_loc}
|
||||
platform/linux/linux_wayland_integration.cpp
|
||||
@@ -1693,7 +1713,7 @@ else()
|
||||
@@ -1698,7 +1718,7 @@ else()
|
||||
set(bundle_identifier "com.tdesktop.Telegram")
|
||||
endif()
|
||||
set(bundle_entitlements "Telegram.entitlements")
|
||||
@@ -205,10 +205,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 0f70822..7d2fbbb 100644
|
||||
index 82aa7c4..b566a45 100644
|
||||
--- a/Telegram/SourceFiles/core/core_settings.h
|
||||
+++ b/Telegram/SourceFiles/core/core_settings.h
|
||||
@@ -913,7 +913,7 @@ private:
|
||||
@@ -957,7 +957,7 @@ private:
|
||||
rpl::variable<float64> _dialogsWidthRatio; // per-window
|
||||
rpl::variable<int> _thirdColumnWidth = kDefaultThirdColumnWidth; // p-w
|
||||
bool _notifyFromAll = true;
|
||||
@@ -683,7 +683,7 @@ 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 41828ed..9cb4c73 100644
|
||||
index 6c1690c..1503455 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
|
||||
@@ -731,7 +731,7 @@ index 41828ed..9cb4c73 100644
|
||||
|
||||
void PortalAutostart(bool enabled, Fn<void(bool)> done) {
|
||||
if (cExeName().isEmpty()) {
|
||||
@@ -477,6 +508,10 @@ bool AutostartSupported() {
|
||||
@@ -481,6 +512,10 @@ bool AutostartSupported() {
|
||||
}
|
||||
|
||||
void AutostartToggle(bool enabled, Fn<void(bool)> done) {
|
||||
@@ -742,7 +742,7 @@ index 41828ed..9cb4c73 100644
|
||||
if (KSandbox::isFlatpak()) {
|
||||
PortalAutostart(enabled, done);
|
||||
return;
|
||||
@@ -504,6 +539,7 @@ void AutostartToggle(bool enabled, Fn<void(bool)> done) {
|
||||
@@ -508,6 +543,7 @@ void AutostartToggle(bool enabled, Fn<void(bool)> done) {
|
||||
if (done) {
|
||||
done(enabled && success);
|
||||
}
|
||||
@@ -750,7 +750,7 @@ index 41828ed..9cb4c73 100644
|
||||
}
|
||||
|
||||
bool AutostartSkip() {
|
||||
@@ -569,7 +605,11 @@ QString psAppDataPath() {
|
||||
@@ -573,7 +609,11 @@ QString psAppDataPath() {
|
||||
}
|
||||
}
|
||||
|
||||
@@ -762,7 +762,7 @@ index 41828ed..9cb4c73 100644
|
||||
}
|
||||
|
||||
void psDoCleanup() {
|
||||
@@ -697,6 +737,7 @@ bool OpenSystemSettings(SystemSettingsType type) {
|
||||
@@ -701,6 +741,7 @@ bool OpenSystemSettings(SystemSettingsType type) {
|
||||
add("mate-volume-control");
|
||||
}
|
||||
}
|
||||
@@ -1032,7 +1032,7 @@ index efbfb72..9c82321 100644
|
||||
|
||||
#include "nnet_language_identifier.h"
|
||||
diff --git a/Telegram/lib_ui/ui/platform/linux/ui_utility_linux.cpp b/Telegram/lib_ui/ui/platform/linux/ui_utility_linux.cpp
|
||||
index 45b0791..e1c1851 100644
|
||||
index eda2916..24ec6ea 100644
|
||||
--- a/Telegram/lib_ui/ui/platform/linux/ui_utility_linux.cpp
|
||||
+++ b/Telegram/lib_ui/ui/platform/linux/ui_utility_linux.cpp
|
||||
@@ -413,7 +413,7 @@ void ShowXCBWindowMenu(not_null<QWidget*> widget, const QPoint &point) {
|
||||
@@ -1054,7 +1054,7 @@ index 45b0791..e1c1851 100644
|
||||
ShowWaylandWindowMenu(widget, point);
|
||||
return;
|
||||
diff --git a/Telegram/lib_ui/ui/ui_utility.cpp b/Telegram/lib_ui/ui/ui_utility.cpp
|
||||
index ded550d..95fb8bb 100644
|
||||
index 26b284f..5aa150c 100644
|
||||
--- a/Telegram/lib_ui/ui/ui_utility.cpp
|
||||
+++ b/Telegram/lib_ui/ui/ui_utility.cpp
|
||||
@@ -9,6 +9,10 @@
|
||||
@@ -1084,7 +1084,7 @@ index 3a79351..3c58540 100644
|
||||
#include <QtGui/QPainter>
|
||||
#include <QtGui/QScreen>
|
||||
diff --git a/Telegram/lib_webrtc/webrtc/details/webrtc_openal_adm.cpp b/Telegram/lib_webrtc/webrtc/details/webrtc_openal_adm.cpp
|
||||
index 5d73022..7876e88 100644
|
||||
index e51bffa..733f6b5 100644
|
||||
--- a/Telegram/lib_webrtc/webrtc/details/webrtc_openal_adm.cpp
|
||||
+++ b/Telegram/lib_webrtc/webrtc/details/webrtc_openal_adm.cpp
|
||||
@@ -4,6 +4,11 @@
|
||||
@@ -1100,7 +1100,7 @@ index 5d73022..7876e88 100644
|
||||
|
||||
#include "base/timer.h"
|
||||
diff --git a/Telegram/lib_webrtc/webrtc/webrtc_audio_input_tester.cpp b/Telegram/lib_webrtc/webrtc/webrtc_audio_input_tester.cpp
|
||||
index bb6d91a..3c4a188 100644
|
||||
index 6e19fcf..e7a6990 100644
|
||||
--- a/Telegram/lib_webrtc/webrtc/webrtc_audio_input_tester.cpp
|
||||
+++ b/Telegram/lib_webrtc/webrtc/webrtc_audio_input_tester.cpp
|
||||
@@ -4,6 +4,11 @@
|
||||
@@ -1114,7 +1114,7 @@ index bb6d91a..3c4a188 100644
|
||||
+
|
||||
#include "webrtc/webrtc_audio_input_tester.h"
|
||||
|
||||
#include "webrtc/webrtc_create_adm.h"
|
||||
#include "webrtc/webrtc_device_common.h"
|
||||
diff --git a/cmake/external/CMakeLists.txt b/cmake/external/CMakeLists.txt
|
||||
index 34181cc..85ee489 100644
|
||||
--- a/cmake/external/CMakeLists.txt
|
||||
@@ -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="7955c3f331af35244750a45d738689ea65b965f0ad5e87cef78ebb006afd7db3"
|
||||
CHECKSUM_SHA256="969b7e4d22229717ea7b210e3c429f25fd5d06ec61ef3030f993e8f912c1ebe6"
|
||||
SOURCE_FILENAME="tdesktop-$portVersion-full.tar.gz"
|
||||
SOURCE_DIR="tdesktop-$portVersion-full"
|
||||
srcGitRev_2="2b383fe05f8ae78ac99470b9a2b9ea22b3ee5a92"
|
||||
@@ -17,6 +17,7 @@ PATCHES="
|
||||
telegram_desktop-$portVersion.patchset
|
||||
pch_disable-$portVersion.patchset
|
||||
"
|
||||
|
||||
ADDITIONAL_FILES="telegram_desktop.rdef.in"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
Reference in New Issue
Block a user