pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
telegram-desktop: update to 7.1.3
Module Name: pkgsrc-wip
Committed By: Alexander Kondrat <a%kondrat.su@localhost>
Pushed By: a.kondrat
Date: Thu Aug 27 23:37:33 2026 +0300
Changeset: 11d87d1efc4182ec47edf29d4ebefe37c6edce32
Modified Files:
telegram-desktop/Makefile
telegram-desktop/distinfo
telegram-desktop/patches/patch-Telegram_lib_ui_ui_ui__utility.cpp
Removed Files:
telegram-desktop/patches/patch-Telegram_lib_spellcheck_spellcheck_third__party_hunspell__controller.cpp
Log Message:
telegram-desktop: update to 7.1.3
Upstream changes:
* Add welcome messages for groups and channels.
* Add buttons and file blocks to rich messages.
* Improve lists, tables and markdown pasting in the rich editor.
* Add self-destruct timers and single view for photos and videos.
* Add video profile photos for yourself, chats and channels.
* Add video editor with trimming, quality and cover frame.
* Add restoring of opened windows and chats on relaunch.
* Add sending of music files in the attach menu.
* Add new WEB proxy type to connection settings.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=11d87d1efc4182ec47edf29d4ebefe37c6edce32
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
telegram-desktop/Makefile | 2 +-
telegram-desktop/distinfo | 9 +++---
...pellcheck_third__party_hunspell__controller.cpp | 36 ----------------------
.../patch-Telegram_lib_ui_ui_ui__utility.cpp | 33 ++++++++++----------
4 files changed, 22 insertions(+), 58 deletions(-)
diffs:
diff --git a/telegram-desktop/Makefile b/telegram-desktop/Makefile
index df6e96ef51..e4605dc16d 100644
--- a/telegram-desktop/Makefile
+++ b/telegram-desktop/Makefile
@@ -3,7 +3,7 @@
GITHUB_PROJECT= tdesktop
GITHUB_RELEASE= v${TD_VERSION}
DIST_SUBDIR= tdesktop
-TD_VERSION= 7.0.9
+TD_VERSION= 7.1.3
DISTNAME= tdesktop-${TD_VERSION}-full
PKGNAME= telegram-desktop-${TD_VERSION}
CATEGORIES= chat
diff --git a/telegram-desktop/distinfo b/telegram-desktop/distinfo
index 7060ea165e..6b3493cecc 100644
--- a/telegram-desktop/distinfo
+++ b/telegram-desktop/distinfo
@@ -1,12 +1,11 @@
$NetBSD$
-BLAKE2s (tdesktop/tdesktop-7.0.9-full.tar.gz) = d280277d74932694c003b7dcc5ef9958e4b7e15ec7672d334aa4abdc712a326d
-SHA512 (tdesktop/tdesktop-7.0.9-full.tar.gz) = c5e97a146c903b3398b53a7451d86efcbb5f87a989586d20753c83e2cb1452b964ab1175b88977eb590b04bcffc14fc678eb9f6a629b7f6f7af522a0da811780
-Size (tdesktop/tdesktop-7.0.9-full.tar.gz) = 81403059 bytes
+BLAKE2s (tdesktop/tdesktop-7.1.3-full.tar.gz) = fa55a03ec45a061ce88f3cb53d1abbc1daa829f138ee14ad24aee1129158c576
+SHA512 (tdesktop/tdesktop-7.1.3-full.tar.gz) = 685053c96ac3eafb03cefe3b50e3429d6aa0046b6a12cd15b3d9ed5ce572fa283cc380aa05990d815e32ca67055e3a0d1e824de9ed82c1917ed9b2c18edfb2b4
+Size (tdesktop/tdesktop-7.1.3-full.tar.gz) = 81493031 bytes
SHA1 (patch-Telegram_SourceFiles_boxes_star__gift__preview__box.cpp) = 754e2b8a938094821aff3c9bc8fed506cdf37ccc
SHA1 (patch-Telegram_SourceFiles_platform_linux_notifications__manager__linux.cpp) = 4684ab209324e3aaf38f9e8ee137ef005cde4e4e
SHA1 (patch-Telegram_ThirdParty_cmark-gfm_CMakeLists.txt) = e3661bc5f44d60e31b70d37c6bb9438225ecfdf7
SHA1 (patch-Telegram_lib__base_base_platform_linux_base__linux__xcb__library.cpp) = 3ede412d4c7ddfd8e98ed5fc4322ba5c8aa664b8
-SHA1 (patch-Telegram_lib_spellcheck_spellcheck_third__party_hunspell__controller.cpp) = 179db7954e4b012a4b0e698d0d4fcb802a9a90be
-SHA1 (patch-Telegram_lib_ui_ui_ui__utility.cpp) = c11a7339384227e1ca32f29edc00d8fa711894b9
+SHA1 (patch-Telegram_lib_ui_ui_ui__utility.cpp) = cb715204bb0e3d8ba0ed78886ba569271452c01d
SHA1 (patch-cmake_options.cmake) = fbc8e9aecffb8a23cf40ed050935f845f00739b0
diff --git a/telegram-desktop/patches/patch-Telegram_lib_spellcheck_spellcheck_third__party_hunspell__controller.cpp b/telegram-desktop/patches/patch-Telegram_lib_spellcheck_spellcheck_third__party_hunspell__controller.cpp
deleted file mode 100644
index 11892e1231..0000000000
--- a/telegram-desktop/patches/patch-Telegram_lib_spellcheck_spellcheck_third__party_hunspell__controller.cpp
+++ /dev/null
@@ -1,36 +0,0 @@
-$NetBSD$
-
-Replace ranges::views::chunk_by with manual grouping — range-v3 0.10.0
-(pkgsrc version) does not have chunk_by, added in range-v3 0.11.0.
-
---- Telegram/lib_spellcheck/spellcheck/third_party/hunspell_controller.cpp.orig 2026-08-02 18:36:14.504239967 +0300
-+++ Telegram/lib_spellcheck/spellcheck/third_party/hunspell_controller.cpp 2026-08-02 19:04:17.716375191 +0300
-@@ -574,13 +574,21 @@
- });
-
- // {{"a"}, {"β"}};
-- auto groupedWords = ranges::views::all(
-- filteredWords
-- ) | ranges::views::chunk_by([](auto &a, auto &b) {
-- return WordScript(a) == WordScript(b);
-- }) | ranges::views::transform([](auto &&rng) {
-- return rng | ranges::to_vector;
-- }) | ranges::to_vector;
-+ auto groupedWordsVec = filteredWords | ranges::to_vector;
-+ std::vector<std::vector<QString>> groupedWordsResult;
-+ if (!groupedWordsVec.empty()) {
-+ auto currentGroup = std::vector<QString>{ groupedWordsVec.front() };
-+ for (auto it = std::next(groupedWordsVec.begin()); it != groupedWordsVec.end(); ++it) {
-+ if (WordScript(*std::prev(it)) == WordScript(*it)) {
-+ currentGroup.push_back(*it);
-+ } else {
-+ groupedWordsResult.push_back(std::move(currentGroup));
-+ currentGroup = std::vector<QString>{ *it };
-+ }
-+ }
-+ groupedWordsResult.push_back(std::move(currentGroup));
-+ }
-+ auto &groupedWords = groupedWordsResult;
-
- // {QChar::Script_Latin, QChar::Script_Greek};
- auto scripts = ranges::views::all(
diff --git a/telegram-desktop/patches/patch-Telegram_lib_ui_ui_ui__utility.cpp b/telegram-desktop/patches/patch-Telegram_lib_ui_ui_ui__utility.cpp
index 1a1df7d24c..6804965e9a 100644
--- a/telegram-desktop/patches/patch-Telegram_lib_ui_ui_ui__utility.cpp
+++ b/telegram-desktop/patches/patch-Telegram_lib_ui_ui_ui__utility.cpp
@@ -2,20 +2,21 @@ $NetBSD$
On X11, Qt6 synthesizes pixelDelta from angleDelta with unreliable
scaling, causing one mouse wheel notch to scroll multiple screens.
-Only use pixelDelta on Wayland or touchpad input; fall through to
-angleDelta for mouse wheel events on X11, which normalizes to 120
-per notch.
+Upstream 7.1.x switched the check to the device PixelScroll
+capability, which Qt may set for X11 mice; keep pixelDelta restricted
+to Wayland or touch input so X11 mouse wheel events fall through to
+angleDelta, which normalizes to 120 per notch.
---- Telegram/lib_ui/ui/ui_utility.cpp.orig 2026-08-18 17:00:00.304299587 +0300
-+++ Telegram/lib_ui/ui/ui_utility.cpp
-@@ -278,7 +278,9 @@
- && !touch
- && (e->phase() == Qt::NoScrollPhase)
- && !e->angleDelta().isNull();
-- if (!ignorePixels && !e->pixelDelta().isNull()) {
-+ if (!ignorePixels
-+ && !e->pixelDelta().isNull()
-+ && (::Platform::IsWayland() || touch)) {
- return convert(e->pixelDelta())
- * ((::Platform::IsWayland() && !touch)
- ? kMagicScrollMultiplier
+--- Telegram/lib_ui/ui/ui_utility.cpp.orig 2026-08-27 22:25:26.248389791 +0300
++++ Telegram/lib_ui/ui/ui_utility.cpp 2026-08-27 22:26:08.876430172 +0300
+@@ -274,7 +274,9 @@
+ };
+ #if QT_VERSION >= QT_VERSION_CHECK(6, 2, 0)
+ using QInputDevice::Capability::PixelScroll;
+- if (touch || e->device()->capabilities().testFlag(PixelScroll)) {
++ if (touch
++ || (e->device()->capabilities().testFlag(PixelScroll)
++ && ::Platform::IsWayland())) {
+ #else // Qt >= 6.2.0
+ if (!e->pixelDelta().isNull()) {
+ #endif // Qt < 6.2.0
Home |
Main Index |
Thread Index |
Old Index