[arch-commits] Commit in chromium/trunk (PKGBUILD fetch-chromium-release)

Evangelos Foutras foutrelis at gemini.archlinux.org
Fri Jul 22 13:14:57 UTC 2022


    Date: Friday, July 22, 2022 @ 13:14:57
  Author: foutrelis
Revision: 451543

Remove script to fetch Chromium sources from Git

It will likely not be needed again after the improvements made in [1].

[1] https://crbug.com/1341418

Modified:
  chromium/trunk/PKGBUILD
Deleted:
  chromium/trunk/fetch-chromium-release

------------------------+
 PKGBUILD               |    9 ---------
 fetch-chromium-release |   42 ------------------------------------------
 2 files changed, 51 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-07-22 12:54:52 UTC (rev 451542)
+++ PKGBUILD	2022-07-22 13:14:57 UTC (rev 451543)
@@ -8,7 +8,6 @@
 pkgrel=1
 _launcher_ver=8
 _gcc_patchset=4
-_manual_clone=0
 pkgdesc="A web browser built for speed, simplicity, and security"
 arch=('x86_64')
 url="https://www.chromium.org/Home"
@@ -40,11 +39,6 @@
             '00c16ce83ea4ca924a50fa0cfc2b2a4d744c722f363b065323e6ba0fcbac45a5'
             'e393174d7695d0bafed69e868c5fbfecf07aa6969f3b64596d0bae8b067e1711')
 
-if (( _manual_clone )); then
-  source[0]=fetch-chromium-release
-  makedepends+=('python-httplib2' 'python-pyparsing' 'python-six')
-fi
-
 # Possible replacements are listed in build/linux/unbundle/replace_gn_files.py
 # Keys are the names in the above script; values are the dependencies in Arch
 declare -gA _system_libs=(
@@ -80,9 +74,6 @@
 _google_api_key=AIzaSyDwr302FpOSkGRpLlUpPThNTDPbXcIn_FM
 
 prepare() {
-  if (( _manual_clone )); then
-    ./fetch-chromium-release $pkgver
-  fi
   cd chromium-$pkgver
 
   # Allow building against system libraries in official builds

Deleted: fetch-chromium-release
===================================================================
--- fetch-chromium-release	2022-07-22 12:54:52 UTC (rev 451542)
+++ fetch-chromium-release	2022-07-22 13:14:57 UTC (rev 451543)
@@ -1,42 +0,0 @@
-#!/bin/bash
-
-set -e
-
-readonly VERSION=$1
-if [[ -z $VERSION ]]; then
-  echo >&2 'No version given as an argument'
-  exit 1
-fi
-
-mkdir chromium-checkout
-cd chromium-checkout
-cat >.gclient <<EOF
-solutions = [
-  {
-    "name": "src",
-    "url": "https://chromium.googlesource.com/chromium/src.git",
-    "managed": False,
-    "custom_deps": {},
-    "custom_vars": {},
-  },
-]
-EOF
-
-git clone --depth=1 https://chromium.googlesource.com/chromium/tools/depot_tools
-export PATH+=":$PWD/depot_tools" DEPOT_TOOLS_UPDATE=0
-export VPYTHON_BYPASS='manually managed python not supported by chrome operations'
-
-git clone -b $VERSION --depth=2 https://chromium.googlesource.com/chromium/src
-gclient sync --no-history --nohooks
-src/build/util/lastchange.py -o src/build/util/LASTCHANGE
-src/build/util/lastchange.py -m SKIA_COMMIT_HASH \
-  -s src/third_party/skia --header src/skia/ext/skia_commit_hash.h
-src/build/util/lastchange.py -m GPU_LISTS_VERSION \
-  --revision-id-only --header src/gpu/config/gpu_lists_version.h
-src/tools/update_pgo_profiles.py --target=linux update \
-  --gs-url-base=chromium-optimization-profiles/pgo_profiles
-download_from_google_storage.py --no_resume --extract --no_auth \
-  --bucket chromium-nodejs -s src/third_party/node/node_modules.tar.gz.sha1
-
-find src/third_party/jdk/{current,extras} -type f -delete
-mv src ../chromium-$VERSION



More information about the arch-commits mailing list