Debian Patches

Status for telegram-desktop/5.7.2+ds-5

Patch Description Author Forwarded Bugs Origin Last update
1002-Revert-Workaround-cmake-bug-25222.patch Revert "Workaround cmake bug 25222" This wasted check is unnecessary in Debian since our version of the ms-gsl
package has the actual fix of infinite recursion inside std::optional.
.
https://github.com/desktop-app/cmake_helpers/commit/2440fc9e87b40b7224e927bfc3b914146d0cd4cf
no debian
1003-Fix-some-ffmpeg-7.x-related-errors.patch Fix some ffmpeg 7.x related errors xiota <github@mentalfossa.com> no 2024-11-04
1004-Compatibility-with-FFmpeg-8.patch Fix compatibility with FFmpeg 8 and cleanup old FFmpeg https://github.com/TelegramMessenger/tgcalls/commit/992d67db3bf183d954e1d1f6b3567d4d3f057f50 yes https://github.com/telegramdesktop/tdesktop/commit/b009f0637555970eb5471fc46d3d8a2d6cbfefe2 2025-12-05
1005-Include-cstring-for-missing-definition-of-std::memcpy.patch Include cstring for missing definition of std::memcpy on Qt 5.15.11 Zephyr Lykos <git@mochaa.ws> yes https://github.com/desktop-app/lib_tl/pull/1/commits/2a2d1784ce09017af0c5404570e40da108b43555 2026-04-15
1006-Fix-missing-include-for-int8_t-int16_t.patch Fix missing include for int8_t/int16_t (gcc-16) Sv. Lockal <lockalsash@gmail.com> yes debian upstream https://github.com/TelegramMessenger/tgcalls/pull/50/commits/6833e4b0a55974ca0d631ba6a5b158f89bf9ab97 2026-04-18
1007-Fix-build-with-Qt-6.9.patch Fix build with Qt 6.9 Antonio Rojas <arojas@archlinux.org> yes https://github.com/desktop-app/lib_base/commit/c952da37294b958e896b27528e7834f0892faa0a 2026-04-19
1008-Require-GuiPrivate-and-WidgetsPrivate-with-Qt-6.10.patch Require GuiPrivate and WidgetsPrivate with Qt 6.10 Ilya Fedin <fedin-ilja2010@ya.ru> yes https://github.com/desktop-app/cmake_helpers/commit/682f1b57047aaab74ea42e265913baf697dd5a66 2026-04-19
2002-Disable-register-custom-scheme.patch Do not write desktop entries on starting The present patch skips the registration of URL scheme at runtime. An already
packaged org.telegram.desktop.desktop file provides the needed features.
Nicholas Guriev <guriev-ns@ya.ru> no 2023-10-03
2004-Fix-undefined-names.patch Fixing build changes Nicholas Guriev <guriev-ns@ya.ru> yes 2023-02-17
2006-No-random-popups.patch More extensive use of "tabbed-panel-show-on-click" Extend the use of the experimental setting "Show tabbed panel by click" to the
bottom-right menu in the media viewer, to the speed controller in the video
player, to the ordering button in the audio player, and to the folder icon in
the settings.
Nicholas Guriev <guriev-ns@ya.ru> no 2025-11-19
2007-Packed-resources.patch Dynamically load packed resources from separate file This reduces amount of main memory required for linking stage. Nicholas Guriev <guriev-ns@ya.ru> yes 2023-12-28
2008-Really-disable-crash-reports.patch Exclude crash reports by means of macro Thanks to this I do not worry about backporting eliminated code. Nicholas Guriev <guriev-ns@ya.ru> yes 2025-11-19
2010-Skip-CLD3.patch Skip CLD3 integration because the library is currently unpackaged in Debian Nicholas Guriev <guriev-ns@ya.ru> no debian 2022-12-04
2012-Skip-RNNoise.patch RNNoise free build Nicholas Guriev <guriev-ns@ya.ru> yes debian 2021-07-29
2014-Include-libyuv.patch Include libyuv.h provided by the libyuv-dev package Nicholas Guriev <guriev-ns@ya.ru> no 2023-06-24
2015-System-wide-cppgir.patch Prefer packaged cppgir Nicholas Guriev <guriev-ns@ya.ru> yes 2024-01-08
2017-Log-system-info.patch Log system info So bug reports will contain more helpful information. In particular, which DE
is in use and current graphical protocol (X11 or Xwayland or Wayland).
Nicholas Guriev <guriev-ns@ya.ru> no 2023-09-13
2018-Prefer-Xwayland.patch Override default Qt platform Prefer X11 even under Wayland due to a number of visual issues with custom
window frame and other shortcomings of video chats (group calls).
.
Need Qt6 to fix these issues properly.
Nicholas Guriev <guriev-ns@ya.ru> not-needed 2025-11-19
2019-Generate-libprisma-grammars.patch Generate grammars.dat from Prism during build And consolidate dynamic resources into a single file. Nicholas Guriev <guriev-ns@ya.ru> no 2023-12-28
2022-XdgDesktopPortal.patch Unbundle links to XdgDesktopPortal DBus interfaces Nicholas Guriev <guriev-ns@ya.ru> no 2025-01-04
2023-Exclude-IV-resources.patch Exclude instant view resources The Instant View (IV) feature is unavailable in Linux, so minified JavaScript
which is not DFSG-compliant can be excluded.
Nicholas Guriev <guriev-ns@ya.ru> no 2025-11-20
2024-Include-minizip-dir.patch Fix minizip include due to minizip.pc change in zlib 1.3.2 zlib of version 1.3.2 removed /minizip suffix from the include path in their
pkg-config metadata and suggested to move to #include <minizip/(un)?zip.h>
.
Justification see at:
https://github.com/madler/zlib/commit/7e6f0784cc0c33e8d5fcb368248168c6656f73c8
Nicholas Guriev <guriev-ns@ya.ru> yes debian 2026-04-16
2025-Define-the-QT_VERSION-variable-in-any-case.patch Define the QT_VERSION variable in any case One may set the QT_VERSION_MAJOR variable in CMake arguments in order to force
using chosen Qt branch. On the other hand, dynamic definition of other
variables related to Qt version from the command line is a burdensome while in
the CMake script this can be done in a single line.
Nicholas Guriev <guriev-ns@ya.ru> no 2026-04-19
3001-Skip-Ada.patch Add an option to not build against Ada (C++ library known as ada-url) The library is used for TON sites integration. So this feature is unavailable
in backports.
Nicholas Guriev <guriev-ns@ya.ru> no 2025-12-02

All known versions for source package 'telegram-desktop'

Links