commit 36fa898ef79088ed3863b394a3c330b61533075c
Author: qvint <dotqvint(a)gmail.com>
Date: Wed Jan 20 12:41:26 2021 +0300
Sync shell wrapper with Fedora Chromium
See
https://bugzilla.rpmfusion.org/show_bug.cgi?id=5859
See
https://bugzilla.redhat.com/show_bug.cgi?id=1902983
chromium-freeworld.sh | 15 ++++++---------
chromium-freeworld.spec | 1 +
2 files changed, 7 insertions(+), 9 deletions(-)
---
diff --git a/chromium-freeworld.sh b/chromium-freeworld.sh
index 08539d3..fbba10d 100644
--- a/chromium-freeworld.sh
+++ b/chromium-freeworld.sh
@@ -7,7 +7,6 @@
# This file is obtained from
https://src.fedoraproject.org/rpms/chromium/
# and modified by Akarshan Biswas <akarshanbiswas(a)fedoraproject.org>. All
modifications are also
# licensed under 3-clause BSD license.
-CHROMIUM_DISTRO_FLAGS=()
# Let the wrapped binary know that it has been run through the wrapper.
export CHROME_WRAPPER="$(readlink -f "$0")"
@@ -38,12 +37,11 @@ else
fi
export LD_LIBRARY_PATH
-#On wayland pass the correct GDK_BACKEND
-# In future this will be used for running chromium natively on Wayland
-if [ $XDG_SESSION_TYPE == "wayland" ]; then
-export GDK_BACKEND=x11
-fi
+# We don't want bug-buddy intercepting our crashes.
http://crbug.com/24120
+export GNOME_DISABLE_CRASH_DIALOG=SET_BY_GOOGLE_CHROME
+# Disable allow_rgb_configs to fix odd color and vaapi issues with Mesa
+export allow_rgb10_configs=false
# Sanitize std{in,out,err} because they'll be shared with untrusted child
# processes (
http://crbug.com/376567).
@@ -51,12 +49,11 @@ exec < /dev/null
exec > >(exec cat)
exec 2> >(exec cat >&2)
-
-CHROMIUM_DISTRO_FLAGS+=" --enable-plugins \
+CHROMIUM_DISTRO_FLAGS=" --enable-plugins \
--enable-extensions \
--enable-user-scripts \
- --enable-features=WebRTCPipeWireCapturer \
--enable-printing \
+ --enable-gpu-rasterization \
--enable-sync"
exec -a "$0" "@@CHROMIUMDIR@@/$(basename "$0" | sed
's/\.sh$//')" $CHROMIUM_DISTRO_FLAGS "$@"
diff --git a/chromium-freeworld.spec b/chromium-freeworld.spec
index aa364c7..d07ebae 100644
--- a/chromium-freeworld.spec
+++ b/chromium-freeworld.spec
@@ -671,6 +671,7 @@ appstream-util validate-relax --nonet
"%{buildroot}%{_metainfodir}/%{name}.appda
- Fix Icon key in chrome-apps.directory (rfbz#5895)
- Fix PulseAudio application name and icon
- Don't depend on CHROME_DESKTOP env var
+- Sync shell wrapper with Fedora Chromium (rfbz#5859, rhbz#1902983)
* Tue Dec 08 2020 qvint <dotqvint(a)gmail.com> - 87.0.4280.88-1
- Update to 87.0.4280.88