summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorEsteve Varela Colominas <esteve.varela@gmail.com>2021-06-04 14:45:41 +0200
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2021-06-04 11:43:34 -0700
commitc612239cd9c08b694ba8542b288610c92c3e870a (patch)
treed8f634666efa4cf0efa8f3762218075e3d7db00e /net-im
parentdev-lua/luasec: drop old version (diff)
downloadgentoo-c612239cd9c08b694ba8542b288610c92c3e870a.tar.gz
gentoo-c612239cd9c08b694ba8542b288610c92c3e870a.tar.bz2
gentoo-c612239cd9c08b694ba8542b288610c92c3e870a.zip
net-im/telegram-desktop: Fix USE=-dbus
No revbump since it wasn't able to build, and this has no single chance of affecting anything *but* USE=-dbus. Closes: https://bugs.gentoo.org/794094 Thanks-to: Joe Kappus <joecool1029@gmail.com> Signed-off-by: Esteve Varela Colominas <esteve.varela@gmail.com> Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'net-im')
-rw-r--r--net-im/telegram-desktop/files/tdesktop-2.7.4-fix-disable-dbus-integration.patch21
-rw-r--r--net-im/telegram-desktop/telegram-desktop-2.7.4-r1.ebuild3
2 files changed, 23 insertions, 1 deletions
diff --git a/net-im/telegram-desktop/files/tdesktop-2.7.4-fix-disable-dbus-integration.patch b/net-im/telegram-desktop/files/tdesktop-2.7.4-fix-disable-dbus-integration.patch
new file mode 100644
index 000000000000..941a4ecc09cb
--- /dev/null
+++ b/net-im/telegram-desktop/files/tdesktop-2.7.4-fix-disable-dbus-integration.patch
@@ -0,0 +1,21 @@
+--- tdesktop-2.7.4-full.orig/Telegram/SourceFiles/platform/linux/notifications_manager_linux_dummy.cpp
++++ tdesktop-2.7.4-full/Telegram/SourceFiles/platform/linux/notifications_manager_linux_dummy.cpp
+@@ -13,15 +13,15 @@
+ namespace Platform {
+ namespace Notifications {
+
+-bool SkipAudio() {
++bool SkipAudioForCustom() {
+ return false;
+ }
+
+-bool SkipToast() {
++bool SkipToastForCustom() {
+ return false;
+ }
+
+-bool SkipFlashBounce() {
++bool SkipFlashBounceForCustom() {
+ return false;
+ }
+
diff --git a/net-im/telegram-desktop/telegram-desktop-2.7.4-r1.ebuild b/net-im/telegram-desktop/telegram-desktop-2.7.4-r1.ebuild
index 095e7419b7c7..bf094b208475 100644
--- a/net-im/telegram-desktop/telegram-desktop-2.7.4-r1.ebuild
+++ b/net-im/telegram-desktop/telegram-desktop-2.7.4-r1.ebuild
@@ -73,10 +73,11 @@ PATCHES=(
"${FILESDIR}/tdesktop-2.7.3-webview-include-gdkx.patch"
# https://github.com/desktop-app/lib_webview/pull/3
"${FILESDIR}/tdesktop-2.7.4-webview-fix-gcc11.patch"
-
# https://github.com/telegramdesktop/tdesktop/issues/16217
"${FILESDIR}/tdesktop-2.7.4-voice-crash.patch"
"${FILESDIR}/tdesktop-2.7.4-voice-ffmpeg44.patch"
+ # https://github.com/telegramdesktop/tdesktop/commit/404538c98968d44d207671de3adde91b8df50721
+ "${FILESDIR}/tdesktop-2.7.4-fix-disable-dbus-integration.patch"
)
pkg_pretend() {