From aa018a344d55808a3baaecd23ecfaea397961e8c Mon Sep 17 00:00:00 2001 From: Oran Mehavi Date: Tue, 26 Jul 2022 23:29:16 +0300 Subject: [PATCH 1/4] Added launch flags for improving UI performance and responsiveness --- discord.desktop | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord.desktop b/discord.desktop index 8746df0..bd3868f 100644 --- a/discord.desktop +++ b/discord.desktop @@ -4,7 +4,7 @@ Comment=Free voice and text chat for gamers StartupWMClass=discord Version=1.0 Icon=/opt/@dir/@icon -Exec=/opt/@dir/@exe +Exec=/opt/@dir/@exe --enable-accelerated-mjpeg-decode --enable-accelerated-video --ignore-gpu-blacklist --enable-native-gpu-memory-buffers --enable-gpu-rasterization Type=Application Terminal=false StartupNotify=true From d1a78f942192f7f5d901e63b794c6f4581ef2ff4 Mon Sep 17 00:00:00 2001 From: Oran Mehavi Date: Mon, 19 Sep 2022 16:09:15 +0300 Subject: [PATCH 2/4] Disable stripping of symbols Symbols need to be unstripped for Krisp support to show up in the client. --- discord.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/discord.spec b/discord.spec index 049345f..87216c3 100644 --- a/discord.spec +++ b/discord.spec @@ -8,6 +8,9 @@ %define install_dir /opt/%{pkg_name} %define apps_dir /usr/share/applications %define _build_id_links none +%global _enable_debug_package 0 +%global debug_package %{nil} +%global __os_install_post /usr/lib/rpm/brp-compress %{nil} Name: %{pkg_name} Version: %{pkg_version} From 0356b3f8acce137ba22098c1e409a9ada88c3e42 Mon Sep 17 00:00:00 2001 From: Oran Mehavi Date: Mon, 19 Sep 2022 16:19:48 +0300 Subject: [PATCH 3/4] Revert "Disable stripping of symbols" This reverts commit d1a78f942192f7f5d901e63b794c6f4581ef2ff4. Revert commit --- discord.spec | 3 --- 1 file changed, 3 deletions(-) diff --git a/discord.spec b/discord.spec index 87216c3..049345f 100644 --- a/discord.spec +++ b/discord.spec @@ -8,9 +8,6 @@ %define install_dir /opt/%{pkg_name} %define apps_dir /usr/share/applications %define _build_id_links none -%global _enable_debug_package 0 -%global debug_package %{nil} -%global __os_install_post /usr/lib/rpm/brp-compress %{nil} Name: %{pkg_name} Version: %{pkg_version} From 0d3700ebf2e35dea3c2ee02f8d1e4a49b5ff276b Mon Sep 17 00:00:00 2001 From: Oran Mehavi Date: Mon, 19 Sep 2022 16:23:49 +0300 Subject: [PATCH 4/4] Disable stripping of symbols Symbols need to be unstripped for Krisp support to show up in the client. --- discord.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/discord.spec b/discord.spec index 049345f..87216c3 100644 --- a/discord.spec +++ b/discord.spec @@ -8,6 +8,9 @@ %define install_dir /opt/%{pkg_name} %define apps_dir /usr/share/applications %define _build_id_links none +%global _enable_debug_package 0 +%global debug_package %{nil} +%global __os_install_post /usr/lib/rpm/brp-compress %{nil} Name: %{pkg_name} Version: %{pkg_version}