summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKalev Lember <klember@redhat.com>2021-02-02 16:41:09 +0100
committerKalev Lember <klember@redhat.com>2021-02-02 16:43:35 +0100
commit634d3e1ea31b0711f2c72024c78272968f08bafa (patch)
tree3b25c98cf96e7a64f775c3793ec7fd4f233418db
parentAdd Changelog (diff)
downloadlibrewolf-fedora-ff-634d3e1ea31b0711f2c72024c78272968f08bafa.tar.gz
librewolf-fedora-ff-634d3e1ea31b0711f2c72024c78272968f08bafa.tar.bz2
librewolf-fedora-ff-634d3e1ea31b0711f2c72024c78272968f08bafa.zip
Remove gtk2 support as flash plugin is no longer supported
ESR91 is supposed to drop gtk2 support, but in the mean time, we can just rm the gtk2 libmozgtk.so as we are using gtk3 by default. The last supported plugin -- adobe flash -- is no longer supported in Firefox 85, so we no longer need to keep the gtk2 libmozgtk around for the plugin loader. https://pagure.io/fedora-workstation/issue/180
-rw-r--r--firefox.spec9
1 files changed, 7 insertions, 2 deletions
diff --git a/firefox.spec b/firefox.spec
index ca3b6de..5f726d9 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -174,7 +174,7 @@ ExcludeArch: armv7hl
Summary: Mozilla Firefox Web browser
Name: firefox
Version: 85.0
-Release: 9%{?pre_tag}%{?dist}
+Release: 10%{?pre_tag}%{?dist}
URL: https://www.mozilla.org/firefox/
License: MPLv1.1 or GPLv2+ or LGPLv2+
Source0: https://archive.mozilla.org/pub/firefox/releases/%{version}%{?pre_version}/source/firefox-%{version}%{?pre_version}.source.tar.xz
@@ -929,6 +929,9 @@ mkdir -p %{buildroot}%{_datadir}/metainfo
mkdir -p %{buildroot}%{_datadir}/gnome-shell/search-providers
%{__cp} %{SOURCE34} %{buildroot}%{_datadir}/gnome-shell/search-providers
+# Remove gtk2 support as flash plugin is no longer supported
+rm -rf %{buildroot}%{mozappdir}/gtk2/
+
# Remove copied libraries to speed up build
rm -f %{buildroot}%{mozappdirdev}/sdk/lib/libmozjs.so
rm -f %{buildroot}%{mozappdirdev}/sdk/lib/libmozalloc.so
@@ -1023,7 +1026,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%{mozappdir}/browser/crashreporter-override.ini
%endif
%{mozappdir}/*.so
-%{mozappdir}/gtk2/*.so
%{mozappdir}/defaults/pref/channel-prefs.js
%{mozappdir}/dependentlibs.list
%{mozappdir}/dictionaries
@@ -1042,6 +1044,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
#---------------------------------------------------------------------
%changelog
+* Tue Feb 02 2021 Kalev Lember <klember@redhat.com> - 85.0-10
+- Remove gtk2 support as flash plugin is no longer supported
+
* Sat Jan 30 2021 Martin Stransky <stransky@redhat.com> - 85.0-9
- Enable WebRender on KDE/Wayland and AMD/Intel drivers.
bgstack15