public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/chromium] epel9-next: Enable gtk4 by default
@ 2026-08-07 16:08 Than Ngo
0 siblings, 0 replies; only message in thread
From: Than Ngo @ 2026-08-07 16:08 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/chromium
Branch : epel9-next
Commit : 9334d87d2ce9b28d32eee05403623ef5e4bface5
Author : Than Ngo <than@redhat.com>
Date : 2025-12-11T23:14:37+01:00
Stats : +7/-8 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/chromium/c/9334d87d2ce9b28d32eee05403623ef5e4bface5?branch=epel9-next
Log:
Enable gtk4 by default
---
diff --git a/chromium.conf b/chromium.conf
index d0a610e..09adb8e 100644
--- a/chromium.conf
+++ b/chromium.conf
@@ -57,10 +57,6 @@ if [ "$MODE" != "none" ] ; then
ENABLE_FEATURES=""
fi
-# Set gtk version to 3 by default
-# todo: switch to gtk4 in the future
-CHROMIUM_FLAGS+=" --gtk-version=3"
-
# Web Dark mode
if [ "$WEB_AUTO_DARKMODE_WEBCONTENT" == "on" ] ; then
darktype="WebContentsForceDark"
diff --git a/chromium.spec b/chromium.spec
index 987331a..2b7fbcd 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -249,7 +249,7 @@
Name: chromium
Version: 143.0.7499.109
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A WebKit (Blink) powered web browser that Google doesn't want you to use
Url: http://www.chromium.org/Home
License: BSD-3-Clause AND LGPL-2.1-or-later AND Apache-2.0 AND IJG AND MIT AND GPL-2.0-or-later AND ISC AND OpenSSL AND (MPL-1.1 OR GPL-2.0-only OR LGPL-2.0-only)
@@ -761,7 +761,7 @@ BuildRequires: opus-devel
%endif
BuildRequires: %{chromium_pybin}
-BuildRequires: pkgconfig(gtk+-3.0)
+BuildRequires: gtk4-devel
%if ! %{bundlepylibs}
%if 0%{?fedora} || 0%{?rhel} >= 8
@@ -805,8 +805,7 @@ BuildRequires: simdutf-devel
Requires: nss%{_isa} >= 3.26
Requires: nss-mdns%{_isa}
-# GTK modules it expects to find for some reason.
-Requires: libcanberra-gtk3%{_isa}
+Requires: gtk4
%if 0%{?fedora} && %{undefined flatpak}
# This enables support for u2f tokens
@@ -1359,6 +1358,7 @@ CHROMIUM_BROWSER_GN_DEFINES+=" use_qt6=true moc_qt6_path=\"$(%{_qt6_qmake} -quer
%else
CHROMIUM_BROWSER_GN_DEFINES+=' use_qt6=false'
%endif
+CHROMIUM_BROWSER_GN_DEFINES+=' use_gtk=true gtk_version=4'
CHROMIUM_BROWSER_GN_DEFINES+=' use_gio=true use_pulseaudio=true'
CHROMIUM_BROWSER_GN_DEFINES+=' enable_hangout_services_extension=true'
@@ -1783,6 +1783,9 @@ fi
%endif
%changelog
+* Thu Dec 11 2025 Than Ngo <than@redhat.com> - 143.0.7499.109-2
+- Enable gtk4 by default
+
* Thu Dec 11 2025 Than Ngo <than@redhat.com> - 143.0.7499.109-1
- Update to 143.0.7499.109
* High: Under coordination
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-07 16:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-07 16:08 [rpms/chromium] epel9-next: Enable gtk4 by default Than Ngo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox