summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorgraysky2024-04-24 14:42:19 -0400
committergraysky2024-04-24 14:42:19 -0400
commit2579ad9ce67677461f209295524ddd3e21588ac3 (patch)
tree8a9c886297eae49148e17d7ad7104e0617f11f2c
parent4af52a6c02b89f6354f20dbf5f8442d86d1d5508 (diff)
downloadaur-2579ad9ce67677461f209295524ddd3e21588ac3.tar.gz
Update to 124.0.6367.78-1
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD13
-rw-r--r--qt-6.7.patch31
3 files changed, 47 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d0c5eb9df568..2b14a974841b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = chromium-no-extras
pkgdesc = Chromium without hangout services, widevine, or chromedriver
- pkgver = 124.0.6367.60
+ pkgver = 124.0.6367.78
pkgrel = 1
url = https://www.chromium.org/Home
arch = x86_64
@@ -15,6 +15,7 @@ pkgbase = chromium-no-extras
makedepends = pipewire
makedepends = rust
makedepends = qt5-base
+ makedepends = qt6-base
makedepends = java-runtime-headless
makedepends = git
depends = gtk3
@@ -48,24 +49,25 @@ pkgbase = chromium-no-extras
depends = freetype2
optdepends = pipewire: WebRTC desktop sharing under Wayland
optdepends = kdialog: support for native dialogs in Plasma
- optdepends = qt5-base: enable Qt5 with --enable-features=AllowQt
optdepends = gtk4: for --gtk-version=4 (GTK4 IME might work better on Wayland)
optdepends = org.freedesktop.secrets: password storage backend on GNOME / Xfce
optdepends = kwallet: support for storing passwords in KWallet on Plasma
- provides = chromium=124.0.6367.60
+ provides = chromium=124.0.6367.78
conflicts = chromium
options = !lto
- source = https://commondatastorage.googleapis.com/chromium-browser-official/chromium-124.0.6367.60.tar.xz
+ source = https://commondatastorage.googleapis.com/chromium-browser-official/chromium-124.0.6367.78.tar.xz
source = https://github.com/foutrelis/chromium-launcher/archive/v8/chromium-launcher-8.tar.gz
source = https://gitlab.com/Matt.Jolly/chromium-patches/-/archive/124/chromium-patches-124.tar.bz2
source = drop-flag-unsupported-by-clang17.patch
source = compiler-rt-adjust-paths.patch
+ source = qt-6.7.patch
source = use-oauth2-client-switches-as-default.patch
- sha256sums = ebd553527149cb8477a522df90acd6cea2388a6f431e2db589a0301df1d0cae2
+ sha256sums = 697ea9e8591e0a74deea260a50441711b1ea499ca19e91d6012c5b4d200d1acf
sha256sums = 213e50f48b67feb4441078d50b0fd431df34323be15be97c55302d3fdac4483a
sha256sums = c2bc4e65ed2a4e23528dd10d5c15bf99f880b7bbb789cc720d451b78098a7e12
sha256sums = 3bd35dab1ded5d9e1befa10d5c6c4555fe0a76d909fb724ac57d0bf10cb666c1
sha256sums = b3de01b7df227478687d7517f61a777450dca765756002c80c4915f271e2d961
+ sha256sums = e30623f36c54f4af3a8aa7d9400f7d2bed6ef560f15d665d2aa8fd777cb2565f
sha256sums = e393174d7695d0bafed69e868c5fbfecf07aa6969f3b64596d0bae8b067e1711
pkgname = chromium-no-extras
diff --git a/PKGBUILD b/PKGBUILD
index ad4112e9dec8..5321f7c357e1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
_pkgname=chromium
pkgname=chromium-no-extras
-pkgver=124.0.6367.60
+pkgver=124.0.6367.78
pkgrel=1
_launcher_ver=8
_manual_clone=0
@@ -21,10 +21,9 @@ depends=('gtk3' 'nss' 'alsa-lib' 'xdg-utils' 'libxss' 'libcups' 'libgcrypt'
'ttf-liberation' 'systemd' 'dbus' 'libpulse' 'pciutils' 'libva'
'libffi' 'desktop-file-utils' 'hicolor-icon-theme')
makedepends=('python' 'gn' 'ninja' 'clang' 'lld' 'gperf' 'nodejs' 'pipewire'
- 'rust' 'qt5-base' 'java-runtime-headless' 'git')
+ 'rust' 'qt5-base' 'qt6-base' 'java-runtime-headless' 'git')
optdepends=('pipewire: WebRTC desktop sharing under Wayland'
'kdialog: support for native dialogs in Plasma'
- 'qt5-base: enable Qt5 with --enable-features=AllowQt'
'gtk4: for --gtk-version=4 (GTK4 IME might work better on Wayland)'
'org.freedesktop.secrets: password storage backend on GNOME / Xfce'
'kwallet: support for storing passwords in KWallet on Plasma')
@@ -34,12 +33,14 @@ source=(https://commondatastorage.googleapis.com/chromium-browser-official/chrom
https://gitlab.com/Matt.Jolly/chromium-patches/-/archive/${pkgver%%.*}/chromium-patches-${pkgver%%.*}.tar.bz2
drop-flag-unsupported-by-clang17.patch
compiler-rt-adjust-paths.patch
+ qt-6.7.patch
use-oauth2-client-switches-as-default.patch)
-sha256sums=('ebd553527149cb8477a522df90acd6cea2388a6f431e2db589a0301df1d0cae2'
+sha256sums=('697ea9e8591e0a74deea260a50441711b1ea499ca19e91d6012c5b4d200d1acf'
'213e50f48b67feb4441078d50b0fd431df34323be15be97c55302d3fdac4483a'
'c2bc4e65ed2a4e23528dd10d5c15bf99f880b7bbb789cc720d451b78098a7e12'
'3bd35dab1ded5d9e1befa10d5c6c4555fe0a76d909fb724ac57d0bf10cb666c1'
'b3de01b7df227478687d7517f61a777450dca765756002c80c4915f271e2d961'
+ 'e30623f36c54f4af3a8aa7d9400f7d2bed6ef560f15d665d2aa8fd777cb2565f'
'e393174d7695d0bafed69e868c5fbfecf07aa6969f3b64596d0bae8b067e1711')
if (( _manual_clone )); then
@@ -125,6 +126,9 @@ prepare() {
# Allow libclang_rt.builtins from compiler-rt >= 16 to be used
patch -Np1 -i ../compiler-rt-adjust-paths.patch
+ # Fix build with Qt 6.7
+ patch -Np1 -i ../qt-6.7.patch
+
# Fixes for building with libstdc++ instead of libc++
patch -Np1 -i ../chromium-patches-*/chromium-117-material-color-include.patch
@@ -296,6 +300,7 @@ package() {
chrome_200_percent.pak
chrome_crashpad_handler
libqt5_shim.so
+ libqt6_shim.so
resources.pak
v8_context_snapshot.bin
diff --git a/qt-6.7.patch b/qt-6.7.patch
new file mode 100644
index 000000000000..53c1ca89222f
--- /dev/null
+++ b/qt-6.7.patch
@@ -0,0 +1,31 @@
+From 3a812de6e7e0b285eda21ebbb670ca809c4db2b5 Mon Sep 17 00:00:00 2001
+From: Matt Jolly <Matt.Jolly@footclan.ninja>
+Date: Thu, 11 Apr 2024 12:42:17 +1000
+Subject: [PATCH] Add QtGui to the list of Qt modules
+
+Re: https://bugreports.qt.io/browse/QTBUG-124135 - certain versions of QT
+(6.6.3, 6.7.0) produce pkg-config files that no longer emit dependencies.
+This causes Chromium builds to fail as due to not seeing QtGui as a dependency
+of QtWidgets:
+
+ `gen/qt6/../../../../ui/qt/qt_shim.h:11:10: fatal error: 'QImage' file not found`
+
+While this has been resolved upstream, there will certainly be some users
+that are still using these versions of QT. This patch adds QtGui to the list of
+Qt modules that are required to build the Chromium UI.
+
+Bug: https://bugs.gentoo.org/928299
+Suggested-by: Chris Pritchard <chris@christopherpritchard.co.uk>
+Signed-off-by: Matt Jolly <kangie@gentoo.org>
+--- a/ui/qt/BUILD.gn
++++ b/ui/qt/BUILD.gn
+@@ -60,6 +60,7 @@ template("qt_shim") {
+ pkg_config("qt" + invoker.qt_version + "_config") {
+ packages = [
+ "Qt" + invoker.qt_version + "Core",
++ "Qt" + invoker.qt_version + "Gui",
+ "Qt" + invoker.qt_version + "Widgets",
+ ]
+ }
+--
+2.44.0