From 2c42998965dd57938bf55095b190415c7c31efa4 Mon Sep 17 00:00:00 2001 From: Martin Stransky Date: Wed, 7 Oct 2020 21:55:40 +0200 Subject: [PATCH] set up XDG_RUNTIME_DIR for wayland PGO builds --- firefox.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/firefox.spec b/firefox.spec index cbac4d2..4903f59 100644 --- a/firefox.spec +++ b/firefox.spec @@ -643,6 +643,9 @@ echo "export STRIP=/bin/true" >> .mozconfig export MACH_USE_SYSTEM_PYTHON=1 %if %{build_with_pgo} %if %{pgo_wayland} +if [ -z "$XDG_RUNTIME_DIR" ]; then + export XDG_RUNTIME_DIR=$HOME +fi xvfb-run mutter --wayland --nested & if [ -z "$WAYLAND_DISPLAY" ]; then export WAYLAND_DISPLAY=wayland-0