Debian Patches

Status for telegram-desktop/6.9.3+ds-1

Patch Description Author Forwarded Bugs Origin Last update
1001-Revert-Unify-packaged-non-packaged-binary-name.patch Revert "Unify packaged/non-packaged binary name" It is common in Linux to name packages matching executable binaries they
install. The package in Debian has been installing the telegram-desktop binary
since the very initial upload. Keep this convention going forward.
.
The patch reverts upstream commit "56ff5808a3d766f892bc3c3305afb106b629ef6f".
not-needed 2026-11-08
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
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-Use-pkg-config-file-for-cmark-gfm.patch Use pkg-config file for cmark-gfm The upstream-provided cmake installation isn't set up to allow the use
of find_package(), and while vcpkg has a patch for this[1], none of the
linux distributions I've checked carry this. Thankfully, cmark-gfm
carries a pkg-config file, which should be perfect for this situation.
mid-kid <esteve.varela@gmail.com> yes 2026-07-17
1008-Remove-legacy-interpret-path-helper.patch Remove legacy interpret path helper This fixes CVE-2026-107181 John Preston <johnprestonmail@gmail.com> no debian https://github.com/telegramdesktop/tdesktop/commit/db3405699f8fc3ae28a58d2348b7d13a43c0590a 2026-11-07
1009-Fix-escaping-in-HTML-export-of-keyboards.patch Fix escaping in HTML export of keyboards This fixes CVE-2026-94488 John Preston <johnprestonmail@gmail.com> no debian https://github.com/telegramdesktop/tdesktop/commit/8457d13aa795fadf99c955d2a04f00ebc3c59df9 2026-10-27
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 2026-07-17
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 2026-11-06
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 2026-07-17
2012-Skip-RNNoise.patch RNNoise free build Nicholas Guriev <guriev-ns@ya.ru> yes debian 2026-07-17
2013-Skip-TooManyCooks.patch Add CMake option to skip TooManyCooks This library is not packaged in Debian yet, and it is removed from the orig
tarball to simplify maintenance.
Nicholas Guriev <guriev-ns@ya.ru> no 2026-11-06
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 2026-07-17
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 2026-07-17
2023-Include-missing-cmath.patch Include missing <cmath> header Nicholas Guriev <guriev-ns@ya.ru> no 2026-11-18
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 2026-07-17
3002-Build-against-unpatched-rLottie.patch Build against rLottie v0.1 without the Telegram patches This fixes build when the LOTTIE_DISABLE_RECOLORING macro is defined. Nicholas Guriev <guriev-ns@ya.ru> no 2026-07-17
3003-Fix-build-against-Qt5.patch Fix build against Qt 5.15 in trixie Nicholas Guriev <guriev-ns@ya.ru> not-needed 2026-11-18

All known versions for source package 'telegram-desktop'

Links