1
0

Accepting request 1113192 from server:messaging

OBS-URL: https://build.opensuse.org/request/show/1113192
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/telegram-desktop?expand=0&rev=95
This commit is contained in:
Ana Guerrero 2023-09-25 18:02:25 +00:00 committed by Git OBS Bridge
commit 6715932248
6 changed files with 14 additions and 40 deletions

View File

@ -1,19 +0,0 @@
--- Telegram/lib_ui/ui/widgets/popup_menu.cpp.orig 2022-11-12 11:12:02.000000000 +0000
+++ Telegram/lib_ui/ui/widgets/popup_menu.cpp 2022-12-05 07:53:47.978014760 +0000
@@ -637,14 +637,14 @@ bool PopupMenu::eventFilter(QObject *o,
event->device(),
event->touchPoints(),
event->timestamp()));
-#elif QT_VERSION < QT_VERSION_CHECK(6, 3, 0) // Qt < 6.0.0
+#elif QT_VERSION < QT_VERSION_CHECK(6, 2, 2) // Qt < 6.0.0
e->setAccepted(
QApplicationPrivate::translateRawTouchEvent(
this,
event->pointingDevice(),
const_cast<QList<QEventPoint> &>(event->points()),
event->timestamp()));
-#else // Qt < 6.3.0
+#else // Qt < 6.2.0
e->setAccepted(
QApplicationPrivate::translateRawTouchEvent(this, event));
#endif

View File

@ -1,11 +0,0 @@
--- Telegram/lib_base/base/platform/linux/base_network_reachability_linux.cpp.orig 2023-08-31 20:40:42.000000000 +0200
+++ Telegram/lib_base/base/platform/linux/base_network_reachability_linux.cpp 2023-09-13 17:12:47.816243460 +0200
@@ -20,7 +20,7 @@ public:
, _available(_monitor->get_network_available()) {
_monitor->property_network_available(
).signal_changed(
- ).connect(sigc::track_object([=] {
+ ).connect(sigc::track_obj([=] {
_available = _monitor->get_network_available();
}, *this));
}

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c1f7d226ea50de0742b7a273f504da9168293c4feb77ef3f4a542339c5a7f804
size 67751774

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:54af8df5a0325c9b4d36dd0750f6af1ce624be56428baaf3c22f06d1e01b053f
size 73746927

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Sat Sep 23 09:27:12 UTC 2023 - Dmitry Roshchin <dmitry_r@opensuse.org>
- Updated to 4.10.0
* Stories for Channels.
* Reaction Stickers in Stories.
- Drop 0005-qt6-fixes.patch
- Drop 0006-sigc-track_obj.patch
-------------------------------------------------------------------
Wed Sep 20 10:20:01 UTC 2023 - Manfred Hollstein <manfred.h@gmx.net>

View File

@ -34,7 +34,7 @@
%define qt_major_version 6
Name: telegram-desktop
Version: 4.9.9
Version: 4.10.0
Release: 0
Summary: Messaging application with a focus on speed and security
License: GPL-3.0-only
@ -61,9 +61,6 @@ Patch4: 0004-use-dynamic-x-libraries.patch
# https://github.com/desktop-app/lib_base.git 3582bca53a1e195a31760978dc41f67ce44fc7e4
# but tdesktop itself still falls short, and it looks to be something
# that would affect all ILP32 platforms.
# PATCH-FIX-OPENSUSE
Patch5: 0005-qt6-fixes.patch
Patch6: 0006-sigc-track_obj.patch
ExcludeArch: %ix86 aarch64_ilp32 ppc riscv32
BuildRequires: appstream-glib
BuildRequires: chrpath
@ -88,7 +85,6 @@ BuildRequires: glibc-devel
BuildRequires: libboost_program_options-devel
BuildRequires: libjpeg-devel
BuildRequires: liblz4-devel
BuildRequires: libwebrtc_audio_processing-devel
BuildRequires: ninja
BuildRequires: pkgconfig
BuildRequires: unzip
@ -108,6 +104,7 @@ BuildRequires: cmake(Qt%{qt_major_version}Quick)
BuildRequires: cmake(Qt%{qt_major_version}Svg)
BuildRequires: cmake(Qt%{qt_major_version}WaylandClient)
BuildRequires: cmake(Qt%{qt_major_version}Widgets)
BuildRequires: pkgconfig(webrtc-audio-processing-1)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xcomposite)
BuildRequires: pkgconfig(xdamage)
@ -224,8 +221,6 @@ The service also provides APIs to independent developers.
%patch1 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p0
%patch6 -p0
mkdir ../Libraries
# If not TW, unpack rnnoise source