From 983d5dbd189dc727ab7d27f8a44d915beaa7a95b Mon Sep 17 00:00:00 2001 From: Martin Stransky Date: Sat, 13 Dec 2014 17:44:44 +0100 Subject: [PATCH] Gtk3 - Workaround for Firefox freeze when accessibility is enabled --- firefox-gtk3-atk.patch | 14 ++++++++++++++ firefox.spec | 7 ++++++- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 firefox-gtk3-atk.patch diff --git a/firefox-gtk3-atk.patch b/firefox-gtk3-atk.patch new file mode 100644 index 0000000..e5e33b5 --- /dev/null +++ b/firefox-gtk3-atk.patch @@ -0,0 +1,14 @@ +diff -up firefox-34.0/mozilla-release/accessible/atk/Platform.cpp.old firefox-34.0/mozilla-release/accessible/atk/Platform.cpp +--- firefox-34.0/mozilla-release/accessible/atk/Platform.cpp.old 2014-11-26 03:17:05.000000000 +0100 ++++ firefox-34.0/mozilla-release/accessible/atk/Platform.cpp 2014-12-13 17:40:29.414539391 +0100 +@@ -276,6 +276,9 @@ dbus_done: + bool + a11y::ShouldA11yBeEnabled() + { ++ // Temporary disable for Gtk3 ++ return false; ++ + static bool sChecked = false, sShouldEnable = false; + if (sChecked) + return sShouldEnable; +diff -up firefox-34.0/mozilla-release/media/webrtc/trunk/Makefile.old firefox-34.0/mozilla-release/media/webrtc/trunk/Makefile diff --git a/firefox.spec b/firefox.spec index cf90c18..79dbe00 100644 --- a/firefox.spec +++ b/firefox.spec @@ -113,7 +113,7 @@ Summary: Mozilla Firefox Web browser Name: firefox Version: 34.0 -Release: 7%{?pre_tag}%{?dist} +Release: 8%{?pre_tag}%{?dist} URL: http://www.mozilla.org/projects/firefox/ License: MPLv1.1 or GPLv2+ or LGPLv2+ Group: Applications/Internet @@ -158,6 +158,7 @@ Patch404: mozilla-1101582.patch Patch405: mozilla-1073117-check.patch Patch406: mozilla-1073117-color.patch Patch407: mozilla-1097592.patch +Patch408: firefox-gtk3-atk.patch %if %{official_branding} # Required by Mozilla Corporation @@ -312,6 +313,7 @@ cd %{tarballdir} %patch405 -p1 -b .1073117-check %patch406 -p1 -b .1073117-color %patch407 -p1 -b .1097592 +%patch408 -p2 -b .gtk3 %endif %if %{official_branding} @@ -775,6 +777,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : #--------------------------------------------------------------------- %changelog +* Sat Dec 13 2014 Martin Stransky - 34.0-8 +- Gtk3 - Workaround for Firefox freeze when accessibility is enabled + * Fri Dec 12 2014 Martin Stransky - 34.0-7 - Added fix for mozbz#1097592 - Firefox freeze in Gtk3