commit: 5ebd386a94bb8a99f5999dccd80dec422eaba17a
Author: Jory Pratt <anarchy <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 8 02:00:54 2020 +0000
Commit: Jory Pratt <anarchy <AT> gentoo <DOT> org>
CommitDate: Wed Apr 8 02:00:54 2020 +0000
URL: https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=5ebd386a
www-client/firefox: Drop xinput2, do not allow profile downgrades
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Jory Pratt <anarchy <AT> gentoo.org>
www-client/firefox/files/firefox.sh | 24 +---------------------
...{firefox-75.0.ebuild => firefox-75.0-r1.ebuild} | 0
2 files changed, 1 insertion(+), 23 deletions(-)
diff --git a/www-client/firefox/files/firefox.sh
b/www-client/firefox/files/firefox.sh
index c08d555..eb66a42 100644
--- a/www-client/firefox/files/firefox.sh
+++ b/www-client/firefox/files/firefox.sh
@@ -90,31 +90,9 @@ if [[ "$XDG_CURRENT_DESKTOP" == "GNOME" ]]; then
export GNOME_DISABLE_CRASH_DIALOG
fi
-##
-## Enable Xinput2 (#617344)
-##
-
-# respect user settings
-MOZ_USE_XINPUT2=${MOZ_USE_XINPUT2:-auto}
-
-if [[ ${MOZ_USE_XINPUT2} == auto && -n ${WAYLAND_DISPLAY} ]]; then
- # enabling XINPUT2 should be safe for all wayland users
- MOZ_USE_XINPUT2=1
-elif [[ ${MOZ_USE_XINPUT2} == auto && ${XDG_CURRENT_DESKTOP^^} == KDE ]]; then
- # XINPUT2 is known to cause problems for KWin users
- MOZ_USE_XINPUT2=0
-elif [[ ${MOZ_USE_XINPUT2} == auto && ${XDG_CURRENT_DESKTOP^^} == LXQT ]]; then
- # LXQt uses KWin
- MOZ_USE_XINPUT2=0
-elif [[ ${MOZ_USE_XINPUT2} == auto ]]; then
- # should work on Mate, Xfce, FluxBox, OpenBox and all the others ...
- MOZ_USE_XINPUT2=1
-fi
-
-[[ ${MOZ_USE_XINPUT2} != 0 ]] && export MOZ_USE_XINPUT2=${MOZ_USE_XINPUT2}
# Don't throw "old profile" dialog box.
-export MOZ_ALLOW_DOWNGRADE=1
+export MOZ_ALLOW_DOWNGRADE=0
##
## Route to the correct .desktop file to get proper
diff --git a/www-client/firefox/firefox-75.0.ebuild
b/www-client/firefox/firefox-75.0-r1.ebuild
similarity index 100%
rename from www-client/firefox/firefox-75.0.ebuild
rename to www-client/firefox/firefox-75.0-r1.ebuild