public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/chromium] epel9-next: Enable system simdutf for Fedora
@ 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 : 90322e2621052af8adb2e1281ab1addb23d99ccc
Author : Than Ngo <than@redhat.com>
Date   : 2025-05-15T11:46:44+02:00
Stats  : +12/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/chromium/c/90322e2621052af8adb2e1281ab1addb23d99ccc?branch=epel9-next

Log:
Enable system simdutf for Fedora

---
diff --git a/chromium.spec b/chromium.spec
index 5da81c0..601052c 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -190,6 +190,7 @@
 %global bundlelibsecret 0
 %global bundleopus 0
 %global bundlelcms2 0
+%global bundlesimdutf 1
 
 # workaround for build error
 # disable bundleminizip for Fedora > 39 due to switch to minizip-ng
@@ -206,6 +207,7 @@
 %global bundleffmpegfree 0
 %global bundlefreetype 0
 %global bundlelibxml 0
+%global bundlesimdutf 0
 # need libtiff-4.6.1 or newer, error: use of undeclared identifier 'TIFFOpenOptionsSetMaxCumulatedMemAlloc'
 %if 0%{?fedora} > 41
 %global bundlelibtiff 0
@@ -781,6 +783,10 @@ BuildRequires:	java-openjdk-headless
 
 BuildRequires: libevdev-devel
 
+%if ! %{bundlesimdutf}
+BuildRequires: simdutf-devel
+%endif
+
 # There is a hardcoded check for nss 3.26 in the chromium code (crypto/nss_util.cc)
 Requires: nss%{_isa} >= 3.26
 Requires: nss-mdns%{_isa}
@@ -812,7 +818,9 @@ Provides: bundled(boringssl)
 %if %{bundlebrotli}
 Provides: bundled(brotli) = 222564a95d9ab58865a096b8d9f7324ea5f2e03e
 %endif
-
+%if %{bundlesimdutf} 
+Provides: bundled(simdutf) = 6.4.0
+%endif
 Provides: bundled(bspatch)
 Provides: bundled(cacheinvalidation) = 20150720
 Provides: bundled(colorama) = 799604a104
@@ -1505,6 +1513,9 @@ system_libs=()
 %if 0%{?noopenh264}
 	system_libs+=(openh264)
 %endif
+%if ! {bundlesimdutf}
+   system_libs+=(simdutf)
+%endif
 
 build/linux/unbundle/replace_gn_files.py --system-libraries ${system_libs[@]}
 

^ 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 system simdutf for Fedora Than Ngo

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