Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Apr 2024 20:45:13 GMT
From:      "Sergey A. Osokin" <osa@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 28e248a289f9 - main - net-im/telegram-desktop: update 4.15.2 -> 4.16.2
Message-ID:  <202404052045.435KjDOm038922@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by osa:

URL: https://cgit.FreeBSD.org/ports/commit/?id=28e248a289f97c6311190e2ed8c827695cdb342d

commit 28e248a289f97c6311190e2ed8c827695cdb342d
Author:     Sergey A. Osokin <osa@FreeBSD.org>
AuthorDate: 2024-04-05 20:44:45 +0000
Commit:     Sergey A. Osokin <osa@FreeBSD.org>
CommitDate: 2024-04-05 20:44:45 +0000

    net-im/telegram-desktop: update 4.15.2 -> 4.16.2
---
 .../files/patch-Telegram_SourceFiles_iv_iv__data.cpp    | 11 +++++++++++
 ...am_SourceFiles_platform_linux_integration__linux.cpp | 10 ----------
 ...egram_SourceFiles_platform_linux_specific__linux.cpp | 17 +++++++++--------
 ...base_platform_linux_base__file__utilities__linux.cpp | 10 ----------
 ...base_platform_linux_base__linux__dbus__utilities.cpp | 10 ----------
 ...platform_linux_base__power__save__blocker__linux.cpp | 10 ----------
 ...ase_base_platform_linux_base__url__scheme__linux.cpp | 10 ----------
 7 files changed, 20 insertions(+), 58 deletions(-)

diff --git a/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_iv_iv__data.cpp b/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_iv_iv__data.cpp
new file mode 100644
index 000000000000..a9114118f1a6
--- /dev/null
+++ b/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_iv_iv__data.cpp
@@ -0,0 +1,11 @@
+--- Telegram/SourceFiles/iv/iv_data.cpp.orig	2024-04-03 14:15:01 UTC
++++ Telegram/SourceFiles/iv/iv_data.cpp
+@@ -25,7 +25,7 @@ QByteArray GeoPointId(Geo point) {
+ 	const auto lon = int(point.lon * 1000000);
+ 	const auto combined = (std::uint64_t(std::uint32_t(lat)) << 32)
+ 		| std::uint64_t(std::uint32_t(lon));
+-	return QByteArray::number(combined)
++	return QByteArray::number(quint64(combined))
+ 		+ ','
+ 		+ QByteArray::number(point.access);
+ }
diff --git a/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_platform_linux_integration__linux.cpp b/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_platform_linux_integration__linux.cpp
deleted file mode 100644
index be6fdee9df7d..000000000000
--- a/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_platform_linux_integration__linux.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
---- Telegram/SourceFiles/platform/linux/integration_linux.cpp.orig	2024-03-08 23:40:11 UTC
-+++ Telegram/SourceFiles/platform/linux/integration_linux.cpp
-@@ -27,6 +27,7 @@ namespace Platform {
- namespace {
- 
- using namespace gi::repository;
-+namespace GObject = gi::repository::GObject;
- 
- class Application : public Gio::impl::ApplicationImpl {
- public:
diff --git a/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_platform_linux_specific__linux.cpp b/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_platform_linux_specific__linux.cpp
index 2ed4d5d585a2..8ec527539486 100644
--- a/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_platform_linux_specific__linux.cpp
+++ b/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_platform_linux_specific__linux.cpp
@@ -1,10 +1,11 @@
---- Telegram/SourceFiles/platform/linux/specific_linux.cpp.orig	2024-03-08 21:33:12 UTC
+--- Telegram/SourceFiles/platform/linux/specific_linux.cpp.orig	2024-04-05 17:15:54 UTC
 +++ Telegram/SourceFiles/platform/linux/specific_linux.cpp
-@@ -55,6 +55,7 @@ https://github.com/telegramdesktop/tdesktop/blob/maste
- namespace {
+@@ -510,7 +510,7 @@ QString SingleInstanceLocalServerName(const QString &h
+ 
+ #if QT_VERSION < QT_VERSION_CHECK(6, 5, 0)
+ std::optional<bool> IsDarkMode() {
+-	const auto result = base::Platform::XDP::ReadSetting(
++	auto result = base::Platform::XDP::ReadSetting(
+ 		"org.freedesktop.appearance",
+ 		"color-scheme");
  
- using namespace gi::repository;
-+namespace GObject = gi::repository::GObject;
- namespace Gio = gi::repository::Gio;
- using namespace Platform;
- using Platform::internal::WaylandIntegration;
diff --git a/net-im/telegram-desktop/files/patch-Telegram_lib__base_base_platform_linux_base__file__utilities__linux.cpp b/net-im/telegram-desktop/files/patch-Telegram_lib__base_base_platform_linux_base__file__utilities__linux.cpp
deleted file mode 100644
index 92ce398fd97f..000000000000
--- a/net-im/telegram-desktop/files/patch-Telegram_lib__base_base_platform_linux_base__file__utilities__linux.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
---- Telegram/lib_base/base/platform/linux/base_file_utilities_linux.cpp.orig	2024-03-08 22:07:09 UTC
-+++ Telegram/lib_base/base/platform/linux/base_file_utilities_linux.cpp
-@@ -30,6 +30,7 @@ namespace base::Platform {
- namespace {
- 
- using namespace gi::repository;
-+namespace GObject = gi::repository::GObject;
- 
- void PortalShowInFolder(const QString &filepath, Fn<void()> fail) {
- 	XdpOpenURI::OpenURIProxy::new_for_bus(
diff --git a/net-im/telegram-desktop/files/patch-Telegram_lib__base_base_platform_linux_base__linux__dbus__utilities.cpp b/net-im/telegram-desktop/files/patch-Telegram_lib__base_base_platform_linux_base__linux__dbus__utilities.cpp
deleted file mode 100644
index e8dde3491c78..000000000000
--- a/net-im/telegram-desktop/files/patch-Telegram_lib__base_base_platform_linux_base__linux__dbus__utilities.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
---- Telegram/lib_base/base/platform/linux/base_linux_dbus_utilities.cpp.orig	2024-03-08 22:01:55 UTC
-+++ Telegram/lib_base/base/platform/linux/base_linux_dbus_utilities.cpp
-@@ -12,6 +12,7 @@ namespace base::Platform::DBus {
- namespace {
- 
- using namespace gi::repository;
-+namespace GObject = gi::repository::GObject;
- 
- gi::result<XdgDBus::DBus> MakeInterface(const GDBusConnection *connection) {
- 	return XdgDBus::DBusProxy::new_sync(
diff --git a/net-im/telegram-desktop/files/patch-Telegram_lib__base_base_platform_linux_base__power__save__blocker__linux.cpp b/net-im/telegram-desktop/files/patch-Telegram_lib__base_base_platform_linux_base__power__save__blocker__linux.cpp
deleted file mode 100644
index 08d2da45e124..000000000000
--- a/net-im/telegram-desktop/files/patch-Telegram_lib__base_base_platform_linux_base__power__save__blocker__linux.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
---- Telegram/lib_base/base/platform/linux/base_power_save_blocker_linux.cpp.orig	2024-03-08 22:11:02 UTC
-+++ Telegram/lib_base/base/platform/linux/base_power_save_blocker_linux.cpp
-@@ -26,6 +26,7 @@ namespace base::Platform {
- namespace {
- 
- using namespace gi::repository;
-+namespace GObject = gi::repository::GObject;
- 
- #ifndef DESKTOP_APP_DISABLE_X11_INTEGRATION
- constexpr auto kResetScreenSaverTimeout = 10 * crl::time(1000);
diff --git a/net-im/telegram-desktop/files/patch-Telegram_lib__base_base_platform_linux_base__url__scheme__linux.cpp b/net-im/telegram-desktop/files/patch-Telegram_lib__base_base_platform_linux_base__url__scheme__linux.cpp
deleted file mode 100644
index 038652f16e38..000000000000
--- a/net-im/telegram-desktop/files/patch-Telegram_lib__base_base_platform_linux_base__url__scheme__linux.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
---- Telegram/lib_base/base/platform/linux/base_url_scheme_linux.cpp.orig	2024-03-08 21:53:47 UTC
-+++ Telegram/lib_base/base/platform/linux/base_url_scheme_linux.cpp
-@@ -22,6 +22,7 @@ namespace base::Platform {
- namespace {
- 
- using namespace gi::repository;
-+namespace GObject = gi::repository::GObject;
- 
- void SnapDefaultHandler(const QString &protocol) {
-     Snapcraft::SettingsProxy::new_for_bus(



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404052045.435KjDOm038922>