Debian Patches

Status for telegram-desktop/4.8.1+ds-2~bpo11+1

Patch Description Author Forwarded Bugs Origin Last update
1001-Hide-login-code-with-a-spoiler-in-chats-list.patch Hide login code with a spoiler in chats list.

diff --git a/Telegram/SourceFiles/calls/calls_instance.cpp b/Telegram/SourceFiles/calls/calls_instance.cpp
index 4ea1264c4..456b6d767 100644
John Preston <johnprestonmail@gmail.com> no 2023-04-25
1002-This-should-allow-calling-another-authed-account.patch This should allow calling another authed account.

diff --git a/Telegram/SourceFiles/calls/calls_instance.cpp b/Telegram/SourceFiles/calls/calls_instance.cpp
index 456b6d767..d205ab4b0 100644
John Preston <johnprestonmail@gmail.com> no 2023-04-27
1003-Implement-new-client-hello-generation.patch Implement new client hello generation.

diff --git a/Telegram/Resources/tl/mtproto.tl b/Telegram/Resources/tl/mtproto.tl
index 4b92c3e6e..57d571fcd 100644
John Preston <johnprestonmail@gmail.com> no 2023-04-27
1004-Fix-build-with-Xcode.patch Fix build with Xcode.

diff --git a/Telegram/SourceFiles/history/history_item.cpp b/Telegram/SourceFiles/history/history_item.cpp
index e4ccb977f..a63048d06 100644
John Preston <johnprestonmail@gmail.com> no 2023-04-28
1005-Detach-ComposeControls-from-SessionController.patch Detach ComposeControls from SessionController.

diff --git a/Telegram/CMakeLists.txt b/Telegram/CMakeLists.txt
index 2d39276ac..78a649937 100644
John Preston <johnprestonmail@gmail.com> no 2023-05-02
1006-Detach-mediaview-control-color-from-main-window.patch Detach mediaview control color from main window.

diff --git a/Telegram/lib_ui/ui/colors.palette b/Telegram/lib_ui/ui/colors.palette
index e392465..d709796 100644
John Preston <johnprestonmail@gmail.com> no 2023-05-17
1007-Remove-unused-copy-constructor-from-BoxShow.patch Remove unused copy-constructor from BoxShow.

diff --git a/Telegram/lib_ui/ui/layers/box_content.cpp b/Telegram/lib_ui/ui/layers/box_content.cpp
index ba916a4..afea011 100644
John Preston <johnprestonmail@gmail.com> no 2023-05-17
1008-Fix-a-possible-crash-in-Large-Emoji-toggling.patch Fix a possible crash in Large Emoji toggling.

diff --git a/Telegram/SourceFiles/history/view/history_view_element.cpp b/Telegram/SourceFiles/history/view/history_view_element.cpp
index d219727c1..d6e7c4099 100644
John Preston <johnprestonmail@gmail.com> no 2023-05-24
1009-Remove-streaming-channel-from-live-stream-participan.patch Remove streaming channel from live stream "participants".

diff --git a/Telegram/SourceFiles/history/view/history_view_group_call_bar.cpp b/Telegram/SourceFiles/history/view/history_view_group_call_bar.cpp
index 0e5176c12..bce9881b4 100644
John Preston <johnprestonmail@gmail.com> no 2023-05-24
1010-Force-hide-media-viewer-on-passcode-lock.patch Force-hide media viewer on passcode lock.

diff --git a/Telegram/SourceFiles/core/application.cpp b/Telegram/SourceFiles/core/application.cpp
index cc4040612..fbc4c6fb1 100644
John Preston <johnprestonmail@gmail.com> no 2023-05-24
1011-Fix-Remain-Anonymous-change-in-recent-actions.patch Fix "Remain Anonymous" change in recent actions.

diff --git a/Telegram/Resources/langs/lang.strings b/Telegram/Resources/langs/lang.strings
index bb61f52c1..e43ba3a8a 100644
John Preston <johnprestonmail@gmail.com> no 2023-05-24
1012-Allow-editing-messages-even-if-sending-is-not-allowe.patch Allow editing messages even if sending is not allowed.

diff --git a/Telegram/SourceFiles/history/history_widget.cpp b/Telegram/SourceFiles/history/history_widget.cpp
index 03eff7f27..86e37617c 100644
John Preston <johnprestonmail@gmail.com> no 2023-05-24
1013-Respect-peer_types-in-the-switch-inline-button.patch Respect peer_types in the switch inline button.
Fixes #26274.

diff --git a/Telegram/SourceFiles/api/api_bot.cpp b/Telegram/SourceFiles/api/api_bot.cpp
index 8fa7f884c..165402d7e 100644
John Preston <johnprestonmail@gmail.com> no 2023-05-24
1014-Fix-a-possible-crash-in-Go-to-Message-on-macOS.patch Fix a possible crash in Go to Message on macOS.
Fixes #26273.

This crash happens with a very deep stack trace that is caused by
destroying shared media layer on Go to Message click, which starts
destroying Media::ListWidget, which destroys Ui::PopupMenu, which is
a window, so when it destructs it triggers a sync repaint of the main
window (by a system event), which tries to render the new messages slice,
which starts a photo download, which calls an item repaint in Data::Session,
and the semi-destroyed Media::ListWidget is still subscribed to the
item repaint requests and tries to repaint and crashes there.

The fix is to destroy all session-related subscriptions before the PopupMenu.

diff --git a/Telegram/SourceFiles/info/media/info_media_list_widget.h b/Telegram/SourceFiles/info/media/info_media_list_widget.h
index e95d5842b..e9149d336 100644
John Preston <johnprestonmail@gmail.com> no 2023-05-24
1015-Skip-refocus-InputField-Inner-if-field-unfocused.patch Skip refocus InputField::Inner if field unfocused.
I hope this fixes #26223.

diff --git a/Telegram/SourceFiles/calls/group/calls_group_panel.cpp b/Telegram/SourceFiles/calls/group/calls_group_panel.cpp
index 31758718d..454d658ed 100644
John Preston <johnprestonmail@gmail.com> no 2023-05-24
1016-Fix-possible-crash-on-MTP-Instance-shutdown.patch Fix possible crash on MTP::Instance shutdown.

diff --git a/Telegram/SourceFiles/mtproto/session.cpp b/Telegram/SourceFiles/mtproto/session.cpp
index a10f2e7d5..0a50a4561 100644
John Preston <johnprestonmail@gmail.com> no 2023-05-25
1017-Fix-webview-links-opening-from-webview.patch Fix webview links opening from webview.

diff --git a/Telegram/SourceFiles/inline_bots/bot_attach_web_view.cpp b/Telegram/SourceFiles/inline_bots/bot_attach_web_view.cpp
index 09de04d9b..5b4398c9f 100644
John Preston <johnprestonmail@gmail.com> no 2023-05-31
1018-Fix-statup-crash-with-passcode.patch Version 4.8.3: Fix statup crash with passcode.

diff --git a/Telegram/SourceFiles/core/application.cpp b/Telegram/SourceFiles/core/application.cpp
index ede17c597..1202168ae 100644
John Preston <johnprestonmail@gmail.com> no 2023-06-01
2001-Advise-Open-Sans.patch Debian-specific advice about recommended fonts-open-sans package Nicholas Guriev <guriev-ns@ya.ru> not-needed 2021-02-13
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-06-18
2003-Do-not-sync-wallpaper.patch Do not upload wallpaper after updating or login * This behaviour may be unexpected for a user and cause to leak
private pictures to the remote server.
* The patch prevents the checkUploadWallPaper() method from being
called during startup initialization. The user still has an
opportunity to send his subsequent wallpapers to Telegram Cloud.
To do this, he can click on the link "Choose from file".
Nicholas Guriev <guriev-ns@ya.ru> yes upstream 2019-07-27
2004-Fix-undefined-names.patch Fixing build changes Nicholas Guriev <guriev-ns@ya.ru> yes 2023-02-17
2005-Ignore-emoji-pack.patch Remove default values for the patched rLottie On IA-64 platform, the recent rLottie is uncompiled where the loadFromData
method can accept four parameters.
Nicholas Guriev <guriev-ns@ya.ru> not-needed 2022-12-10
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 2023-06-27
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-06-18
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 2021-08-11
2009-Revert-network-monitor.patch Revert "Switch network monitor to glibmm" * This patch reverts commit cf39b7622 in lib_base. no https://github.com/desktop-app/lib_base/commit/cf39b7622bba01930e433f84715f0e5573aee9c9 2023-06-18
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
2011-Skip-jemalloc.patch Do not require jemalloc at runtime Nicholas Guriev <guriev-ns@ya.ru> yes 2023-06-18
2012-Skip-RNNoise.patch RNNoise free build Nicholas Guriev <guriev-ns@ya.ru> yes debian 2021-07-29
2013-Wayland-protocols-path.patch Wayland protocols code generation for Qt5 Nicholas Guriev <guriev-ns@ya.ru> yes 2022-09-20
2014-Include-libyuv.patch Include libyuv.h provided by the libyuv-dev package Nicholas Guriev <guriev-ns@ya.ru> no 2023-06-24
3001-Backport-Gio.patch Exclude newest Gio functions * The file base_battery_saving_linux.cpp uses the PowerProfileMonitor
interface which is unavailable before GIO 2.70 in oldstable.
Nicholas Guriev <guriev-ns@ya.ru> no 2023-06-18
3002-Backport-GLib.patch Guard new GLib API with version check Nicholas Guriev <guriev-ns@ya.ru> no 2022-12-05
3003-Backport-glibmm-2.74.patch Get back previous code without Gio::BytesIcon Nicholas Guriev <guriev-ns@ya.ru> no 2023-06-18
3004-Backport-glibmm-2.64.patch Revert changes related to porting to glibmm 2.86 The latest version of glibmm is unavailable in bullseye.
See these changes in the upstream repository with the next command.
.
git log --grep glibmm v4.2.4..v4.3.1 Telegram/SourceFiles
.
And with similar ones in submodules.
This patch also carries changes for later versions.
Nicholas Guriev <guriev-ns@ya.ru> not-needed 2023-06-28
3005-Backport-KCoreAddons.patch Lower required version of KCoreAddons Export files to other sandboxed applications is not implemented before 5.96.0.
The overriding <ksandbox.h> header blocks run-time Flatpack or Snap detection.
This is irrelevant in the Debian package.
Nicholas Guriev <guriev-ns@ya.ru> not-needed 2023-02-06
3006-Backport-Qt5.patch Do not choose render in WebView under Qt5. * QQuickWindow::setGraphicsApi() does not exist in old Qt. Nicholas Guriev <guriev-ns@ya.ru> no 2023-06-18
3007-Backport-Wayland-protocols.patch Cut off the XDG activation protocol. It is not described in version 1.20 available in bullseye. Normally Telegram
Desktop gets activated when a user clicks on a notification of a new message.
Nicholas Guriev <guriev-ns@ya.ru> not-needed 2023-06-18
3008-Keep-old-settings.patch Put back previous moderate settings. * Disable poorly tested acceleration with OpenGL by default.
* Hide chat and account names in window title as this was before. A user can
still configure the title in Advanced Settings.
Nicholas Guriev <guriev-ns@ya.ru> not-needed 2023-03-10

All known versions for source package 'telegram-desktop'

Links