summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsL1pKn072017-09-22 16:04:35 +0200
committersL1pKn072017-09-22 16:04:41 +0200
commit15fcc7715a2c056379e1d6ade85b1e08e59e5e56 (patch)
tree0346503270fcab3c0db2a55d42dfcc1adf3634bf
parent07fe259ee0909fe2258ee432d690b5ca5b374bf8 (diff)
downloadaur-15fcc7715a2c056379e1d6ade85b1e08e59e5e56.tar.gz
Update to 63.0.3218.0
- minizip patch is not needed anymore - max_resolution patch is not need anymore (remove install/udate message)
-rw-r--r--.SRCINFO18
-rw-r--r--.gitignore2
-rw-r--r--PKGBUILD28
-rw-r--r--chromium-dev.install13
4 files changed, 19 insertions, 42 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8a79bbed8d18..76467ca59fc2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Fri Sep 15 20:19:41 UTC 2017
+# Fri Sep 22 14:02:18 UTC 2017
pkgbase = chromium-dev
pkgdesc = The open-source project behind Google Chrome (Dev Channel)
- pkgver = 63.0.3213.3
+ pkgver = 63.0.3218.0
pkgrel = 1
url = http://www.chromium.org
install = chromium-dev.install
@@ -47,36 +47,34 @@ pkgbase = chromium-dev
optdepends = libva-mesa-driver: HW video acceleration for Nouveau, R600 and RadeonSI users
optdepends = libva-intel-driver: HW video acceleration for Intel G45 and HD users
options = !strip
- source = https://commondatastorage.googleapis.com/chromium-browser-official/chromium-63.0.3213.3.tar.xz
+ source = https://commondatastorage.googleapis.com/chromium-browser-official/chromium-63.0.3218.0.tar.xz
source = git+https://github.com/foutrelis/chromium-launcher.git
source = chromium-dev.svg
source = https://raw.githubusercontent.com/gentoo/gentoo/master/www-client/chromium/files/chromium-FORTIFY_SOURCE-r2.patch
source = https://raw.githubusercontent.com/gentoo/gentoo/master/www-client/chromium/files/chromium-gcc5-r2.patch
- source = minizip.patch
+ source = https://raw.githubusercontent.com/gentoo/gentoo/master/www-client/chromium/files/chromium-gn-bootstrap-r19.patch
source = chromium-intel-vaapi_r14.patch.base64::https://chromium-review.googlesource.com/changes/532294/revisions/d60511c973e432b97d9929dcfbd77c9af25dbd51/patch?download
source = https://raw.githubusercontent.com/sjnewbury/gentoo-playground/master/www-client/chromium/files/chromium-intel-vaapi-fix.patch
- source = https://raw.githubusercontent.com/saiarcot895/chromium-ubuntu-build/master/debian/patches/specify-max-resolution.patch
source = breakpad-use-ucontext_t.patch::https://git.archlinux.org/svntogit/packages.git/plain/trunk/breakpad-use-ucontext_t.patch?h=packages/chromium
source = chromium-gcc-r1.patch::https://git.archlinux.org/svntogit/packages.git/plain/trunk/chromium-gcc-r1.patch?h=packages/chromium
source = chromium-blink-gcc7-r2.patch
source = chromium-widevine-r1.patch
- source = c++17.patch::https://github.com/google/crc32c/commit/d0f929a5db87cb34d03afb0d8e8bfc95b8f786e3.patch
source = chromium-gn-bootstrap-r18.patch.base64::https://chromium-review.googlesource.com/changes/667107/revisions/a6c6d28e705b834664c2ea6688b89c2c106204ae/patch?download
- sha256sums = a9c680b181f18be8b39945e715b8a54640af74a4ed85c65a9de038085ad8be77
+ source = use_sysroot_false.patch.base64::https://chromium-review.googlesource.com/changes/670745/revisions/79cd919891958c00e8d8b87b504d478cc0eb437b/patch?download
+ sha256sums = 36e7e6837cd77848e13e6558b9c7740f362a4f28869d9bfda2cf19615acca7fd
sha256sums = SKIP
sha256sums = dd2b5c4191e468972b5ea8ddb4fa2e2fa3c2c94c79fc06645d0efc0e63ce7ee1
sha256sums = fa3f703d599051135c5be24b81dfcb23190bb282db73121337ac76bc9638e8a5
sha256sums = d44b90fc7313afaa6d6f77cde72c0e9a5e4a1cc792216cbca2ed45c39658c472
- sha256sums = 95ba939b9372e533ecbcc9ca034f3e9fc6621d3bddabb57c4d092ea69fa6c840
+ sha256sums = 034b06ab8a9f09414b823564e0d7d2c46e542eb9dce36bbafdb26ea581a72178
sha256sums = 1974fb5891b6a620113e9527026faa5af771042841ef7b8016ef74e0eaabc926
sha256sums = a688de2b3a7183ebf9eb25108b0d28a8c6228cc71c8e3519062a51224f5b3488
- sha256sums = 46eb584fc844e62a3e7bde19ac449698616c9373b23962b6d98e814ab73fe9c0
sha256sums = 6e9a345f810d36068ee74ebba4708c70ab30421dad3571b6be5e9db635078ea8
sha256sums = 11cffe305dd49027c91638261463871e9ecb0ecc6ecc02bfa37b203c5960ab58
sha256sums = fab4c65e2802e709a32d059784182be5a89bc3ca862a7e27810714ea7b86f868
sha256sums = 0d537830944814fe0854f834b5dc41dc5fc2428f77b2ad61d4a5e76b0fe99880
- sha256sums = 35435e8dae76737baafecdc76d74a1c97281c4179e416556e033a06a31468e6d
sha256sums = 08a5678998a96679a02fcc1b9473e98b4563aa57b3eaa7b444ed2941ab6acd7d
+ sha256sums = 24e97e38421ac8ad474c37408d2a92c3385bee86fda8d578a54f24cc9af10c7f
pkgname = chromium-dev
diff --git a/.gitignore b/.gitignore
index e32428b49668..c135bb7fc63d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,6 +5,4 @@
!chromium-dev.install
!chromium-dev.svg
!chromium-widevine-r1.patch
-!minizip.patch
-!chromium-intel-vaapi_r2.patch
!chromium-blink-gcc7-r2.patch
diff --git a/PKGBUILD b/PKGBUILD
index d21e4f273e86..c4f10fe53b80 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,7 +17,7 @@ _debug_mode=0 # Build in debug mode.
## -- Package and components information -- ##
##############################################
pkgname=chromium-dev
-pkgver=63.0.3213.3
+pkgver=63.0.3218.0
pkgrel=1
pkgdesc="The open-source project behind Google Chrome (Dev Channel)"
arch=('i686' 'x86_64')
@@ -77,18 +77,17 @@ source=( #"https://gsdview.appspot.com/chromium-browser-official/chromium-${pkgv
# Patch form Gentoo
'https://raw.githubusercontent.com/gentoo/gentoo/master/www-client/chromium/files/chromium-FORTIFY_SOURCE-r2.patch'
'https://raw.githubusercontent.com/gentoo/gentoo/master/www-client/chromium/files/chromium-gcc5-r2.patch'
+ 'https://raw.githubusercontent.com/gentoo/gentoo/master/www-client/chromium/files/chromium-gn-bootstrap-r19.patch'
# Misc Patches
- 'minizip.patch'
'chromium-intel-vaapi_r14.patch.base64::https://chromium-review.googlesource.com/changes/532294/revisions/d60511c973e432b97d9929dcfbd77c9af25dbd51/patch?download'
'https://raw.githubusercontent.com/sjnewbury/gentoo-playground/master/www-client/chromium/files/chromium-intel-vaapi-fix.patch'
- 'https://raw.githubusercontent.com/saiarcot895/chromium-ubuntu-build/master/debian/patches/specify-max-resolution.patch'
# Patch from crbug (chromium bugtracker) or Arch chromium package
'breakpad-use-ucontext_t.patch::https://git.archlinux.org/svntogit/packages.git/plain/trunk/breakpad-use-ucontext_t.patch?h=packages/chromium'
'chromium-gcc-r1.patch::https://git.archlinux.org/svntogit/packages.git/plain/trunk/chromium-gcc-r1.patch?h=packages/chromium'
'chromium-blink-gcc7-r2.patch' # https://bugs.chromium.org/p/chromium/issues/detail?id=614289
'chromium-widevine-r1.patch'
- 'c++17.patch::https://github.com/google/crc32c/commit/d0f929a5db87cb34d03afb0d8e8bfc95b8f786e3.patch'
'chromium-gn-bootstrap-r18.patch.base64::https://chromium-review.googlesource.com/changes/667107/revisions/a6c6d28e705b834664c2ea6688b89c2c106204ae/patch?download'
+ 'use_sysroot_false.patch.base64::https://chromium-review.googlesource.com/changes/670745/revisions/79cd919891958c00e8d8b87b504d478cc0eb437b/patch?download'
)
sha256sums=( #"$(curl -sL https://gsdview.appspot.com/chromium-browser-official/chromium-${pkgver}.tar.xz.hashes | grep sha256 | cut -d ' ' -f3)"
"$(curl -sL https://commondatastorage.googleapis.com/chromium-browser-official/chromium-${pkgver}.tar.xz.hashes | grep sha256 | cut -d ' ' -f3)"
@@ -97,18 +96,17 @@ sha256sums=( #"$(curl -sL https://gsdview.appspot.com/chromium-browser-official/
# Patch form Gentoo
'fa3f703d599051135c5be24b81dfcb23190bb282db73121337ac76bc9638e8a5'
'd44b90fc7313afaa6d6f77cde72c0e9a5e4a1cc792216cbca2ed45c39658c472'
+ '034b06ab8a9f09414b823564e0d7d2c46e542eb9dce36bbafdb26ea581a72178'
# Misc Patches
- '95ba939b9372e533ecbcc9ca034f3e9fc6621d3bddabb57c4d092ea69fa6c840'
'1974fb5891b6a620113e9527026faa5af771042841ef7b8016ef74e0eaabc926'
'a688de2b3a7183ebf9eb25108b0d28a8c6228cc71c8e3519062a51224f5b3488'
- '46eb584fc844e62a3e7bde19ac449698616c9373b23962b6d98e814ab73fe9c0'
# Patch from crbug (chromium bugtracker) or Arch chromium package
'6e9a345f810d36068ee74ebba4708c70ab30421dad3571b6be5e9db635078ea8'
'11cffe305dd49027c91638261463871e9ecb0ecc6ecc02bfa37b203c5960ab58'
'fab4c65e2802e709a32d059784182be5a89bc3ca862a7e27810714ea7b86f868'
'0d537830944814fe0854f834b5dc41dc5fc2428f77b2ad61d4a5e76b0fe99880'
- '35435e8dae76737baafecdc76d74a1c97281c4179e416556e033a06a31468e6d'
'08a5678998a96679a02fcc1b9473e98b4563aa57b3eaa7b444ed2941ab6acd7d'
+ '24e97e38421ac8ad474c37408d2a92c3385bee86fda8d578a54f24cc9af10c7f'
)
options=('!strip')
install=chromium-dev.install
@@ -399,20 +397,16 @@ prepare() {
msg2 "Patching the sources"
# Patch sources from Gentoo.
patch -p1 -i "${srcdir}/chromium-FORTIFY_SOURCE-r2.patch"
- base64 -d "${srcdir}/chromium-gn-bootstrap-r18.patch.base64" | patch -p1 -i -
patch -p1 -i "${srcdir}/chromium-gcc5-r2.patch"
+ patch -p1 -i "${srcdir}/chromium-gn-bootstrap-r19.patch"
# Misc Patches:
- patch -p1 -i "${srcdir}/minizip.patch"
- patch -d third_party/crc32c/src -p1 -i "${srcdir}/c++17.patch"
# Apply VAAPI patch
base64 -d "${srcdir}/chromium-intel-vaapi_r14.patch.base64" > chromium-intel-vaapi_r14.patch
sed '39,50d' -i chromium-intel-vaapi_r14.patch
patch -Np1 -i chromium-intel-vaapi_r14.patch
patch -p1 -i "${srcdir}/chromium-intel-vaapi-fix.patch"
- patch -p1 -i "${srcdir}/specify-max-resolution.patch"
- sed 's|chromium-browser|chromium-dev|' -i media/gpu/vaapi_wrapper.h
if [ "${_vulkan}" = "1" ]; then
export VULKAN_SDK="/usr"
@@ -431,6 +425,9 @@ prepare() {
patch -p0 -i "${srcdir}/chromium-widevine-r1.patch"
sed 's|@WIDEVINE_VERSION@|The Cake Is a Lie|g' -i "third_party/widevine/cdm/stub/widevine_cdm_version.h"
+ # Fix fail build
+ base64 -d "${srcdir}/use_sysroot_false.patch.base64" | patch -p1 -i -
+
# Setup nodejs dependency
mkdir -p third_party/node/linux/node-linux-x64/bin/
ln -sf /usr/bin/node third_party/node/linux/node-linux-x64/bin/node
@@ -451,13 +448,8 @@ prepare() {
msg2 "Removing unnecessary components to save space."
python2 build/linux/unbundle/remove_bundled_libraries.py ${_keeplibs[@]} --do-remove
- # Can lead fail
- rm -fr native_client/toolchain
- rm -fr build/linux/debian*
-
msg2 "Make sure use Python2"
- find . -name '*.py' -exec sed -r 's|/usr/bin/python$|&2|g' -i {} +
- find . -name '*.py' -exec sed -r 's|/usr/bin/env python$|&2|g' -i {} +
+ find -name '*.py' | xargs sed -e 's|env python|&2|g' -e 's|bin/python|&2|g' -i
msg2 "Changing bundle libraries to system ones."
python2 build/linux/unbundle/replace_gn_files.py --system-libraries ${_use_system[@]}
diff --git a/chromium-dev.install b/chromium-dev.install
index 8ee4a9b5694c..ec4b6ada45b3 100644
--- a/chromium-dev.install
+++ b/chromium-dev.install
@@ -16,18 +16,7 @@ ${green}==>${all_off} ${bold}This Chromium package no longer supports custom fla
quoting rules apply but no further parsing is performed.
${green}==>${all_off} ${bold}If you use Kwallet5 from Plasma/Kf5:${all_off}
${blue}->${all_off} You needs add '${bold}\"--password-store=kwallet5\"${all_off}' into '${bold}chromium-dev-flags.conf${all_off}' file
- under '${bold}\x24HOME/.config/${all_off}' (or ${bold}\x24XDG_CONFIG_HOME${all_off}).
-${green}==>${all_off} ${bold}If you GPU can decode videos with resolution more than 1920x1088:${all_off}
- ${blue}->${all_off} You can change this value (hardcoded in the code) setting it into the '${bold}va_fallback_resolution${all_off}' file
- under '${bold}/etc/chromium-dev/${all_off}' with this content (must be integers numbers):
- '${bold}Width Height+8${all_off}'
- in the first line, in that order (notice this need have ${bold}two spaces${all_off} between two integers). For example:
- '${bold}4032 4088${all_off}'.
- You can know this values running '${bold}vdpauinfo${all_off}' command.
- ${blue}->${all_off} For more info, visit:
- '${bold}https://github.com/saiarcot895/chromium-ubuntu-build/issues/13${all_off}'
- or
- '${bold}https://github.com/saiarcot895/chromium-ubuntu-build/pull/16${all_off}'.\n"
+ under '${bold}\x24HOME/.config/${all_off}' (or ${bold}\x24XDG_CONFIG_HOME${all_off}).\n"
}
post_install() {