mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
Telegram: bump version
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
From d99bac8566bde4de3b22a4b1bc55eb3104f9ee84 Mon Sep 17 00:00:00 2001
|
||||
From 09d43562e801c7083f2ec3558a52d26c4aeac2c1 Mon Sep 17 00:00:00 2001
|
||||
From: Gerasim Troeglazov <3dEyes@gmail.com>
|
||||
Date: Sat, 6 Nov 2021 22:22:40 +1000
|
||||
Date: Tue, 16 Nov 2021 20:01:25 +1000
|
||||
Subject: Add Haiku support
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
From 4b425710c606b47a1896a633c6cf8564525beb26 Mon Sep 17 00:00:00 2001
|
||||
From 1dbb4e5fe5af234301dbf51d81a7f99967acfb37 Mon Sep 17 00:00:00 2001
|
||||
From: Gerasim Troeglazov <3dEyes@gmail.com>
|
||||
Date: Sat, 6 Nov 2021 23:11:09 +1000
|
||||
Date: Tue, 16 Nov 2021 20:24:45 +1000
|
||||
Subject: Add Haiku support
|
||||
|
||||
|
||||
@@ -474,12 +474,12 @@ index 0000000..8605b28
|
||||
+} // namespace Notifications
|
||||
+} // namespace Platform
|
||||
diff --git a/Telegram/SourceFiles/platform/linux/specific_linux.cpp b/Telegram/SourceFiles/platform/linux/specific_linux.cpp
|
||||
index e81b144..8054a73 100644
|
||||
index 325e464..ed8feaa 100644
|
||||
--- a/Telegram/SourceFiles/platform/linux/specific_linux.cpp
|
||||
+++ b/Telegram/SourceFiles/platform/linux/specific_linux.cpp
|
||||
@@ -37,6 +37,10 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
#include "webview/platform/linux/webview_linux_webkit2gtk.h"
|
||||
#endif // !DESKTOP_APP_DISABLE_WEBKITGTK
|
||||
@@ -34,6 +34,10 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
#include "base/platform/linux/base_linux_xsettings.h"
|
||||
#endif // !DESKTOP_APP_DISABLE_X11_INTEGRATION
|
||||
|
||||
+#ifdef Q_OS_HAIKU
|
||||
+#include <base/haiku_types.h>
|
||||
@@ -488,7 +488,7 @@ index e81b144..8054a73 100644
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QStyle>
|
||||
#include <QtCore/QStandardPaths>
|
||||
@@ -47,7 +51,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
@@ -44,7 +48,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
|
||||
#ifdef Q_OS_FREEBSD
|
||||
#include <malloc_np.h>
|
||||
@@ -497,7 +497,7 @@ index e81b144..8054a73 100644
|
||||
#include <jemalloc/jemalloc.h>
|
||||
#endif // Q_OS_FREEBSD
|
||||
|
||||
@@ -73,8 +77,36 @@ using UiWaylandIntegration = Ui::Platform::WaylandIntegration;
|
||||
@@ -70,8 +74,36 @@ using UiWaylandIntegration = Ui::Platform::WaylandIntegration;
|
||||
using Platform::internal::WaylandIntegration;
|
||||
|
||||
namespace Platform {
|
||||
@@ -534,7 +534,7 @@ index e81b144..8054a73 100644
|
||||
constexpr auto kDesktopFile = ":/misc/telegramdesktop.desktop"_cs;
|
||||
constexpr auto kIconName = "telegram"_cs;
|
||||
constexpr auto kDarkColorLimit = 192;
|
||||
@@ -624,37 +656,6 @@ void psActivateProcess(uint64 pid) {
|
||||
@@ -621,37 +653,6 @@ void psActivateProcess(uint64 pid) {
|
||||
// objc_activateProgram();
|
||||
}
|
||||
|
||||
@@ -572,7 +572,7 @@ index e81b144..8054a73 100644
|
||||
QString psAppDataPath() {
|
||||
// Previously we used ~/.TelegramDesktop, so look there first.
|
||||
// If we find data there, we should still use it.
|
||||
@@ -668,8 +669,11 @@ QString psAppDataPath() {
|
||||
@@ -665,8 +666,11 @@ QString psAppDataPath() {
|
||||
return oldPath;
|
||||
}
|
||||
}
|
||||
@@ -585,7 +585,7 @@ index e81b144..8054a73 100644
|
||||
}
|
||||
|
||||
void psDoCleanup() {
|
||||
@@ -697,8 +701,9 @@ namespace Platform {
|
||||
@@ -694,8 +698,9 @@ namespace Platform {
|
||||
|
||||
void start() {
|
||||
auto backgroundThread = true;
|
||||
@@ -596,7 +596,7 @@ index e81b144..8054a73 100644
|
||||
// Prevent any later calls into setlocale() by Qt
|
||||
QCoreApplicationPrivate::initLocale();
|
||||
|
||||
@@ -830,7 +835,7 @@ bool OpenSystemSettings(SystemSettingsType type) {
|
||||
@@ -825,7 +830,7 @@ bool OpenSystemSettings(SystemSettingsType type) {
|
||||
} else if (DesktopEnvironment::IsMATE()) {
|
||||
add("mate-volume-control");
|
||||
}
|
||||
@@ -3,9 +3,9 @@ DESCRIPTION="Unofficial build of the original Telegram client for Haiku."
|
||||
HOMEPAGE="https://www.telegram.org/"
|
||||
COPYRIGHT="2013-2021 Telegram"
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="4"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/telegramdesktop/tdesktop/releases/download/v$portVersion/tdesktop-$portVersion-full.tar.gz"
|
||||
CHECKSUM_SHA256="f9b82a2133f8811ba465a54c70335b14c281eefe55668a7670522f3c5719fb9d"
|
||||
CHECKSUM_SHA256="4327a8765d4f7d15a609042ceb9f074917d1a822ae0a7f2793511d783ed63471"
|
||||
SOURCE_FILENAME="tdesktop-$portVersion-full.tar.gz"
|
||||
SOURCE_DIR="tdesktop-$portVersion-full"
|
||||
srcGitRev_2="2b383fe05f8ae78ac99470b9a2b9ea22b3ee5a92"
|
||||
Reference in New Issue
Block a user