public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/icecat] f45: Merge branch 'main' into f45
@ 2026-09-30 17:57 Antonio Trande
  0 siblings, 0 replies; only message in thread
From: Antonio Trande @ 2026-09-30 17:57 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/icecat
Branch : f45
Commit : bfd5fd1aa803f4e347e036178b920ab8fbf11347
Author : Antonio Trande <sagitter@fedoraproject.org>
Date   : 2026-09-30T19:56:55+02:00
Stats  : +9/-118 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/icecat/c/bfd5fd1aa803f4e347e036178b920ab8fbf11347?branch=f45

Log:
Merge branch 'main' into f45

---
diff --git a/.gitignore b/.gitignore
index 469f11c..65ab8ab 100644
--- a/.gitignore
+++ b/.gitignore
@@ -321,3 +321,5 @@
 /icecat-140.15.0-rh1.tar.bz2
 /icecat-140.16.0-langpacks.tar.gz
 /icecat-140.16.0-rh1.tar.bz2
+/icecat-140.17.0-langpacks.tar.gz
+/icecat-140.17.0-rh1.tar.bz2

diff --git a/icecat-lang_download.sh b/icecat-lang_download.sh
index ed00b9b..29fa34c 100755
--- a/icecat-lang_download.sh
+++ b/icecat-lang_download.sh
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-VERSION=140.16.0
+VERSION=140.17.0
 URL=https://ftp.mozilla.org/pub/firefox/releases/${VERSION}esr/linux-x86_64/xpi/
 
 for u in $URL; do

diff --git a/icecat-rust-1.98_additional_targets_mzb2053518.patch b/icecat-rust-1.98_additional_targets_mzb2053518.patch
deleted file mode 100644
index db44c35..0000000
--- a/icecat-rust-1.98_additional_targets_mzb2053518.patch
+++ /dev/null
@@ -1,109 +0,0 @@
-From 1ecaa12836a69896dd6702fb5ed5e13979399371 Mon Sep 17 00:00:00 2001
-From: Jesse Schwartzentruber <truber@mozilla.com>
-Date: Tue, 28 Jul 2026 17:26:38 +0000
-Subject: [PATCH] Bug 2053518 - Handle the *-oe-linux-* rust targets added in
- rustc 1.98 in rust target detection.
- r=firefox-build-system-reviewers,glandium
-
-Differential Revision: https://phabricator.services.mozilla.com/D311145
----
- build/moz.configure/rust.configure            | 29 ++++++++++++++++---
- .../configure/test_toolchain_configure.py     | 15 ++++++++++
- 2 files changed, 40 insertions(+), 4 deletions(-)
-
-diff --git a/build/moz.configure/rust.configure b/build/moz.configure/rust.configure
-index 5525c26a184da..35cb30416c647 100644
---- a/build/moz.configure/rust.configure
-+++ b/build/moz.configure/rust.configure
-@@ -302,6 +302,11 @@
-         elif not candidates:
-             return None
- 
-+        # config.guess uses the "pc" vendor for x86/x86_64 where rust uses its
-+        # generic "unknown" vendor; normalize so we correlate on the right one.
-+        vendor = "unknown" if host_or_target.vendor == "pc" else host_or_target.vendor
-+
-+
-         # We have multiple candidates. There are two cases where we can try to
-         # narrow further down using extra information from the build system.
-         # - For windows targets, correlate with the C compiler type
-@@ -369,11 +374,19 @@
-             else:
-                 suffix = ""
-             for p in prefixes:
--                for c in candidates:
--                    if c.rust_target.startswith(
--                        "{}-".format(p)
--                    ) and c.rust_target.endswith(suffix):
-+                matches = [
-+                    c
-+                    for c in candidates
-+                    if c.rust_target.startswith("{}-".format(p))
-+                    and c.rust_target.endswith(suffix)
-+                ]
-+                if not matches:
-+                    continue
-+                # As below, correlate on the (normalized) vendor.
-+                for c in matches:
-+                    if c.target.vendor == vendor:
-                         return c.rust_target
-+                return matches[0].rust_target
- 
-         # See if we can narrow down on the exact alias.
-         # We use the sub_configure_alias to keep support mingw32 triplets as input.
-@@ -402,6 +415,15 @@
-             elif narrowed:
-                 candidates = narrowed
- 
-+        # Correlate on the (normalized) vendor, so vendor-specific targets (e.g.
-+        # the *-oe-linux-gnu targets added in rust 1.98) don't shadow the
-+        # generic ones for aliases whose vendor doesn't match a rust target.
-+        narrowed = [c for c in candidates if c.target.vendor == vendor]
-+        if len(narrowed) == 1:
-+            return narrowed[0].rust_target
-+        elif narrowed:
-+            candidates = narrowed
-+
-         # See if we can narrow down with the raw OS and raw CPU
-         narrowed = [
-             c
-diff --git a/python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py b/python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py
-index 58a736ee85fcc..7dfb0efb9201c 100644
---- a/python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py
-+++ b/python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py
-@@ -1992,6 +1992,16 @@
-                 rust_targets += [
-                     "wasm32v1-none",
-                 ]
-+            # Additional targets from 1.98
-+            if Version(version) >= "1.98.0":
-+                rust_targets += [
-+                    "aarch64-oe-linux-gnu",
-+                    "armv7-oe-linux-gnueabihf",
-+                    "i686-oe-linux-gnu",
-+                    "riscv64-oe-linux-gnu",
-+                    "x86_64-oe-linux-gnu",
-+                    "x86_64-pc-linux-gnu",
-+                ]
-                 rust_targets.remove("wasm32-wasi")
- 
-             return 0, "\n".join(sorted(rust_targets)), ""
-@@ -2089,6 +2099,7 @@
-             ("x86_64-unknown-linux-android", "x86_64-linux-android"),
-             ("x86_64-unknown-linux-android21", "x86_64-linux-android"),
-             ("x86_64-pc-linux-gnu", "x86_64-unknown-linux-gnu"),
-+            ("riscv64-unknown-linux-gnu", "riscv64gc-unknown-linux-gnu"),
-             ("sparcv9-sun-solaris2", "sparcv9-sun-solaris"),
-             (
-                 "x86_64-sun-solaris2",
-@@ -2241,5 +2252,10 @@
-         self.assertEqual(self.get_rust_target("wasm32-unknown-wasi"), "wasm32-wasip1")
- 
- 
-+# Exercises the vendor-specific *-oe-linux-* targets added in rust 1.98.
-+class Rust198Test(RustTest):
-+    VERSION = "1.98.0"
-+
-+
- if __name__ == "__main__":
-     main()

diff --git a/icecat.spec b/icecat.spec
index 3967c1f..67dc24a 100644
--- a/icecat.spec
+++ b/icecat.spec
@@ -99,6 +99,7 @@ ExcludeArch: %{ix86} %{arm}
 %endif
 
 # Use clang?
+# Currently broken with PGO enabled
 %bcond_with toolchain_clang
 
 %if %{with toolchain_clang}
@@ -112,7 +113,7 @@ ExcludeArch: %{ix86} %{arm}
 
 Name:    icecat
 Epoch:   4
-Version: 140.16.0
+Version: 140.17.0
 Release: %autorelease -e %{redhat_ver}
 Summary: GNU version of Firefox browser
 # Tri-licensing scheme for Gnuzilla/IceCat in parentheses, and licenses for the extensions included
@@ -160,7 +161,6 @@ Patch226: rhbz-1354671.patch
 # Build patches
 Patch228: %{name}-protobuf_s390.patch
 Patch229: mozilla-2034301.patch
-Patch230: icecat-rust-1.98_additional_targets_mzb2053518.patch
 
 # Fix crash on ppc64le (mozilla#1512162)
 Patch423: mozilla-1512162.patch
@@ -246,7 +246,7 @@ BuildRequires: pkgconfig(libcurl)
 BuildRequires: pulseaudio-libs-devel
 %endif
 
-%global llvm_suffix 20
+%global llvm_suffix 21
 #BuildRequires:  llvm
 #BuildRequires:  clang
 #BuildRequires:  clang-libs
@@ -358,7 +358,6 @@ tar -xf %{SOURCE5}
 %endif
 
 %patch -P 229 -p 1 -b .incom-pointer
-%patch -P 230 -p 1 -b .rust_additional_targets
 
 %ifarch %{power64}
 %patch -P 423 -p 1 -b .1512162
@@ -565,7 +564,7 @@ MOZ_LINK_FLAGS="-Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
 export RUSTFLAGS="-Cdebuginfo=0"
 %endif
 %if "%toolchain" == "clang"
-export RUSTFLAGS="$RUSTFLAGS -C target-cpu=native -C opt-level=3 -Clinker=clang -Clinker-plugin-lto -Clink-arg=-fuse-ld=lld"
+export RUSTFLAGS="$RUSTFLAGS -C target-cpu=native -C opt-level=3 -Clinker=clang-%{?llvm_suffix} -Clinker-plugin-lto -Clink-arg=-fuse-ld=lld"
 %endif
 
 #  error "STL code can only be used with -fno-exceptions"
@@ -606,7 +605,6 @@ echo "mk_add_options MOZ_MAKE_FLAGS=\"-j1\"" >> .mozconfig
 %else
 echo "mk_add_options MOZ_MAKE_FLAGS=\"-j%{_smp_build_ncpus}\"" >> .mozconfig
 %endif
-
 echo "mk_add_options MOZ_SERVICES_SYNC=1" >> .mozconfig
 echo "export STRIP=/bin/true" >> .mozconfig
 

diff --git a/sources b/sources
index d799f0b..48421e8 100644
--- a/sources
+++ b/sources
@@ -1,5 +1,5 @@
 SHA512 (cbindgen-vendor.tar.xz) = 532844c3253bd0b1ee2ed751df8e7b777515877173ab1958e75fc11488908b87ba1aea0d5148c0f2a0b3ca8494ff186f82de1aaf86e8cab38b4eeb02c23e43b3
-SHA512 (icecat-140.16.0-langpacks.tar.gz) = 1625591f1861143d5848e15a53784fe794f213eaf225fb5bb8b0827c8d961385cbb10a67702e2d647ce5ffad2dfc92b6c515e131590439a6c3853e6e5cdda4c6
-SHA512 (icecat-140.16.0-rh1.tar.bz2) = 35e2a4ce063e163befe012b2773d11dbd09f95a35f03ac0a1748f2ff78fe5df34ab7ffdade74716860fee737bef77b1a1879979989addd2e6a4dc98381af3965
+SHA512 (icecat-140.17.0-langpacks.tar.gz) = 9e99544bdb78306573892cffa46cdd4f3b33379e97c3c5d8c76072593843ed70c04de157f71b1bf38ecdbfd48748b67a972cf9cca735bbf69280113833591690
+SHA512 (icecat-140.17.0-rh1.tar.bz2) = 46fd7506d3f79470c267edc769c9e8e70d24a00eec3526cd829879146ca40d724699cd4f91a0a90cc566ce35150f195adcec6bc54c51d93f7581fb85102a02bd
 SHA512 (icecat-COPYING-licensefiles.tar.gz) = ed541845170f1d209e322b0def3248d571e0c42c4a17c74e83197e743bd8a128a1475f5312d905c8e70d047eddeac17e604373892eb6d5f1720c5c361849c42c
 SHA512 (icecat.png) = a3cec16cb15a27c3c91b53e2c534e78b07911011ff1331e450c0baf8e13b76da7cea2a90e5d75191fa88cfbfd40a0a7f3e553e92b64d0043dadd5ad5edfdf81c

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

only message in thread, other threads:[~2026-09-30 17:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-30 17:57 [rpms/icecat] f45: Merge branch 'main' into f45 Antonio Trande

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