Skip to content

Commit

Permalink
PKGBUILD+Patches: Upgrade to extra/chromium and ungoogled-chromium re…
Browse files Browse the repository at this point in the history
…lease 118.0.5993.70-1
  • Loading branch information
networkException committed Oct 12, 2023
1 parent e461baa commit 1b8183d
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 130 deletions.
36 changes: 14 additions & 22 deletions PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,12 @@
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>

pkgname=ungoogled-chromium
pkgver=117.0.5938.149
pkgrel=2
pkgver=118.0.5993.70
pkgrel=1
_launcher_ver=8
_gcc_patchset=116-patchset-2
# ungoogled chromium variables
_uc_usr=ungoogled-software
_uc_ver=117.0.5938.149-1
_uc_ver=118.0.5993.70-1
pkgdesc="A lightweight approach to removing Google web service dependency"
arch=('x86_64')
url="https://github.com/ungoogled-software/ungoogled-chromium"
Expand All @@ -36,24 +35,18 @@ options=('!lto') # Chromium adds its own flags for ThinLTO
source=(https://commondatastorage.googleapis.com/chromium-browser-official/chromium-$pkgver.tar.xz
$pkgname-$_uc_ver.tar.gz::https://github.com/$_uc_usr/ungoogled-chromium/archive/$_uc_ver.tar.gz
https://github.com/foutrelis/chromium-launcher/archive/v$_launcher_ver/chromium-launcher-$_launcher_ver.tar.gz
https://github.com/stha09/chromium-patches/releases/download/chromium-$_gcc_patchset/chromium-$_gcc_patchset.tar.xz
https://gitlab.com/Matt.Jolly/chromium-patches/-/archive/${pkgver%%.*}/chromium-patches-${pkgver%%.*}.tar.bz2
chromium-drirc-disable-10bpc-color-configs.conf
use-oauth2-client-switches-as-default.patch
REVERT-disable-autoupgrading-debug-info.patch
add-memory-for-std-unique_ptr-in-third_party-ip.patch
material-color-utilities-cmath.patch
roll-src-third_party-libavif-src-b33d9ebfc.676aded35.patch
free-the-X11-pixmap-in-the-NativePixmapEGLX11Bind.patch)
sha256sums=('ddd7c852bd191c0917ab800655da341e7583c2377ca220ae077fc5de7fc7d9df'
'0afcc1fef6e18c612e7a25c65f08b98d0db3e621c80ff855cbfd5a791b6ad03a'
sha256sums=('49ee00a734de3dae7c421eb3c974e8d451b4de6f5b4e34b603fd6435eab6993d'
'd95a02dc7bad01302ed42c9f50daee53c998149f14ba6a4023198e7b1c6f5a36'
'213e50f48b67feb4441078d50b0fd431df34323be15be97c55302d3fdac4483a'
'25ad7c1a5e0b7332f80ed15ccf07d7e871d8ffb4af64df7c8fef325a527859b0'
'0d1eb054965711a2d4ed6b4cb7f06cbda5b374a48e1b99c8c38ebf6375a781a9'
'babda4f5c1179825797496898d77334ac067149cac03d797ab27ac69671a7feb'
'e393174d7695d0bafed69e868c5fbfecf07aa6969f3b64596d0bae8b067e1711'
'1b782b0f6d4f645e4e0daa8a4852d63f0c972aa0473319216ff04613a0592a69'
'7b9708f0dbfd697be7043d3cfe52da991185aa0ee29a3b8263506cd3ae4d41a9'
'55e6097d347be40cffebf3ce13ba84ea92d940f60865f1bd7c9af1ef2a2ef8e1'
'30841fbe0785f8df584eeaa86584fe75f89da26e71df80cf536887557ddef0b6'
'ab1eb107ec1c915065dc59cf4832da27e17d60eb29038e2aec633daeb946cc6a')

# Possible replacements are listed in build/linux/unbundle/replace_gn_files.py
Expand Down Expand Up @@ -108,20 +101,19 @@ prepare() {
patch -Np1 -i ../use-oauth2-client-switches-as-default.patch

# Upstream fixes
patch -Np1 -i ../add-memory-for-std-unique_ptr-in-third_party-ip.patch
patch -Np1 -i ../roll-src-third_party-libavif-src-b33d9ebfc.676aded35.patch
patch -Np1 -i ../free-the-X11-pixmap-in-the-NativePixmapEGLX11Bind.patch

# Revert addition of compiler flag that needs newer clang
patch -Rp1 -i ../REVERT-disable-autoupgrading-debug-info.patch

# Build fixes
patch -Np0 -i ../material-color-utilities-cmath.patch

# Fixes for building with libstdc++ instead of libc++
patch -Np1 -i ../patches/chromium-114-maldoca-include.patch
patch -Np1 -i ../patches/chromium-114-ruy-include.patch
patch -Np1 -i ../patches/chromium-114-vk_mem_alloc-include.patch
patch -Np1 -i ../chromium-patches-*/chromium-114-maldoca-include.patch
patch -Np1 -i ../chromium-patches-*/chromium-114-ruy-include.patch
patch -Np1 -i ../chromium-patches-*/chromium-114-vk_mem_alloc-include.patch
patch -Np1 -i ../chromium-patches-*/chromium-117-material-color-include.patch
patch -Np1 -i ../chromium-patches-*/chromium-118-SensorReadingField-include.patch
patch -Np1 -i ../chromium-patches-*/chromium-118-LightweightDetector-include.patch
patch -Np1 -i ../chromium-patches-*/chromium-118-system-freetype.patch

# Link to system tools required by the build
mkdir -p third_party/node/linux/node-linux-x64/bin
Expand Down
27 changes: 0 additions & 27 deletions add-memory-for-std-unique_ptr-in-third_party-ip.patch

This file was deleted.

11 changes: 0 additions & 11 deletions material-color-utilities-cmath.patch

This file was deleted.

70 changes: 0 additions & 70 deletions roll-src-third_party-libavif-src-b33d9ebfc.676aded35.patch

This file was deleted.

0 comments on commit 1b8183d

Please sign in to comment.