public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Than Ngo <than@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/chromium] epel9-next: Enable gtk4 by default
Date: Fri, 07 Aug 2026 16:08:33 GMT	[thread overview]
Message-ID: <178611891369.1.2810250605444359051.rpms-chromium-9334d87d2ce9@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-08-07 16:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178611891369.1.2810250605444359051.rpms-chromium-9334d87d2ce9@fedoraproject.org \
    --to=than@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox