diff --git a/0005-qt6-fixes.patch b/0005-qt6-fixes.patch deleted file mode 100644 index 8b6e325..0000000 --- a/0005-qt6-fixes.patch +++ /dev/null @@ -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 &>(event->points()), - event->timestamp())); --#else // Qt < 6.3.0 -+#else // Qt < 6.2.0 - e->setAccepted( - QApplicationPrivate::translateRawTouchEvent(this, event)); - #endif diff --git a/0006-sigc-track_obj.patch b/0006-sigc-track_obj.patch deleted file mode 100644 index 61255f3..0000000 --- a/0006-sigc-track_obj.patch +++ /dev/null @@ -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)); - } diff --git a/tdesktop-4.10.0-full.tar.gz b/tdesktop-4.10.0-full.tar.gz new file mode 100644 index 0000000..65de78a --- /dev/null +++ b/tdesktop-4.10.0-full.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c1f7d226ea50de0742b7a273f504da9168293c4feb77ef3f4a542339c5a7f804 +size 67751774 diff --git a/tdesktop-4.9.9-full.tar.gz b/tdesktop-4.9.9-full.tar.gz deleted file mode 100644 index bb92dc2..0000000 --- a/tdesktop-4.9.9-full.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:54af8df5a0325c9b4d36dd0750f6af1ce624be56428baaf3c22f06d1e01b053f -size 73746927 diff --git a/telegram-desktop.changes b/telegram-desktop.changes index 94a58c9..5f9513e 100644 --- a/telegram-desktop.changes +++ b/telegram-desktop.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Sat Sep 23 09:27:12 UTC 2023 - Dmitry Roshchin + +- 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 diff --git a/telegram-desktop.spec b/telegram-desktop.spec index 92b5c6e..fce186a 100644 --- a/telegram-desktop.spec +++ b/telegram-desktop.spec @@ -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