Package Details: chromium-dev 91.0.4472.10-1

Git Clone URL: https://aur.archlinux.org/chromium-dev.git (read-only, click to copy)
Package Base: chromium-dev
Description: The open-source project behind Google Chrome (Dev Channel)
Upstream URL: http://www.chromium.org
Keywords: browser web
Licenses: BSD
Submitter: None
Maintainer: sl1pkn07
Last Packager: sl1pkn07
Votes: 159
Popularity: 0.054982
First Submitted: 2010-05-17 09:04
Last Updated: 2021-04-22 13:48

Dependencies (33)

Required by (0)

Sources (10)

Latest Comments

1 2 3 4 5 6 ... Next › Last »

DAC324 commented on 2021-04-26 12:32

Starting with v91, chromium-dev does not display the default font correctly in the UI and in web pages. In order to circumvent that, chromium-dev has to be started with the --no-sandbox -test-type command line options.

Already filed an issue (https://bugs.chromium.org/p/chromium/issues/detail?id=1193445) but it looks like there is no solution yet.

DAC324 commented on 2021-04-26 09:07

If anybody wants to use Chromium Dev in the version 92.0.4487.7 - here's a patch to PKGBUILD to enable this version:

--- PKGBUILD_91.0.4472.10   2021-04-26 10:55:51.019695028 +0200
+++ PKGBUILD    2021-04-28 15:08:05.278179868 +0200
@@ -15,7 +15,7 @@
 ## -- Package and components information -- ##
 ##############################################
 pkgname=chromium-dev
-pkgver=91.0.4472.10
+pkgver=92.0.4484.7
 pkgrel=1
 pkgdesc="The open-source project behind Google Chrome (Dev Channel)"
 arch=('x86_64')
@@ -28,7 +28,7 @@
 #          'minizip'
          'nss'
          'pciutils'
-#          're2'
+         're2'
          'snappy'
          'xdg-utils'
 #          'protobuf'
@@ -76,17 +76,15 @@
 source=(
         #"https://gsdview.appspot.com/chromium-browser-official/chromium-${pkgver}.tar.xz"
         "https://commondatastorage.googleapis.com/chromium-browser-official/chromium-${pkgver}.tar.xz"
+        # "chromium-browser-official/chromium-${pkgver}.tar.xz"
         'git+https://github.com/foutrelis/chromium-launcher.git'
         'chromium-dev.svg'
-        # Patch form Gentoo.
+        # Patch from Gentoo.
         'https://raw.githubusercontent.com/gentoo/gentoo/master/www-client/chromium/files/chromium-89-EnumTable-crash.patch'
         'https://raw.githubusercontent.com/gentoo/gentoo/master/www-client/chromium/files/chromium-shim_headers.patch'
-        'https://raw.githubusercontent.com/gentoo/gentoo/master/www-client/chromium/files/chromium-91-system-icu.patch'
-        'https://raw.githubusercontent.com/gentoo/gentoo/master/www-client/chromium/files/chromium-91-ThemeService-crash.patch'
         # Misc Patches.
         'fix_hevc_in_non_cromeos_r1.patch'
         # Patch from crbug.com (chromium bugtracker), chromium-review.googlesource.com / Gerrit or Arch chromium package.
-        'https://raw.githubusercontent.com/archlinux/svntogit-packages/packages/chromium/trunk/chromium-glibc-2.33.patch'
         'https://raw.githubusercontent.com/archlinux/svntogit-packages/packages/chromium/trunk/use-oauth2-client-switches-as-default.patch'
         )
 sha256sums=(
@@ -94,15 +92,13 @@
             "$(curl -sL https://commondatastorage.googleapis.com/chromium-browser-official/chromium-${pkgver}.tar.xz.hashes | grep sha256 | cut -d ' ' -f3)"
             'SKIP'
             'dd2b5c4191e468972b5ea8ddb4fa2e2fa3c2c94c79fc06645d0efc0e63ce7ee1'
-            # Patch form Gentoo
+            # Patch from Gentoo
             '61066e638ee795e888d12cc2c4af42c8cf3fe9f473b1dc0b78c9e87faf5eacda'
             'fabf66cfb15449011a20e377d600573b6338cc4c52e3f28f80e0541772659e8b'
-            '1276018471004688356ef70be708ce96a816ffca6625ed7cc99cb985b6e15559'
-            '26cc77232d06e55b50a253617fb87218b0058ba2b0271fef5845bcc474f6a117'
             # Misc Patches
-            '70f7a1736aabd63bbdf5060c015b220ede7d5d19837408eb4a5172099aecd862'
+             '70f7a1736aabd63bbdf5060c015b220ede7d5d19837408eb4a5172099aecd862'
+            # 9d685d75c9384ebd4a0976796db607b36d8500c97fb5f1fb572b0356a3b39987
             # Patch from crbug (chromium bugtracker) or Arch chromium package
-            '2fccecdcd4509d4c36af873988ca9dbcba7fdb95122894a9fdf502c33a1d7a4b'
             'e393174d7695d0bafed69e868c5fbfecf07aa6969f3b64596d0bae8b067e1711'
             )
 install=chromium-dev.install
@@ -119,7 +115,7 @@
 #_google_default_client_id="413772536636.apps.googleusercontent.com"
 #_google_default_client_secret="0ZChLK6AxeA3Isu96MkwqDR4"

-# List of third-party components needed for build chromium. The rest is remove by remove_bundled_libraries srcipt in prepare().
+# List of third-party components needed for build chromium. The rest is removed by remove_bundled_libraries srcipt in prepare().
 _keeplibs=(
            'base/third_party/cityhash'
            'base/third_party/double_conversion'
@@ -183,6 +179,7 @@
            'third_party/dav1d'
            'third_party/dawn'
            'third_party/dawn/third_party/khronos'
+           'third_party/dawn/third_party/tint'  # new in Chromium 92
            'third_party/depot_tools'
            'third_party/devscripts'
            'third_party/devtools-frontend'
@@ -190,6 +187,7 @@
            'third_party/devtools-frontend/src/front_end/third_party/axe-core'
            'third_party/devtools-frontend/src/front_end/third_party/chromium'
            'third_party/devtools-frontend/src/front_end/third_party/codemirror'
+           'third_party/devtools-frontend/src/front_end/third_party/diff' # new in Chromium 92
            'third_party/devtools-frontend/src/front_end/third_party/fabricjs'
            'third_party/devtools-frontend/src/front_end/third_party/i18n'
            'third_party/devtools-frontend/src/front_end/third_party/intl-messageformat'
@@ -198,8 +196,10 @@
            'third_party/devtools-frontend/src/front_end/third_party/lodash-isequal'
            'third_party/devtools-frontend/src/front_end/third_party/marked'
            'third_party/devtools-frontend/src/front_end/third_party/puppeteer'
+           'third_party/devtools-frontend/src/third_party/typescript' # new in Chromium 92
            'third_party/devtools-frontend/src/front_end/third_party/wasmparser'
            'third_party/devtools-frontend/src/third_party'
+           'third_party/devtools-frontend/src/inspector_overlay' # new in Chromium 92
            'third_party/dom_distiller_js'
            'third_party/eigen3'
            'third_party/emoji-segmenter'
@@ -317,7 +317,7 @@
            'third_party/tflite/src/third_party/fft2d'
            'third_party/tflite-support'
            'third_party/tcmalloc'
-           'third_party/tint'
+#           'third_party/tint'
            'third_party/ruy'
            'third_party/ukey2'
            'third_party/unrar'
@@ -356,19 +356,26 @@
            'third_party/speech-dispatcher'
            'third_party/usb_ids'
            'third_party/xdg-utils'
+#           'third_party/xstream'
            )

 _keeplibs+=(
             'third_party/icu' # https://crbug.com/678661.
             )

+if [ "${_use_wayland}" = "1" ]; then
+  _keeplibs+=(
+              'third_party/minigbm'
+             )
+fi
+
 # Set build flags.
 _flags=(
         "custom_toolchain=\"//build/toolchain/linux/unbundle:default\""
         "host_toolchain=\"//build/toolchain/linux/unbundle:default\""
+        "target_os=\"linux\""
         'is_debug=false'
         'is_official_build=false'
-        'chrome_pgo_phase=0' # unsupported instrumentation profile format version
         'is_component_build=true'
         'enable_widevine=true'
         'enable_hangout_services_extension=true'
@@ -387,7 +394,10 @@
         'treat_warnings_as_errors=false'
         'enable_nacl=true'
         'enable_nacl_nonsfi=true'
-        'use_custom_libcxx=true' # use true if you want use bundled RE2
+# Most developers don't normally need to test Native Client capabilities and can speed up the build by disabling it.
+#        'enable_nacl=false'
+#        'enable_nacl_nonsfi=false'
+        'use_custom_libcxx=false' # use true if you want use bundled RE2
         'use_vaapi=true'
         'enable_platform_hevc=true'
         'enable_platform_ac3_eac3_audio=true'
@@ -406,13 +416,13 @@
 if [ "${_use_wayland}" = "1" ]; then
   _flags+=(
            'ozone_platform_wayland=true'
+           'use_xkbcommon=true'
            'use_system_libdrm=true'
-           'use_system_minigbm=true'
            'use_system_libwayland=true'
            'use_v4l2_codec=true'
-           'use_xkbcommon=true'
-           "ozone_platform=\"wayland"\"
+           "ozone_platform=\"wayland\""
            'rtc_use_pipewire=true'
+           'rtc_link_pipewire=true'
            'rtc_pipewire_version="0.3"' # will be the default in Chromium 90
            )
 fi
@@ -420,23 +430,23 @@
 # Set the bundled/external components.
 # TODO: need ported to GN as GYP doing before. see status page: https://crbug.com/551343.
 _use_system=(
-#              'ffmpeg'       # I'm not sure why, but all videos stop playback if use system ffmpeg.
+             'ffmpeg'       # I'm not sure why, but all videos stop playback if use system ffmpeg.
              'flac'
              'fontconfig'
              'freetype'
              'harfbuzz-ng'
-#              'icu'          # https://crbug.com/678661.
+             'icu'          # use bundled version if compile fails: https://crbug.com/678661.
              'libdrm'
-#              'libevent'     # Get segfaults and other problems https://bugs.gentoo.org/593458.
+             'libevent'     # Use the bundled version if there are segfaults and other problems https://bugs.gentoo.org/593458.
              'libjpeg'
              'libpng'
-#              'libvpx'
+             'libvpx'       # Use bundled version in case of compile errors
              'libwebp'
              'libxml'
              'libxslt'
              'openh264'
              'opus'
-#              're2'
+             're2'
              'snappy'
 #              'yasm'
 #              'zlib'         # NaCL needs it
@@ -466,6 +476,8 @@

 _clang_path="${BUILDDIR}${_builddir}/src/chromium-${pkgver}/third_party/llvm-build/Release+Asserts/bin/"

+export FC_CONFIG_FILE="/etc/fonts/fonts.conf"
+export FC_CONFIG_DIR="/etc/fonts"
 export CC="${_clang_path}clang"
 export CXX="${_clang_path}clang++"
 export AR="${_clang_path}llvm-ar"
@@ -473,6 +485,7 @@
 export RANLIB=/usr/bin/true
 _lld="ld.lld"

+
 ################################################

 prepare() {
@@ -489,7 +502,7 @@
   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."
+  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."
@@ -523,9 +536,9 @@
       -e "s|'app_name': 'Chromium|&-dev|g" \
       -i components/policy/tools/template_writers/writer_configuration.py

-  # Fix(?) the name of the sandbox.
-  sed -e 's|chrome-sandbox|chrome_sandbox|g'\
-      -i sandbox/linux/suid/client/setuid_sandbox_host.cc
+# Fix(?) the name of the sandbox.
+#  sed -e 's|chrome-sandbox|chrome_sandbox|g'\
+#      -i sandbox/linux/suid/client/setuid_sandbox_host.cc

   # If use ccache, set it.
   if check_buildoption ccache y; then
@@ -549,31 +562,28 @@
       -i third_party/blink/renderer/core/xml/*.cc \
       -i third_party/blink/renderer/core/xml/parser/xml_document_parser.cc \
       -i third_party/libxml/chromium/libxml_utils.cc
-
+  # Fix Java assertion (https://groups.google.com/a/chromium.org/g/chromium-checkins/c/gEBqCY8Bqrc?pli=1)
   ln -s /usr/bin/java third_party/jdk/current/bin/java
+  # patch -p1 -i "${srcdir}/java-assertion.patch"

   # Fix build if enable HEVC in non-chromeOS system
+  msg2 "Fix HEVC in non-ChromeOS"
   patch -p1 -i "${srcdir}/fix_hevc_in_non_cromeos_r1.patch"

   # # Patch from Gentoo
+  msg2 "Patches from Gentoo:"
+  msg2 "1. EnumTable Crash"
   patch -p1 -i "${srcdir}/chromium-89-EnumTable-crash.patch"
+  msg2 "2. Shim Headers"
   patch -p1 -i "${srcdir}/chromium-shim_headers.patch"
-  patch -p1 -i "${srcdir}/chromium-91-ThemeService-crash.patch"
-  patch -p1 -i "${srcdir}/chromium-91-system-icu.patch"

   # # Patch from crbug.com (chromium bugtracker), chromium-review.googlesource.com / Gerrit or Arch chromium package.
-
   # Use the --oauth2-client-id= and --oauth2-client-secret= switches for
   # setting GOOGLE_DEFAULT_CLIENT_ID and GOOGLE_DEFAULT_CLIENT_SECRET at
   # runtime -- this allows signing into Chromium without baked-in values
+  msg2 "Use OAuth2 client switches as default"
   patch -p1 -i "${srcdir}/use-oauth2-client-switches-as-default.patch"

-  # https://crbug.com/1164975
-  patch -p1 -i "${srcdir}/chromium-glibc-2.33.patch"
-  sed '34i#define AT_EMPTY_PATH 0x1000' -i sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc
-
-  # Upstream fixes
-
   # 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

sl1pkn07 commented on 2021-04-22 13:49

thanks @hexhu

switch to bundled SPIRV headers

greetings

hexhu commented on 2021-04-22 04:30

@sl1pkn07 worked like a charm:

using spirv-headers-git: compiles

only appending to _keeplibs: compiles

with both: compiles

sl1pkn07 commented on 2021-04-21 13:50

try to use spirv-headers-git in [AUR], or add this line in the _keeplibs array

'third_party/swiftshader/third_party/SPIRV-Headers/include/spirv/unified1'

greetings

hexhu commented on 2021-04-21 01:00

@sl1pkn07 somehow the error persists: https://pastebin.aosc.io/paste/Ygt6e8sGQpiYV6qgK6LOWg

thanks for the help!

sl1pkn07 commented on 2021-04-19 17:55

@hexhu try now

greetings

hexhu commented on 2021-04-19 17:23

Using the latest PKGBUILD, but having error about namespace 'spv' missing members (OpAsmINTEL, OpAsmTargetINTEL, OpAsmCallINTEL, etc.) when compiling obj/third_party/swiftshader/src/Pipeline/Pipeline/SpirvShaderInstructions.o.d

Full error: https://pastebin.aosc.io/paste/E3f7Ek1fFVk958pJZdh2FQ

DAC324 commented on 2021-03-29 12:22

If somebody wants to use this package with the latest Chromium-Dev:

Here is a preliminary patch for PKGBUILD. Just patch your PKGBUILD and build the package with makepkg the usual way.

--- PKGBUILD    2021-03-29 14:13:43.053395575 +0200
+++ PKGBUILD    2021-03-29 14:19:00.907521838 +0200
@@ -15,7 +15,7 @@
 ## -- Package and components information -- ##
 ##############################################
 pkgname=chromium-dev
-pkgver=89.0.4381.6
+pkgver=91.0.4455.2
 pkgrel=1
 pkgdesc="The open-source project behind Google Chrome (Dev Channel)"
 arch=('x86_64')
@@ -75,12 +75,12 @@
 source=(
         #"https://gsdview.appspot.com/chromium-browser-official/chromium-${pkgver}.tar.xz"
         "https://commondatastorage.googleapis.com/chromium-browser-official/chromium-${pkgver}.tar.xz"
+        # "chromium-browser-official/chromium-${pkgver}.tar.xz"
         'git+https://github.com/foutrelis/chromium-launcher.git'
         'chromium-dev.svg'
-        # Patch form Gentoo.

         # Misc Patches.
-        'fix_hevc_in_non_cromeos.patch'
+        # 'fix_hevc_in_non_cromeos.patch'

         # Patch from crbug.com (chromium bugtracker), chromium-review.googlesource.com / Gerrit or Arch chromium package.
         )
@@ -89,10 +89,9 @@
             "$(curl -sL https://commondatastorage.googleapis.com/chromium-browser-official/chromium-${pkgver}.tar.xz.hashes | grep sha256 | cut -d ' ' -f3)"
             'SKIP'
             'dd2b5c4191e468972b5ea8ddb4fa2e2fa3c2c94c79fc06645d0efc0e63ce7ee1'
-            # Patch form Gentoo

             # Misc Patches
-            '814246e08b63884dae096fe317f837259294118b5336e8da081b19eeb7991977'
+            # '814246e08b63884dae096fe317f837259294118b5336e8da081b19eeb7991977'
             # Patch from crbug (chromium bugtracker) or Arch chromium package
             )
 install=chromium-dev.install
@@ -193,12 +192,16 @@
            'third_party/devtools-frontend/src/third_party'
            'third_party/dom_distiller_js'
            'third_party/emoji-segmenter'
+           'third_party/farmhash'
+           'third_party/fdlibm'
            'third_party/ffmpeg'
+           'third_party/fft2d'
            'third_party/flatbuffers'
            'third_party/fusejs'
            'third_party/google_input_tools'
            'third_party/google_input_tools/third_party/closure_library'
            'third_party/google_input_tools/third_party/closure_library/third_party/closure'
+           'third_party/google-truth'
            'third_party/googletest'
            'third_party/harfbuzz-ng/utils'
            'third_party/hunspell'
@@ -212,12 +215,13 @@
            'third_party/libXNVCtrl'
            'third_party/libaddressinput'
            'third_party/libaom'
-           'third_party/libaom/source/libaom/third_party/vector'
-           'third_party/libaom/source/libaom/third_party/x86inc'
+           'third_party/libaom/source/libaom/'
            'third_party/libavif'
+           'third_party/libgav1'
            'third_party/libgifcodec'
            'third_party/libjingle'
            'third_party/libphonenumber'
+           'third_party/libpng'
            'third_party/libsecret'
            'third_party/libsrtp'
            'third_party/libsync'
@@ -227,10 +231,12 @@
            'third_party/libvpx'
            'third_party/libvpx/source/libvpx/third_party/x86inc'
            'third_party/libwebm'
+           'third_party/libwebp'
            'third_party/libx11'
            'third_party/libxcb-keysyms'
            'third_party/libxml/chromium'
            'third_party/libyuv'
+           'third_party/libzip'
            'third_party/llvm'
            'third_party/lottie'
            'third_party/lss'
@@ -249,6 +255,7 @@
            'third_party/openscreen'
            'third_party/openscreen/src/third_party/mozilla'
            'third_party/openscreen/src/third_party/tinycbor/src/src'
+           'third_party/opus'
            'third_party/ots'
            'third_party/pdfium'
            'third_party/pdfium/third_party/agg23'
@@ -261,6 +268,8 @@
            'third_party/pdfium/third_party/libtiff'
            'third_party/pdfium/third_party/skia_shared'
            'third_party/perfetto'
+           'third_party/perfetto/protos/third_party/chromium'
+           'third_party/perfetto/src/protozero'
            'third_party/pffft'
            'third_party/ply'
            'third_party/polymer'
@@ -272,10 +281,11 @@
            'third_party/qcms'
            'third_party/re2'
            'third_party/rnnoise'
+           'third_party/ruy'
            'third_party/s2cellid'
            'third_party/schema_org'
            'third_party/securemessage'
-           'third_party/shaka-player'
+#           'third_party/shaka-player'
            'third_party/shell-encryption'
            'third_party/simplejson'
            'third_party/skia'
@@ -284,21 +294,46 @@
            'third_party/skia/third_party/skcms'
            'third_party/smhasher'
            'third_party/sqlite'
+           'third_party/sqlite4java'
            'third_party/swiftshader'
+           'third_party/swiftshader/third_party/angle'
            'third_party/swiftshader/third_party/astc-encoder'
+           'third_party/swiftshader/third_party/boost'
+#           'third_party/swiftshader/third_party/benchmark'
+#           'third_party/swiftshader/third_party/cppdap'
+#           'third_party/swiftshader/third_party/googletest'
+#           'third_party/swiftshader/third_party/json'
+           'third_party/swiftshader/third_party/libbacktrace'
+#           'third_party/swiftshader/third_party/glslang'
+           'third_party/swiftshader/third_party/llvm-10.0'
            'third_party/swiftshader/third_party/llvm-subzero'
            'third_party/swiftshader/third_party/marl'
+#           'third_party/swiftshader/third_party/PowerVR_Examples
+           'third_party/swiftshader/third_party/SPIRV-Headers'
+           'third_party/swiftshader/third_party/SPIRV-Tools'
            'third_party/swiftshader/third_party/subzero'
            'third_party/tcmalloc'
+           'third_party/tensorflow-text'
+           'third_party/tflite'
+           'third_party/tflite/src'
+           'third_party/tflite/src/tensorflow'
+           'third_party/tflite/src/tensorflow/lite'
+           'third_party/tflite/src/tensorflow/lite/kernels'
+           'third_party/tflite/src/tensorflow/lite/kernels/internal'
+           'third_party/tflite-support'
            'third_party/tint'
+#           'third_party/turbine/src'
+#           'third_party/ub-uiautomator/lib'
            'third_party/ukey2'
            'third_party/unrar'
            'third_party/usrsctp'
+           'third_party/utf'
            'third_party/vulkan-deps'
            'third_party/vulkan_memory_allocator'
            'third_party/wayland'
            'third_party/web-animations-js'
            'third_party/webdriver'
+           'third_party/webgpu-cts'
            'third_party/webrtc'
            'third_party/webrtc/common_audio/third_party/ooura'
            'third_party/webrtc/common_audio/third_party/spl_sqrt_floor'
@@ -307,6 +342,7 @@
            'third_party/webrtc/modules/third_party/g722'
            'third_party/webrtc/rtc_base/third_party/base64'
            'third_party/webrtc/rtc_base/third_party/sigslot'
+           'third_party/weston/src'
            'third_party/widevine'
            'third_party/woff2'
            'third_party/wuffs'
@@ -324,10 +360,11 @@

            # gyp -> gn leftovers.
            'base/third_party/libevent'
-           'third_party/adobe'
+#           'third_party/adobe'
            'third_party/speech-dispatcher'
            'third_party/usb_ids'
            'third_party/xdg-utils'
+           'third_party/xstream'
            )

 _keeplibs+=(
@@ -401,8 +438,8 @@
              'libdrm'
 #              'libevent'     # Get segfaults and other problems https://bugs.gentoo.org/593458.
              'libjpeg'
-             'libpng'
-#              'libvpx'
+#             'libpng'        # compile errors with 91.0.4455.2
+#             'libvpx'
              'libwebp'
              'libxml'
              'libxslt'
@@ -462,8 +499,9 @@
   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 "Removing unnecessary components to save disk space: "
+  msg2 "Not possible anymore as all bundled third-party libraries are configured as being mandatory for compiling!"
+#  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[@]}
@@ -496,9 +534,9 @@
       -e "s|'app_name': 'Chromium|&-dev|g" \
       -i components/policy/tools/template_writers/writer_configuration.py

-  # Fix(?) the name of the sandbox.
-  sed -e 's|chrome-sandbox|chrome_sandbox|g'\
-      -i sandbox/linux/suid/client/setuid_sandbox_host.cc
+# Fix(?) the name of the sandbox.
+#  sed -e 's|chrome-sandbox|chrome_sandbox|g'\
+#      -i sandbox/linux/suid/client/setuid_sandbox_host.cc

   # If use ccache, set it.
   if check_buildoption ccache y; then
@@ -517,14 +555,14 @@
     -i tools/generate_shim_headers/generate_shim_headers.py

   # https://crbug.com/893950.
-  sed -e 's/\<xmlMalloc\>/malloc/' \
-      -e 's/\<xmlFree\>/free/' \
-      -i third_party/blink/renderer/core/xml/*.cc \
-      -i third_party/blink/renderer/core/xml/parser/xml_document_parser.cc \
-      -i third_party/libxml/chromium/libxml_utils.cc
+  # sed -e 's/\<xmlMalloc\>/malloc/' \
+  #    -e 's/\<xmlFree\>/free/' \
+  #    -i third_party/blink/renderer/core/xml/*.cc \
+  #    -i third_party/blink/renderer/core/xml/parser/xml_document_parser.cc \
+  #    -i third_party/libxml/chromium/libxml_utils.cc

   # Fix build if enable HEVC in non-chromeOS system
-  patch -p1 -i "${srcdir}/fix_hevc_in_non_cromeos.patch"
+  # patch -p1 -i "${srcdir}/fix_hevc_in_non_cromeos.patch"

   # # Patch from Gentoo

@@ -555,7 +593,7 @@
 }

 build() {
-  # set python 2 for buiuld pnacl.
+  # set python 2 for build pnacl.
   export PNACLPYTHON=/usr/bin/python2

   msg2 "Build the Launcher"

DAC324 commented on 2021-03-24 10:27

Flagged Out of Date. Does that mean that this package is no longer maintained or developed? If that is the case, are there any alternatives?