diff --git a/net-im/telegram-desktop/patches/libtgvoip-4.14.15.patchset b/net-im/telegram-desktop/patches/libtgvoip-4.15.0.patchset similarity index 99% rename from net-im/telegram-desktop/patches/libtgvoip-4.14.15.patchset rename to net-im/telegram-desktop/patches/libtgvoip-4.15.0.patchset index 364dcc10a..3b4246200 100644 --- a/net-im/telegram-desktop/patches/libtgvoip-4.14.15.patchset +++ b/net-im/telegram-desktop/patches/libtgvoip-4.15.0.patchset @@ -1,6 +1,6 @@ -From 813cf525a99915b2506d0d800fc5a23e6dd6be14 Mon Sep 17 00:00:00 2001 +From c583f830253c5bf59891ab812d4ba1bbbce757f5 Mon Sep 17 00:00:00 2001 From: Gerasim Troeglazov <3dEyes@gmail.com> -Date: Thu, 15 Feb 2024 21:43:27 +1000 +Date: Sun, 25 Feb 2024 08:13:26 +0000 Subject: Add haiku support diff --git a/net-im/telegram-desktop/patches/pch_disable-4.14.15.patchset b/net-im/telegram-desktop/patches/pch_disable-4.15.0.patchset similarity index 99% rename from net-im/telegram-desktop/patches/pch_disable-4.14.15.patchset rename to net-im/telegram-desktop/patches/pch_disable-4.15.0.patchset index 784df8083..b56d8e0bd 100644 --- a/net-im/telegram-desktop/patches/pch_disable-4.14.15.patchset +++ b/net-im/telegram-desktop/patches/pch_disable-4.15.0.patchset @@ -1,15 +1,15 @@ -From 9b1a2018a140c74d991c8ca40cc149510936abb1 Mon Sep 17 00:00:00 2001 +From 6efc23af6c06273c3688866ea85456a57bbac62d Mon Sep 17 00:00:00 2001 From: Gerasim Troeglazov <3dEyes@gmail.com> -Date: Fri, 16 Feb 2024 08:35:17 +0000 +Date: Sun, 25 Feb 2024 08:16:49 +0000 Subject: Add PCH file diff --git a/pch_disable.patchset b/pch_disable.patchset new file mode 100644 -index 0000000..a33216b +index 0000000..1b0defa --- /dev/null +++ b/pch_disable.patchset -@@ -0,0 +1,10301 @@ +@@ -0,0 +1,10318 @@ +diff --git a/Telegram/SourceFiles/api/api_attached_stickers.cpp b/Telegram/SourceFiles/api/api_attached_stickers.cpp +index 0f18e76..f7147e2 100644 +--- a/Telegram/SourceFiles/api/api_attached_stickers.cpp @@ -164,7 +164,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/api/api_peer_colors.cpp b/Telegram/SourceFiles/api/api_peer_colors.cpp -+index 50c2382..9987eb7 100644 ++index 5f3fe12..a0b8ba5 100644 +--- a/Telegram/SourceFiles/api/api_peer_colors.cpp ++++ b/Telegram/SourceFiles/api/api_peer_colors.cpp +@@ -1,3 +1,4 @@ @@ -272,7 +272,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/api/api_statistics.cpp b/Telegram/SourceFiles/api/api_statistics.cpp -+index f24e156..6be4b8a 100644 ++index 789211f..937df16 100644 +--- a/Telegram/SourceFiles/api/api_statistics.cpp ++++ b/Telegram/SourceFiles/api/api_statistics.cpp +@@ -1,3 +1,4 @@ @@ -299,7 +299,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/api/api_transcribes.cpp b/Telegram/SourceFiles/api/api_transcribes.cpp -+index ac79288..272f4c4 100644 ++index d7064ab..1c14515 100644 +--- a/Telegram/SourceFiles/api/api_transcribes.cpp ++++ b/Telegram/SourceFiles/api/api_transcribes.cpp +@@ -1,3 +1,4 @@ @@ -317,7 +317,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/api/api_updates.cpp b/Telegram/SourceFiles/api/api_updates.cpp -+index dc8eb15..9d6b1b4 100644 ++index 2b04503..015af56 100644 +--- a/Telegram/SourceFiles/api/api_updates.cpp ++++ b/Telegram/SourceFiles/api/api_updates.cpp +@@ -1,3 +1,4 @@ @@ -371,7 +371,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/apiwrap.cpp b/Telegram/SourceFiles/apiwrap.cpp -+index 73026cc..d774353 100644 ++index 6766efe..d1e5d59 100644 +--- a/Telegram/SourceFiles/apiwrap.cpp ++++ b/Telegram/SourceFiles/apiwrap.cpp +@@ -1,3 +1,4 @@ @@ -450,7 +450,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/background_preview_box.cpp b/Telegram/SourceFiles/boxes/background_preview_box.cpp -+index db72d56..117ffe0 100644 ++index 6dadab5..7d42799 100644 +--- a/Telegram/SourceFiles/boxes/background_preview_box.cpp ++++ b/Telegram/SourceFiles/boxes/background_preview_box.cpp +@@ -1,3 +1,5 @@ @@ -520,7 +520,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/edit_caption_box.cpp b/Telegram/SourceFiles/boxes/edit_caption_box.cpp -+index defc4bd..0782ef7 100644 ++index 8e94bee..a28e66c 100644 +--- a/Telegram/SourceFiles/boxes/edit_caption_box.cpp ++++ b/Telegram/SourceFiles/boxes/edit_caption_box.cpp +@@ -1,3 +1,5 @@ @@ -573,7 +573,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/gift_premium_box.cpp b/Telegram/SourceFiles/boxes/gift_premium_box.cpp -+index f6e7feb..d47cb6d 100644 ++index 7e0e6b5..0b2aae1 100644 +--- a/Telegram/SourceFiles/boxes/gift_premium_box.cpp ++++ b/Telegram/SourceFiles/boxes/gift_premium_box.cpp +@@ -1,3 +1,5 @@ @@ -752,7 +752,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/peers/edit_peer_color_box.cpp b/Telegram/SourceFiles/boxes/peers/edit_peer_color_box.cpp -+index 38f064c..14eb582 100644 ++index 2627d23..70dc454 100644 +--- a/Telegram/SourceFiles/boxes/peers/edit_peer_color_box.cpp ++++ b/Telegram/SourceFiles/boxes/peers/edit_peer_color_box.cpp +@@ -1,3 +1,6 @@ @@ -773,7 +773,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/peers/edit_peer_info_box.cpp b/Telegram/SourceFiles/boxes/peers/edit_peer_info_box.cpp -+index fba0c73..eddd3dd 100644 ++index 01bbb02..631e030 100644 +--- a/Telegram/SourceFiles/boxes/peers/edit_peer_info_box.cpp ++++ b/Telegram/SourceFiles/boxes/peers/edit_peer_info_box.cpp +@@ -1,3 +1,6 @@ @@ -806,7 +806,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/peers/edit_peer_permissions_box.cpp b/Telegram/SourceFiles/boxes/peers/edit_peer_permissions_box.cpp -+index f502485..1271af0 100644 ++index 385cb1a..b4d6978 100644 +--- a/Telegram/SourceFiles/boxes/peers/edit_peer_permissions_box.cpp ++++ b/Telegram/SourceFiles/boxes/peers/edit_peer_permissions_box.cpp +@@ -1,3 +1,6 @@ @@ -883,7 +883,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/peers/replace_boost_box.cpp b/Telegram/SourceFiles/boxes/peers/replace_boost_box.cpp -+index 0129b85..c983f38 100644 ++index ef99b3a..801b72c 100644 +--- a/Telegram/SourceFiles/boxes/peers/replace_boost_box.cpp ++++ b/Telegram/SourceFiles/boxes/peers/replace_boost_box.cpp +@@ -1,3 +1,6 @@ @@ -924,7 +924,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/premium_preview_box.cpp b/Telegram/SourceFiles/boxes/premium_preview_box.cpp -+index 8baf8a5..c1896ea 100644 ++index 93df20c..12d63ca 100644 +--- a/Telegram/SourceFiles/boxes/premium_preview_box.cpp ++++ b/Telegram/SourceFiles/boxes/premium_preview_box.cpp +@@ -1,3 +1,5 @@ @@ -974,7 +974,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/send_files_box.cpp b/Telegram/SourceFiles/boxes/send_files_box.cpp -+index 18f0243..64dd016 100644 ++index 455630f..502a6f2 100644 +--- a/Telegram/SourceFiles/boxes/send_files_box.cpp ++++ b/Telegram/SourceFiles/boxes/send_files_box.cpp +@@ -1,3 +1,5 @@ @@ -1014,7 +1014,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/boxes/stickers_box.cpp b/Telegram/SourceFiles/boxes/stickers_box.cpp -+index 3f35e95..36f8593 100644 ++index 8a88acf..91a7659 100644 +--- a/Telegram/SourceFiles/boxes/stickers_box.cpp ++++ b/Telegram/SourceFiles/boxes/stickers_box.cpp +@@ -1,3 +1,5 @@ @@ -1387,7 +1387,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/chat_helpers/emoji_list_widget.cpp b/Telegram/SourceFiles/chat_helpers/emoji_list_widget.cpp -+index 2d27f1d..5c497bc 100644 ++index 42513a6..3080e91 100644 +--- a/Telegram/SourceFiles/chat_helpers/emoji_list_widget.cpp ++++ b/Telegram/SourceFiles/chat_helpers/emoji_list_widget.cpp +@@ -1,3 +1,4 @@ @@ -1432,7 +1432,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/chat_helpers/message_field.cpp b/Telegram/SourceFiles/chat_helpers/message_field.cpp -+index ee34183..64eb610 100644 ++index 0cef462..fbafe7b 100644 +--- a/Telegram/SourceFiles/chat_helpers/message_field.cpp ++++ b/Telegram/SourceFiles/chat_helpers/message_field.cpp +@@ -1,3 +1,4 @@ @@ -1504,7 +1504,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/chat_helpers/stickers_list_widget.cpp b/Telegram/SourceFiles/chat_helpers/stickers_list_widget.cpp -+index 3675c04..2d53b89 100644 ++index 543ce49..29d4b03 100644 +--- a/Telegram/SourceFiles/chat_helpers/stickers_list_widget.cpp ++++ b/Telegram/SourceFiles/chat_helpers/stickers_list_widget.cpp +@@ -1,3 +1,4 @@ @@ -1540,7 +1540,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/chat_helpers/tabbed_selector.cpp b/Telegram/SourceFiles/chat_helpers/tabbed_selector.cpp -+index 6fc2c55..b6e6983 100644 ++index 5841f2c..2bdc301 100644 +--- a/Telegram/SourceFiles/chat_helpers/tabbed_selector.cpp ++++ b/Telegram/SourceFiles/chat_helpers/tabbed_selector.cpp +@@ -1,3 +1,4 @@ @@ -1696,7 +1696,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/core/sandbox.cpp b/Telegram/SourceFiles/core/sandbox.cpp -+index 38f5f23..bceb262 100644 ++index 819b335..ceb5699 100644 +--- a/Telegram/SourceFiles/core/sandbox.cpp ++++ b/Telegram/SourceFiles/core/sandbox.cpp +@@ -1,3 +1,5 @@ @@ -1833,7 +1833,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_channel.cpp b/Telegram/SourceFiles/data/data_channel.cpp -+index fecbe62..2855917 100644 ++index 469351a..bc7d3d2 100644 +--- a/Telegram/SourceFiles/data/data_channel.cpp ++++ b/Telegram/SourceFiles/data/data_channel.cpp +@@ -1,3 +1,5 @@ @@ -2062,7 +2062,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_histories.cpp b/Telegram/SourceFiles/data/data_histories.cpp -+index 34bc7b6..23005f3 100644 ++index 0dde157..a82efba 100644 +--- a/Telegram/SourceFiles/data/data_histories.cpp ++++ b/Telegram/SourceFiles/data/data_histories.cpp +@@ -1,3 +1,5 @@ @@ -2132,7 +2132,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_peer.cpp b/Telegram/SourceFiles/data/data_peer.cpp -+index 1a0abf1..61cfafb 100644 ++index 78c2051..16d2b34 100644 +--- a/Telegram/SourceFiles/data/data_peer.cpp ++++ b/Telegram/SourceFiles/data/data_peer.cpp +@@ -1,3 +1,5 @@ @@ -2172,7 +2172,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_peer_values.cpp b/Telegram/SourceFiles/data/data_peer_values.cpp -+index 4a69ae3..8dec73e 100644 ++index 0d5393a..93c3e82 100644 +--- a/Telegram/SourceFiles/data/data_peer_values.cpp ++++ b/Telegram/SourceFiles/data/data_peer_values.cpp +@@ -1,3 +1,5 @@ @@ -2272,7 +2272,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_scheduled_messages.cpp b/Telegram/SourceFiles/data/data_scheduled_messages.cpp -+index f122f05..a640550 100644 ++index 9ea4099..bb2ae49 100644 +--- a/Telegram/SourceFiles/data/data_scheduled_messages.cpp ++++ b/Telegram/SourceFiles/data/data_scheduled_messages.cpp +@@ -1,3 +1,5 @@ @@ -2302,7 +2302,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_session.cpp b/Telegram/SourceFiles/data/data_session.cpp -+index 718421d..bd9fc9a 100644 ++index c8235ea..92ef122 100644 +--- a/Telegram/SourceFiles/data/data_session.cpp ++++ b/Telegram/SourceFiles/data/data_session.cpp +@@ -1,3 +1,5 @@ @@ -2371,7 +2371,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/data_story.cpp b/Telegram/SourceFiles/data/data_story.cpp -+index 7631892..6dd3e72 100644 ++index d4b12de..8b349e4 100644 +--- a/Telegram/SourceFiles/data/data_story.cpp ++++ b/Telegram/SourceFiles/data/data_story.cpp +@@ -1,3 +1,5 @@ @@ -2481,7 +2481,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/data/stickers/data_custom_emoji.cpp b/Telegram/SourceFiles/data/stickers/data_custom_emoji.cpp -+index 5b271b5..2c78b26 100644 ++index 0ce9ccf..4bbab48 100644 +--- a/Telegram/SourceFiles/data/stickers/data_custom_emoji.cpp ++++ b/Telegram/SourceFiles/data/stickers/data_custom_emoji.cpp +@@ -1,3 +1,5 @@ @@ -2531,7 +2531,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/dialogs/dialogs_inner_widget.cpp b/Telegram/SourceFiles/dialogs/dialogs_inner_widget.cpp -+index 3047c27..24da527 100644 ++index dab3e30..4bc8089 100644 +--- a/Telegram/SourceFiles/dialogs/dialogs_inner_widget.cpp ++++ b/Telegram/SourceFiles/dialogs/dialogs_inner_widget.cpp +@@ -1,3 +1,5 @@ @@ -2581,7 +2581,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/dialogs/dialogs_row.cpp b/Telegram/SourceFiles/dialogs/dialogs_row.cpp -+index 29f8499..a536c03 100644 ++index 9ecddf8..374fd4c 100644 +--- a/Telegram/SourceFiles/dialogs/dialogs_row.cpp ++++ b/Telegram/SourceFiles/dialogs/dialogs_row.cpp +@@ -1,3 +1,5 @@ @@ -2611,7 +2611,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/dialogs/dialogs_widget.cpp b/Telegram/SourceFiles/dialogs/dialogs_widget.cpp -+index 1a701a7..e42d263 100644 ++index 6ce80f8..8000554 100644 +--- a/Telegram/SourceFiles/dialogs/dialogs_widget.cpp ++++ b/Telegram/SourceFiles/dialogs/dialogs_widget.cpp +@@ -1,3 +1,5 @@ @@ -2641,7 +2641,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/dialogs/ui/dialogs_stories_content.cpp b/Telegram/SourceFiles/dialogs/ui/dialogs_stories_content.cpp -+index 25f9966..eaa38e3 100644 ++index bea4a1b..36da9d7 100644 +--- a/Telegram/SourceFiles/dialogs/ui/dialogs_stories_content.cpp ++++ b/Telegram/SourceFiles/dialogs/ui/dialogs_stories_content.cpp +@@ -1,3 +1,5 @@ @@ -2651,7 +2651,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/dialogs/ui/dialogs_stories_list.cpp b/Telegram/SourceFiles/dialogs/ui/dialogs_stories_list.cpp -+index e6a93af..d2eea65 100644 ++index f615f4f..60edf13 100644 +--- a/Telegram/SourceFiles/dialogs/ui/dialogs_stories_list.cpp ++++ b/Telegram/SourceFiles/dialogs/ui/dialogs_stories_list.cpp +@@ -1,3 +1,4 @@ @@ -2839,7 +2839,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/export/data/export_data_types.cpp b/Telegram/SourceFiles/export/data/export_data_types.cpp -+index 7c9910e..f79c231 100644 ++index f7928f0..d9a9d8a 100644 +--- a/Telegram/SourceFiles/export/data/export_data_types.cpp ++++ b/Telegram/SourceFiles/export/data/export_data_types.cpp +@@ -1,3 +1,4 @@ @@ -2848,7 +2848,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/export/export_api_wrap.cpp b/Telegram/SourceFiles/export/export_api_wrap.cpp -+index b23329c..187696e 100644 ++index b50c105..0ecefd4 100644 +--- a/Telegram/SourceFiles/export/export_api_wrap.cpp ++++ b/Telegram/SourceFiles/export/export_api_wrap.cpp +@@ -1,3 +1,4 @@ @@ -2903,7 +2903,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/export/output/export_output_html.cpp b/Telegram/SourceFiles/export/output/export_output_html.cpp -+index c543de8..a692c84 100644 ++index 3953152..d1e9b99 100644 +--- a/Telegram/SourceFiles/export/output/export_output_html.cpp ++++ b/Telegram/SourceFiles/export/output/export_output_html.cpp +@@ -1,3 +1,4 @@ @@ -2921,7 +2921,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/export/output/export_output_json.cpp b/Telegram/SourceFiles/export/output/export_output_json.cpp -+index dc23fd3..71a27b9 100644 ++index dde36a5..ef8e59b 100644 +--- a/Telegram/SourceFiles/export/output/export_output_json.cpp ++++ b/Telegram/SourceFiles/export/output/export_output_json.cpp +@@ -1,3 +1,4 @@ @@ -3008,7 +3008,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/admin_log/history_admin_log_item.cpp b/Telegram/SourceFiles/history/admin_log/history_admin_log_item.cpp -+index f9ece93..25d2410 100644 ++index 0642a15..31f83f7 100644 +--- a/Telegram/SourceFiles/history/admin_log/history_admin_log_item.cpp ++++ b/Telegram/SourceFiles/history/admin_log/history_admin_log_item.cpp +@@ -1,3 +1,5 @@ @@ -3048,7 +3048,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/history_inner_widget.cpp b/Telegram/SourceFiles/history/history_inner_widget.cpp -+index b7955f4..99d126b 100644 ++index b85703c..8dc1fa9 100644 +--- a/Telegram/SourceFiles/history/history_inner_widget.cpp ++++ b/Telegram/SourceFiles/history/history_inner_widget.cpp +@@ -1,3 +1,5 @@ @@ -3058,7 +3058,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/history_item.cpp b/Telegram/SourceFiles/history/history_item.cpp -+index 15fbde7..e8dccb2 100644 ++index aa815cc..235102f 100644 +--- a/Telegram/SourceFiles/history/history_item.cpp ++++ b/Telegram/SourceFiles/history/history_item.cpp +@@ -1,3 +1,5 @@ @@ -3068,7 +3068,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/history_item_components.cpp b/Telegram/SourceFiles/history/history_item_components.cpp -+index 26fca0b..4e92a4e 100644 ++index ae6d3dc..700e50a 100644 +--- a/Telegram/SourceFiles/history/history_item_components.cpp ++++ b/Telegram/SourceFiles/history/history_item_components.cpp +@@ -1,3 +1,5 @@ @@ -3088,7 +3088,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/history_item_helpers.cpp b/Telegram/SourceFiles/history/history_item_helpers.cpp -+index f3aba16..e014e47 100644 ++index 752560a..9bbdbfb 100644 +--- a/Telegram/SourceFiles/history/history_item_helpers.cpp ++++ b/Telegram/SourceFiles/history/history_item_helpers.cpp +@@ -1,3 +1,5 @@ @@ -3167,7 +3167,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/history_widget.cpp b/Telegram/SourceFiles/history/history_widget.cpp -+index 4921e63..c232933 100644 ++index 47db26a..6dc823f 100644 +--- a/Telegram/SourceFiles/history/history_widget.cpp ++++ b/Telegram/SourceFiles/history/history_widget.cpp +@@ -1,3 +1,5 @@ @@ -3176,8 +3176,17 @@ index 0000000..a33216b + /* + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. ++diff --git a/Telegram/SourceFiles/history/view/controls/history_view_characters_limit.cpp b/Telegram/SourceFiles/history/view/controls/history_view_characters_limit.cpp ++index c3f2736..b1b720e 100644 ++--- a/Telegram/SourceFiles/history/view/controls/history_view_characters_limit.cpp +++++ b/Telegram/SourceFiles/history/view/controls/history_view_characters_limit.cpp ++@@ -1,3 +1,4 @@ +++#include "ui/ui_pch.h" ++ /* ++ This file is part of Telegram Desktop, ++ the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/view/controls/history_view_compose_controls.cpp b/Telegram/SourceFiles/history/view/controls/history_view_compose_controls.cpp -+index 05675a2..15d1147 100644 ++index c8d4745..19434a3 100644 +--- a/Telegram/SourceFiles/history/view/controls/history_view_compose_controls.cpp ++++ b/Telegram/SourceFiles/history/view/controls/history_view_compose_controls.cpp +@@ -1,3 +1,5 @@ @@ -3207,7 +3216,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/view/controls/history_view_forward_panel.cpp b/Telegram/SourceFiles/history/view/controls/history_view_forward_panel.cpp -+index 13c6dac..05a8d86 100644 ++index ca783f0..ec40648 100644 +--- a/Telegram/SourceFiles/history/view/controls/history_view_forward_panel.cpp ++++ b/Telegram/SourceFiles/history/view/controls/history_view_forward_panel.cpp +@@ -1,3 +1,5 @@ @@ -3237,12 +3246,11 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/view/controls/history_view_voice_record_button.cpp b/Telegram/SourceFiles/history/view/controls/history_view_voice_record_button.cpp -+index 4dbc3cd..9760463 100644 ++index 84d5656..4ea2966 100644 +--- a/Telegram/SourceFiles/history/view/controls/history_view_voice_record_button.cpp ++++ b/Telegram/SourceFiles/history/view/controls/history_view_voice_record_button.cpp -+@@ -1,3 +1,5 @@ ++@@ -1,3 +1,4 @@ ++#include "ui/ui_pch.h" -++#include "stdafx.h" + /* + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. @@ -3367,7 +3375,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/view/history_view_message.cpp b/Telegram/SourceFiles/history/view/history_view_message.cpp -+index 3db8124..fd6c8a2 100644 ++index 4eafd53..35210e6 100644 +--- a/Telegram/SourceFiles/history/view/history_view_message.cpp ++++ b/Telegram/SourceFiles/history/view/history_view_message.cpp +@@ -1,3 +1,5 @@ @@ -3417,7 +3425,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/view/history_view_replies_section.cpp b/Telegram/SourceFiles/history/view/history_view_replies_section.cpp -+index a244437..48bc2e0 100644 ++index 8ad6629..050873e 100644 +--- a/Telegram/SourceFiles/history/view/history_view_replies_section.cpp ++++ b/Telegram/SourceFiles/history/view/history_view_replies_section.cpp +@@ -1,3 +1,5 @@ @@ -3457,7 +3465,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/view/history_view_scheduled_section.cpp b/Telegram/SourceFiles/history/view/history_view_scheduled_section.cpp -+index ca81ba2..116545d 100644 ++index 6e019e6..52103ab 100644 +--- a/Telegram/SourceFiles/history/view/history_view_scheduled_section.cpp ++++ b/Telegram/SourceFiles/history/view/history_view_scheduled_section.cpp +@@ -1,3 +1,5 @@ @@ -3537,7 +3545,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/view/history_view_transcribe_button.cpp b/Telegram/SourceFiles/history/view/history_view_transcribe_button.cpp -+index 523cd5c..db55236 100644 ++index dccca0f..2bec4d5 100644 +--- a/Telegram/SourceFiles/history/view/history_view_transcribe_button.cpp ++++ b/Telegram/SourceFiles/history/view/history_view_transcribe_button.cpp +@@ -1,3 +1,5 @@ @@ -3627,7 +3635,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/view/media/history_view_document.cpp b/Telegram/SourceFiles/history/view/media/history_view_document.cpp -+index b155b1d..abc5e03 100644 ++index d884580..4a87d87 100644 +--- a/Telegram/SourceFiles/history/view/media/history_view_document.cpp ++++ b/Telegram/SourceFiles/history/view/media/history_view_document.cpp +@@ -1,3 +1,5 @@ @@ -3677,7 +3685,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/view/media/history_view_giveaway.cpp b/Telegram/SourceFiles/history/view/media/history_view_giveaway.cpp -+index 6205011..fa7a95d 100644 ++index 859ab20..a46462b 100644 +--- a/Telegram/SourceFiles/history/view/media/history_view_giveaway.cpp ++++ b/Telegram/SourceFiles/history/view/media/history_view_giveaway.cpp +@@ -1,3 +1,5 @@ @@ -3807,7 +3815,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/view/media/history_view_similar_channels.cpp b/Telegram/SourceFiles/history/view/media/history_view_similar_channels.cpp -+index 919a76c..a1cf98b 100644 ++index 05a03df..3d5a7de 100644 +--- a/Telegram/SourceFiles/history/view/media/history_view_similar_channels.cpp ++++ b/Telegram/SourceFiles/history/view/media/history_view_similar_channels.cpp +@@ -1,3 +1,5 @@ @@ -3847,7 +3855,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/history/view/media/history_view_story_mention.cpp b/Telegram/SourceFiles/history/view/media/history_view_story_mention.cpp -+index 2d9089f..ddcbf24 100644 ++index a2b2d65..6f8baf5 100644 +--- a/Telegram/SourceFiles/history/view/media/history_view_story_mention.cpp ++++ b/Telegram/SourceFiles/history/view/media/history_view_story_mention.cpp +@@ -1,3 +1,5 @@ @@ -3957,7 +3965,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/boosts/create_giveaway_box.cpp b/Telegram/SourceFiles/info/boosts/create_giveaway_box.cpp -+index 01d6d5c..9b9d186 100644 ++index 6c55837..130ee88 100644 +--- a/Telegram/SourceFiles/info/boosts/create_giveaway_box.cpp ++++ b/Telegram/SourceFiles/info/boosts/create_giveaway_box.cpp +@@ -1,3 +1,5 @@ @@ -3976,7 +3984,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/boosts/giveaway/giveaway_list_controllers.cpp b/Telegram/SourceFiles/info/boosts/giveaway/giveaway_list_controllers.cpp -+index 975dab5..b6fe0ea 100644 ++index 4b5c7ac..a9ffbf4 100644 +--- a/Telegram/SourceFiles/info/boosts/giveaway/giveaway_list_controllers.cpp ++++ b/Telegram/SourceFiles/info/boosts/giveaway/giveaway_list_controllers.cpp +@@ -1,3 +1,5 @@ @@ -3986,7 +3994,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/boosts/giveaway/giveaway_type_row.cpp b/Telegram/SourceFiles/info/boosts/giveaway/giveaway_type_row.cpp -+index 4417bfb..5245def 100644 ++index c66a636..abe0cd0 100644 +--- a/Telegram/SourceFiles/info/boosts/giveaway/giveaway_type_row.cpp ++++ b/Telegram/SourceFiles/info/boosts/giveaway/giveaway_type_row.cpp +@@ -1,3 +1,4 @@ @@ -4004,7 +4012,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/boosts/info_boosts_inner_widget.cpp b/Telegram/SourceFiles/info/boosts/info_boosts_inner_widget.cpp -+index fac7ff9..0de0baf 100644 ++index eb0805c..b78d0f9 100644 +--- a/Telegram/SourceFiles/info/boosts/info_boosts_inner_widget.cpp ++++ b/Telegram/SourceFiles/info/boosts/info_boosts_inner_widget.cpp +@@ -1,3 +1,5 @@ @@ -4134,7 +4142,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/info_top_bar.cpp b/Telegram/SourceFiles/info/info_top_bar.cpp -+index 6c91d38..9ff7af1 100644 ++index d9a422a..6522c18 100644 +--- a/Telegram/SourceFiles/info/info_top_bar.cpp ++++ b/Telegram/SourceFiles/info/info_top_bar.cpp +@@ -1,3 +1,5 @@ @@ -4254,7 +4262,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/profile/info_profile_actions.cpp b/Telegram/SourceFiles/info/profile/info_profile_actions.cpp -+index cd78b8d..057af0f 100644 ++index eba90de..68133c8 100644 +--- a/Telegram/SourceFiles/info/profile/info_profile_actions.cpp ++++ b/Telegram/SourceFiles/info/profile/info_profile_actions.cpp +@@ -1,3 +1,5 @@ @@ -4303,7 +4311,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/info/profile/info_profile_inner_widget.cpp b/Telegram/SourceFiles/info/profile/info_profile_inner_widget.cpp -+index 40b6267..3d7f18b 100644 ++index 92192d3..1e8b2fd 100644 +--- a/Telegram/SourceFiles/info/profile/info_profile_inner_widget.cpp ++++ b/Telegram/SourceFiles/info/profile/info_profile_inner_widget.cpp +@@ -1,3 +1,5 @@ @@ -4908,7 +4916,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/main/main_session_settings.cpp b/Telegram/SourceFiles/main/main_session_settings.cpp -+index 769cd69..44e0ddd 100644 ++index cf451a2..d65e20a 100644 +--- a/Telegram/SourceFiles/main/main_session_settings.cpp ++++ b/Telegram/SourceFiles/main/main_session_settings.cpp +@@ -1,3 +1,4 @@ @@ -5146,7 +5154,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/media/stories/media_stories_controller.cpp b/Telegram/SourceFiles/media/stories/media_stories_controller.cpp -+index 76e8806..bac016e 100644 ++index a56e102..ced66e4 100644 +--- a/Telegram/SourceFiles/media/stories/media_stories_controller.cpp ++++ b/Telegram/SourceFiles/media/stories/media_stories_controller.cpp +@@ -1,3 +1,5 @@ @@ -5166,7 +5174,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/media/stories/media_stories_header.cpp b/Telegram/SourceFiles/media/stories/media_stories_header.cpp -+index 8b14a98..78d9ecd 100644 ++index b247acf..a0a9751 100644 +--- a/Telegram/SourceFiles/media/stories/media_stories_header.cpp ++++ b/Telegram/SourceFiles/media/stories/media_stories_header.cpp +@@ -1,3 +1,5 @@ @@ -5176,7 +5184,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/media/stories/media_stories_reactions.cpp b/Telegram/SourceFiles/media/stories/media_stories_reactions.cpp -+index bea75eb..b0cab5d 100644 ++index f401f6b..90324d9 100644 +--- a/Telegram/SourceFiles/media/stories/media_stories_reactions.cpp ++++ b/Telegram/SourceFiles/media/stories/media_stories_reactions.cpp +@@ -1,3 +1,5 @@ @@ -5186,7 +5194,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/media/stories/media_stories_recent_views.cpp b/Telegram/SourceFiles/media/stories/media_stories_recent_views.cpp -+index 4421993..9f9a664 100644 ++index e6b53d2..4d169fd 100644 +--- a/Telegram/SourceFiles/media/stories/media_stories_recent_views.cpp ++++ b/Telegram/SourceFiles/media/stories/media_stories_recent_views.cpp +@@ -1,3 +1,5 @@ @@ -5196,7 +5204,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/media/stories/media_stories_reply.cpp b/Telegram/SourceFiles/media/stories/media_stories_reply.cpp -+index d06f32d..c6ef0bc 100644 ++index d6959d1..c69ece4 100644 +--- a/Telegram/SourceFiles/media/stories/media_stories_reply.cpp ++++ b/Telegram/SourceFiles/media/stories/media_stories_reply.cpp +@@ -1,3 +1,5 @@ @@ -6242,7 +6250,7 @@ index 0000000..a33216b + /* + This file is part of Telegram Desktop, +diff --git a/Telegram/SourceFiles/platform/linux/specific_linux.cpp b/Telegram/SourceFiles/platform/linux/specific_linux.cpp -+index 1503455..2db4998 100644 ++index cb5aa32..1b74e3b 100644 +--- a/Telegram/SourceFiles/platform/linux/specific_linux.cpp ++++ b/Telegram/SourceFiles/platform/linux/specific_linux.cpp +@@ -1,3 +1,4 @@ @@ -6548,7 +6556,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/settings/settings_premium.cpp b/Telegram/SourceFiles/settings/settings_premium.cpp -+index 337f413..71f7e83 100644 ++index cde74eb..f9af5cb 100644 +--- a/Telegram/SourceFiles/settings/settings_premium.cpp ++++ b/Telegram/SourceFiles/settings/settings_premium.cpp +@@ -1,3 +1,4 @@ @@ -6557,7 +6565,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/settings/settings_privacy_controllers.cpp b/Telegram/SourceFiles/settings/settings_privacy_controllers.cpp -+index a8466de..cfe9774 100644 ++index 6620c4b..88a6dff 100644 +--- a/Telegram/SourceFiles/settings/settings_privacy_controllers.cpp ++++ b/Telegram/SourceFiles/settings/settings_privacy_controllers.cpp +@@ -1,3 +1,4 @@ @@ -7016,7 +7024,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/boxes/boost_box.cpp b/Telegram/SourceFiles/ui/boxes/boost_box.cpp -+index 5a226ee..f66d02f 100644 ++index f4676dc..d8df01e 100644 +--- a/Telegram/SourceFiles/ui/boxes/boost_box.cpp ++++ b/Telegram/SourceFiles/ui/boxes/boost_box.cpp +@@ -1,3 +1,4 @@ @@ -7187,7 +7195,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/chat/attach/attach_bot_webview.cpp b/Telegram/SourceFiles/ui/chat/attach/attach_bot_webview.cpp -+index ab84a81..5a01b22 100644 ++index ed57fdf..afea544 100644 +--- a/Telegram/SourceFiles/ui/chat/attach/attach_bot_webview.cpp ++++ b/Telegram/SourceFiles/ui/chat/attach/attach_bot_webview.cpp +@@ -1,3 +1,4 @@ @@ -7588,6 +7596,15 @@ index 0000000..a33216b + /* + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. ++diff --git a/Telegram/SourceFiles/ui/dynamic_thumbnails.cpp b/Telegram/SourceFiles/ui/dynamic_thumbnails.cpp ++index 847e7d5..f5ae70e 100644 ++--- a/Telegram/SourceFiles/ui/dynamic_thumbnails.cpp +++++ b/Telegram/SourceFiles/ui/dynamic_thumbnails.cpp ++@@ -1,3 +1,4 @@ +++#include "ui/ui_pch.h" ++ /* ++ This file is part of Telegram Desktop, ++ the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/effects/emoji_fly_animation.cpp b/Telegram/SourceFiles/ui/effects/emoji_fly_animation.cpp +index ef86379..d399fb4 100644 +--- a/Telegram/SourceFiles/ui/effects/emoji_fly_animation.cpp @@ -7924,7 +7941,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/ui/vertical_list.cpp b/Telegram/SourceFiles/ui/vertical_list.cpp -+index 34c6c09..2f93097 100644 ++index b1acce2..61a6bf0 100644 +--- a/Telegram/SourceFiles/ui/vertical_list.cpp ++++ b/Telegram/SourceFiles/ui/vertical_list.cpp +@@ -1,3 +1,4 @@ @@ -8221,7 +8238,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/window/window_peer_menu.cpp b/Telegram/SourceFiles/window/window_peer_menu.cpp -+index 2f4dcc7..d5ddea8 100644 ++index bcba1a4..2f54010 100644 +--- a/Telegram/SourceFiles/window/window_peer_menu.cpp ++++ b/Telegram/SourceFiles/window/window_peer_menu.cpp +@@ -1,3 +1,4 @@ @@ -8230,7 +8247,7 @@ index 0000000..a33216b + This file is part of Telegram Desktop, + the official desktop application for the Telegram messaging service. +diff --git a/Telegram/SourceFiles/window/window_session_controller.cpp b/Telegram/SourceFiles/window/window_session_controller.cpp -+index 8c936c9..230ee43 100644 ++index 9272760..4278a0a 100644 +--- a/Telegram/SourceFiles/window/window_session_controller.cpp ++++ b/Telegram/SourceFiles/window/window_session_controller.cpp +@@ -1,3 +1,4 @@ @@ -8509,7 +8526,7 @@ index 0000000..a33216b + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_base/base/platform/linux/base_info_linux.cpp b/Telegram/lib_base/base/platform/linux/base_info_linux.cpp -+index 8333c70..6fbe92d 100644 ++index 8079f1d..242d017 100644 +--- a/Telegram/lib_base/base/platform/linux/base_info_linux.cpp ++++ b/Telegram/lib_base/base/platform/linux/base_info_linux.cpp +@@ -1,3 +1,4 @@ @@ -8563,7 +8580,7 @@ index 0000000..a33216b + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_base/base/platform/linux/base_linux_wayland_integration.cpp b/Telegram/lib_base/base/platform/linux/base_linux_wayland_integration.cpp -+index ad53e45..4ffd31e 100644 ++index 3966b19..7e1102a 100644 +--- a/Telegram/lib_base/base/platform/linux/base_linux_wayland_integration.cpp ++++ b/Telegram/lib_base/base/platform/linux/base_linux_wayland_integration.cpp +@@ -1,3 +1,4 @@ @@ -8572,7 +8589,7 @@ index 0000000..a33216b + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_base/base/platform/linux/base_linux_wayland_integration_dummy.cpp b/Telegram/lib_base/base/platform/linux/base_linux_wayland_integration_dummy.cpp -+index 2fdf8b0..df25fc6 100644 ++index cb1cdec..b08c194 100644 +--- a/Telegram/lib_base/base/platform/linux/base_linux_wayland_integration_dummy.cpp ++++ b/Telegram/lib_base/base/platform/linux/base_linux_wayland_integration_dummy.cpp +@@ -1,3 +1,4 @@ @@ -8626,7 +8643,7 @@ index 0000000..a33216b + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_base/base/platform/linux/base_power_save_blocker_linux.cpp b/Telegram/lib_base/base/platform/linux/base_power_save_blocker_linux.cpp -+index 668e2dd..2197eba 100644 ++index 0fdec60..de84b72 100644 +--- a/Telegram/lib_base/base/platform/linux/base_power_save_blocker_linux.cpp ++++ b/Telegram/lib_base/base/platform/linux/base_power_save_blocker_linux.cpp +@@ -1,3 +1,4 @@ @@ -9734,7 +9751,7 @@ index 0000000..a33216b + // a set of libraries for developing nice desktop applications. + // +diff --git a/Telegram/lib_ui/ui/text/custom_emoji_instance.cpp b/Telegram/lib_ui/ui/text/custom_emoji_instance.cpp -+index 279ac85..bb39d4e 100644 ++index 1e1acac..c665761 100644 +--- a/Telegram/lib_ui/ui/text/custom_emoji_instance.cpp ++++ b/Telegram/lib_ui/ui/text/custom_emoji_instance.cpp +@@ -1,3 +1,4 @@ diff --git a/net-im/telegram-desktop/patches/telegram_desktop-4.14.15.patchset b/net-im/telegram-desktop/patches/telegram_desktop-4.15.0.patchset similarity index 96% rename from net-im/telegram-desktop/patches/telegram_desktop-4.14.15.patchset rename to net-im/telegram-desktop/patches/telegram_desktop-4.15.0.patchset index 4045ff9d7..605fd6ff2 100644 --- a/net-im/telegram-desktop/patches/telegram_desktop-4.14.15.patchset +++ b/net-im/telegram-desktop/patches/telegram_desktop-4.15.0.patchset @@ -1,6 +1,6 @@ -From 24cb2faa326f5c2950b83d07070764d678eb1343 Mon Sep 17 00:00:00 2001 +From 35197d2cbea6178c5e188df237184db0b0b2947d Mon Sep 17 00:00:00 2001 From: Gerasim Troeglazov <3dEyes@gmail.com> -Date: Thu, 15 Feb 2024 21:47:54 +1000 +Date: Sun, 25 Feb 2024 08:15:25 +0000 Subject: Add haiku support @@ -138,7 +138,7 @@ index 0000000..e5f8b64 + +resource("BEOS:default_shortcut") "S"; diff --git a/Telegram/CMakeLists.txt b/Telegram/CMakeLists.txt -index b8765cd..f8c9bfd 100644 +index e1766f5..7ecb4e8 100644 --- a/Telegram/CMakeLists.txt +++ b/Telegram/CMakeLists.txt @@ -91,6 +91,15 @@ PRIVATE @@ -218,10 +218,10 @@ index 82aa7c4..b566a45 100644 rpl::variable _systemDarkModeEnabled = false; rpl::variable _windowTitleContent; diff --git a/Telegram/SourceFiles/core/sandbox.cpp b/Telegram/SourceFiles/core/sandbox.cpp -index 6feacdb..38f5f23 100644 +index fb145f7..819b335 100644 --- a/Telegram/SourceFiles/core/sandbox.cpp +++ b/Telegram/SourceFiles/core/sandbox.cpp -@@ -234,7 +234,7 @@ void Sandbox::setupScreenScale() { +@@ -235,7 +235,7 @@ void Sandbox::setupScreenScale() { const auto screen = Sandbox::primaryScreen(); const auto dpi = screen->logicalDotsPerInch(); @@ -230,7 +230,7 @@ index 6feacdb..38f5f23 100644 const auto base = (basePair.first + basePair.second) * 0.5; const auto screenScaleExact = dpi / base; const auto screenScale = int(base::SafeRound(screenScaleExact * 20)) * 5; -@@ -257,9 +257,12 @@ Sandbox::~Sandbox() = default; +@@ -258,9 +258,12 @@ Sandbox::~Sandbox() = default; bool Sandbox::event(QEvent *e) { if (e->type() == QEvent::Quit && !Quitting()) { @@ -246,7 +246,7 @@ index 6feacdb..38f5f23 100644 } else if (e->type() == QEvent::Close) { Quit(); } else if (e->type() == DeadlockDetector::PingPongEvent::Type()) { -@@ -273,7 +276,7 @@ bool Sandbox::event(QEvent *e) { +@@ -274,7 +277,7 @@ bool Sandbox::event(QEvent *e) { void Sandbox::socketConnected() { LOG(("Socket connected, this is not the first application instance, sending show command...")); _secondInstance = true; @@ -683,7 +683,7 @@ index 0000000..21935f0 +} // namespace Notifications +} // namespace Platform diff --git a/Telegram/SourceFiles/platform/linux/specific_linux.cpp b/Telegram/SourceFiles/platform/linux/specific_linux.cpp -index 6c1690c..1503455 100644 +index a63c54b..cb5aa32 100644 --- a/Telegram/SourceFiles/platform/linux/specific_linux.cpp +++ b/Telegram/SourceFiles/platform/linux/specific_linux.cpp @@ -27,6 +27,10 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL @@ -731,7 +731,7 @@ index 6c1690c..1503455 100644 void PortalAutostart(bool enabled, Fn done) { if (cExeName().isEmpty()) { -@@ -481,6 +512,10 @@ bool AutostartSupported() { +@@ -486,6 +517,10 @@ bool AutostartSupported() { } void AutostartToggle(bool enabled, Fn done) { @@ -742,7 +742,7 @@ index 6c1690c..1503455 100644 if (KSandbox::isFlatpak()) { PortalAutostart(enabled, done); return; -@@ -508,6 +543,7 @@ void AutostartToggle(bool enabled, Fn done) { +@@ -513,6 +548,7 @@ void AutostartToggle(bool enabled, Fn done) { if (done) { done(enabled && success); } @@ -750,7 +750,7 @@ index 6c1690c..1503455 100644 } bool AutostartSkip() { -@@ -573,7 +609,11 @@ QString psAppDataPath() { +@@ -578,7 +614,11 @@ QString psAppDataPath() { } } @@ -762,7 +762,7 @@ index 6c1690c..1503455 100644 } void psDoCleanup() { -@@ -701,6 +741,7 @@ bool OpenSystemSettings(SystemSettingsType type) { +@@ -706,6 +746,7 @@ bool OpenSystemSettings(SystemSettingsType type) { add("mate-volume-control"); } } @@ -931,6 +931,26 @@ index 00cae96..8fc5f52 100644 } QString CurrentExecutablePath(int argc, char *argv[]) { +diff --git a/Telegram/lib_base/base/platform/linux/base_info_linux.cpp b/Telegram/lib_base/base/platform/linux/base_info_linux.cpp +index a40477a..8079f1d 100644 +--- a/Telegram/lib_base/base/platform/linux/base_info_linux.cpp ++++ b/Telegram/lib_base/base/platform/linux/base_info_linux.cpp +@@ -307,6 +307,7 @@ bool IsX11() { + } + + bool IsWayland() { ++#ifndef Q_OS_HAIKU + if (!QGuiApplication::instance()) { + static const auto result = []() -> bool { + struct wl_display *(*wl_display_connect)(const char *name); +@@ -324,6 +325,7 @@ bool IsWayland() { + }(); + return result; + } ++#endif + static const auto result + = QGuiApplication::platformName().startsWith("wayland"); + return result; diff --git a/Telegram/lib_base/base/platform/linux/base_last_input_linux.cpp b/Telegram/lib_base/base/platform/linux/base_last_input_linux.cpp index b7f1225..7fc8df3 100644 --- a/Telegram/lib_base/base/platform/linux/base_last_input_linux.cpp @@ -987,10 +1007,10 @@ index fcf1179..37c857e 100644 #include diff --git a/Telegram/lib_base/base/platform/linux/base_power_save_blocker_linux.cpp b/Telegram/lib_base/base/platform/linux/base_power_save_blocker_linux.cpp -index 549f942..668e2dd 100644 +index 8026c64..0fdec60 100644 --- a/Telegram/lib_base/base/platform/linux/base_power_save_blocker_linux.cpp +++ b/Telegram/lib_base/base/platform/linux/base_power_save_blocker_linux.cpp -@@ -16,6 +16,10 @@ +@@ -17,6 +17,10 @@ #include "base/platform/linux/base_linux_xcb_utilities.h" #endif // !DESKTOP_APP_DISABLE_X11_INTEGRATION diff --git a/net-im/telegram-desktop/telegram_desktop-4.14.15.recipe b/net-im/telegram-desktop/telegram_desktop-4.15.0.recipe similarity index 95% rename from net-im/telegram-desktop/telegram_desktop-4.14.15.recipe rename to net-im/telegram-desktop/telegram_desktop-4.15.0.recipe index 833ab4463..9ad3261cb 100644 --- a/net-im/telegram-desktop/telegram_desktop-4.14.15.recipe +++ b/net-im/telegram-desktop/telegram_desktop-4.15.0.recipe @@ -5,7 +5,7 @@ COPYRIGHT="2013-2024 Telegram" LICENSE="GNU GPL v3" REVISION="1" SOURCE_URI="https://github.com/telegramdesktop/tdesktop/releases/download/v$portVersion/tdesktop-$portVersion-full.tar.gz" -CHECKSUM_SHA256="969b7e4d22229717ea7b210e3c429f25fd5d06ec61ef3030f993e8f912c1ebe6" +CHECKSUM_SHA256="8b0caed85f4876a83c6ece2e4c956589a9548fbca6b951fb99b8d55985fd6112" SOURCE_FILENAME="tdesktop-$portVersion-full.tar.gz" SOURCE_DIR="tdesktop-$portVersion-full" srcGitRev_2="2b383fe05f8ae78ac99470b9a2b9ea22b3ee5a92" @@ -77,10 +77,10 @@ BUILD_REQUIRES=" qt6_tools${secondaryArchSuffix}_devel devel:libabsl_strings$secondaryArchSuffix >= 2301.0.0 devel:libavcodec$secondaryArchSuffix >= 58 - devel:libboost_filesystem$secondaryArchSuffix >= 1.70.0 - devel:libboost_regex$secondaryArchSuffix >= 1.70.0 - devel:libboost_system$secondaryArchSuffix >= 1.70.0 - devel:libboost_program_options$secondaryArchSuffix >= 1.70.0 + devel:libboost_filesystem$secondaryArchSuffix >= 1.83.0 + devel:libboost_regex$secondaryArchSuffix >= 1.83.0 + devel:libboost_system$secondaryArchSuffix >= 1.83.0 + devel:libboost_program_options$secondaryArchSuffix >= 1.83.0 devel:libcrypto$secondaryArchSuffix devel:libfmt$secondaryArchSuffix devel:libgirepository_1.0$secondaryArchSuffix