summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsL1pKn072022-06-05 02:01:42 +0200
committersL1pKn072022-06-05 02:01:42 +0200
commit9804db61dd2656ee667acaa67ee334bf3310363c (patch)
tree63a2f06efaa774b379f7951e4fb68201c032d439
parent570e233db9552acaa7264a6376c370e3dfe55e3a (diff)
downloadaur-9804db61dd2656ee667acaa67ee334bf3310363c.tar.gz
Update to 104.0.5083.0
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD69
2 files changed, 41 insertions, 38 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a4a247782afe..a8d7b9a99a7c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = chromium-dev
pkgdesc = The open-source project behind Google Chrome (Dev Channel)
- pkgver = 99.0.4840.0
+ pkgver = 104.0.5083.0
pkgrel = 1
url = http://www.chromium.org
install = chromium-dev.install
@@ -36,22 +36,22 @@ pkgbase = chromium-dev
optdepends = kwalletmanager: Needed for storing passwords in KWallet5
optdepends = org.freedesktop.secrets: password storage backend on GNOME / Xfce
optdepends = ttf-font: For some typography
- source = https://commondatastorage.googleapis.com/chromium-browser-official/chromium-99.0.4840.0.tar.xz
+ source = https://commondatastorage.googleapis.com/chromium-browser-official/chromium-104.0.5083.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-93-InkDropHost-crash.patch
source = https://raw.githubusercontent.com/gentoo/gentoo/master/www-client/chromium/files/chromium-98-EnumTable-crash.patch
- source = https://raw.githubusercontent.com/gentoo/gentoo/master/www-client/chromium/files/chromium-98-system-libdrm.patch
+ source = https://raw.githubusercontent.com/gentoo/gentoo/master/www-client/chromium/files/chromium-cross-compile.patch
source = https://raw.githubusercontent.com/gentoo/gentoo/master/www-client/chromium/files/chromium-shim_headers.patch
source = https://raw.githubusercontent.com/archlinux/svntogit-packages/packages/chromium/trunk/use-oauth2-client-switches-as-default.patch
source = fix_build_use_gio_false_part1.patch.base64::https://chromium-review.googlesource.com/changes/chromium%2Fsrc~3352616/revisions/2/patch?download
source = fix_build_use_gio_false_part2.patch.base64::https://chromium-review.googlesource.com/changes/chromium%2Fsrc~3399896/revisions/2/patch?download
- sha256sums = f2b05597b097a6d28e4ee5a5b6a8e15b526dec1b61582b9fe01659759aff2a50
+ sha256sums = a9e928d5bec4f3c5cc0b9e6854eebed64ef6ed94beb91d32cdf41c6bd88a710b
sha256sums = SKIP
sha256sums = 18a2dfc0a56b2fbbeb8ef16a19227b77bf9a6621c6021d04396e52a9a2313034
sha256sums = 04bba6fb19ea5a4ab3949b65f06c88728a00ab296f42022ece62ca2fa25ec2e7
sha256sums = 31620c30a1e6b77fdafbc4be3b499420f7862c30957d43f5962fb346614164db
- sha256sums = 2543b0b4b54119484c9ba881840a9b035d4885802da9f246b5627a62a966c326
+ sha256sums = 9f8e90672e7914e1974ea73de48336800204a188b94d8b03e3ddd64a97f5e630
sha256sums = fabf66cfb15449011a20e377d600573b6338cc4c52e3f28f80e0541772659e8b
sha256sums = e393174d7695d0bafed69e868c5fbfecf07aa6969f3b64596d0bae8b067e1711
sha256sums = fb075666b991ccfe4a02e1a287dc75a659e947e0b02bc5cd2237e74a866c6f02
diff --git a/PKGBUILD b/PKGBUILD
index 1405cdb08151..15aedb81eb9d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@
## -- Package and components information -- ##
##############################################
pkgname=chromium-dev
-pkgver=99.0.4840.0
+pkgver=104.0.5083.0
pkgrel=1
pkgdesc="The open-source project behind Google Chrome (Dev Channel)"
arch=('x86_64')
@@ -72,7 +72,7 @@ source=(
# Patch form Gentoo.
'https://raw.githubusercontent.com/gentoo/gentoo/master/www-client/chromium/files/chromium-93-InkDropHost-crash.patch'
'https://raw.githubusercontent.com/gentoo/gentoo/master/www-client/chromium/files/chromium-98-EnumTable-crash.patch'
- 'https://raw.githubusercontent.com/gentoo/gentoo/master/www-client/chromium/files/chromium-98-system-libdrm.patch'
+ 'https://raw.githubusercontent.com/gentoo/gentoo/master/www-client/chromium/files/chromium-cross-compile.patch'
'https://raw.githubusercontent.com/gentoo/gentoo/master/www-client/chromium/files/chromium-shim_headers.patch'
# Misc Patches.
#
@@ -89,7 +89,7 @@ sha256sums=(
# Patch form Gentoo
'04bba6fb19ea5a4ab3949b65f06c88728a00ab296f42022ece62ca2fa25ec2e7'
'31620c30a1e6b77fdafbc4be3b499420f7862c30957d43f5962fb346614164db'
- '2543b0b4b54119484c9ba881840a9b035d4885802da9f246b5627a62a966c326'
+ '9f8e90672e7914e1974ea73de48336800204a188b94d8b03e3ddd64a97f5e630'
'fabf66cfb15449011a20e377d600573b6338cc4c52e3f28f80e0541772659e8b'
# Misc Patches
#
@@ -168,6 +168,7 @@ _keeplibs=(
'third_party/ced'
'third_party/cld_3'
'third_party/closure_compiler'
+ 'third_party/cpuinfo'
'third_party/crashpad'
'third_party/crashpad/crashpad/third_party/lss'
'third_party/crashpad/crashpad/third_party/zlib'
@@ -175,8 +176,8 @@ _keeplibs=(
'third_party/cros_system_api'
'third_party/dav1d'
'third_party/dawn'
+ 'third_party/dawn/third_party/gn/webgpu-cts'
'third_party/dawn/third_party/khronos'
- 'third_party/dawn/third_party/tint'
'third_party/depot_tools'
'third_party/devscripts'
'third_party/devtools-frontend'
@@ -205,9 +206,11 @@ _keeplibs=(
'third_party/fft2d'
'third_party/ffmpeg'
'third_party/flatbuffers'
+ 'third_party/fp16'
'third_party/freetype'
'third_party/freetype-testing'
'third_party/fusejs'
+ 'third_party/fxdiv'
'third_party/gemmlowp'
'third_party/google_input_tools'
'third_party/google_input_tools/third_party/closure_library'
@@ -223,7 +226,6 @@ _keeplibs=(
'third_party/jstemplate'
'third_party/khronos'
'third_party/leveldatabase'
- 'third_party/libXNVCtrl'
'third_party/libaddressinput'
'third_party/libaom'
'third_party/libaom/source/libaom/third_party/fastfeat'
@@ -247,9 +249,7 @@ _keeplibs=(
'third_party/libwebm'
'third_party/libx11'
'third_party/libxcb-keysyms'
- 'third_party/libxml'
'third_party/libxml/chromium'
- 'third_party/libxslt'
'third_party/libyuv'
'third_party/libzip'
'third_party/llvm'
@@ -271,7 +271,6 @@ _keeplibs=(
'third_party/node'
'third_party/node/node_modules/polymer-bundler/lib/third_party/UglifyJS2'
'third_party/one_euro_filter'
- 'third_party/opencv'
'third_party/openh264'
'third_party/openscreen'
'third_party/openscreen/src/third_party/mozilla'
@@ -296,6 +295,7 @@ _keeplibs=(
'third_party/private_membership'
'third_party/protobuf'
'third_party/protobuf/third_party/six'
+ 'third_party/pthreadpool'
'third_party/pyjson5'
'third_party/qcms'
'third_party/re2'
@@ -316,19 +316,17 @@ _keeplibs=(
'third_party/swiftshader/third_party/llvm-subzero'
'third_party/swiftshader/third_party/marl'
'third_party/swiftshader/third_party/subzero'
- 'third_party/swiftshader/third_party/SPIRV-Headers/include/spirv/unified1'
- 'third_party/tcmalloc'
+ 'third_party/swiftshader/third_party/SPIRV-Headers/include/spirv'
+ 'third_party/swiftshader/third_party/SPIRV-Tools'
'third_party/tensorflow-text'
'third_party/tflite'
'third_party/tflite/src/third_party/eigen3'
'third_party/tflite/src/third_party/fft2d'
- 'third_party/tcmalloc'
'third_party/ruy'
'third_party/six'
'third_party/snappy'
'third_party/ukey2'
'third_party/unrar'
- 'third_party/usrsctp'
'third_party/utf'
'third_party/vulkan'
'third_party/wayland'
@@ -348,6 +346,7 @@ _keeplibs=(
'third_party/wuffs'
'third_party/x11proto'
'third_party/xcbproto'
+ 'third_party/xnnpack'
'third_party/zxcvbn-cpp'
'third_party/zlib' # /google
'url/third_party/mozilla'
@@ -422,6 +421,7 @@ _flags=(
'use_system_wayland_scanner=true'
'rtc_use_pipewire=true'
'rtc_link_pipewire=true'
+ 'enable_js_type_check=false' # https://crbug.com/1192875
)
# Set the bundled/external components.
@@ -439,13 +439,13 @@ _use_system=(
'libpng'
# 'libvpx'
'libwebp'
-# 'libxml'
-# 'libxslt'
+ 'libxml'
+ 'libxslt'
# 'openh264'
'opus'
# 're2'
# 'snappy'
-# 'zlib' # NaCL needs it
+# 'zlib' # NaCL needs the bundled one
)
# Facilitate deterministic builds (taken from build/config/compiler/BUILD.gn).
@@ -483,22 +483,6 @@ _lld="ld.lld"
prepare() {
cd "${srcdir}/chromium-${pkgver}"
- # Py3toniced.
- 2to3 -w --no-diff third_party/ffmpeg/chromium/scripts/build_ffmpeg.py
-
- # Remove most bundled libraries. Some are still needed.
- msg2 "Removing unnecessary components to save disk space."
- build/linux/unbundle/remove_bundled_libraries.py ${_keeplibs[@]} --do-remove
-
- msg2 "Changing bundle libraries to system ones."
- build/linux/unbundle/replace_gn_files.py --system-libraries ${_use_system[@]}
-
- msg2 "Setup NaCl/PNaCl SDK: Download and install toolchains"
- build/download_nacl_toolchains.py --packages saigo_newlib,nacl_x86_newlib,pnacl_newlib,pnacl_translator sync --extract
-
- msg2 "Download prebuild clang from Google"
- tools/clang/scripts/update.py
-
# Use chromium-dev as brand name.
sed -e 's|=Chromium|&-Dev|g' \
-i chrome/app/theme/chromium/BRANDING
@@ -553,6 +537,7 @@ prepare() {
# # Patch from Gentoo
patch -p1 -i "${srcdir}/chromium-93-InkDropHost-crash.patch"
patch -p1 -i "${srcdir}/chromium-98-EnumTable-crash.patch"
+ patch -p1 -i "${srcdir}/chromium-cross-compile.patch"
patch -p1 -i "${srcdir}/chromium-shim_headers.patch"
# # Patch from crbug.com (chromium bugtracker), chromium-review.googlesource.com / Gerrit or Arch chromium package.
@@ -592,6 +577,23 @@ prepare() {
# Use system opus.
rm -fr third_party/opus/src/include
ln -sf /usr/include/opus/ third_party/opus/src/include
+
+ # Remove most bundled libraries. Some are still needed.
+ msg2 "Removing unnecessary components to save disk space."
+ build/linux/unbundle/remove_bundled_libraries.py ${_keeplibs[@]} --do-remove
+
+ msg2 "Changing bundle libraries to system ones."
+ build/linux/unbundle/replace_gn_files.py --system-libraries ${_use_system[@]}
+
+ msg2 "Setup NaCl/PNaCl SDK: Download and install toolchains"
+ build/download_nacl_toolchains.py --packages saigo_newlib,nacl_x86_newlib,pnacl_newlib,pnacl_translator sync --extract
+
+ # https://crbug.com/1306914.
+ sed '/<limits.h>/a#undef PTHREAD_STACK_MIN\n#define PTHREAD_STACK_MIN 16384' -i native_client/src/shared/platform/posix/nacl_threads.c
+ sed '/man.h>/a#undef SIGSTKSZ\n#define SIGSTKSZ 8192' -i native_client/src/trusted/service_runtime/posix/nacl_signal_stack.c
+
+ msg2 "Download prebuild clang from Google"
+ tools/clang/scripts/update.py
}
build() {
@@ -680,7 +682,7 @@ package() {
ln -sf /usr/lib/chromium-dev/chromedriver "${pkgdir}/usr/bin/chromedriver-dev"
# Install libs.
- for i in lib*.so swiftshader/lib*.so; do
+ for i in lib*.so; do
install -Dm755 "${i}" "${pkgdir}/usr/lib/chromium-dev/${i}"
strip $STRIP_SHARED "${pkgdir}/usr/lib/chromium-dev/${i}"
done
@@ -720,7 +722,8 @@ package() {
_resources=(
'chrome_100_percent.pak'
'chrome_200_percent.pak'
- 'headless_lib.pak'
+ 'headless_lib_data.pak'
+ 'headless_lib_strings.pak'
'resources.pak'
)
for i in "${_resources[@]}"; do