summaryrefslogtreecommitdiffstats
path: root/chromium
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2019-10-25 10:43:17 +0000
committer Eric Hameleers <alien@slackware.com>2019-10-25 10:43:17 +0000
commitb7e92fd06930124dc0b3f30cd084a49909187931 (patch)
tree1880f2a97632f9fae745c5e4d392b26ec58aa7a4 /chromium
parent36415db9963fbc480a46847ee7e996339fa23ad2 (diff)
downloadasb-b7e92fd06930124dc0b3f30cd084a49909187931.tar.gz
asb-b7e92fd06930124dc0b3f30cd084a49909187931.tar.xz
chromium: update to 78.0.3904.70
Diffstat (limited to 'chromium')
-rwxr-xr-xchromium/build/chromium.SlackBuild24
1 files changed, 18 insertions, 6 deletions
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 <alien@slackware.com>
# * Security update.
+# 78.0.3904.70-1:
+# 10/oct/2019 by Eric Hameleers <alien@slackware.com>
+# * 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: