Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package chromium for openSUSE:Factory checked in at 2022-01-03 10:49:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/chromium (Old) and /work/SRC/openSUSE:Factory/.chromium.new.1896 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "chromium" Mon Jan 3 10:49:23 2022 rev:316 rq:943312 version:96.0.4664.110 Changes: -------- --- /work/SRC/openSUSE:Factory/chromium/chromium.changes 2021-12-30 15:54:00.568589263 +0100 +++ /work/SRC/openSUSE:Factory/.chromium.new.1896/chromium.changes 2022-01-03 10:49:49.287589684 +0100 @@ -1,0 +2,17 @@ +Thu Dec 30 15:30:19 UTC 2021 - Callum Farmer <gm...@opensuse.org> + +- Revert wayland fixes because it doesn't handle GPU correctly + (boo#1194182) + +------------------------------------------------------------------- +Thu Dec 30 08:38:17 UTC 2021 - Martin Li??ka <mli...@suse.cz> + +- Use GCC 11, but disable LTO (boo#1194055). + +------------------------------------------------------------------- +Wed Dec 29 12:23:48 UTC 2021 - Callum Farmer <gm...@opensuse.org> + +- Use our own copy of the wrapper so that we can use the fixes + for Wayland + +------------------------------------------------------------------- New: ---- chrome-wrapper ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ chromium.spec ++++++ --- /var/tmp/diff_new_pack.PoT7m5/_old 2022-01-03 10:49:54.715591762 +0100 +++ /var/tmp/diff_new_pack.PoT7m5/_new 2022-01-03 10:49:54.723591765 +0100 @@ -35,10 +35,8 @@ %bcond_with system_vpx %ifarch aarch64 %bcond_with swiftshader -%bcond_with lto %else %bcond_without swiftshader -%bcond_without lto %endif %if 0%{?suse_version} >= 1550 %bcond_without system_harfbuzz @@ -48,6 +46,12 @@ %bcond_with system_freetype %endif %bcond_with clang +%if 0%{?suse_version} >= 1550 +# Chromium built with GCC 11 and LTO enabled crashes (boo#1194055) +%bcond_with lto +%else +%bcond_without lto +%endif Name: chromium Version: 96.0.4664.110 Release: 0 @@ -62,6 +66,7 @@ # https://source.chromium.org/chromium/chromium/src/+/refs/tags/%%{version}:chrome/installer/linux/common/installer.include Source105: INSTALL.sh # +Source106: chrome-wrapper Patch0: chromium-libusb_interrupt_event_handler.patch # PATCH-FIX-OPENSUSE Make the 1-click-install ymp file always download [bnc#836059] Patch1: exclude_ymp.patch @@ -280,13 +285,13 @@ %endif %if %{without clang} BuildRequires: binutils-gold -#%if %{?suse_version} >= 1550 -#BuildRequires: gcc -#BuildRequires: gcc-c++ -#%else +%if %{?suse_version} >= 1550 +BuildRequires: gcc +BuildRequires: gcc-c++ +%else BuildRequires: gcc10 BuildRequires: gcc10-c++ -#%endif +%endif %endif %description @@ -320,6 +325,10 @@ ln -sfn %{_bindir}/$PYTHON $HOME/bin/python export PATH="$HOME/bin/:$PATH" +# use our wrapper +rm chrome/installer/linux/common/wrapper +cp %{SOURCE106} chrome/installer/linux/common/wrapper + # Remove bundled libs keeplibs=( base/third_party/cityhash @@ -587,17 +596,17 @@ export CC=clang export CXX=clang++ %else -#%if 0%{?suse_version} <= 1500 +%if 0%{?suse_version} <= 1500 export CC=gcc-10 export CXX=g++-10 # some still call gcc/g++ ln -sfn %{_bindir}/$CC $HOME/bin/gcc ln -sfn %{_bindir}/$CXX $HOME/bin/g++ export PATH="$HOME/bin/:$PATH" -#%else -#export CC=gcc -#export CXX=g++ -#%endif +%else +export CC=gcc +export CXX=g++ +%endif %endif export AR=ar export NM=nm ++++++ chrome-wrapper ++++++ #!/bin/bash # # Copyright (c) 2011 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # Let the wrapped binary know that it has been run through the wrapper. export CHROME_WRAPPER="`readlink -f "$0"`" HERE="`dirname "$CHROME_WRAPPER"`" export CHROME_VERSION_EXTRA="@@CHANNEL@@" # We don't want bug-buddy intercepting our crashes. http://crbug.com/24120 export GNOME_DISABLE_CRASH_DIALOG=SET_BY_GOOGLE_CHROME # This provides a much better experience on Wayland. #if [ "$XDG_SESSION_TYPE" == "wayland" ]; then # ARGS="--ozone-platform=wayland" #fi # Sanitize std{in,out,err} because they'll be shared with untrusted child # processes (http://crbug.com/376567). exec < /dev/null exec > >(exec cat) exec 2> >(exec cat >&2) # Note: exec -a below is a bashism. exec -a "$0" "$HERE/@@PROGNAME@@" "$ARGS" "$@"