summaryrefslogtreecommitdiff
path: root/firefox.spec
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2019-09-18 10:04:57 +0200
committerMartin Stransky <stransky@redhat.com>2019-09-18 10:04:57 +0200
commit5b43bf243c1658192aa68807eb4ce31109836b1f (patch)
treea5d766b26328c03256c65e16def0ad5a73bbd51c /firefox.spec
parentDisabled DoH by default (rhbz#1751410), patch by Eduardo Mínguez Pérez (emi... (diff)
downloadlibrewolf-fedora-ff-5b43bf243c1658192aa68807eb4ce31109836b1f.tar.gz
librewolf-fedora-ff-5b43bf243c1658192aa68807eb4ce31109836b1f.tar.bz2
librewolf-fedora-ff-5b43bf243c1658192aa68807eb4ce31109836b1f.zip
Do PGO builds with Wayland backend.
Diffstat (limited to 'firefox.spec')
-rw-r--r--firefox.spec14
1 files changed, 12 insertions, 2 deletions
diff --git a/firefox.spec b/firefox.spec
index 04ace3b..5c794d9 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -94,7 +94,7 @@ ExcludeArch: ppc64le
Summary: Mozilla Firefox Web browser
Name: firefox
Version: 69.0
-Release: 10%{?pre_tag}%{?dist}
+Release: 11%{?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
@@ -264,6 +264,7 @@ BuildRequires: pkgconfig(libffi)
%if 0%{?use_xvfb}
BuildRequires: xorg-x11-server-Xvfb
+BuildRequires: mutter
%endif
BuildRequires: rust
BuildRequires: cargo
@@ -614,7 +615,13 @@ export MOZ_MAKE_FLAGS="$MOZ_SMP_FLAGS"
export MOZ_SERVICES_SYNC="1"
export STRIP=/bin/true
%if 0%{?build_with_pgo}
-GDK_BACKEND=x11 xvfb-run ./mach build 2>&1 | cat -
+xvfb-run mutter --wayland --nested &
+if [ -z "$WAYLAND_DISPLAY" ]; then
+ export WAYLAND_DISPLAY=wayland-0
+else
+ export WAYLAND_DISPLAY=wayland-1
+fi
+GDK_BACKEND=wayland MOZ_ENABLE_WAYLAND=1 ./mach build 2>&1 | cat -
%else
./mach build -v 2>&1 | cat -
%endif
@@ -968,6 +975,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
#---------------------------------------------------------------------
%changelog
+* Wed Sep 18 2019 Martin Stransky <stransky@redhat.com> - 69.0-11
+- Do PGO builds with Wayland backend.
+
* Wed Sep 18 2019 Martin Stransky <stransky@redhat.com> - 69.0-10
- Disabled DoH by default (rhbz#1751410),
patch by Eduardo Mínguez Pérez (eminguez).
bgstack15