From b7e92fd06930124dc0b3f30cd084a49909187931 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Fri, 25 Oct 2019 10:43:17 +0000 Subject: chromium: update to 78.0.3904.70 --- chromium/build/chromium.SlackBuild | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) (limited to 'chromium') diff --git a/chromium/build/chromium.SlackBuild b/chromium/build/chromium.SlackBuild index 37f2a94a..def18d4f 100755 --- a/chromium/build/chromium.SlackBuild +++ b/chromium/build/chromium.SlackBuild @@ -413,6 +413,9 @@ # 77.0.3865.120-1: # 10/oct/2019 by Eric Hameleers # * Security update. +# 78.0.3904.70-1: +# 10/oct/2019 by Eric Hameleers +# * Update to M78. # # ----------------------------------------------------------------------------- # @@ -425,7 +428,7 @@ SRCNAM=chromium SRCEXT=${SRCEXT:-""} # could be "-dev" for development build PRGNAM=${SRCNAM}${SRCEXT} # chromium or chromium-dev -VERSION=${VERSION:-77.0.3865.120} +VERSION=${VERSION:-78.0.3904.70} BUILD=${BUILD:-1} TAG=${TAG:-alien} @@ -616,8 +619,8 @@ umask 0022 SOURCE[0]="$SRCDIR/${SRCNAM}-${VERSION}.tar.xz" SRCURL[0]="https://commondatastorage.googleapis.com/${SRCNAM}-browser-official/${SRCNAM}-${VERSION}.tar.xz" -SOURCE[1]="$SRCDIR/widevine-version.txt" -SRCURL[1]="https://redirector.gvt1.com/edgedl/widevine-cdm/current.txt" +SOURCE[1]="$SRCDIR/widevine-versions.txt" +SRCURL[1]="https://dl.google.com/widevine-cdm/versions.txt" # Create working directories: mkdir -p $OUTPUT # place for the package to be saved @@ -662,7 +665,7 @@ echo "|| $PRGNAM-$VERSION" echo "++" # Find the version of Widevine: -WIDEVINE_VERSION="$(cat ${SOURCE[1]})" +WIDEVINE_VERSION="$(cat ${SOURCE[1]}|tail -1)" cd $TMP/tmp-$PRGNAM echo "Extracting the source archive(s) for $PRGNAM..." @@ -671,6 +674,15 @@ cd ${SRCNAM}-${VERSION} # Patches: touch $OUTPUT/patch-${PRGNAM}.log +# Missing include in blink: +cat $SRCDIR/patches/chromium_missing-include-for-unique_ptr.patch | patch -p1 --verbose \ + 2>&1 | tee -a $OUTPUT/patch-${PRGNAM}.log +# Fix crash on exit, see https://crbug.com/1005244 +cat $SRCDIR/patches/chromium_shutdown-crash.patch | patch -p1 --verbose \ + 2>&1 | tee -a $OUTPUT/patch-${PRGNAM}.log +# Reduce log spam in console, see https://crbug.com/1005508 +cat $SRCDIR/patches/chromium_fontmatching-logspam.patch | patch -p1 --verbose \ + 2>&1 | tee -a $OUTPUT/patch-${PRGNAM}.log # Bug fixes: # Fix the link on 32bit: sed -e '/ldflags /s/-m32/&", "-Wl,-z,notext/' \ @@ -772,8 +784,8 @@ echo Building ... [ ${FFMPEG_HEVC} -eq 1 ] && do_hevc=true || do_hevc=false export LDFLAGS="$SLKLDFLAGS" -export CXXFLAGS="$SLKCFLAGS" -export CFLAGS="$SLKCFLAGS -Wno-unused-local-typedefs" +export CXXFLAGS="$SLKCFLAGS -Wno-unknown-warning-option" +export CFLAGS="$SLKCFLAGS -Wno-unused-local-typedefs -Wno-unknown-warning-option" export PATH="$TMP/tmp-$PRGNAM/privatebin:$PATH" # After building gn, run: -- cgit v1.2.3-79-gdb01