public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/chromium] epel9-next: Enable qt-ui
@ 2026-08-07 16:07 Than Ngo
  0 siblings, 0 replies; only message in thread
From: Than Ngo @ 2026-08-07 16:07 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/chromium
Branch : epel9-next
Commit : b9075d0e1f687f9a5cf80a7778bde99cece9fdf7
Author : Than Ngo <than@redhat.com>
Date   : 2024-11-23T12:33:22+01:00
Stats  : +19/-2 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/chromium/c/b9075d0e1f687f9a5cf80a7778bde99cece9fdf7?branch=epel9-next

Log:
Enable qt-ui

---
diff --git a/chromium-131-qt-ui.patch b/chromium-131-qt-ui.patch
new file mode 100644
index 0000000..a834347
--- /dev/null
+++ b/chromium-131-qt-ui.patch
@@ -0,0 +1,12 @@
+diff -up chromium-131.0.6778.85/ui/qt/qt_shim.cc.me chromium-131.0.6778.85/ui/qt/qt_shim.cc
+--- chromium-131.0.6778.85/ui/qt/qt_shim.cc.me	2024-11-23 10:04:16.789121846 +0100
++++ chromium-131.0.6778.85/ui/qt/qt_shim.cc	2024-11-23 11:40:02.905064702 +0100
+@@ -265,7 +265,7 @@ FontRenderParams QtShim::GetFontRenderPa
+ FontDescription QtShim::GetFontDescription() const {
+   QFont font = app_.font();
+   return {
+-      .family = String(font.family().toStdString().c_str()),
++      .family = String(font.family().toUtf8().constData()),
+       .size_pixels = font.pixelSize(),
+       .size_points = font.pointSize(),
+       .is_italic = IsStyleItalic(font.style()),

diff --git a/chromium.spec b/chromium.spec
index 1bc4855..c983e6f 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -157,7 +157,7 @@
 %endif
 
 # enable qt backend
-%global enable_qt 0
+%global enable_qt 1
 %global use_qt6 0
 %global use_qt 0
 
@@ -280,7 +280,7 @@
 
 Name:	chromium%{chromium_channel}
 Version: 131.0.6778.85
-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)
@@ -337,6 +337,7 @@ Patch141: chromium-118-dma_buf_export_sync_file-conflict.patch
 
 # add correct path for Qt6Gui header and libs
 Patch150: chromium-124-qt6.patch
+Patch151: chromium-131-qt-ui.patch
 
 # disable memory tagging (epel8 on aarch64) due to new feature IFUNC-Resolver
 # it is not supported in old glibc < 2.30, error: fatal error: 'sys/ifunc.h' file not found
@@ -1053,6 +1054,7 @@ Qt6 UI for chromium.
 
 %if 0%{?rhel} > 9 || 0%{?fedora} > 39
 %patch -P150 -p1 -b .qt6
+%patch -P151 -p1 -b .qt-ui
 %endif
 
 %if 0%{?rhel} == 8
@@ -1930,6 +1932,9 @@ getent group chrome-remote-desktop >/dev/null || groupadd -r chrome-remote-deskt
 %endif
 
 %changelog
+* Sat Nov 23 2024 Than Ngo <than@redhat.com> - 131.0.6778.85-2
+- Enable qt-ui
+
 * Wed Nov 20 2024 Than Ngo <than@redhat.com> - 131.0.6778.85-1
 - Update to 131.0.6778.85
   * High CVE-2024-11395: Type Confusion in V8

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-07 16:07 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:07 [rpms/chromium] epel9-next: Enable qt-ui Than Ngo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox