summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2021-02-01 16:24:14 +0100
committerMartin Stransky <stransky@redhat.com>2021-02-01 16:24:14 +0100
commit7effc75904ad97337e2ebb1df9455a8c9ce7d554 (patch)
tree9c90acbaf8deb9449b8e58d884e90f94d09b6d0e
parentMerge branch 'master' into f33 (diff)
parentAdd Changelog (diff)
downloadlibrewolf-fedora-ff-7effc75904ad97337e2ebb1df9455a8c9ce7d554.tar.gz
librewolf-fedora-ff-7effc75904ad97337e2ebb1df9455a8c9ce7d554.tar.bz2
librewolf-fedora-ff-7effc75904ad97337e2ebb1df9455a8c9ce7d554.zip
Merge branch 'master' into f33
-rw-r--r--firefox-kde-webrender.patch33
-rw-r--r--firefox.spec11
2 files changed, 41 insertions, 3 deletions
diff --git a/firefox-kde-webrender.patch b/firefox-kde-webrender.patch
new file mode 100644
index 0000000..b827a57
--- /dev/null
+++ b/firefox-kde-webrender.patch
@@ -0,0 +1,33 @@
+diff -up firefox-85.0/widget/GfxInfoX11.cpp.firefox-kde-webrender firefox-85.0/widget/GfxInfoX11.cpp
+--- firefox-85.0/widget/GfxInfoX11.cpp.firefox-kde-webrender 2021-02-01 16:15:09.807773987 +0100
++++ firefox-85.0/widget/GfxInfoX11.cpp 2021-02-01 16:20:26.115125315 +0100
+@@ -713,6 +713,14 @@ const nsTArray<GfxDriverInfo>& GfxInfo::
+ DRIVER_GREATER_THAN_OR_EQUAL, V(18, 0, 0, 0),
+ "FEATURE_ROLLOUT_INTEL_GNOME_WAYLAND_MESA", "Mesa 18.0.0.0");
+
++ APPEND_TO_DRIVER_BLOCKLIST_EXT(
++ OperatingSystem::Linux, ScreenSizeStatus::All, BatteryStatus::All,
++ DesktopEnvironment::KDE, WindowProtocol::Wayland,
++ DriverVendor::MesaAll, DeviceFamily::IntelRolloutWebRender,
++ nsIGfxInfo::FEATURE_WEBRENDER, nsIGfxInfo::FEATURE_ALLOW_ALWAYS,
++ DRIVER_GREATER_THAN_OR_EQUAL, V(18, 0, 0, 0),
++ "FEATURE_ROLLOUT_INTEL_GNOME_WAYLAND_MESA", "Mesa 18.0.0.0");
++
+ // ATI Mesa baseline, chosen arbitrarily.
+ APPEND_TO_DRIVER_BLOCKLIST_EXT(
+ OperatingSystem::Linux, ScreenSizeStatus::All, BatteryStatus::All,
+@@ -727,6 +735,14 @@ const nsTArray<GfxDriverInfo>& GfxInfo::
+ DriverVendor::MesaAll, DeviceFamily::AtiRolloutWebRender,
+ nsIGfxInfo::FEATURE_WEBRENDER, nsIGfxInfo::FEATURE_ALLOW_ALWAYS,
+ DRIVER_GREATER_THAN_OR_EQUAL, V(18, 0, 0, 0),
++ "FEATURE_ROLLOUT_ATI_GNOME_WAYLAND_MESA", "Mesa 18.0.0.0");
++
++ APPEND_TO_DRIVER_BLOCKLIST_EXT(
++ OperatingSystem::Linux, ScreenSizeStatus::All, BatteryStatus::All,
++ DesktopEnvironment::KDE, WindowProtocol::Wayland,
++ DriverVendor::MesaAll, DeviceFamily::AtiRolloutWebRender,
++ nsIGfxInfo::FEATURE_WEBRENDER, nsIGfxInfo::FEATURE_ALLOW_ALWAYS,
++ DRIVER_GREATER_THAN_OR_EQUAL, V(18, 0, 0, 0),
+ "FEATURE_ROLLOUT_ATI_GNOME_WAYLAND_MESA", "Mesa 18.0.0.0");
+
+ #ifdef EARLY_BETA_OR_EARLIER
diff --git a/firefox.spec b/firefox.spec
index 3ef52af..ca3b6de 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -141,8 +141,8 @@ ExcludeArch: armv7hl
%global nss_build_version %{nss_version}
%endif
-%global mozappdir %{_libdir}/%{name}
-%global mozappdirdev %{_libdir}/%{name}-devel-%{version}
+%global mozappdir %{_libdir}/firefox
+%global mozappdirdev %{_libdir}/firefox-devel-%{version}
%global langpackdir %{mozappdir}/langpacks
%global tarballdir firefox-%{version}
@@ -174,7 +174,7 @@ ExcludeArch: armv7hl
Summary: Mozilla Firefox Web browser
Name: firefox
Version: 85.0
-Release: 8%{?pre_tag}%{?dist}
+Release: 9%{?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
@@ -240,6 +240,7 @@ Patch226: rhbz-1354671.patch
Patch227: firefox-locale-debug.patch
Patch228: disable-openh264-download.patch
Patch229: firefox-nss-addon-hack.patch
+Patch230: firefox-kde-webrender.patch
# Upstream patches
Patch402: mozilla-1196777.patch
@@ -453,6 +454,7 @@ This package contains results of tests executed during build.
%patch227 -p1 -b .locale-debug
%patch228 -p1 -b .disable-openh264-download
%patch229 -p1 -b .firefox-nss-addon-hack
+%patch230 -p1 -b .firefox-kde-webrender
%patch402 -p1 -b .1196777
%patch407 -p1 -b .1667096
@@ -1040,6 +1042,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
#---------------------------------------------------------------------
%changelog
+* Sat Jan 30 2021 Martin Stransky <stransky@redhat.com> - 85.0-9
+- Enable WebRender on KDE/Wayland and AMD/Intel drivers.
+
* Sat Jan 30 2021 Martin Stransky <stransky@redhat.com> - 85.0-8
- Enable Wayland backend on Fedora 34/KDE/Plasma (and other compositors)
by default (https://bugzilla.redhat.com/show_bug.cgi?id=1922608).
bgstack15