summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD14
-rw-r--r--always_pin_without_notify.patch18
-rw-r--r--always_send_as_photo_or_album.patch28
-rw-r--r--remove_external_jpeg_for_webrtc.patch11
5 files changed, 45 insertions, 38 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6433138548cc..4ad43ba755bf 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = telegram-desktop9
pkgdesc = Official Telegram Desktop client (personal build)
- pkgver = 2.4.2
+ pkgver = 2.4.5
pkgrel = 1
url = https://desktop.telegram.org/
arch = x86_64
@@ -26,7 +26,7 @@ pkgbase = telegram-desktop9
optdepends = ttf-opensans: default Open Sans font family
provides = telegram-desktop
conflicts = telegram-desktop
- source = https://github.com/telegramdesktop/tdesktop/releases/download/v2.4.2/tdesktop-2.4.2-full.tar.gz
+ source = https://github.com/telegramdesktop/tdesktop/releases/download/v2.4.5/tdesktop-2.4.5-full.tar.gz
source = Use-tg_owt-webrtc-fork._patch::https://github.com/desktop-app/cmake_helpers/commit/4c8956027de8e8e8b984c5daa643aacb14a89123.patch
source = Update-webrtc-packaged-build-for-tg_owt._patch::https://github.com/desktop-app/cmake_helpers/commit/d955882cb4d4c94f61a9b1df62b7f93d3c5bff7d.patch
source = always_delete_for_everyone.patch
@@ -35,15 +35,17 @@ pkgbase = telegram-desktop9
source = clicky_sticker_panel.patch
source = dont_pulse_mentions.patch
source = no_circles.patch
- sha512sums = e626ac2f74b7ba9c8db847b26275d88d4c95beb3c2b8787d0ecdc7dc1b40548e825056acf45ece1e647e6a3d6da7215d16d908f443da311b9d99769639c19ad3
+ source = remove_external_jpeg_for_webrtc.patch
+ sha512sums = d0c792fcd890a95b24233f37cdfc34008e814f6f0730722a41916e25d2efff405fd472bd6b45bbfc79787ed117dc5f87271c438d92ec1ce29335cabe76a1062e
sha512sums = 3a7a20ace7dcea5be202e7b3008807ba0ae38ae8266709e3595f6b3c0aa2bf81299da4b5a7e7d66d2d9b3040cc6618e67e4d7b9572b2649db4c477056e649bcf
sha512sums = b3c44e76a3907f7acc197746b471564577e912bf0561e9576dc8459211c88f400716437bcaa10967376461c69c8a98a56477d26d3feb9ca34747d9208bf5f6c6
sha512sums = fdef3a430bdd60d88c9e9011ee878805e7803699204a2a7e22797d0f8729bf7dc0543851083ad700a4ece32bc768b6bfeb6f0135c8c039e035b22afb6df1171d
- sha512sums = 91a0edab6408a223db77b75df5a913ffd36efa79340e8d78fa01ac2c3b6e09d5a5fc7fa214ccd40473093809f86b7aef199cebf56a1d5821c20083c4a3e5780b
- sha512sums = f934856707feec5c141ea2d03bf3fb5583c7a9065c46ce0bc3cbf7cbc853ad0c6ee64267eba66a94ce7b85caf9f61cb4c661295ca84f361ec049ee2de128d6dd
+ sha512sums = dc5ffda130496c44bfe52792e856dac811b1a8e48b463529dd54396ad1b45915f8b6d9fcb6cb254f9350b3440d7b94a67d1c19660962f0350015061b021af6f1
+ sha512sums = 4da055da633b40b6133d14fd13d1aa9d933b3ba4b19370bc0edbccc02d4e31a9291191f7dc3a2aca9225da8dabca6ed33f90ab757435bebd034b6fed28ac8092
sha512sums = 010d0ea4e39170077e066858746411f1cc90bb6a9f343b29dbc82b1e963815e4ce220da2a1203661c57fe1810667a2bed34a4f02220fa75f2bc209c5e8472873
sha512sums = 673e2a28781d0d604549c621592b1017ad306ddaf6d1beedfe73f3f1357fbb6afd994a324dfa15029789bdf8a4d6e85ad12a3877519618f6585bbc1927c06900
sha512sums = 8ec6b1739a1391b75a2653fff704a7d22e830c526acffe138936bbd20047bd24831e42558fa22069d7e914e762bbcfa2e1b14a8fd3911fd8bbbd0662d8baac14
+ sha512sums = 8801aa52a6a7d844503ce1af43748db73ebfd5603b82c8bc2b297df1ff9227267ec3fad5844bcb7f85d95e09354469b5ddfd50fa17b7699eb638beac39738c02
pkgname = telegram-desktop9
diff --git a/PKGBUILD b/PKGBUILD
index 99f5410437f5..4075460327d9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: Sven-Hendrik Haase <svenstaro@gmail.com>
# Contributor: hexchain <i@hexchain.org>
pkgname=telegram-desktop9
-pkgver=2.4.2
+pkgver=2.4.5
pkgrel=1
pkgdesc='Official Telegram Desktop client (personal build)'
arch=('x86_64')
@@ -23,16 +23,18 @@ source=("https://github.com/telegramdesktop/tdesktop/releases/download/v${pkgver
"always_send_as_photo_or_album.patch"
"clicky_sticker_panel.patch"
"dont_pulse_mentions.patch"
- "no_circles.patch")
-sha512sums=('e626ac2f74b7ba9c8db847b26275d88d4c95beb3c2b8787d0ecdc7dc1b40548e825056acf45ece1e647e6a3d6da7215d16d908f443da311b9d99769639c19ad3'
+ "no_circles.patch"
+ "remove_external_jpeg_for_webrtc.patch")
+sha512sums=('d0c792fcd890a95b24233f37cdfc34008e814f6f0730722a41916e25d2efff405fd472bd6b45bbfc79787ed117dc5f87271c438d92ec1ce29335cabe76a1062e'
'3a7a20ace7dcea5be202e7b3008807ba0ae38ae8266709e3595f6b3c0aa2bf81299da4b5a7e7d66d2d9b3040cc6618e67e4d7b9572b2649db4c477056e649bcf'
'b3c44e76a3907f7acc197746b471564577e912bf0561e9576dc8459211c88f400716437bcaa10967376461c69c8a98a56477d26d3feb9ca34747d9208bf5f6c6'
'fdef3a430bdd60d88c9e9011ee878805e7803699204a2a7e22797d0f8729bf7dc0543851083ad700a4ece32bc768b6bfeb6f0135c8c039e035b22afb6df1171d'
- '91a0edab6408a223db77b75df5a913ffd36efa79340e8d78fa01ac2c3b6e09d5a5fc7fa214ccd40473093809f86b7aef199cebf56a1d5821c20083c4a3e5780b'
- 'f934856707feec5c141ea2d03bf3fb5583c7a9065c46ce0bc3cbf7cbc853ad0c6ee64267eba66a94ce7b85caf9f61cb4c661295ca84f361ec049ee2de128d6dd'
+ 'dc5ffda130496c44bfe52792e856dac811b1a8e48b463529dd54396ad1b45915f8b6d9fcb6cb254f9350b3440d7b94a67d1c19660962f0350015061b021af6f1'
+ '4da055da633b40b6133d14fd13d1aa9d933b3ba4b19370bc0edbccc02d4e31a9291191f7dc3a2aca9225da8dabca6ed33f90ab757435bebd034b6fed28ac8092'
'010d0ea4e39170077e066858746411f1cc90bb6a9f343b29dbc82b1e963815e4ce220da2a1203661c57fe1810667a2bed34a4f02220fa75f2bc209c5e8472873'
'673e2a28781d0d604549c621592b1017ad306ddaf6d1beedfe73f3f1357fbb6afd994a324dfa15029789bdf8a4d6e85ad12a3877519618f6585bbc1927c06900'
- '8ec6b1739a1391b75a2653fff704a7d22e830c526acffe138936bbd20047bd24831e42558fa22069d7e914e762bbcfa2e1b14a8fd3911fd8bbbd0662d8baac14')
+ '8ec6b1739a1391b75a2653fff704a7d22e830c526acffe138936bbd20047bd24831e42558fa22069d7e914e762bbcfa2e1b14a8fd3911fd8bbbd0662d8baac14'
+ '8801aa52a6a7d844503ce1af43748db73ebfd5603b82c8bc2b297df1ff9227267ec3fad5844bcb7f85d95e09354469b5ddfd50fa17b7699eb638beac39738c02')
prepare() {
cd "$srcdir/tdesktop-$pkgver-full"
diff --git a/always_pin_without_notify.patch b/always_pin_without_notify.patch
index 18ed7c2c7653..e94c74f4689f 100644
--- a/always_pin_without_notify.patch
+++ b/always_pin_without_notify.patch
@@ -2,15 +2,15 @@ Description: Deselects the "Notify all members" checkbox by default
Credits: novie
diff --git a/Telegram/SourceFiles/boxes/confirm_box.cpp b/Telegram/SourceFiles/boxes/confirm_box.cpp
-index c80aea98b..8ae53cddc 100644
+index 0788195b0..523c31522 100644
--- a/Telegram/SourceFiles/boxes/confirm_box.cpp
+++ b/Telegram/SourceFiles/boxes/confirm_box.cpp
-@@ -401,7 +401,7 @@ void PinMessageBox::prepare() {
- addButton(tr::lng_cancel(), [this] { closeBox(); });
-
- if (_peer->isChat() || _peer->isMegagroup()) {
-- _notify.create(this, tr::lng_pinned_notify(tr::now), true, st::defaultBoxCheckbox);
-+ _notify.create(this, tr::lng_pinned_notify(tr::now), false, st::defaultBoxCheckbox);
+@@ -488,7 +488,7 @@ void PinMessageBox::prepare() {
+ _notify.create(
+ this,
+ tr::lng_pinned_notify(tr::now),
+- true,
++ false,
+ st::defaultBoxCheckbox);
+ _checkbox = _notify;
}
-
- auto height = st::boxPadding.top() + _text->height() + st::boxPadding.bottom();
diff --git a/always_send_as_photo_or_album.patch b/always_send_as_photo_or_album.patch
index 8b3b11e81583..5b144b0bd64e 100644
--- a/always_send_as_photo_or_album.patch
+++ b/always_send_as_photo_or_album.patch
@@ -3,23 +3,15 @@ photo or album by default.
Credits: udf
diff --git a/Telegram/SourceFiles/boxes/send_files_box.cpp b/Telegram/SourceFiles/boxes/send_files_box.cpp
-index 32ff2af77..28c32cced 100644
+index 79cf159dd..814e3a4de 100644
--- a/Telegram/SourceFiles/boxes/send_files_box.cpp
+++ b/Telegram/SourceFiles/boxes/send_files_box.cpp
-@@ -1947,15 +1947,7 @@ void SendFilesBox::initSendWay() {
- ? SendFilesWay::Album
- : SendFilesWay::Photos;
- }
-- const auto way = Core::App().settings().sendFilesWay();
-- if (way == SendFilesWay::Files) {
-- return way;
-- } else if (way == SendFilesWay::Album) {
-- return _list.albumIsPossible
-- ? SendFilesWay::Album
-- : SendFilesWay::Photos;
-- }
-- return (_list.albumIsPossible && !_albumPhotosCount)
-+ return _list.albumIsPossible
- ? SendFilesWay::Album
- : SendFilesWay::Photos;
- }();
+@@ -425,6 +425,8 @@ void SendFilesBox::openDialogToAddFileToAlbum() {
+ void SendFilesBox::initSendWay() {
+ _sendWay = [&] {
+ auto result = Core::App().settings().sendFilesWay();
++ result.setGroupFiles(true);
++ result.setSendImagesAsPhotos(true);
+ if (_sendLimit == SendLimit::One) {
+ result.setGroupFiles(true);
+ return result;
diff --git a/remove_external_jpeg_for_webrtc.patch b/remove_external_jpeg_for_webrtc.patch
new file mode 100644
index 000000000000..967a4a17bdf7
--- /dev/null
+++ b/remove_external_jpeg_for_webrtc.patch
@@ -0,0 +1,11 @@
+diff --git a/external/webrtc/CMakeLists.txt b/external/webrtc/CMakeLists.txt
+index 8adb2d2..a354057 100644
+--- a/cmake/external/webrtc/CMakeLists.txt
++++ b/cmake/external/webrtc/CMakeLists.txt
+@@ -98,6 +98,5 @@ else()
+ INTERFACE
+ ${webrtc_libs_list}
+ desktop-app::external_openssl
+- desktop-app::external_jpeg
+ )
+ endif()