rebuilt by autoport with build requirements: qt6-qtbase-devel>=0:6.9.0-1mamba [release 5.13.1-2mamba;Mon Apr 07 2025]
This commit is contained in:
parent
36474615ac
commit
db886d4f2b
37
telegram-5.13.1-qt6-qtbase-6.9.0.patch
Normal file
37
telegram-5.13.1-qt6-qtbase-6.9.0.patch
Normal file
@ -0,0 +1,37 @@
|
||||
From 3ad1b3cac8850812815058b31c0c025d975d3664 Mon Sep 17 00:00:00 2001
|
||||
From: Antonio Rojas <arojas@archlinux.org>
|
||||
Date: Sat, 1 Mar 2025 01:20:04 +0100
|
||||
Subject: [PATCH] Fix build with Qt 6.9
|
||||
|
||||
---
|
||||
base/platform/linux/base_linux_xdp_utilities.cpp | 8 ++++++++
|
||||
1 file changed, 8 insertions(+)
|
||||
|
||||
diff --git a/base/platform/linux/base_linux_xdp_utilities.cpp b/base/platform/linux/base_linux_xdp_utilities.cpp
|
||||
index 8aca67c9..80626af1 100644
|
||||
--- a/base/platform/linux/base_linux_xdp_utilities.cpp
|
||||
+++ b/base/platform/linux/base_linux_xdp_utilities.cpp
|
||||
@@ -16,7 +16,11 @@
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 5, 0)
|
||||
#include <qpa/qplatformintegration.h>
|
||||
#include <private/qguiapplication_p.h>
|
||||
+#if QT_VERSION >= QT_VERSION_CHECK(6, 9, 0)
|
||||
+#include <private/qdesktopunixservices_p.h>
|
||||
+#else
|
||||
#include <private/qgenericunixservices_p.h>
|
||||
+#endif // Qt >= 6.9.0
|
||||
#endif // Qt >= 6.5.0
|
||||
|
||||
#include <sstream>
|
||||
@@ -39,7 +43,11 @@ std::string ParentWindowID(QWindow *window) {
|
||||
}
|
||||
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 5, 0)
|
||||
+#if QT_VERSION >= QT_VERSION_CHECK(6, 9, 0)
|
||||
+ if (const auto services = dynamic_cast<QDesktopUnixServices*>(
|
||||
+#else
|
||||
if (const auto services = dynamic_cast<QGenericUnixServices*>(
|
||||
+#endif // Qt >= 6.9.0
|
||||
QGuiApplicationPrivate::platformIntegration()->services())) {
|
||||
return services->portalWindowIdentifier(window).toStdString();
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
Name: telegram
|
||||
Epoch: 1
|
||||
Version: 5.13.1
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: The official desktop client for the Telegram messenger
|
||||
Group: Graphical Desktop/Applications/Internet
|
||||
Vendor: openmamba
|
||||
@ -11,6 +11,7 @@ URL: https://telegram.org/
|
||||
Source: https://github.com/telegramdesktop/tdesktop/releases/download/v%{version}/tdesktop-%{version}-full.tar.gz
|
||||
Source1: telegramdesktop.desktop
|
||||
Source2: tg.protocol
|
||||
Patch0: telegram-5.13.1-qt6-qtbase-6.9.0.patch
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
@ -60,7 +61,7 @@ BuildRequires: qt6-qtdeclarative-devel
|
||||
BuildRequires: qt6-qtsvg-devel
|
||||
BuildRequires: qt6-qtwayland-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: qt6-qtbase-devel >= 0:6.8.2-1mamba
|
||||
BuildRequires: qt6-qtbase-devel >= 0:6.9.0-1mamba
|
||||
BuildRequires: libada-devel
|
||||
BuildRequires: libtg_owt-devel >= 0.1.20230105git
|
||||
BuildRequires: libabseil-cpp-devel >= 20230125.0
|
||||
@ -89,6 +90,7 @@ The official desktop client for the Telegram messenger.
|
||||
%prep
|
||||
%setup -q -n tdesktop-%{version}-full
|
||||
#-D -T
|
||||
%patch 0 -d Telegram/lib_base -p1 -b .qt6-qtbase-6.9.0
|
||||
|
||||
rm -rf Telegram/ThirdParty/libtgvoip/webrtc_dsp/absl
|
||||
|
||||
@ -130,6 +132,9 @@ DESTDIR=%{buildroot} ninja -C build install
|
||||
%doc LICENSE LEGAL
|
||||
|
||||
%changelog
|
||||
* Mon Apr 07 2025 Automatic Build System <autodist@mambasoft.it> 5.13.1-2mamba
|
||||
- rebuilt by autoport with build requirements: qt6-qtbase-devel>=0:6.9.0-1mamba
|
||||
|
||||
* Fri Mar 28 2025 Automatic Build System <autodist@openmamba.org> 5.13.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user