Telegram: bump version

This commit is contained in:
Gerasim Troeglazov
2025-02-05 15:00:38 +10:00
parent 3507fb4e3d
commit 96beb08962
4 changed files with 42 additions and 15 deletions

View File

@@ -1,6 +1,6 @@
From c3951a57c92553cff922a3ff14fbfbe778ce5ab6 Mon Sep 17 00:00:00 2001
From 3a2543a615c1161ee684dc13db777dc5cf7a19ad Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
Date: Thu, 23 Jan 2025 23:27:06 +0000
Date: Tue, 4 Feb 2025 21:54:33 +1000
Subject: Add haiku support

View File

@@ -1,6 +1,6 @@
From 555f9a9518b9d7ea8280f41a69d887a7be1bf2d8 Mon Sep 17 00:00:00 2001
From cb6d03143013a1cf2b2ad96449eeabfbf6f12355 Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
Date: Thu, 23 Jan 2025 23:28:09 +0000
Date: Tue, 4 Feb 2025 21:55:34 +1000
Subject: Add haiku support
@@ -321,12 +321,12 @@ index f314fb0..331db8a 100644
}
diff --git a/Telegram/SourceFiles/platform/linux/integration_linux.cpp b/Telegram/SourceFiles/platform/linux/integration_linux.cpp
index e048a2d..508199a 100644
index 147a9f0..111b33f 100644
--- a/Telegram/SourceFiles/platform/linux/integration_linux.cpp
+++ b/Telegram/SourceFiles/platform/linux/integration_linux.cpp
@@ -19,12 +19,18 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
@@ -18,12 +18,18 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include <QtCore/QAbstractEventDispatcher>
#include <QtGui/QStyleHints>
+#ifndef Q_OS_HAIKU
#include <gio/gio.hpp>
@@ -343,7 +343,7 @@ index e048a2d..508199a 100644
using namespace gi::repository;
namespace GObject = gi::repository::GObject;
@@ -317,7 +323,7 @@ void LinuxIntegration::initInhibit() {
@@ -286,7 +292,7 @@ void LinuxIntegration::initInhibit() {
}),
nullptr);
}
@@ -672,7 +672,7 @@ index 0000000..ed9f6a7
+} // namespace Notifications
+} // namespace Platform
diff --git a/Telegram/SourceFiles/platform/linux/specific_linux.cpp b/Telegram/SourceFiles/platform/linux/specific_linux.cpp
index 19b0c68..0cd0839 100644
index c460d1e..771dc33 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
@@ -720,7 +720,7 @@ index 19b0c68..0cd0839 100644
using namespace gi::repository;
namespace GObject = gi::repository::GObject;
@@ -544,6 +575,10 @@ bool AutostartSupported() {
@@ -550,6 +581,10 @@ bool AutostartSupported() {
}
void AutostartToggle(bool enabled, Fn<void(bool)> done) {
@@ -731,7 +731,7 @@ index 19b0c68..0cd0839 100644
if (KSandbox::isFlatpak()) {
PortalAutostart(enabled, done);
return;
@@ -571,6 +606,7 @@ void AutostartToggle(bool enabled, Fn<void(bool)> done) {
@@ -577,6 +612,7 @@ void AutostartToggle(bool enabled, Fn<void(bool)> done) {
if (done) {
done(enabled && success);
}
@@ -739,7 +739,7 @@ index 19b0c68..0cd0839 100644
}
bool AutostartSkip() {
@@ -623,7 +659,11 @@ QString psAppDataPath() {
@@ -629,7 +665,11 @@ QString psAppDataPath() {
}
}
@@ -751,7 +751,7 @@ index 19b0c68..0cd0839 100644
}
void psDoCleanup() {
@@ -733,6 +773,7 @@ bool OpenSystemSettings(SystemSettingsType type) {
@@ -739,6 +779,7 @@ bool OpenSystemSettings(SystemSettingsType type) {
}
options.push_back(std::move(command));
};
@@ -759,7 +759,7 @@ index 19b0c68..0cd0839 100644
add("unity-control-center", "sound");
add("kcmshell6", "kcm_pulseaudio");
add("kcmshell5", "kcm_pulseaudio");
@@ -742,7 +783,7 @@ bool OpenSystemSettings(SystemSettingsType type) {
@@ -748,7 +789,7 @@ bool OpenSystemSettings(SystemSettingsType type) {
add("mate-volume-control");
add("pavucontrol-qt");
add("pavucontrol");
@@ -1163,3 +1163,30 @@ index 58f2503..65dbe67 100644
--
2.45.2
From 14dd85dabc50121f676831781810159e900ed996 Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
Date: Tue, 4 Feb 2025 23:15:07 +1000
Subject: Fix build
diff --git a/Telegram/SourceFiles/platform/linux/notifications_manager_haiku.cpp b/Telegram/SourceFiles/platform/linux/notifications_manager_haiku.cpp
index ed9f6a7..0d7526d 100644
--- a/Telegram/SourceFiles/platform/linux/notifications_manager_haiku.cpp
+++ b/Telegram/SourceFiles/platform/linux/notifications_manager_haiku.cpp
@@ -106,8 +106,10 @@ void MaybeFlashBounceForCustom(Fn<void()> flashBounce) {
void Create(Window::Notifications::System *system) {
if (Core::App().settings().nativeNotifications() && Supported()) {
- auto result = std::make_unique<Manager>(system);
- system->setManager(std::move(result));
+ system->setManager([=] {
+ auto manager = std::make_unique<Manager>(system);
+ return manager;
+ });
return;
}
system->setManager(nullptr);
--
2.45.2

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="97b6df3d9525b72377e9d844378689936d03664ab26c682c55a10c1bd0319744"
CHECKSUM_SHA256="37f5f4108ca052a670a6b28e6eecf7afbc1bccbc562997cf9c89c0c725d96c1e"
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"