From 21650217ead1836359a43f660f82acdefb66e6a5 Mon Sep 17 00:00:00 2001 From: networkException Date: Fri, 25 Oct 2024 00:08:20 +0000 Subject: Upgrade to 130.0.6723.69-1 --- .SRCINFO | 19 ++++++++++++------- PKGBUILD | 17 +++++++++++++---- fetch-chromium-release | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 71 insertions(+), 11 deletions(-) create mode 100755 fetch-chromium-release diff --git a/.SRCINFO b/.SRCINFO index f6d2c6f..243f889 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = ungoogled-chromium pkgdesc = A lightweight approach to removing Google web service dependency - pkgver = 130.0.6723.58 + pkgver = 130.0.6723.69 pkgrel = 1 url = https://github.com/ungoogled-software/ungoogled-chromium arch = x86_64 @@ -19,6 +19,11 @@ pkgbase = ungoogled-chromium makedepends = qt6-base makedepends = java-runtime-headless makedepends = git + makedepends = python-httplib2 + makedepends = python-pyparsing + makedepends = python-six + makedepends = npm + makedepends = rsync depends = gtk3 depends = nss depends = alsa-lib @@ -54,13 +59,13 @@ pkgbase = ungoogled-chromium optdepends = org.freedesktop.secrets: password storage backend on GNOME / Xfce optdepends = kwallet: support for storing passwords in KWallet on Plasma optdepends = upower: Battery Status API support - provides = chromium=130.0.6723.58 - provides = chromedriver=130.0.6723.58 + provides = chromium=130.0.6723.69 + provides = chromedriver=130.0.6723.69 conflicts = chromium conflicts = chromedriver options = !lto - source = https://commondatastorage.googleapis.com/chromium-browser-official/chromium-130.0.6723.58.tar.xz - source = ungoogled-chromium-130.0.6723.58-1.tar.gz::https://github.com/ungoogled-software/ungoogled-chromium/archive/130.0.6723.58-1.tar.gz + source = fetch-chromium-release + source = ungoogled-chromium-130.0.6723.69-1.tar.gz::https://github.com/ungoogled-software/ungoogled-chromium/archive/130.0.6723.69-1.tar.gz source = https://github.com/foutrelis/chromium-launcher/archive/v8/chromium-launcher-8.tar.gz source = compiler-rt-adjust-paths.patch source = increase-fortify-level.patch @@ -70,8 +75,8 @@ pkgbase = ungoogled-chromium source = 0001-ozone-wayland-implement-text_input_manager_v3.patch source = 0001-ozone-wayland-implement-text_input_manager-fixes.patch source = 0001-vaapi-flag-ozone-wayland.patch - sha256sums = aa296edec7275d19feade5ef32cbe7dfdd41594d4c0c1afd94bbf4d310c38c4e - sha256sums = 366cfa97db2fedccc2670c0547d24b820a781e7e1dbccaf39574c167fb257833 + sha256sums = 720a1196410080056cd97a1f5ec34d68ba216a281d9b5157b7ea81ea018ec661 + sha256sums = b7a3975ed17ec7cc4ab6143e3f3e1a056ab4b522d98643bc82cdfee726e919c1 sha256sums = 213e50f48b67feb4441078d50b0fd431df34323be15be97c55302d3fdac4483a sha256sums = b3de01b7df227478687d7517f61a777450dca765756002c80c4915f271e2d961 sha256sums = d634d2ce1fc63da7ac41f432b1e84c59b7cceabf19d510848a7cff40c8025342 diff --git a/PKGBUILD b/PKGBUILD index 47c3d36..c0b7af1 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -9,13 +9,14 @@ # Contributor: Daniel J Griffiths pkgname=ungoogled-chromium -pkgver=130.0.6723.58 +pkgver=130.0.6723.69 pkgrel=1 _launcher_ver=8 +_manual_clone=1 _system_clang=1 # ungoogled chromium variables _uc_usr=ungoogled-software -_uc_ver=130.0.6723.58-1 +_uc_ver=130.0.6723.69-1 pkgdesc="A lightweight approach to removing Google web service dependency" arch=('x86_64') url="https://github.com/ungoogled-software/ungoogled-chromium" @@ -46,8 +47,8 @@ source=(https://commondatastorage.googleapis.com/chromium-browser-official/chrom 0001-ozone-wayland-implement-text_input_manager_v3.patch 0001-ozone-wayland-implement-text_input_manager-fixes.patch 0001-vaapi-flag-ozone-wayland.patch) -sha256sums=('aa296edec7275d19feade5ef32cbe7dfdd41594d4c0c1afd94bbf4d310c38c4e' - '366cfa97db2fedccc2670c0547d24b820a781e7e1dbccaf39574c167fb257833' +sha256sums=('720a1196410080056cd97a1f5ec34d68ba216a281d9b5157b7ea81ea018ec661' + 'b7a3975ed17ec7cc4ab6143e3f3e1a056ab4b522d98643bc82cdfee726e919c1' '213e50f48b67feb4441078d50b0fd431df34323be15be97c55302d3fdac4483a' 'b3de01b7df227478687d7517f61a777450dca765756002c80c4915f271e2d961' 'd634d2ce1fc63da7ac41f432b1e84c59b7cceabf19d510848a7cff40c8025342' @@ -58,6 +59,11 @@ sha256sums=('aa296edec7275d19feade5ef32cbe7dfdd41594d4c0c1afd94bbf4d310c38c4e' 'a2da75d0c20529f2d635050e0662941c0820264ea9371eb900b9d90b5968fa6a' '9a5594293616e1390462af1f50276ee29fd6075ffab0e3f944f6346cb2eb8aec') +if (( _manual_clone )); then + source[0]=fetch-chromium-release + makedepends+=('python-httplib2' 'python-pyparsing' 'python-six' 'npm' 'rsync') +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=( @@ -91,6 +97,9 @@ _unwanted_bundled_libs=( depends+=(${_system_libs[@]}) prepare() { + if (( _manual_clone )); then + ./fetch-chromium-release $pkgver + fi cd "$srcdir/chromium-$pkgver" # Allow building against system libraries in official builds diff --git a/fetch-chromium-release b/fetch-chromium-release new file mode 100755 index 0000000..ac15243 --- /dev/null +++ b/fetch-chromium-release @@ -0,0 +1,46 @@ +#!/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 <