public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/firefox] f45: Merge branch 'main' into f45
@ 2026-10-07  7:42 Martin Stransky
  0 siblings, 0 replies; 33+ messages in thread
From: Martin Stransky @ 2026-10-07  7:42 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/firefox
Branch : f45
Commit : e71dfc964f26322b046f6f3df4ac291290c51f6c
Author : Martin Stransky <stransky@redhat.com>
Date   : 2026-10-07T09:42:24+02:00
Stats  : +12/-7 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/firefox/c/e71dfc964f26322b046f6f3df4ac291290c51f6c?branch=f45

Log:
Merge branch 'main' into f45

---
diff --git a/.gitignore b/.gitignore
index 98ce50f..21f6173 100644
--- a/.gitignore
+++ b/.gitignore
@@ -804,3 +804,5 @@ firefox-3.6.4.source.tar.bz2
 /firefox-langpacks-156.0.1-20260929.tar.xz
 /firefox-157.0.source.tar.xz
 /firefox-langpacks-157.0-20261001.tar.xz
+/firefox-157.0.1.source.tar.xz
+/firefox-langpacks-157.0.1-20261007.tar.xz

diff --git a/firefox.spec b/firefox.spec
index bbb0582..8c122f3 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -143,9 +143,9 @@ ExcludeArch: i686
 %endif
 
 %if %{?system_nss}
-%global nspr_version 4.38.2
+%global nspr_version 4.40
 %global nspr_build_version %{nspr_version}
-%global nss_version 3.128
+%global nss_version 3.129
 %global nss_build_version %{nss_version}
 %endif
 
@@ -189,14 +189,14 @@ ExcludeArch: i686
 
 Summary:        Mozilla Firefox Web browser
 Name:           firefox
-Version:        157.0
+Version:        157.0.1
 Release:        1%{?dist}
 URL:            https://www.mozilla.org/firefox/
 # Automatically converted from old format: MPLv1.1 or GPLv2+ or LGPLv2+ - review is highly recommended.
 License:        LicenseRef-Callaway-MPLv1.1 OR GPL-2.0-or-later OR LicenseRef-Callaway-LGPLv2+
 Source0:        https://archive.mozilla.org/pub/firefox/releases/%{version}%{?pre_version}/source/firefox-%{version}%{?pre_version}.source.tar.xz
 %if %{with langpacks}
-Source1:        firefox-langpacks-%{version}%{?pre_version}-20261001.tar.xz
+Source1:        firefox-langpacks-%{version}%{?pre_version}-20261007.tar.xz
 %endif
 Source2:        cbindgen-vendor.tar.xz
 Source3:        dump_syms-vendor.tar.xz
@@ -1200,6 +1200,9 @@ fi
 #---------------------------------------------------------------------
 
 %changelog
+* Wed Oct 07 2026 Martin Stransky <stransky@redhat.com> - 157.0.1-1
+- Update to latest upstream (157.0.1)
+
 * Thu Oct 01 2026 Martin Stransky <stransky@redhat.com> - 157.0-1
 - Update to latest upstream (157.0)
 

diff --git a/sources b/sources
index 788049a..2715739 100644
--- a/sources
+++ b/sources
@@ -1,5 +1,5 @@
-SHA512 (firefox-157.0.source.tar.xz) = d0c1788102904fe83bfbeecdbdfbd4033743e9bb791ff7063ca4a2a72146c722e0c87fb7531b32be9491f5b1529960364197150c27742e0aea3cefcd13ed0dde
-SHA512 (firefox-langpacks-157.0-20261001.tar.xz) = d3fea23ebc4373364ac9aae27894a16296a849934c1daf476662151671079857ce81bdb9cdd933a07f0b9ceb8fc3fd7e95456a423a1763b7ffb697259269af8f
+SHA512 (firefox-157.0.1.source.tar.xz) = c019202b2f87d25b3605bbf7266f3bb4d59745e48536f297d3f00cc3524a1cd2eba416a5a3cd0ecee6b0762d0f35bf3c5fcce286ebc7bc741263bebd0f102858
+SHA512 (firefox-langpacks-157.0.1-20261007.tar.xz) = ca4fc06eda69eadd22f6ef9c6d9151f56f4cf0e1bce84e51a6d649bb25cf3be7a07cc49ec9d7224339d0118fc8c4939579d4a1ccf5dd7db5bfce486c047d2c99
 SHA512 (mochitest-python.tar.gz) = 089b1593068b76f4572af0086eaccf52a6a1299bfffb58593206d19bf021ae381f2380bbfeb4371586cd53706ff6dde3d240238b2caf19b96c57dfc2f4524e36
 SHA512 (dump_syms-vendor.tar.xz) = ee0ea52aac781b8dd48936a3d13b140bd725a48cc488d23693b68edbe3bcfba5723022dba3c3849d0da1bacf0e37ddd307cfc56304159f91b71495ce8a08b54a
 SHA512 (wasi-sdk-30.tar.gz) = c08b2ddb5d5cf5b48c5baba80c65c485a3049b473d2f2dd2babb402243a7709633c695dfee5f9cbba52fa25ad832f02f3b73d9ba1141c4d44dc30db70292a04d

diff --git a/wasi.patch b/wasi.patch
index 833d320..f102b68 100644
--- a/wasi.patch
+++ b/wasi.patch
@@ -6,7 +6,7 @@ diff -up firefox-134.0.1/toolkit/moz.configure.wasi firefox-134.0.1/toolkit/moz.
          if wasi_sysroot:
              log.info("Using wasi sysroot in %s", wasi_sysroot)
 -            return ["--sysroot=%s" % wasi_sysroot]
-+            return ["--sysroot=%s" % wasi_sysroot, "-nodefaultlibs",  "-lc", "-lwasi-emulated-process-clocks", "-lc++", "-lc++abi", "/raid/CVS/firefox/firefox-157.0-build/firefox-157.0/wasi-sdk-30/build/sysroot/install/wasi-resource-dir/lib/wasm32-unknown-wasip1/libclang_rt.builtins.a"]
++            return ["--sysroot=%s" % wasi_sysroot, "-nodefaultlibs",  "-lc", "-lwasi-emulated-process-clocks", "-lc++", "-lc++abi", "/raid/CVS/firefox/firefox-157.0.1-build/firefox-157.0.1/wasi-sdk-30/build/sysroot/install/wasi-resource-dir/lib/wasm32-unknown-wasip1/libclang_rt.builtins.a"]
          return []
  
      set_config("WASI_SYSROOT", wasi_sysroot)

^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [rpms/firefox] f45: Merge branch 'main' into f45
@ 2026-11-23  9:50 Martin Stransky
  0 siblings, 0 replies; 33+ messages in thread
From: Martin Stransky @ 2026-11-23  9:50 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/firefox
Branch : f45
Commit : b4d45414636f2dadc2f98d28acdd1cbd22e438bd
Author : Martin Stransky <stransky@redhat.com>
Date   : 2026-11-23T10:38:05+01:00
Stats  : +13/-22 in 7 file(s)
URL    : https://src.fedoraproject.org/rpms/firefox/c/b4d45414636f2dadc2f98d28acdd1cbd22e438bd?branch=f45

Log:
Merge branch 'main' into f45

---
diff --git a/firefox.spec b/firefox.spec
index f73629f..a0ebc2f 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -247,7 +247,6 @@ Patch90:        pgo-simple-programs-2.patch
 Patch215:        firefox-enable-addons.patch
 Patch219:        rhbz-1173156.patch
 #ARM run-time patch
-Patch226:        rhbz-1354671.patch
 Patch228:        disable-openh264-download.patch
 Patch229:        firefox-nss-addon-hack.patch
 Patch231:        fedora-customization.patch
@@ -530,10 +529,6 @@ patch -p1 -b --suffix .wasi < wasi.patch
 # Fedora patches
 %patch -P215 -p1 -b .addons
 %patch -P219 -p1 -b .rhbz-1173156
-#ARM run-time patch
-%ifarch aarch64
-%patch -P226 -p1 -b .1354671
-%endif
 %patch -P228 -p1 -b .disable-openh264-download
 %patch -P229 -p1 -b .firefox-nss-addon-hack
 %patch -P231 -p1 -b .fedora-customization

diff --git a/gen_cbindgen-vendor.sh b/gen_cbindgen-vendor.sh
index 7838a74..cdb9046 100755
--- a/gen_cbindgen-vendor.sh
+++ b/gen_cbindgen-vendor.sh
@@ -21,6 +21,8 @@ doc = false
 EOL
 
 cargo vendor
+# To download subpackages locked in cbindgen, required since rust 1.100
+cargo vendor --sync vendor/cbindgen/Cargo.toml
 
 cd vendor
 tar -cJf ../cbindgen-vendor.tar.xz *

diff --git a/gen_dump_syms-vendor.sh b/gen_dump_syms-vendor.sh
index 3854ad8..f3af70d 100755
--- a/gen_dump_syms-vendor.sh
+++ b/gen_dump_syms-vendor.sh
@@ -1,7 +1,7 @@
 #!/bin/bash
 set -x
 
-# Dummy Cargo.toml file with cbindgen dependency
+# Dummy Cargo.toml file with dump_syms dependency
 cat > Cargo.toml <<EOL
 [package]
 name = "dummy"
@@ -23,6 +23,8 @@ EOL
 
 cargo install cargo-vendor
 cargo vendor
+# To download subpackages locked in dump_syms, required since rust 1.100
+cargo vendor --sync vendor/dump_syms/Cargo.toml
 
 cd vendor
 tar -cJf ../dump_syms-vendor.tar.xz *

diff --git a/gen_wasm-component-ld.sh b/gen_wasm-component-ld.sh
index 58c4e4a..2f36394 100755
--- a/gen_wasm-component-ld.sh
+++ b/gen_wasm-component-ld.sh
@@ -22,6 +22,8 @@ EOL
 
 cargo install cargo-vendor
 cargo vendor
+# To download subpackages locked in wasm-component-ld, required since rust 1.100
+cargo vendor --sync vendor/wasm-component-ld/Cargo.toml
 
 cd vendor
 tar -cJf ../wasm-component-ld-vendor.tar.xz *

diff --git a/gen_wasm-tools.sh b/gen_wasm-tools.sh
index baca9aa..fdc04ae 100755
--- a/gen_wasm-tools.sh
+++ b/gen_wasm-tools.sh
@@ -22,6 +22,8 @@ EOL
 
 cargo install cargo-vendor
 cargo vendor
+# To download subpackages locked in wasm-tools, required since rust 1.100
+cargo vendor --sync vendor/wasm-tools/Cargo.toml
 
 cd vendor
 tar -cJf ../wasm-tools-vendor.tar.xz *

diff --git a/rhbz-1354671.patch b/rhbz-1354671.patch
deleted file mode 100644
index b6e8bbd..0000000
--- a/rhbz-1354671.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -up firefox-70.0/layout/base/PresShell.h.1354671 firefox-70.0/layout/base/PresShell.h
---- firefox-70.0/layout/base/PresShell.h.1354671	2019-10-22 12:33:12.987775587 +0200
-+++ firefox-70.0/layout/base/PresShell.h	2019-10-22 12:36:39.999366086 +0200
-@@ -257,7 +257,7 @@ class PresShell final : public nsStubDoc
-    * to the same aSize value.  AllocateFrame is infallible and will abort
-    * on out-of-memory.
-    */
--  void* AllocateFrame(nsQueryFrame::FrameIID aID, size_t aSize) {
-+  void* __attribute__((optimize("no-lifetime-dse"))) AllocateFrame(nsQueryFrame::FrameIID aID, size_t aSize) {
- #define FRAME_ID(classname, ...)                                  \
-   static_assert(size_t(nsQueryFrame::FrameIID::classname##_id) == \
-                     size_t(eArenaObjectID_##classname),           \

diff --git a/sources b/sources
index f777c62..7aa3285 100644
--- a/sources
+++ b/sources
@@ -1,7 +1,7 @@
 SHA512 (firefox-161.0.source.tar.xz) = d456b1cb9d514f5be90ec9b4104dc5545dfc3a4a8626e2d862fdc60b6e8c769abfb37045ffc7abd1f8afcdef4eecba67f7ab367d8496fbae374626abd756631d
 SHA512 (firefox-langpacks-161.0-20261123.tar.xz) = 137f15f1cde800d7ebdab394f0596892645245c8f0323816a8b74da8f00fbbc25660488340dfd29de1440f1c2346b30b8de71ecfbecd84e5b7dfd721a58d1a5b
-SHA512 (dump_syms-vendor.tar.xz) = ee0ea52aac781b8dd48936a3d13b140bd725a48cc488d23693b68edbe3bcfba5723022dba3c3849d0da1bacf0e37ddd307cfc56304159f91b71495ce8a08b54a
 SHA512 (wasi-sdk-30.tar.gz) = c08b2ddb5d5cf5b48c5baba80c65c485a3049b473d2f2dd2babb402243a7709633c695dfee5f9cbba52fa25ad832f02f3b73d9ba1141c4d44dc30db70292a04d
-SHA512 (wasm-component-ld-vendor.tar.xz) = 356dc09502052198e99745199b8e10d803da9492ce34e41c6ae02cb8674fcc640cd5eafe68a03e4e61c984f7f6c7c8e5cdc3551251556fb3ae4631a340358fc0
-SHA512 (wasm-tools-vendor.tar.xz) = 502be0020d1828b75128e6127eb7bd77835ccebe4e5c179abc38d881bb1d1f8e15d2284796cd83574536c7c919a3e820e0952d323e8a3977e94bdef89cd8266a
-SHA512 (cbindgen-vendor.tar.xz) = dfefc3ec4c7b7d9fe1b024289866c5a919475b8b733e09ef1750d8d295ba78969ba187089dbc151d91779bf56a2d7898797c3d19db6e2d1cb84929750e86617d
+SHA512 (cbindgen-vendor.tar.xz) = e97889b3ee36332f922c19200ecfb46c708db086f0a762d3c5580fafdf90d808da923dbdba64809c018932fac88564531387b245f3542d41c7930251ba505b94
+SHA512 (dump_syms-vendor.tar.xz) = e57a59d8e46c742cdd671dd23f3c51361e226b8b8a39e19f0718859e129b640b638a1177ac470f5ad23058f37920f5bc439eff978d8baad8c167add8be44ba3e
+SHA512 (wasm-component-ld-vendor.tar.xz) = 8d11721af8ca34ee1773aa625b2c5823c288f96f567e469bc36785e0e9fb4a958f5f41bf732f58095dbe6256d89a28bcfdd9743eba1f6ea104d812a0363916de
+SHA512 (wasm-tools-vendor.tar.xz) = 1b64890ac7bfa5c311d1eea0c5da731b0eac2e0cc66b221ef224ba3c07824926d97ef5c3b0285c693303b244c703286ffef07a5bda6d301c869d41138c064fdf

^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [rpms/firefox] f45: Merge branch 'main' into f45
@ 2026-11-23  7:37 Martin Stransky
  0 siblings, 0 replies; 33+ messages in thread
From: Martin Stransky @ 2026-11-23  7:37 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/firefox
Branch : f45
Commit : ee9dfedce5d1cb7374ea88d660c19cfbd082bbae
Author : Martin Stransky <stransky@redhat.com>
Date   : 2026-11-23T08:37:22+01:00
Stats  : +10/-5 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/firefox/c/ee9dfedce5d1cb7374ea88d660c19cfbd082bbae?branch=f45

Log:
Merge branch 'main' into f45

---
diff --git a/.gitignore b/.gitignore
index fb09445..17383f1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -818,3 +818,5 @@ firefox-3.6.4.source.tar.bz2
 /firefox-langpacks-160.0-20261106.tar.xz
 /firefox-160.0.1.source.tar.xz
 /firefox-langpacks-160.0.1-20261118.tar.xz
+/firefox-161.0.source.tar.xz
+/firefox-langpacks-161.0-20261123.tar.xz

diff --git a/firefox.spec b/firefox.spec
index 91dc3f6..f73629f 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -145,7 +145,7 @@ ExcludeArch: i686
 %if %{?system_nss}
 %global nspr_version 4.38.2
 %global nspr_build_version %{nspr_version}
-%global nss_version 3.132
+%global nss_version 3.133
 %global nss_build_version %{nss_version}
 %endif
 
@@ -189,14 +189,14 @@ ExcludeArch: i686
 
 Summary:        Mozilla Firefox Web browser
 Name:           firefox
-Version:        160.0.1
+Version:        161.0
 Release:        1%{?dist}
 URL:            https://www.mozilla.org/firefox/
 # Automatically converted from old format: MPLv1.1 or GPLv2+ or LGPLv2+ - review is highly recommended.
 License:        LicenseRef-Callaway-MPLv1.1 OR GPL-2.0-or-later OR LicenseRef-Callaway-LGPLv2+
 Source0:        https://archive.mozilla.org/pub/firefox/releases/%{version}%{?pre_version}/source/firefox-%{version}%{?pre_version}.source.tar.xz
 %if %{with langpacks}
-Source1:        firefox-langpacks-%{version}%{?pre_version}-20261118.tar.xz
+Source1:        firefox-langpacks-%{version}%{?pre_version}-20261123.tar.xz
 %endif
 Source2:        cbindgen-vendor.tar.xz
 Source3:        dump_syms-vendor.tar.xz
@@ -1185,6 +1185,9 @@ fi
 #---------------------------------------------------------------------
 
 %changelog
+* Mon Nov 23 2026 Martin Stransky <stransky@redhat.com> - 161.0-1
+- Update to latest upstream (161.0)
+
 * Wed Nov 18 2026 Martin Stransky <stransky@redhat.com> - 160.0.1-1
 - Update to latest upstream (160.0.1)
 

diff --git a/sources b/sources
index c526a81..f777c62 100644
--- a/sources
+++ b/sources
@@ -1,5 +1,5 @@
-SHA512 (firefox-160.0.1.source.tar.xz) = e7a272b85aef9610b9e83d7b934ae1ac041a4bb2eec449e6671336f98c0986d5cf93e57efc23371f3665b0e7fa1bc9ff7448e9dabdc0d96aca0589fdaecea370
-SHA512 (firefox-langpacks-160.0.1-20261118.tar.xz) = fe6021f261569e818fe3e562eb68fef1870bb692cd2a9736d7bb0b5b9c4eb8a76a0ea7ce4699288109be2b5db1d9289f4da4eee4936c6d9a1289f73790b9b89d
+SHA512 (firefox-161.0.source.tar.xz) = d456b1cb9d514f5be90ec9b4104dc5545dfc3a4a8626e2d862fdc60b6e8c769abfb37045ffc7abd1f8afcdef4eecba67f7ab367d8496fbae374626abd756631d
+SHA512 (firefox-langpacks-161.0-20261123.tar.xz) = 137f15f1cde800d7ebdab394f0596892645245c8f0323816a8b74da8f00fbbc25660488340dfd29de1440f1c2346b30b8de71ecfbecd84e5b7dfd721a58d1a5b
 SHA512 (dump_syms-vendor.tar.xz) = ee0ea52aac781b8dd48936a3d13b140bd725a48cc488d23693b68edbe3bcfba5723022dba3c3849d0da1bacf0e37ddd307cfc56304159f91b71495ce8a08b54a
 SHA512 (wasi-sdk-30.tar.gz) = c08b2ddb5d5cf5b48c5baba80c65c485a3049b473d2f2dd2babb402243a7709633c695dfee5f9cbba52fa25ad832f02f3b73d9ba1141c4d44dc30db70292a04d
 SHA512 (wasm-component-ld-vendor.tar.xz) = 356dc09502052198e99745199b8e10d803da9492ce34e41c6ae02cb8674fcc640cd5eafe68a03e4e61c984f7f6c7c8e5cdc3551251556fb3ae4631a340358fc0

^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [rpms/firefox] f45: Merge branch 'main' into f45
@ 2026-11-18 14:21 Martin Stransky
  0 siblings, 0 replies; 33+ messages in thread
From: Martin Stransky @ 2026-11-18 14:21 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/firefox
Branch : f45
Commit : ddf8acb772bacdd3cfa6db2278664388056e50db
Author : Martin Stransky <stransky@redhat.com>
Date   : 2026-11-18T15:20:52+01:00
Stats  : +12/-7 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/firefox/c/ddf8acb772bacdd3cfa6db2278664388056e50db?branch=f45

Log:
Merge branch 'main' into f45

---
diff --git a/.gitignore b/.gitignore
index cbb6416..fb09445 100644
--- a/.gitignore
+++ b/.gitignore
@@ -816,3 +816,5 @@ firefox-3.6.4.source.tar.bz2
 /firefox-langpacks-159.0.1-20261104.tar.xz
 /firefox-160.0.source.tar.xz
 /firefox-langpacks-160.0-20261106.tar.xz
+/firefox-160.0.1.source.tar.xz
+/firefox-langpacks-160.0.1-20261118.tar.xz

diff --git a/firefox.spec b/firefox.spec
index e15e651..91dc3f6 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -189,14 +189,14 @@ ExcludeArch: i686
 
 Summary:        Mozilla Firefox Web browser
 Name:           firefox
-Version:        160.0
+Version:        160.0.1
 Release:        1%{?dist}
 URL:            https://www.mozilla.org/firefox/
 # Automatically converted from old format: MPLv1.1 or GPLv2+ or LGPLv2+ - review is highly recommended.
 License:        LicenseRef-Callaway-MPLv1.1 OR GPL-2.0-or-later OR LicenseRef-Callaway-LGPLv2+
 Source0:        https://archive.mozilla.org/pub/firefox/releases/%{version}%{?pre_version}/source/firefox-%{version}%{?pre_version}.source.tar.xz
 %if %{with langpacks}
-Source1:        firefox-langpacks-%{version}%{?pre_version}-20261106.tar.xz
+Source1:        firefox-langpacks-%{version}%{?pre_version}-20261118.tar.xz
 %endif
 Source2:        cbindgen-vendor.tar.xz
 Source3:        dump_syms-vendor.tar.xz
@@ -1053,9 +1053,6 @@ cp failures-* %{buildroot}/%{version}-%{release}/ || true
 # Default
 cp %{SOURCE12} %{buildroot}%{mozappdir}/browser/defaults/preferences
 
-# Disabled session restore due to mzbz#2059617.
-echo 'pref("widget.wayland.session-management.enabled", false);' >> %{buildroot}%{mozappdir}/browser/defaults/preferences/firefox-redhat-default-prefs.js
-
 %if %{?use_pipewire_camera}
 echo 'pref("media.webrtc.camera.allow-pipewire", true);' >> %{buildroot}%{mozappdir}/browser/defaults/preferences/firefox-redhat-default-prefs.js
 %endif
@@ -1188,6 +1185,12 @@ fi
 #---------------------------------------------------------------------
 
 %changelog
+* Wed Nov 18 2026 Martin Stransky <stransky@redhat.com> - 160.0.1-1
+- Update to latest upstream (160.0.1)
+
+* Wed Nov 11 2026 Dave Vasilevsky <dave@vasilevsky.ca> - 160.0-2
+- Re-enable session management after fixes in Firefox 158
+
 * Fri Nov 06 2026 Martin Stransky <stransky@redhat.com> - 160.0-1
 - Update to latest upstream (160.0)
 

diff --git a/sources b/sources
index 7c65449..c526a81 100644
--- a/sources
+++ b/sources
@@ -1,5 +1,5 @@
-SHA512 (firefox-160.0.source.tar.xz) = 9209a62de1ee83fe05750b77a439dc89280ebf738b5257d84af1a1faf2f4bbf505558feac126e71033c8de1a48265717c0341af4e855134e59d1b4b5b9dd820f
-SHA512 (firefox-langpacks-160.0-20261106.tar.xz) = 745d5a90de3d8cfcf4ec6bd53a6e55643c08cda1f58424d150627e6c81d5b92be499d3005cb31bdadba218b26ed480f0b93073b8337d3c642339bc3069f12c22
+SHA512 (firefox-160.0.1.source.tar.xz) = e7a272b85aef9610b9e83d7b934ae1ac041a4bb2eec449e6671336f98c0986d5cf93e57efc23371f3665b0e7fa1bc9ff7448e9dabdc0d96aca0589fdaecea370
+SHA512 (firefox-langpacks-160.0.1-20261118.tar.xz) = fe6021f261569e818fe3e562eb68fef1870bb692cd2a9736d7bb0b5b9c4eb8a76a0ea7ce4699288109be2b5db1d9289f4da4eee4936c6d9a1289f73790b9b89d
 SHA512 (dump_syms-vendor.tar.xz) = ee0ea52aac781b8dd48936a3d13b140bd725a48cc488d23693b68edbe3bcfba5723022dba3c3849d0da1bacf0e37ddd307cfc56304159f91b71495ce8a08b54a
 SHA512 (wasi-sdk-30.tar.gz) = c08b2ddb5d5cf5b48c5baba80c65c485a3049b473d2f2dd2babb402243a7709633c695dfee5f9cbba52fa25ad832f02f3b73d9ba1141c4d44dc30db70292a04d
 SHA512 (wasm-component-ld-vendor.tar.xz) = 356dc09502052198e99745199b8e10d803da9492ce34e41c6ae02cb8674fcc640cd5eafe68a03e4e61c984f7f6c7c8e5cdc3551251556fb3ae4631a340358fc0

^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [rpms/firefox] f45: Merge branch 'main' into f45
@ 2026-11-09  9:18 Martin Stransky
  0 siblings, 0 replies; 33+ messages in thread
From: Martin Stransky @ 2026-11-09  9:18 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/firefox
Branch : f45
Commit : 14bf5676f420c4ecb2df480312cba62e39e76bc9
Author : Martin Stransky <stransky@redhat.com>
Date   : 2026-11-09T09:35:02+01:00
Stats  : +0/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/firefox/c/14bf5676f420c4ecb2df480312cba62e39e76bc9?branch=f45

Log:
Merge branch 'main' into f45

---
diff --git a/firefox.spec b/firefox.spec
index 1c1ee6d..e15e651 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -240,7 +240,6 @@ Source50:       wasi-sdk-30.tar.gz
 Patch44:        build-arm-libopus.patch
 Patch71:        0001-GLIBCXX-fix-for-GCC-12.patch
 Patch78:        firefox-i686-build.patch
-Patch80:        wasi.patch
 Patch85:        build-wasm32-wasip1.patch
 Patch90:        pgo-simple-programs-2.patch
 

^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [rpms/firefox] f45: Merge branch 'main' into f45
@ 2026-11-06 10:58 Martin Stransky
  0 siblings, 0 replies; 33+ messages in thread
From: Martin Stransky @ 2026-11-06 10:58 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/firefox
Branch : f45
Commit : ea2f4460b94096d4f48e8b399b18213848954237
Author : Martin Stransky <stransky@redhat.com>
Date   : 2026-11-06T11:56:50+01:00
Stats  : +2/-0 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/firefox/c/ea2f4460b94096d4f48e8b399b18213848954237?branch=f45

Log:
Merge branch 'main' into f45

---
diff --git a/firefox-update.sh b/firefox-update.sh
index b6709fe..9ced2aa 100755
--- a/firefox-update.sh
+++ b/firefox-update.sh
@@ -135,6 +135,7 @@ is then read from the Version: tag already written to firefox.spec.
 
 Options:
   --resume N          Skip to step N (1-14), reading current on-disk state
+  -n                  Shorthand for --resume 11 (detect NSS/NSPR versions)
   --build buildN      Use this Mozilla candidate build instead of the latest
   --dir PATH          Package directory (default: \$PWD if it holds firefox.spec,
                       otherwise \$FEDORA_BASE_DIR/firefox)
@@ -191,6 +192,7 @@ while [ $# -gt 0 ]; do
         --resume)   RESUME_FROM="$2"; shift 2 ;;
         -r=*)       RESUME_FROM="${1#*=}"; shift ;;
         --resume=*) RESUME_FROM="${1#*=}"; shift ;;
+        -n)         RESUME_FROM=11; shift ;;
         --build)    BUILD_VERSION="$2"; shift 2 ;;
         --build=*)  BUILD_VERSION="${1#*=}"; shift ;;
         --dir)      PACKAGE_DIR="$2"; shift 2 ;;

^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [rpms/firefox] f45: Merge branch 'main' into f45
@ 2026-11-06 10:53 Martin Stransky
  0 siblings, 0 replies; 33+ messages in thread
From: Martin Stransky @ 2026-11-06 10:53 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/firefox
Branch : f45
Commit : 3370326015f8aa9eb363be46b71a3a873e7ee30c
Author : Martin Stransky <stransky@redhat.com>
Date   : 2026-11-06T11:53:00+01:00
Stats  : +1/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/firefox/c/3370326015f8aa9eb363be46b71a3a873e7ee30c?branch=f45

Log:
Merge branch 'main' into f45

---
diff --git a/firefox.spec b/firefox.spec
index 1ef359f..1c1ee6d 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -145,7 +145,7 @@ ExcludeArch: i686
 %if %{?system_nss}
 %global nspr_version 4.38.2
 %global nspr_build_version %{nspr_version}
-%global nss_version 3.131
+%global nss_version 3.132
 %global nss_build_version %{nss_version}
 %endif
 

^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [rpms/firefox] f45: Merge branch 'main' into f45
@ 2026-11-06 10:52 Martin Stransky
  0 siblings, 0 replies; 33+ messages in thread
From: Martin Stransky @ 2026-11-06 10:52 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/firefox
Branch : f45
Commit : 709625d0b892b3ef1476488ddd8c55f58647cd5a
Author : Martin Stransky <stransky@redhat.com>
Date   : 2026-11-06T11:51:44+01:00
Stats  : +57/-83 in 8 file(s)
URL    : https://src.fedoraproject.org/rpms/firefox/c/709625d0b892b3ef1476488ddd8c55f58647cd5a?branch=f45

Log:
Merge branch 'main' into f45

---
diff --git a/.gitignore b/.gitignore
index 89395f6..cbb6416 100644
--- a/.gitignore
+++ b/.gitignore
@@ -814,3 +814,5 @@ firefox-3.6.4.source.tar.bz2
 /firefox-langpacks-159.0-20261026.tar.xz
 /firefox-159.0.1.source.tar.xz
 /firefox-langpacks-159.0.1-20261104.tar.xz
+/firefox-160.0.source.tar.xz
+/firefox-langpacks-160.0-20261106.tar.xz

diff --git a/color-range.patch b/color-range.patch
deleted file mode 100644
index b84641b..0000000
--- a/color-range.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -up firefox-159.0/widget/gtk/BufferSurface.h.color-range firefox-159.0/widget/gtk/BufferSurface.h
---- firefox-159.0/widget/gtk/BufferSurface.h.color-range	2026-10-22 19:49:29.000000000 +0200
-+++ firefox-159.0/widget/gtk/BufferSurface.h	2026-10-26 09:49:44.573548425 +0100
-@@ -252,7 +252,7 @@ class BufferSurface {
-   // Set when underlying surface memory was changed.
-   bool mTextureIsDirty = false;
- 
--  mozilla::gfx::ColorRange mColorRange = mozilla::gfx::ColorRange::LIMITED;
-+  mozilla::gfx::ColorRange mColorRange = mozilla::gfx::ColorRange::FULL;
-   mozilla::gfx::YUVColorSpace mColorSpace =
-       mozilla::gfx::YUVColorSpace::Default;
-   mozilla::gfx::ColorSpace2 mColorPrimaries =

diff --git a/firefox-update.sh b/firefox-update.sh
index 391c368..b6709fe 100755
--- a/firefox-update.sh
+++ b/firefox-update.sh
@@ -40,6 +40,7 @@ ADDED_PATCHES=()
 CHANGELOG_MSG=""
 DO_LOCAL_BUILD=0
 DO_PUSH=0
+DO_UPLOAD=1
 DO_ROLLBACK=0
 SPEC_NOTES=()
 
@@ -154,6 +155,11 @@ Options:
                       overrides the default "Update to latest upstream" entry.
   --local             Run 'fedpkg local' (step 12); takes 1-2 hours
   --push              Push to Fedora dist-git when finished (step 14)
+  --no-upload         In step 8 do not upload to the lookaside cache (for
+                      users without upload permission for the Firefox
+                      tarball). The sources file is still updated, with
+                      checksums computed locally, and the command for
+                      someone with permission is printed.
   --yes               Answer yes to all questions (non-interactive)
   --rollback          Discard the in-progress update and clean up, then exit
   -h, --help          Show this help
@@ -200,6 +206,7 @@ while [ $# -gt 0 ]; do
         --changelog=*)   CHANGELOG_MSG="${1#*=}"; shift ;;
         --local)    DO_LOCAL_BUILD=1; shift ;;
         --push)     DO_PUSH=1; shift ;;
+        --no-upload) DO_UPLOAD=0; shift ;;
         --yes|-y)   ASSUME_YES=1; shift ;;
         --rollback) DO_ROLLBACK=1; shift ;;
         -h|--help)  usage; exit 0 ;;
@@ -787,7 +794,7 @@ fi
 
 if ! skip_step 8; then
     step 8 "Uploading new sources to the lookaside cache"
-    check_kerberos
+    [ "$DO_UPLOAD" -eq 1 ] && check_kerberos
     [ -f sources ] || die "No sources file in $PACKAGE_DIR"
 
     # Everything except the Firefox source/langpack tarballs is kept as is.
@@ -799,6 +806,19 @@ if ! skip_step 8; then
     info "Kept sources:    ${KEPT_SOURCES[*]:-(none)}"
     info "Uploaded anew:   $NEW_TARBALL $LANGPACK_FILE"
 
+    if [ "$DO_UPLOAD" -eq 0 ]; then
+        warn "--no-upload: not uploading; updating the sources file locally only."
+        # Same format as fedpkg: 'SHA512 (file) = hash'.
+        grep -vE '\(firefox-.*\.source\.tar\.xz\)|\(firefox-langpacks-.*\.tar\.xz\)' \
+            sources > sources.new
+        sha512sum --tag "$NEW_TARBALL" "$LANGPACK_FILE" >> sources.new \
+            || { rm -f sources.new; die "sha512sum failed"; }
+        mv -f sources.new sources || die "Cannot replace the sources file"
+        ok "sources now lists $NEW_TARBALL and $LANGPACK_FILE (not uploaded)."
+        info "Someone with upload permission must still run in $PACKAGE_DIR:"
+        info "  fedpkg new-sources $NEW_TARBALL $LANGPACK_FILE ${KEPT_SOURCES[*]}"
+        UPLOAD_SKIPPED=1
+    else
     # Trim the sources file first so that 'fedpkg sources' does not re-download
     # the previous (huge) Firefox tarball, then fetch whatever is still missing.
     cp sources sources.bak || die "Cannot back up the sources file"
@@ -817,6 +837,7 @@ if ! skip_step 8; then
     trap - EXIT
     rm -f sources.bak
     ok "Uploaded $NEW_TARBALL and $LANGPACK_FILE; sources file refreshed."
+    fi
 fi
 
 #-----------------------------------------------------------------------------
@@ -995,8 +1016,11 @@ if ! skip_step 13; then
 
     # Patch files touched by hand (rebased/dropped) are staged too, but never
     # build artifacts.
-    mapfile -t CHANGED_PATCHES < <(git status --porcelain -- '*.patch' '*.diff' \
-        | awk '{print $NF}')
+    # Untracked files are ignored, and so are deletions: 'git rm' (used for
+    # dropped patches) has already staged those, and 'git add' would fail on
+    # a path that no longer exists.
+    mapfile -t CHANGED_PATCHES < <(git status --porcelain --untracked-files=no \
+        -- '*.patch' '*.diff' | awk '$1 !~ /D/ {print $NF}')
     if [ "${#CHANGED_PATCHES[@]}" -gt 0 ]; then
         info "Modified patch files: ${CHANGED_PATCHES[*]}"
         if confirm "Stage these patch files as part of the update?" y; then
@@ -1058,6 +1082,12 @@ echo "  Commit:"
 git log -1 --pretty='    %h %s'
 echo
 
+if [ "${UPLOAD_SKIPPED:-0}" -eq 1 ]; then
+    warn "Sources were NOT uploaded (--no-upload): do not push until the"
+    warn "tarballs are in the lookaside cache (someone with permission can run"
+    warn "'fedpkg new-sources', or upload them by other means)."
+fi
+
 if [ "$DO_PUSH" -eq 0 ] && [ "$ASSUME_YES" -eq 0 ]; then
     confirm "Push the commit to rawhide on Fedora dist-git?" && DO_PUSH=1
 fi

diff --git a/firefox.spec b/firefox.spec
index a6e23ab..1ef359f 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -77,7 +77,7 @@ ExcludeArch: i686
 %global system_webp       1
 %global system_drm        1
 %global system_gbm        1
-%if 0%{?fedora} > 43
+%if 0%{?fedora} > 43 || 0%{?rhel} > 10
 %global system_pipewire   1
 %else
 %global system_pipewire   0
@@ -189,14 +189,14 @@ ExcludeArch: i686
 
 Summary:        Mozilla Firefox Web browser
 Name:           firefox
-Version:        159.0.1
+Version:        160.0
 Release:        1%{?dist}
 URL:            https://www.mozilla.org/firefox/
 # Automatically converted from old format: MPLv1.1 or GPLv2+ or LGPLv2+ - review is highly recommended.
 License:        LicenseRef-Callaway-MPLv1.1 OR GPL-2.0-or-later OR LicenseRef-Callaway-LGPLv2+
 Source0:        https://archive.mozilla.org/pub/firefox/releases/%{version}%{?pre_version}/source/firefox-%{version}%{?pre_version}.source.tar.xz
 %if %{with langpacks}
-Source1:        firefox-langpacks-%{version}%{?pre_version}-20261104.tar.xz
+Source1:        firefox-langpacks-%{version}%{?pre_version}-20261106.tar.xz
 %endif
 Source2:        cbindgen-vendor.tar.xz
 Source3:        dump_syms-vendor.tar.xz
@@ -219,7 +219,6 @@ Source32:       node-stdout-nonblocking-wrapper
 Source33:       firefox.appdata.xml.in
 Source34:       org.mozilla.firefox.search-provider.ini
 Source35:       google-loc-api-key
-Source37:       mochitest-python.tar.gz
 Source38:       print_results
 Source39:       print-errors
 Source40:       run-tests-x11
@@ -259,7 +258,6 @@ Patch242:        0026-Add-KDE-integration-to-Firefox.patch
 # Upstream patches
 Patch400:        mozilla-1196777.patch
 Patch401:        mozilla-1667096.patch
-Patch402:        color-range.patch
 
 # PGO/LTO patches
 Patch600:        pgo.patch
@@ -293,7 +291,7 @@ BuildRequires:  pkgconfig(libnotify) >= %{libnotify_version}
 BuildRequires:  pkgconfig(dri)
 BuildRequires:  pkgconfig(libcurl)
 BuildRequires:  pkgconfig(alsa)
-BuildRequires:  dbus-glib-devel
+BuildRequires:  dbus-devel
 %if %{?system_av1}
 BuildRequires:  pkgconfig(aom) >= %{aom_version}
 BuildRequires:  pkgconfig(dav1d) >= %{dav1d_version}
@@ -305,7 +303,6 @@ BuildRequires:  libvpx-devel >= %{libvpx_version}
 BuildRequires:  pkgconfig(libwebp) >= %{libwebp_version}
 BuildRequires:  pkgconfig(libwebpdemux) >= %{libwebp_version}
 %endif
-BuildRequires:  autoconf213
 BuildRequires:  pkgconfig(libpulse)
 BuildRequires:  llvm
 BuildRequires:  llvm-devel
@@ -526,8 +523,8 @@ This package contains results of tests executed during build.
 
 # We need to create the wasi.patch with the correct path to the wasm libclang_rt.
 %if %{with wasi_sdk}
-cat %{SOURCE49} | sed -e "s|LIBCLANG_RT_PLACEHOLDER|`pwd`/wasi-sdk-30/build/sysroot/install/wasi-resource-dir/lib/wasm32-unknown-wasip1/libclang_rt.builtins.a|" > %{_sourcedir}/wasi.patch
-%patch -P80 -p1 -b .wasi
+cat %{SOURCE49} | sed -e "s|LIBCLANG_RT_PLACEHOLDER|`pwd`/wasi-sdk-30/build/sysroot/install/wasi-resource-dir/lib/wasm32-unknown-wasip1/libclang_rt.builtins.a|" > wasi.patch
+patch -p1 -b --suffix .wasi < wasi.patch
 %endif
 %patch -P90 -p2 -b .pgo-simple
 
@@ -544,7 +541,6 @@ cat %{SOURCE49} | sed -e "s|LIBCLANG_RT_PLACEHOLDER|`pwd`/wasi-sdk-30/build/sysr
 
 %patch -P400 -p1 -b .1196777
 %patch -P401 -p1 -b .1667096
-%patch -P402 -p1 -b .color-range
 
 # PGO patches
 %if %{build_with_pgo}
@@ -891,14 +887,6 @@ cp %{SOURCE45} .
 . ./run-wayland-compositor
 %endif
 
-mkdir -p objdir/_virtualenvs/init_py3
-cat > objdir/_virtualenvs/init_py3/pip.conf << EOF
-[global]
-find-links=`pwd`/mochitest-python
-no-index=true
-EOF
-tar xf %{SOURCE37}
-
 #Use python 3.11 for mach
 sed -i -e 's|#!/usr/bin/env python3|#!/usr/bin/env python3.11|' mach
 
@@ -1201,6 +1189,9 @@ fi
 #---------------------------------------------------------------------
 
 %changelog
+* Fri Nov 06 2026 Martin Stransky <stransky@redhat.com> - 160.0-1
+- Update to latest upstream (160.0)
+
 * Wed Nov 04 2026 Martin Stransky <stransky@redhat.com> - 159.0.1-1
 - Update to latest upstream (159.0.1)
 

diff --git a/gen_cbindgen-vendor.sh b/gen_cbindgen-vendor.sh
index 2730ed9..7838a74 100755
--- a/gen_cbindgen-vendor.sh
+++ b/gen_cbindgen-vendor.sh
@@ -20,7 +20,6 @@ path = "dummy.rs"
 doc = false
 EOL
 
-cargo install cargo-vendor
 cargo vendor
 
 cd vendor

diff --git a/sources b/sources
index 86e4d26..7c65449 100644
--- a/sources
+++ b/sources
@@ -1,6 +1,5 @@
-SHA512 (firefox-159.0.1.source.tar.xz) = e7375c0c18361b22fa1d2e6fd5f6a4ff20b22e7090a64bf32d7ef79edb0a649983439b8e6e80106fe51bb96699bdd3096c921fe198d1b460193a66d6d8f227a4
-SHA512 (firefox-langpacks-159.0.1-20261104.tar.xz) = 21131b7db40bc82ed531a2046a09677fc9ca1016853c1c1a5d53876b1d2f436a8549a6e544bb684d645af07a66cae53aa7de6aaf4a192762d5ab0334a765f896
-SHA512 (mochitest-python.tar.gz) = 089b1593068b76f4572af0086eaccf52a6a1299bfffb58593206d19bf021ae381f2380bbfeb4371586cd53706ff6dde3d240238b2caf19b96c57dfc2f4524e36
+SHA512 (firefox-160.0.source.tar.xz) = 9209a62de1ee83fe05750b77a439dc89280ebf738b5257d84af1a1faf2f4bbf505558feac126e71033c8de1a48265717c0341af4e855134e59d1b4b5b9dd820f
+SHA512 (firefox-langpacks-160.0-20261106.tar.xz) = 745d5a90de3d8cfcf4ec6bd53a6e55643c08cda1f58424d150627e6c81d5b92be499d3005cb31bdadba218b26ed480f0b93073b8337d3c642339bc3069f12c22
 SHA512 (dump_syms-vendor.tar.xz) = ee0ea52aac781b8dd48936a3d13b140bd725a48cc488d23693b68edbe3bcfba5723022dba3c3849d0da1bacf0e37ddd307cfc56304159f91b71495ce8a08b54a
 SHA512 (wasi-sdk-30.tar.gz) = c08b2ddb5d5cf5b48c5baba80c65c485a3049b473d2f2dd2babb402243a7709633c695dfee5f9cbba52fa25ad832f02f3b73d9ba1141c4d44dc30db70292a04d
 SHA512 (wasm-component-ld-vendor.tar.xz) = 356dc09502052198e99745199b8e10d803da9492ce34e41c6ae02cb8674fcc640cd5eafe68a03e4e61c984f7f6c7c8e5cdc3551251556fb3ae4631a340358fc0

diff --git a/wasi.patch b/wasi.patch
deleted file mode 100644
index cae2c56..0000000
--- a/wasi.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-diff -up firefox-134.0.1/toolkit/moz.configure.wasi firefox-134.0.1/toolkit/moz.configure
---- firefox-134.0.1/toolkit/moz.configure.wasi	2025-01-13 14:46:04.000000000 +0100
-+++ firefox-134.0.1/toolkit/moz.configure	2025-01-17 08:39:38.870092763 +0100
-@@ -2767,7 +2776,7 @@ with only_when(requires_wasm_sandboxing
-     def wasi_sysroot_flags(wasi_sysroot):
-         if wasi_sysroot:
-             log.info("Using wasi sysroot in %s", wasi_sysroot)
--            return ["--sysroot=%s" % wasi_sysroot]
-+            return ["--sysroot=%s" % wasi_sysroot, "-nodefaultlibs",  "-lc", "-lwasi-emulated-process-clocks", "-lc++", "-lc++abi", "/raid/CVS/firefox/firefox-159.0.1-build/firefox-159.0.1/wasi-sdk-30/build/sysroot/install/wasi-resource-dir/lib/wasm32-unknown-wasip1/libclang_rt.builtins.a"]
-         return []
- 
-     set_config("WASI_SYSROOT", wasi_sysroot)
-diff -up firefox-134.0.1/wasi-sdk-30/cmake/wasi-sdk-toolchain.cmake.wasi firefox-134.0.1/wasi-sdk-30/cmake/wasi-sdk-toolchain.cmake
---- firefox-134.0.1/wasi-sdk-30/cmake/wasi-sdk-toolchain.cmake.wasi	2025-01-17 08:40:23.004159900 +0100
-+++ firefox-134.0.1/wasi-sdk-30/cmake/wasi-sdk-toolchain.cmake	2025-01-17 08:40:35.478178790 +0100
-@@ -126,7 +126,7 @@ endif()
- add_custom_command(
-   OUTPUT ${wasm_component_ld}
-   COMMAND
--    cargo install --root ${wasm_component_ld_root} ${rust_target_flag}
-+    cargo install --offline --root ${wasm_component_ld_root} ${rust_target_flag}
-       wasm-component-ld@${wasm_component_ld_version}
-   COMMAND
-     cmake -E make_directory ${wasi_tmp_install}/bin
-diff -up firefox-134.0.2/wasi-sdk-30/version.py.wasi firefox-134.0.2/wasi-sdk-30/version.py
---- firefox-134.0.2/wasi-sdk-30/version.py.wasi	2025-01-16 08:03:26.042654800 +0100
-+++ firefox-134.0.2/wasi-sdk-30/version.py	2025-01-22 14:08:34.563909971 +0100
-@@ -60,6 +60,7 @@ assert parse_git_version(
- 
- 
- def git_version():
-+    return 30
-     version = exec(['git', 'describe', '--long', '--candidates=999',
-                     '--match=wasi-sdk-*', '--dirty=+m', f'--abbrev={GIT_REF_LEN}'],
-                     os.path.dirname(sys.argv[0]))

diff --git a/wasi.patch.template b/wasi.patch.template
index 2b9674f..07d874b 100644
--- a/wasi.patch.template
+++ b/wasi.patch.template
@@ -1,7 +1,7 @@
-diff -up firefox-134.0.1/toolkit/moz.configure.wasi firefox-134.0.1/toolkit/moz.configure
---- firefox-134.0.1/toolkit/moz.configure.wasi	2025-01-13 14:46:04.000000000 +0100
-+++ firefox-134.0.1/toolkit/moz.configure	2025-01-17 08:39:38.870092763 +0100
-@@ -2767,7 +2776,7 @@ with only_when(requires_wasm_sandboxing
+diff -up firefox-160.0/toolkit/moz.configure.wasi firefox-160.0/toolkit/moz.configure
+--- firefox-160.0/toolkit/moz.configure.wasi	2026-11-06 11:39:59.831793570 +0100
++++ firefox-160.0/toolkit/moz.configure	2026-11-06 11:40:59.778720524 +0100
+@@ -2917,7 +2917,7 @@ with only_when(requires_wasm_sandboxing
      def wasi_sysroot_flags(wasi_sysroot):
          if wasi_sysroot:
              log.info("Using wasi sysroot in %s", wasi_sysroot)
@@ -9,10 +9,10 @@ diff -up firefox-134.0.1/toolkit/moz.configure.wasi firefox-134.0.1/toolkit/moz.
 +            return ["--sysroot=%s" % wasi_sysroot, "-nodefaultlibs",  "-lc", "-lwasi-emulated-process-clocks", "-lc++", "-lc++abi", "LIBCLANG_RT_PLACEHOLDER"]
          return []
  
-     set_config("WASI_SYSROOT", wasi_sysroot)
-diff -up firefox-134.0.1/wasi-sdk-30/cmake/wasi-sdk-toolchain.cmake.wasi firefox-134.0.1/wasi-sdk-30/cmake/wasi-sdk-toolchain.cmake
---- firefox-134.0.1/wasi-sdk-30/cmake/wasi-sdk-toolchain.cmake.wasi	2025-01-17 08:40:23.004159900 +0100
-+++ firefox-134.0.1/wasi-sdk-30/cmake/wasi-sdk-toolchain.cmake	2025-01-17 08:40:35.478178790 +0100
+     def wasm_compiler_with_flags(compiler, sysroot_flags):
+diff -up firefox-160.0/wasi-sdk-30/cmake/wasi-sdk-toolchain.cmake.wasi firefox-160.0/wasi-sdk-30/cmake/wasi-sdk-toolchain.cmake
+--- firefox-160.0/wasi-sdk-30/cmake/wasi-sdk-toolchain.cmake.wasi	2026-03-11 09:56:09.459199200 +0100
++++ firefox-160.0/wasi-sdk-30/cmake/wasi-sdk-toolchain.cmake	2026-11-06 11:40:59.779130167 +0100
 @@ -126,7 +126,7 @@ endif()
  add_custom_command(
    OUTPUT ${wasm_component_ld}
@@ -22,9 +22,9 @@ diff -up firefox-134.0.1/wasi-sdk-30/cmake/wasi-sdk-toolchain.cmake.wasi firefox
        wasm-component-ld@${wasm_component_ld_version}
    COMMAND
      cmake -E make_directory ${wasi_tmp_install}/bin
-diff -up firefox-134.0.2/wasi-sdk-30/version.py.wasi firefox-134.0.2/wasi-sdk-30/version.py
---- firefox-134.0.2/wasi-sdk-30/version.py.wasi	2025-01-16 08:03:26.042654800 +0100
-+++ firefox-134.0.2/wasi-sdk-30/version.py	2025-01-22 14:08:34.563909971 +0100
+diff -up firefox-160.0/wasi-sdk-30/version.py.wasi firefox-160.0/wasi-sdk-30/version.py
+--- firefox-160.0/wasi-sdk-30/version.py.wasi	2026-03-11 09:56:09.461966300 +0100
++++ firefox-160.0/wasi-sdk-30/version.py	2026-11-06 11:40:59.779240868 +0100
 @@ -60,6 +60,7 @@ assert parse_git_version(
  
  

^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [rpms/firefox] f45: Merge branch 'main' into f45
@ 2026-11-04 10:32 Martin Stransky
  0 siblings, 0 replies; 33+ messages in thread
From: Martin Stransky @ 2026-11-04 10:32 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/firefox
Branch : f45
Commit : c85680be2838cc410e58e24e14bc5b8ab02f1c0b
Author : Martin Stransky <stransky@redhat.com>
Date   : 2026-11-04T11:31:42+01:00
Stats  : +11/-6 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/firefox/c/c85680be2838cc410e58e24e14bc5b8ab02f1c0b?branch=f45

Log:
Merge branch 'main' into f45

---
diff --git a/.gitignore b/.gitignore
index 8474ec3..89395f6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -812,3 +812,5 @@ firefox-3.6.4.source.tar.bz2
 /firefox-langpacks-158.0.1-20261021.tar.xz
 /firefox-159.0.source.tar.xz
 /firefox-langpacks-159.0-20261026.tar.xz
+/firefox-159.0.1.source.tar.xz
+/firefox-langpacks-159.0.1-20261104.tar.xz

diff --git a/firefox.spec b/firefox.spec
index e021500..a6e23ab 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -189,14 +189,14 @@ ExcludeArch: i686
 
 Summary:        Mozilla Firefox Web browser
 Name:           firefox
-Version:        159.0
-Release:        2%{?dist}
+Version:        159.0.1
+Release:        1%{?dist}
 URL:            https://www.mozilla.org/firefox/
 # Automatically converted from old format: MPLv1.1 or GPLv2+ or LGPLv2+ - review is highly recommended.
 License:        LicenseRef-Callaway-MPLv1.1 OR GPL-2.0-or-later OR LicenseRef-Callaway-LGPLv2+
 Source0:        https://archive.mozilla.org/pub/firefox/releases/%{version}%{?pre_version}/source/firefox-%{version}%{?pre_version}.source.tar.xz
 %if %{with langpacks}
-Source1:        firefox-langpacks-%{version}%{?pre_version}-20261026.tar.xz
+Source1:        firefox-langpacks-%{version}%{?pre_version}-20261104.tar.xz
 %endif
 Source2:        cbindgen-vendor.tar.xz
 Source3:        dump_syms-vendor.tar.xz
@@ -1201,6 +1201,9 @@ fi
 #---------------------------------------------------------------------
 
 %changelog
+* Wed Nov 04 2026 Martin Stransky <stransky@redhat.com> - 159.0.1-1
+- Update to latest upstream (159.0.1)
+
 * Tue Oct 27 2026 Martin Stransky <stransky@redhat.com> - 159.0-2
 - Added s390x ICU fix
 

diff --git a/sources b/sources
index 3b0594a..86e4d26 100644
--- a/sources
+++ b/sources
@@ -1,5 +1,5 @@
-SHA512 (firefox-159.0.source.tar.xz) = 669241f3fc672d8240ddc4158b6125e5c2566bd0013a0a96a3874ee17bf0d9b3d91c842e653cb35eab0921829ce3660e9d795900b3c3a5488cd6020f85a0aac3
-SHA512 (firefox-langpacks-159.0-20261026.tar.xz) = 07271826b7f45c1cb846dc65fc352a4ed7b612f694342115c562a177a1bb5dfdaffd7666f2a36a8b0a55b76581718832c9bbf565999b04ceff024031e11d9d28
+SHA512 (firefox-159.0.1.source.tar.xz) = e7375c0c18361b22fa1d2e6fd5f6a4ff20b22e7090a64bf32d7ef79edb0a649983439b8e6e80106fe51bb96699bdd3096c921fe198d1b460193a66d6d8f227a4
+SHA512 (firefox-langpacks-159.0.1-20261104.tar.xz) = 21131b7db40bc82ed531a2046a09677fc9ca1016853c1c1a5d53876b1d2f436a8549a6e544bb684d645af07a66cae53aa7de6aaf4a192762d5ab0334a765f896
 SHA512 (mochitest-python.tar.gz) = 089b1593068b76f4572af0086eaccf52a6a1299bfffb58593206d19bf021ae381f2380bbfeb4371586cd53706ff6dde3d240238b2caf19b96c57dfc2f4524e36
 SHA512 (dump_syms-vendor.tar.xz) = ee0ea52aac781b8dd48936a3d13b140bd725a48cc488d23693b68edbe3bcfba5723022dba3c3849d0da1bacf0e37ddd307cfc56304159f91b71495ce8a08b54a
 SHA512 (wasi-sdk-30.tar.gz) = c08b2ddb5d5cf5b48c5baba80c65c485a3049b473d2f2dd2babb402243a7709633c695dfee5f9cbba52fa25ad832f02f3b73d9ba1141c4d44dc30db70292a04d

diff --git a/wasi.patch b/wasi.patch
index bda592d..cae2c56 100644
--- a/wasi.patch
+++ b/wasi.patch
@@ -6,7 +6,7 @@ diff -up firefox-134.0.1/toolkit/moz.configure.wasi firefox-134.0.1/toolkit/moz.
          if wasi_sysroot:
              log.info("Using wasi sysroot in %s", wasi_sysroot)
 -            return ["--sysroot=%s" % wasi_sysroot]
-+            return ["--sysroot=%s" % wasi_sysroot, "-nodefaultlibs",  "-lc", "-lwasi-emulated-process-clocks", "-lc++", "-lc++abi", "/raid/CVS/firefox/firefox-159.0-build/firefox-159.0/wasi-sdk-30/build/sysroot/install/wasi-resource-dir/lib/wasm32-unknown-wasip1/libclang_rt.builtins.a"]
++            return ["--sysroot=%s" % wasi_sysroot, "-nodefaultlibs",  "-lc", "-lwasi-emulated-process-clocks", "-lc++", "-lc++abi", "/raid/CVS/firefox/firefox-159.0.1-build/firefox-159.0.1/wasi-sdk-30/build/sysroot/install/wasi-resource-dir/lib/wasm32-unknown-wasip1/libclang_rt.builtins.a"]
          return []
  
      set_config("WASI_SYSROOT", wasi_sysroot)

^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [rpms/firefox] f45: Merge branch 'main' into f45
@ 2026-10-27  8:37 Martin Stransky
  0 siblings, 0 replies; 33+ messages in thread
From: Martin Stransky @ 2026-10-27  8:37 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/firefox
Branch : f45
Commit : 054f5ce6c099dfc8d788332920b4cb3397334ab6
Author : Martin Stransky <stransky@redhat.com>
Date   : 2026-10-27T09:26:42+01:00
Stats  : +171/-23 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/firefox/c/054f5ce6c099dfc8d788332920b4cb3397334ab6?branch=f45

Log:
Merge branch 'main' into f45

---
diff --git a/0001-Bug-2085342-Hash-the-little-endian-ICU-data-in-icu_d.patch b/0001-Bug-2085342-Hash-the-little-endian-ICU-data-in-icu_d.patch
new file mode 100644
index 0000000..ccac7a2
--- /dev/null
+++ b/0001-Bug-2085342-Hash-the-little-endian-ICU-data-in-icu_d.patch
@@ -0,0 +1,32 @@
+From 380b2f4e74c0648534545694723727252d13fe9d Mon Sep 17 00:00:00 2001
+From: Matthew Gaudet <mgaudet@mozilla.com>
+Date: Mon, 26 Oct 2026 09:22:17 -0600
+Subject: [PATCH] Bug 2085342 - Hash the little endian ICU data in
+ icu_data_hashed.S on big endian targets. r?ahochheiden
+
+On ESR153 the big endian data file is generated in the misc tier, so it isn't
+available when icu_data_hashed.S is generated during pre-compile. Main doesn't
+need this since bug 2038789 moved generated .dat files to pre-compile.
+---
+ config/external/icu/data/moz.build | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/config/external/icu/data/moz.build b/config/external/icu/data/moz.build
+index 16ec62046c1fd..8710738a18f98 100644
+--- a/config/external/icu/data/moz.build
++++ b/config/external/icu/data/moz.build
+@@ -32,8 +32,10 @@ SOURCES += [
+ GeneratedFile(
+     "icu_data_hashed.S",
+     script="icu_data_hash.py",
++    # The big endian data is generated from the little endian data in the misc
++    # tier, so hash the latter, which is available during pre-compile.
+     inputs=[
+-        "!" + data_file["big"] if endianness == "big" else data_file["little"],
++        data_file["little"],
+         "icu_data.S",
+     ],
+ )
+-- 
+2.50.1 (Apple Git-155)
+

diff --git a/firefox-update.sh b/firefox-update.sh
index 138594b..391c368 100755
--- a/firefox-update.sh
+++ b/firefox-update.sh
@@ -35,6 +35,9 @@ RESUME_FROM=1
 ASSUME_YES=0
 DROP_PATCHES=()
 DROPPED_PATCHES=()
+ADD_PATCHES=()
+ADDED_PATCHES=()
+CHANGELOG_MSG=""
 DO_LOCAL_BUILD=0
 DO_PUSH=0
 DO_ROLLBACK=0
@@ -126,6 +129,9 @@ Usage: $(basename "$0") <version> [options]
 
 Updates the Firefox package in Fedora rawhide to <version> (e.g. 157.0).
 
+<version> may be omitted when --resume N is given with N > 1: the version
+is then read from the Version: tag already written to firefox.spec.
+
 Options:
   --resume N          Skip to step N (1-14), reading current on-disk state
   --build buildN      Use this Mozilla candidate build instead of the latest
@@ -135,6 +141,17 @@ Options:
                       PatchNNN: and %patch -PNNN lines from firefox.spec and
                       deletes the file from git. P is the patch file name or
                       its number. May be given more than once.
+  -a, --add-patch F   Add an upstream patch already sitting in the package
+                      directory as file F (it is not copied there): assigns
+                      it the next free PatchNNN:, appends the matching
+                      %patch -PNNN line, and stages the file with git. May
+                      be given more than once. Review the generated %patch
+                      line (ordering, -p level, backup suffix) before
+                      committing.
+  -c, --changelog MSG Add a %changelog entry and bump Release:. Without a
+                      <version> (i.e. combined with -a/-d only) this is the
+                      only way to bump the release; with a <version> it
+                      overrides the default "Update to latest upstream" entry.
   --local             Run 'fedpkg local' (step 12); takes 1-2 hours
   --push              Push to Fedora dist-git when finished (step 14)
   --yes               Answer yes to all questions (non-interactive)
@@ -175,6 +192,12 @@ while [ $# -gt 0 ]; do
         -d|--drop-patch) DROP_PATCHES+=("$2"); shift 2 ;;
         -d=*)            DROP_PATCHES+=("${1#*=}"); shift ;;
         --drop-patch=*)  DROP_PATCHES+=("${1#*=}"); shift ;;
+        -a|--add-patch)  ADD_PATCHES+=("$2"); shift 2 ;;
+        -a=*)            ADD_PATCHES+=("${1#*=}"); shift ;;
+        --add-patch=*)   ADD_PATCHES+=("${1#*=}"); shift ;;
+        -c|--changelog)  CHANGELOG_MSG="$2"; shift 2 ;;
+        -c=*)            CHANGELOG_MSG="${1#*=}"; shift ;;
+        --changelog=*)   CHANGELOG_MSG="${1#*=}"; shift ;;
         --local)    DO_LOCAL_BUILD=1; shift ;;
         --push)     DO_PUSH=1; shift ;;
         --yes|-y)   ASSUME_YES=1; shift ;;
@@ -265,20 +288,66 @@ drop_patch() {
     SPEC_NOTES+=("Dropped Patch${num}: $file")
 }
 
+# add_patch <patch-file-already-in-the-package-dir>
+# The file must already exist in the package directory (it is not copied
+# from elsewhere). Assigns it the next free PatchNNN:, appends the
+# declaration and the matching '%patch -PNNN' line to firefox.spec, and
+# stages the file with git. The new %patch line is only a starting point -
+# patch ordering, -p level and backup suffix may need manual adjustment.
+add_patch() {
+    local src="$1" base num short last_decl last_apply
+    base=$(basename -- "$src")
+
+    [ -f "$base" ] \
+        || die "$base not found in $PACKAGE_DIR - place the patch file there first (it is not copied)"
+
+    grep -qE "^Patch[0-9]*:[[:space:]]+${base}([[:space:]]|$)" firefox.spec \
+        && die "$base is already referenced by firefox.spec"
+
+    num=$(grep -oP '^Patch\K[0-9]+(?=:)' firefox.spec | sort -n | tail -1)
+    [ -n "$num" ] || die "No existing Patch declarations found in firefox.spec to number from"
+    num=$((num + 1))
+    while grep -qE "^Patch${num}:[[:space:]]" firefox.spec; do
+        num=$((num + 1))
+    done
+
+    info "Adding $base as Patch${num}"
+
+    last_decl=$(grep -nE '^Patch[0-9]*:[[:space:]]' firefox.spec | tail -1 | cut -d: -f1)
+    [ -n "$last_decl" ] || die "No 'PatchNNN:' line found to insert the new one after"
+    sed -i "${last_decl}a Patch${num}:        ${base}" firefox.spec \
+        || die "Cannot insert the Patch${num}: line"
+    grep -qE "^Patch${num}:[[:space:]]+${base}([[:space:]]|$)" firefox.spec \
+        || die "Patch${num}: was not added to firefox.spec"
+
+    short="${base%.patch}"; short=$(printf '%s' "$short" | tr -cs 'A-Za-z0-9' '-')
+    last_apply=$(grep -nE '^%patch[[:space:]]+-P[0-9]+' firefox.spec | tail -1 | cut -d: -f1)
+    if [ -n "$last_apply" ]; then
+        sed -i "${last_apply}a %patch -P${num} -p1 -b .${short}" firefox.spec \
+            || die "Cannot insert the '%patch -P${num}' line"
+        grep -qE "^%patch[[:space:]]+-P${num}([[:space:]]|$)" firefox.spec \
+            || die "'%patch -P${num}' was not added to firefox.spec"
+    else
+        warn "No existing '%patch -P...' line found - add '%patch -P${num} -p1' to %prep by hand."
+    fi
+
+    run git add -- "$base" || die "git add of $base failed"
+
+    ADDED_PATCHES+=("$base (Patch${num})")
+    SPEC_NOTES+=("Added Patch${num}: $base")
+    warn "Review the new '%patch -P${num}' line (ordering, -p level, backup suffix) before committing."
+}
+
 #-----------------------------------------------------------------------------
 # Step 1: Get version info
 #-----------------------------------------------------------------------------
 
-# --drop-patch without a version only edits the spec and git - no update is
-# started, so no version is needed or asked for.
-DROP_ONLY=0
-if [ -z "$NEW_VERSION" ] && [ "${#DROP_PATCHES[@]}" -gt 0 ]; then
-    DROP_ONLY=1
-fi
-
-if [ -z "$NEW_VERSION" ] && [ "$DROP_ONLY" -eq 0 ]; then
-    NEW_VERSION=$(ask "What Firefox version would you like to update to? (e.g. 157.0)")
-    [ -n "$NEW_VERSION" ] || die "No version given"
+# -d/--drop-patch and/or -a/--add-patch without a version only edit the spec
+# and git - no update is started, so no version is needed or asked for.
+PATCH_ONLY=0
+if [ -z "$NEW_VERSION" ] \
+   && { [ "${#DROP_PATCHES[@]}" -gt 0 ] || [ "${#ADD_PATCHES[@]}" -gt 0 ]; }; then
+    PATCH_ONLY=1
 fi
 
 if [ -z "$PACKAGE_DIR" ]; then
@@ -289,7 +358,21 @@ if [ -z "$PACKAGE_DIR" ]; then
     fi
 fi
 
-if [ "$DROP_ONLY" -eq 0 ]; then
+if [ -z "$NEW_VERSION" ] && [ "$PATCH_ONLY" -eq 0 ]; then
+    # Resuming an in-progress update: the version was already bumped into
+    # firefox.spec back in step 4, so read it from there instead of asking.
+    if [ "$RESUME_FROM" -gt 1 ] && [ -f "$PACKAGE_DIR/firefox.spec" ]; then
+        NEW_VERSION=$(grep -m1 -oP '^Version:\s*\K\S+' "$PACKAGE_DIR/firefox.spec")
+        [ -n "$NEW_VERSION" ] \
+            && info "No version given - using $NEW_VERSION from $PACKAGE_DIR/firefox.spec (--resume $RESUME_FROM)"
+    fi
+    if [ -z "$NEW_VERSION" ]; then
+        NEW_VERSION=$(ask "What Firefox version would you like to update to? (e.g. 157.0)")
+        [ -n "$NEW_VERSION" ] || die "No version given"
+    fi
+fi
+
+if [ "$PATCH_ONLY" -eq 0 ]; then
     step 1 "Preparing update to Firefox $NEW_VERSION"
     info "Package directory: $PACKAGE_DIR"
     ok "Target version: $NEW_VERSION"
@@ -311,19 +394,40 @@ cd "$PACKAGE_DIR" || die "Cannot enter $PACKAGE_DIR"
 [ -f firefox.spec ] || die "$PACKAGE_DIR does not contain firefox.spec"
 
 #-----------------------------------------------------------------------------
-# Drop-only mode: -d/--drop-patch given without a version
+# Patch-only mode: -d/--drop-patch and/or -a/--add-patch given without a
+# version; -c/--changelog optionally bumps Release: and the %changelog.
 #-----------------------------------------------------------------------------
 
-if [ "$DROP_ONLY" -eq 1 ]; then
-    printf '\n%s==> Dropping %d patch(es) from firefox.spec in %s%s\n' \
-        "$C_BOLD$C_BLUE" "${#DROP_PATCHES[@]}" "$PACKAGE_DIR" "$C_OFF"
+if [ "$PATCH_ONLY" -eq 1 ]; then
+    printf '\n%s==> Updating patches in firefox.spec in %s%s\n' \
+        "$C_BOLD$C_BLUE" "$PACKAGE_DIR" "$C_OFF"
     for p in "${DROP_PATCHES[@]}"; do
         drop_patch "$p"
     done
-    printf '\n  Dropped patches:\n'
-    printf '    - %s\n' "${DROPPED_PATCHES[@]}"
+    for p in "${ADD_PATCHES[@]}"; do
+        add_patch "$p"
+    done
+
+    if [ -n "$CHANGELOG_MSG" ]; then
+        bumpspec_args=(--comment "$CHANGELOG_MSG")
+        [ -n "$CHANGELOG_AUTHOR" ] && bumpspec_args+=(--userstring "$CHANGELOG_AUTHOR")
+        run rpmdev-bumpspec "${bumpspec_args[@]}" firefox.spec \
+            || die "rpmdev-bumpspec failed"
+        ok "Release bumped to $(spec_get '^Release:\s*\K\S+') and changelog entry added."
+    else
+        info "No --changelog given - Release: and %changelog left unchanged."
+    fi
+
+    if [ "${#DROPPED_PATCHES[@]}" -gt 0 ]; then
+        printf '\n  Dropped patches:\n'
+        printf '    - %s\n' "${DROPPED_PATCHES[@]}"
+    fi
+    if [ "${#ADDED_PATCHES[@]}" -gt 0 ]; then
+        printf '\n  Added patches:\n'
+        printf '    - %s\n' "${ADDED_PATCHES[@]}"
+    fi
     printf '\n'
-    ok "firefox.spec updated and the patch files removed from git."
+    ok "firefox.spec updated."
     info "Review with 'git diff' and commit when you are ready."
     exit 0
 fi
@@ -494,7 +598,8 @@ if ! skip_step 4; then
     fi
 
     if [ "$DO_BUMP" -eq 1 ]; then
-        bumpspec_args=(--new "$NEW_VERSION" --comment "Update to latest upstream ($NEW_VERSION)")
+        bumpspec_args=(--new "$NEW_VERSION" \
+            --comment "${CHANGELOG_MSG:-Update to latest upstream ($NEW_VERSION)}")
         [ -n "$CHANGELOG_AUTHOR" ] && bumpspec_args+=(--userstring "$CHANGELOG_AUTHOR")
         run rpmdev-bumpspec "${bumpspec_args[@]}" firefox.spec \
             || die "rpmdev-bumpspec failed"
@@ -718,8 +823,8 @@ fi
 # Step 9: Check and rebase patches
 #-----------------------------------------------------------------------------
 
-if [ "${#DROP_PATCHES[@]}" -gt 0 ] && skip_step 9; then
-    warn "--drop-patch ignored: resuming at step $RESUME_FROM, past the patch step."
+if { [ "${#DROP_PATCHES[@]}" -gt 0 ] || [ "${#ADD_PATCHES[@]}" -gt 0 ]; } && skip_step 9; then
+    warn "--drop-patch/--add-patch ignored: resuming at step $RESUME_FROM, past the patch step."
 fi
 
 if ! skip_step 9; then
@@ -731,6 +836,12 @@ if ! skip_step 9; then
     [ "${#DROPPED_PATCHES[@]}" -gt 0 ] \
         && ok "Dropped ${#DROPPED_PATCHES[@]} patch(es)."
 
+    for p in "${ADD_PATCHES[@]}"; do
+        add_patch "$p"
+    done
+    [ "${#ADDED_PATCHES[@]}" -gt 0 ] \
+        && ok "Added ${#ADDED_PATCHES[@]} patch(es)."
+
     mapfile -t SPEC_PATCHES < <(grep -oP '^Patch[0-9]*:\s*\K\S+' firefox.spec)
     info "${#SPEC_PATCHES[@]} patches referenced by firefox.spec"
     for p in "${SPEC_PATCHES[@]}"; do

diff --git a/firefox.spec b/firefox.spec
index c165d08..e021500 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -4,7 +4,7 @@
 
 # Excluded due to https://bugzilla.mozilla.org/show_bug.cgi?id=1792159
 # https://bugzilla.redhat.com/show_bug.cgi?id=2129720
-ExcludeArch: i686 s390x
+ExcludeArch: i686
 
 # Run Mozilla test suite as a part of compile rpm section. Turn off when
 # building locally and don't want to spend 24 hours waiting for results.
@@ -190,7 +190,7 @@ ExcludeArch: i686 s390x
 Summary:        Mozilla Firefox Web browser
 Name:           firefox
 Version:        159.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 URL:            https://www.mozilla.org/firefox/
 # Automatically converted from old format: MPLv1.1 or GPLv2+ or LGPLv2+ - review is highly recommended.
 License:        LicenseRef-Callaway-MPLv1.1 OR GPL-2.0-or-later OR LicenseRef-Callaway-LGPLv2+
@@ -265,6 +265,7 @@ Patch402:        color-range.patch
 Patch600:        pgo.patch
 Patch602:        mozilla-1516803.patch
 Patch603:        firefox-gcc-always-inline.patch
+Patch604:        0001-Bug-2085342-Hash-the-little-endian-ICU-data-in-icu_d.patch
 
 %if %{?system_nss}
 BuildRequires:  pkgconfig(nspr) >= %{nspr_version}
@@ -553,6 +554,7 @@ cat %{SOURCE49} | sed -e "s|LIBCLANG_RT_PLACEHOLDER|`pwd`/wasi-sdk-30/build/sysr
 %endif
 %endif
 %patch -P603 -p1 -b .inline
+%patch -P604 -p1 -b .0001-Bug-2085342-Hash-the-little-endian-ICU-data-in-icu-d
 
 rm -f .mozconfig
 cp %{SOURCE10} .mozconfig
@@ -1199,6 +1201,9 @@ fi
 #---------------------------------------------------------------------
 
 %changelog
+* Tue Oct 27 2026 Martin Stransky <stransky@redhat.com> - 159.0-2
+- Added s390x ICU fix
+
 * Mon Oct 26 2026 Martin Stransky <stransky@redhat.com> - 159.0-1
 - Update to latest upstream (159.0)
 - Temporary disabled s390x due to build error

^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [rpms/firefox] f45: Merge branch 'main' into f45
@ 2026-10-27  7:34 Martin Stransky
  0 siblings, 0 replies; 33+ messages in thread
From: Martin Stransky @ 2026-10-27  7:34 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/firefox
Branch : f45
Commit : 512f271ca981e03173e4de77c3b1b6cecf70e361
Author : Martin Stransky <stransky@redhat.com>
Date   : 2026-10-27T08:31:46+01:00
Stats  : +2/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/firefox/c/512f271ca981e03173e4de77c3b1b6cecf70e361?branch=f45

Log:
Merge branch 'main' into f45

---
diff --git a/firefox.spec b/firefox.spec
index 6ec9fdb..c165d08 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -4,7 +4,7 @@
 
 # Excluded due to https://bugzilla.mozilla.org/show_bug.cgi?id=1792159
 # https://bugzilla.redhat.com/show_bug.cgi?id=2129720
-ExcludeArch: i686
+ExcludeArch: i686 s390x
 
 # Run Mozilla test suite as a part of compile rpm section. Turn off when
 # building locally and don't want to spend 24 hours waiting for results.
@@ -1201,6 +1201,7 @@ fi
 %changelog
 * Mon Oct 26 2026 Martin Stransky <stransky@redhat.com> - 159.0-1
 - Update to latest upstream (159.0)
+- Temporary disabled s390x due to build error
 
 * Wed Oct 21 2026 Martin Stransky <stransky@redhat.com> - 158.0.1-2
 - Added fix for mzbz#2084134

^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [rpms/firefox] f45: Merge branch 'main' into f45
@ 2026-10-26  8:56 Martin Stransky
  0 siblings, 0 replies; 33+ messages in thread
From: Martin Stransky @ 2026-10-26  8:56 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/firefox
Branch : f45
Commit : 5541e84c7776f4f8cef714cff20aa1afc4d30eda
Author : Martin Stransky <stransky@redhat.com>
Date   : 2026-10-26T09:55:18+01:00
Stats  : +1/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/firefox/c/5541e84c7776f4f8cef714cff20aa1afc4d30eda?branch=f45

Log:
Merge branch 'main' into f45

---
diff --git a/firefox.spec b/firefox.spec
index e653b26..6ec9fdb 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -145,7 +145,7 @@ ExcludeArch: i686
 %if %{?system_nss}
 %global nspr_version 4.38.2
 %global nspr_build_version %{nspr_version}
-%global nss_version 3.130
+%global nss_version 3.131
 %global nss_build_version %{nss_version}
 %endif
 

^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [rpms/firefox] f45: Merge branch 'main' into f45
@ 2026-10-26  8:53 Martin Stransky
  0 siblings, 0 replies; 33+ messages in thread
From: Martin Stransky @ 2026-10-26  8:53 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/firefox
Branch : f45
Commit : 800e9563aea4db14bd68158726b3312534cfe3ad
Author : Martin Stransky <stransky@redhat.com>
Date   : 2026-10-26T09:53:07+01:00
Stats  : +17/-12 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/firefox/c/800e9563aea4db14bd68158726b3312534cfe3ad?branch=f45

Log:
Merge branch 'main' into f45

---
diff --git a/.gitignore b/.gitignore
index 37a849b..8474ec3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -810,3 +810,5 @@ firefox-3.6.4.source.tar.bz2
 /firefox-langpacks-158.0-20261009.tar.xz
 /firefox-158.0.1.source.tar.xz
 /firefox-langpacks-158.0.1-20261021.tar.xz
+/firefox-159.0.source.tar.xz
+/firefox-langpacks-159.0-20261026.tar.xz

diff --git a/color-range.patch b/color-range.patch
index ef4c96f..b84641b 100644
--- a/color-range.patch
+++ b/color-range.patch
@@ -1,9 +1,9 @@
-diff -up firefox-158.0.1/widget/gtk/BufferSurface.h.old firefox-158.0.1/widget/gtk/BufferSurface.h
---- firefox-158.0.1/widget/gtk/BufferSurface.h.old	2026-10-21 13:01:16.952113195 +0200
-+++ firefox-158.0.1/widget/gtk/BufferSurface.h	2026-10-21 12:59:33.845420300 +0200
-@@ -166,7 +166,7 @@ class BufferSurface {
-   // surface without textures/eglimages.
-   RefPtr<mozilla::gl::GLContext> mGL;
+diff -up firefox-159.0/widget/gtk/BufferSurface.h.color-range firefox-159.0/widget/gtk/BufferSurface.h
+--- firefox-159.0/widget/gtk/BufferSurface.h.color-range	2026-10-22 19:49:29.000000000 +0200
++++ firefox-159.0/widget/gtk/BufferSurface.h	2026-10-26 09:49:44.573548425 +0100
+@@ -252,7 +252,7 @@ class BufferSurface {
+   // Set when underlying surface memory was changed.
+   bool mTextureIsDirty = false;
  
 -  mozilla::gfx::ColorRange mColorRange = mozilla::gfx::ColorRange::LIMITED;
 +  mozilla::gfx::ColorRange mColorRange = mozilla::gfx::ColorRange::FULL;

diff --git a/firefox.spec b/firefox.spec
index a120775..e653b26 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -189,14 +189,14 @@ ExcludeArch: i686
 
 Summary:        Mozilla Firefox Web browser
 Name:           firefox
-Version:        158.0.1
-Release:        2%{?dist}
+Version:        159.0
+Release:        1%{?dist}
 URL:            https://www.mozilla.org/firefox/
 # Automatically converted from old format: MPLv1.1 or GPLv2+ or LGPLv2+ - review is highly recommended.
 License:        LicenseRef-Callaway-MPLv1.1 OR GPL-2.0-or-later OR LicenseRef-Callaway-LGPLv2+
 Source0:        https://archive.mozilla.org/pub/firefox/releases/%{version}%{?pre_version}/source/firefox-%{version}%{?pre_version}.source.tar.xz
 %if %{with langpacks}
-Source1:        firefox-langpacks-%{version}%{?pre_version}-20261021.tar.xz
+Source1:        firefox-langpacks-%{version}%{?pre_version}-20261026.tar.xz
 %endif
 Source2:        cbindgen-vendor.tar.xz
 Source3:        dump_syms-vendor.tar.xz
@@ -1199,6 +1199,9 @@ fi
 #---------------------------------------------------------------------
 
 %changelog
+* Mon Oct 26 2026 Martin Stransky <stransky@redhat.com> - 159.0-1
+- Update to latest upstream (159.0)
+
 * Wed Oct 21 2026 Martin Stransky <stransky@redhat.com> - 158.0.1-2
 - Added fix for mzbz#2084134
 

diff --git a/sources b/sources
index ac49387..3b0594a 100644
--- a/sources
+++ b/sources
@@ -1,5 +1,5 @@
-SHA512 (firefox-158.0.1.source.tar.xz) = a5cc16a63f4b43f01bc26e2feb12e54e5281aebdc81775cbc0e8d77dd5ceefa5055e78d2a6ad54895c397d414d1fac13d49ddf28099f534269a6a166dedafa5e
-SHA512 (firefox-langpacks-158.0.1-20261021.tar.xz) = 68d0c450abaeb57fdacba4ba5e57fc46885596c1e18f256615a77c123778ed70383aee2ce3a563375fc4eb36dc14594e8cdb0e5d6854f78b7675753d419fb4aa
+SHA512 (firefox-159.0.source.tar.xz) = 669241f3fc672d8240ddc4158b6125e5c2566bd0013a0a96a3874ee17bf0d9b3d91c842e653cb35eab0921829ce3660e9d795900b3c3a5488cd6020f85a0aac3
+SHA512 (firefox-langpacks-159.0-20261026.tar.xz) = 07271826b7f45c1cb846dc65fc352a4ed7b612f694342115c562a177a1bb5dfdaffd7666f2a36a8b0a55b76581718832c9bbf565999b04ceff024031e11d9d28
 SHA512 (mochitest-python.tar.gz) = 089b1593068b76f4572af0086eaccf52a6a1299bfffb58593206d19bf021ae381f2380bbfeb4371586cd53706ff6dde3d240238b2caf19b96c57dfc2f4524e36
 SHA512 (dump_syms-vendor.tar.xz) = ee0ea52aac781b8dd48936a3d13b140bd725a48cc488d23693b68edbe3bcfba5723022dba3c3849d0da1bacf0e37ddd307cfc56304159f91b71495ce8a08b54a
 SHA512 (wasi-sdk-30.tar.gz) = c08b2ddb5d5cf5b48c5baba80c65c485a3049b473d2f2dd2babb402243a7709633c695dfee5f9cbba52fa25ad832f02f3b73d9ba1141c4d44dc30db70292a04d

diff --git a/wasi.patch b/wasi.patch
index 7c2c25e..bda592d 100644
--- a/wasi.patch
+++ b/wasi.patch
@@ -6,7 +6,7 @@ diff -up firefox-134.0.1/toolkit/moz.configure.wasi firefox-134.0.1/toolkit/moz.
          if wasi_sysroot:
              log.info("Using wasi sysroot in %s", wasi_sysroot)
 -            return ["--sysroot=%s" % wasi_sysroot]
-+            return ["--sysroot=%s" % wasi_sysroot, "-nodefaultlibs",  "-lc", "-lwasi-emulated-process-clocks", "-lc++", "-lc++abi", "/raid/CVS/firefox/firefox-158.0.1-build/firefox-158.0.1/wasi-sdk-30/build/sysroot/install/wasi-resource-dir/lib/wasm32-unknown-wasip1/libclang_rt.builtins.a"]
++            return ["--sysroot=%s" % wasi_sysroot, "-nodefaultlibs",  "-lc", "-lwasi-emulated-process-clocks", "-lc++", "-lc++abi", "/raid/CVS/firefox/firefox-159.0-build/firefox-159.0/wasi-sdk-30/build/sysroot/install/wasi-resource-dir/lib/wasm32-unknown-wasip1/libclang_rt.builtins.a"]
          return []
  
      set_config("WASI_SYSROOT", wasi_sysroot)

^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [rpms/firefox] f45: Merge branch 'main' into f45
@ 2026-10-21 11:05 Martin Stransky
  0 siblings, 0 replies; 33+ messages in thread
From: Martin Stransky @ 2026-10-21 11:05 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/firefox
Branch : f45
Commit : fde69444184814165ea6a6c57531542acee1115d
Author : Martin Stransky <stransky@redhat.com>
Date   : 2026-10-21T13:04:37+02:00
Stats  : +18/-2 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/firefox/c/fde69444184814165ea6a6c57531542acee1115d?branch=f45

Log:
Merge branch 'main' into f45

---
diff --git a/color-range.patch b/color-range.patch
new file mode 100644
index 0000000..ef4c96f
--- /dev/null
+++ b/color-range.patch
@@ -0,0 +1,12 @@
+diff -up firefox-158.0.1/widget/gtk/BufferSurface.h.old firefox-158.0.1/widget/gtk/BufferSurface.h
+--- firefox-158.0.1/widget/gtk/BufferSurface.h.old	2026-10-21 13:01:16.952113195 +0200
++++ firefox-158.0.1/widget/gtk/BufferSurface.h	2026-10-21 12:59:33.845420300 +0200
+@@ -166,7 +166,7 @@ class BufferSurface {
+   // surface without textures/eglimages.
+   RefPtr<mozilla::gl::GLContext> mGL;
+ 
+-  mozilla::gfx::ColorRange mColorRange = mozilla::gfx::ColorRange::LIMITED;
++  mozilla::gfx::ColorRange mColorRange = mozilla::gfx::ColorRange::FULL;
+   mozilla::gfx::YUVColorSpace mColorSpace =
+       mozilla::gfx::YUVColorSpace::Default;
+   mozilla::gfx::ColorSpace2 mColorPrimaries =

diff --git a/firefox.spec b/firefox.spec
index a5ea31f..a120775 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -190,7 +190,7 @@ ExcludeArch: i686
 Summary:        Mozilla Firefox Web browser
 Name:           firefox
 Version:        158.0.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 URL:            https://www.mozilla.org/firefox/
 # Automatically converted from old format: MPLv1.1 or GPLv2+ or LGPLv2+ - review is highly recommended.
 License:        LicenseRef-Callaway-MPLv1.1 OR GPL-2.0-or-later OR LicenseRef-Callaway-LGPLv2+
@@ -259,6 +259,7 @@ Patch242:        0026-Add-KDE-integration-to-Firefox.patch
 # Upstream patches
 Patch400:        mozilla-1196777.patch
 Patch401:        mozilla-1667096.patch
+Patch402:        color-range.patch
 
 # PGO/LTO patches
 Patch600:        pgo.patch
@@ -542,7 +543,7 @@ cat %{SOURCE49} | sed -e "s|LIBCLANG_RT_PLACEHOLDER|`pwd`/wasi-sdk-30/build/sysr
 
 %patch -P400 -p1 -b .1196777
 %patch -P401 -p1 -b .1667096
-
+%patch -P402 -p1 -b .color-range
 
 # PGO patches
 %if %{build_with_pgo}
@@ -1198,6 +1199,9 @@ fi
 #---------------------------------------------------------------------
 
 %changelog
+* Wed Oct 21 2026 Martin Stransky <stransky@redhat.com> - 158.0.1-2
+- Added fix for mzbz#2084134
+
 * Wed Oct 21 2026 Martin Stransky <stransky@redhat.com> - 158.0.1-1
 - Update to latest upstream (158.0.1)
 

^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [rpms/firefox] f45: Merge branch 'main' into f45
@ 2026-10-21  7:13 Martin Stransky
  0 siblings, 0 replies; 33+ messages in thread
From: Martin Stransky @ 2026-10-21  7:13 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/firefox
Branch : f45
Commit : bde030ce94a0d034773b3b9bdda66828fa188338
Author : Martin Stransky <stransky@redhat.com>
Date   : 2026-10-21T08:59:58+02:00
Stats  : +11/-6 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/firefox/c/bde030ce94a0d034773b3b9bdda66828fa188338?branch=f45

Log:
Merge branch 'main' into f45

---
diff --git a/.gitignore b/.gitignore
index 551bd87..37a849b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -808,3 +808,5 @@ firefox-3.6.4.source.tar.bz2
 /firefox-langpacks-157.0.1-20261007.tar.xz
 /firefox-158.0.source.tar.xz
 /firefox-langpacks-158.0-20261009.tar.xz
+/firefox-158.0.1.source.tar.xz
+/firefox-langpacks-158.0.1-20261021.tar.xz

diff --git a/firefox.spec b/firefox.spec
index cc30e31..a5ea31f 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -189,14 +189,14 @@ ExcludeArch: i686
 
 Summary:        Mozilla Firefox Web browser
 Name:           firefox
-Version:        158.0
+Version:        158.0.1
 Release:        1%{?dist}
 URL:            https://www.mozilla.org/firefox/
 # Automatically converted from old format: MPLv1.1 or GPLv2+ or LGPLv2+ - review is highly recommended.
 License:        LicenseRef-Callaway-MPLv1.1 OR GPL-2.0-or-later OR LicenseRef-Callaway-LGPLv2+
 Source0:        https://archive.mozilla.org/pub/firefox/releases/%{version}%{?pre_version}/source/firefox-%{version}%{?pre_version}.source.tar.xz
 %if %{with langpacks}
-Source1:        firefox-langpacks-%{version}%{?pre_version}-20261009.tar.xz
+Source1:        firefox-langpacks-%{version}%{?pre_version}-20261021.tar.xz
 %endif
 Source2:        cbindgen-vendor.tar.xz
 Source3:        dump_syms-vendor.tar.xz
@@ -1198,6 +1198,9 @@ fi
 #---------------------------------------------------------------------
 
 %changelog
+* Wed Oct 21 2026 Martin Stransky <stransky@redhat.com> - 158.0.1-1
+- Update to latest upstream (158.0.1)
+
 * Fri Oct 09 2026 Martin Stransky <stransky@redhat.com> - 158.0-1
 - Update to latest upstream (158.0)
 

diff --git a/google-api-key b/google-api-key
index b95d189..353c9f3 100644
--- a/google-api-key
+++ b/google-api-key
@@ -1 +1 @@
-AIzaSyBPGXa4AYD4FC3HJK7LnIKxm4fDusVuuco
+AIzaSyAz70BK3X_WLFf4cLMmocHyJNEK0MzxlCk

diff --git a/sources b/sources
index 98b08b3..ac49387 100644
--- a/sources
+++ b/sources
@@ -1,5 +1,5 @@
-SHA512 (firefox-158.0.source.tar.xz) = 14b8ffdc325a234061db14dea9bd144786dc2c84468a5dfe2bb70bb9558f63f73427cf244eaf461010ee01dfdf04f2cae68bae9f07b4820603a4bcd4462f7960
-SHA512 (firefox-langpacks-158.0-20261009.tar.xz) = c63ab469d9b670b08dc78c3fb91ac64357cfd4a84a984d05077e59d275ab0f71d74bb4a8d6f53dd45194a842ce8d9fac7096420f8ba6ac16f014bb152cfbb883
+SHA512 (firefox-158.0.1.source.tar.xz) = a5cc16a63f4b43f01bc26e2feb12e54e5281aebdc81775cbc0e8d77dd5ceefa5055e78d2a6ad54895c397d414d1fac13d49ddf28099f534269a6a166dedafa5e
+SHA512 (firefox-langpacks-158.0.1-20261021.tar.xz) = 68d0c450abaeb57fdacba4ba5e57fc46885596c1e18f256615a77c123778ed70383aee2ce3a563375fc4eb36dc14594e8cdb0e5d6854f78b7675753d419fb4aa
 SHA512 (mochitest-python.tar.gz) = 089b1593068b76f4572af0086eaccf52a6a1299bfffb58593206d19bf021ae381f2380bbfeb4371586cd53706ff6dde3d240238b2caf19b96c57dfc2f4524e36
 SHA512 (dump_syms-vendor.tar.xz) = ee0ea52aac781b8dd48936a3d13b140bd725a48cc488d23693b68edbe3bcfba5723022dba3c3849d0da1bacf0e37ddd307cfc56304159f91b71495ce8a08b54a
 SHA512 (wasi-sdk-30.tar.gz) = c08b2ddb5d5cf5b48c5baba80c65c485a3049b473d2f2dd2babb402243a7709633c695dfee5f9cbba52fa25ad832f02f3b73d9ba1141c4d44dc30db70292a04d

diff --git a/wasi.patch b/wasi.patch
index 9a33477..7c2c25e 100644
--- a/wasi.patch
+++ b/wasi.patch
@@ -6,7 +6,7 @@ diff -up firefox-134.0.1/toolkit/moz.configure.wasi firefox-134.0.1/toolkit/moz.
          if wasi_sysroot:
              log.info("Using wasi sysroot in %s", wasi_sysroot)
 -            return ["--sysroot=%s" % wasi_sysroot]
-+            return ["--sysroot=%s" % wasi_sysroot, "-nodefaultlibs",  "-lc", "-lwasi-emulated-process-clocks", "-lc++", "-lc++abi", "/raid/CVS/firefox/firefox-158.0-build/firefox-158.0/wasi-sdk-30/build/sysroot/install/wasi-resource-dir/lib/wasm32-unknown-wasip1/libclang_rt.builtins.a"]
++            return ["--sysroot=%s" % wasi_sysroot, "-nodefaultlibs",  "-lc", "-lwasi-emulated-process-clocks", "-lc++", "-lc++abi", "/raid/CVS/firefox/firefox-158.0.1-build/firefox-158.0.1/wasi-sdk-30/build/sysroot/install/wasi-resource-dir/lib/wasm32-unknown-wasip1/libclang_rt.builtins.a"]
          return []
  
      set_config("WASI_SYSROOT", wasi_sysroot)

^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [rpms/firefox] f45: Merge branch 'main' into f45
@ 2026-10-12  9:11 Martin Stransky
  0 siblings, 0 replies; 33+ messages in thread
From: Martin Stransky @ 2026-10-12  9:11 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/firefox
Branch : f45
Commit : 9fb72dae65a8f2080500e3d26428f7225133509d
Author : Martin Stransky <stransky@redhat.com>
Date   : 2026-10-12T11:01:13+02:00
Stats  : +28/-28 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/firefox/c/9fb72dae65a8f2080500e3d26428f7225133509d?branch=f45

Log:
Merge branch 'main' into f45

---
diff --git a/firefox.spec b/firefox.spec
index 842f911..cc30e31 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -547,7 +547,7 @@ cat %{SOURCE49} | sed -e "s|LIBCLANG_RT_PLACEHOLDER|`pwd`/wasi-sdk-30/build/sysr
 # PGO patches
 %if %{build_with_pgo}
 %if !%{with build_with_clang}
-%patch -P600 -p1 -b .pgo
+%patch -P600 -p2 -b .pgo
 %patch -P602 -p1 -b .1516803
 %endif
 %endif

diff --git a/pgo.patch b/pgo.patch
index a9f57b0..f852496 100644
--- a/pgo.patch
+++ b/pgo.patch
@@ -1,7 +1,7 @@
-diff -up firefox-149.0/build/moz.configure/lto-pgo.configure.pgo firefox-149.0/build/moz.configure/lto-pgo.configure
---- firefox-149.0/build/moz.configure/lto-pgo.configure.pgo	2026-03-18 20:22:14.000000000 +0100
-+++ firefox-149.0/build/moz.configure/lto-pgo.configure	2026-03-19 16:01:12.682983612 +0100
-@@ -96,12 +96,16 @@ set_config("PGO_PROFILE_PATH", pgo_profi
+diff -up firefox-158.0-build/firefox-158.0/build/moz.configure/lto-pgo.configure.pgo firefox-158.0-build/firefox-158.0/build/moz.configure/lto-pgo.configure
+--- firefox-158.0-build/firefox-158.0/build/moz.configure/lto-pgo.configure.pgo	2026-10-08 04:24:00.000000000 +0200
++++ firefox-158.0-build/firefox-158.0/build/moz.configure/lto-pgo.configure	2026-10-12 10:49:11.930537361 +0200
+@@ -103,12 +103,16 @@ set_config("PGO_PROFILE_PATH", pgo_profi
  
  @depends(
      "--enable-profile-use",
@@ -19,7 +19,7 @@ diff -up firefox-149.0/build/moz.configure/lto-pgo.configure.pgo firefox-149.0/b
      if not profile_use:
          return None
  
-@@ -145,7 +149,7 @@ def pgo_flags(
+@@ -152,7 +156,7 @@ def pgo_flags(
          return namespace(
              gen_cflags=["-fprofile-generate"],
              gen_ldflags=["-fprofile-generate"],
@@ -28,9 +28,9 @@ diff -up firefox-149.0/build/moz.configure/lto-pgo.configure.pgo firefox-149.0/b
              use_ldflags=["-fprofile-use"],
          )
  
-diff -up firefox-149.0/build/pgo/profileserver.py.pgo firefox-149.0/build/pgo/profileserver.py
---- firefox-149.0/build/pgo/profileserver.py.pgo	2026-03-18 20:22:14.000000000 +0100
-+++ firefox-149.0/build/pgo/profileserver.py	2026-03-19 16:01:12.683616555 +0100
+diff -up firefox-158.0-build/firefox-158.0/build/pgo/profileserver.py.pgo firefox-158.0-build/firefox-158.0/build/pgo/profileserver.py
+--- firefox-158.0-build/firefox-158.0/build/pgo/profileserver.py.pgo	2026-10-08 04:23:59.000000000 +0200
++++ firefox-158.0-build/firefox-158.0/build/pgo/profileserver.py	2026-10-12 10:49:11.930741080 +0200
 @@ -10,7 +10,7 @@ import subprocess
  import sys
  
@@ -40,7 +40,7 @@ diff -up firefox-149.0/build/pgo/profileserver.py.pgo firefox-149.0/build/pgo/pr
  from mozfile import TemporaryDirectory, json
  from mozhttpd import MozHttpd
  from mozprofile import FirefoxProfile, Preferences
-@@ -96,9 +96,22 @@ if __name__ == "__main__":
+@@ -139,9 +139,22 @@ if __name__ == "__main__":
      locations = ServerLocations()
      locations.add_host(host="127.0.0.1", port=PORT, options="primary,privileged")
  
@@ -66,10 +66,10 @@ diff -up firefox-149.0/build/pgo/profileserver.py.pgo firefox-149.0/build/pgo/pr
  
      with TemporaryDirectory() as profilePath:
          # TODO: refactor this into mozprofile
-diff -up firefox-149.0/gfx/2d/moz.build.pgo firefox-149.0/gfx/2d/moz.build
---- firefox-149.0/gfx/2d/moz.build.pgo	2026-03-18 20:22:14.000000000 +0100
-+++ firefox-149.0/gfx/2d/moz.build	2026-03-19 16:01:12.683756212 +0100
-@@ -132,11 +132,11 @@ if CONFIG["INTEL_ARCHITECTURE"]:
+diff -up firefox-158.0-build/firefox-158.0/gfx/2d/moz.build.pgo firefox-158.0-build/firefox-158.0/gfx/2d/moz.build
+--- firefox-158.0-build/firefox-158.0/gfx/2d/moz.build.pgo	2026-10-08 04:24:02.000000000 +0200
++++ firefox-158.0-build/firefox-158.0/gfx/2d/moz.build	2026-10-12 10:49:11.930892880 +0200
+@@ -125,11 +125,11 @@ if CONFIG["INTEL_ARCHITECTURE"]:
      DEFINES["USE_SSE2"] = True
      # The file uses SSE2 intrinsics, so it needs special compile flags on some
      # compilers.
@@ -83,9 +83,9 @@ diff -up firefox-149.0/gfx/2d/moz.build.pgo firefox-149.0/gfx/2d/moz.build
      SOURCES["SwizzleSSE2.cpp"].flags += CONFIG["SSE2_FLAGS"]
      SOURCES["SwizzleSSSE3.cpp"].flags += CONFIG["SSSE3_FLAGS"]
  
-diff -up firefox-149.0/gfx/skia/generate_mozbuild.py.pgo firefox-149.0/gfx/skia/generate_mozbuild.py
---- firefox-149.0/gfx/skia/generate_mozbuild.py.pgo	2026-03-18 20:22:14.000000000 +0100
-+++ firefox-149.0/gfx/skia/generate_mozbuild.py	2026-03-19 16:01:12.683902041 +0100
+diff -up firefox-158.0-build/firefox-158.0/gfx/skia/generate_mozbuild.py.pgo firefox-158.0-build/firefox-158.0/gfx/skia/generate_mozbuild.py
+--- firefox-158.0-build/firefox-158.0/gfx/skia/generate_mozbuild.py.pgo	2026-10-08 04:24:01.000000000 +0200
++++ firefox-158.0-build/firefox-158.0/gfx/skia/generate_mozbuild.py	2026-10-12 10:49:11.931087713 +0200
 @@ -50,8 +50,8 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'wind
  if CONFIG['INTEL_ARCHITECTURE']:
      SOURCES['skia/modules/skcms/skcms.cc'].flags += ['-DSKCMS_DISABLE_SKX']
@@ -97,10 +97,10 @@ diff -up firefox-149.0/gfx/skia/generate_mozbuild.py.pgo firefox-149.0/gfx/skia/
      SOURCES['skia/src/core/SkBitmapProcState_opts_ssse3.cpp'].flags += skia_ssse3_flags
      SOURCES['skia/src/core/SkBlitMask_opts_ssse3.cpp'].flags += skia_ssse3_flags
      SOURCES['skia/src/core/SkSwizzler_opts_ssse3.cpp'].flags += ['-Dskvx=skvx_ssse3']
-diff -up firefox-149.0/gfx/skia/moz.build.pgo firefox-149.0/gfx/skia/moz.build
---- firefox-149.0/gfx/skia/moz.build.pgo	2026-03-18 20:22:14.000000000 +0100
-+++ firefox-149.0/gfx/skia/moz.build	2026-03-19 16:01:12.684039243 +0100
-@@ -603,8 +603,8 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'wind
+diff -up firefox-158.0-build/firefox-158.0/gfx/skia/moz.build.pgo firefox-158.0-build/firefox-158.0/gfx/skia/moz.build
+--- firefox-158.0-build/firefox-158.0/gfx/skia/moz.build.pgo	2026-10-08 04:24:02.000000000 +0200
++++ firefox-158.0-build/firefox-158.0/gfx/skia/moz.build	2026-10-12 10:49:11.931233511 +0200
+@@ -602,8 +602,8 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'wind
  if CONFIG['INTEL_ARCHITECTURE']:
      SOURCES['skia/modules/skcms/skcms.cc'].flags += ['-DSKCMS_DISABLE_SKX']
      skia_ssse3_flags = ['-Dskvx=skvx_ssse3', '-mssse3']
@@ -111,10 +111,10 @@ diff -up firefox-149.0/gfx/skia/moz.build.pgo firefox-149.0/gfx/skia/moz.build
      SOURCES['skia/src/core/SkBitmapProcState_opts_ssse3.cpp'].flags += skia_ssse3_flags
      SOURCES['skia/src/core/SkBlitMask_opts_ssse3.cpp'].flags += skia_ssse3_flags
      SOURCES['skia/src/core/SkSwizzler_opts_ssse3.cpp'].flags += ['-Dskvx=skvx_ssse3']
-diff -up firefox-149.0/toolkit/components/terminator/nsTerminator.cpp.pgo firefox-149.0/toolkit/components/terminator/nsTerminator.cpp
---- firefox-149.0/toolkit/components/terminator/nsTerminator.cpp.pgo	2026-03-18 19:54:05.000000000 +0100
-+++ firefox-149.0/toolkit/components/terminator/nsTerminator.cpp	2026-03-19 16:01:55.737755729 +0100
-@@ -338,6 +338,11 @@ void nsTerminator::StartWatchdog() {
+diff -up firefox-158.0-build/firefox-158.0/toolkit/components/terminator/nsTerminator.cpp.pgo firefox-158.0-build/firefox-158.0/toolkit/components/terminator/nsTerminator.cpp
+--- firefox-158.0-build/firefox-158.0/toolkit/components/terminator/nsTerminator.cpp.pgo	2026-10-08 04:24:22.000000000 +0200
++++ firefox-158.0-build/firefox-158.0/toolkit/components/terminator/nsTerminator.cpp	2026-10-12 10:56:12.360515515 +0200
+@@ -403,6 +403,11 @@ void nsTerminator::StartWatchdog() {
    }
  #endif
  
@@ -123,6 +123,6 @@ diff -up firefox-149.0/toolkit/components/terminator/nsTerminator.cpp.pgo firefo
 +  // silently produce poorly performing binary.
 +  crashAfterMS = INT32_MAX;
 +
-   UniquePtr<Options> options(new Options());
-   // Guarantee that crashAfterTicks is non-zero
-   options->crashAfterTicks = std::max(1, crashAfterMS / HEARTBEAT_INTERVAL_MS);
+   // Guarantee that gCrashAfterTicks is non-zero
+   gCrashAfterTicks = std::max(1, crashAfterMS / HEARTBEAT_INTERVAL_MS);
+ 

^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [rpms/firefox] f45: Merge branch 'main' into f45
@ 2026-10-09 10:55 Martin Stransky
  0 siblings, 0 replies; 33+ messages in thread
From: Martin Stransky @ 2026-10-09 10:55 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/firefox
Branch : f45
Commit : c1c0020fc2a6f16625daf1f7c21ebaaf691d2dcb
Author : Martin Stransky <stransky@redhat.com>
Date   : 2026-10-09T12:54:16+02:00
Stats  : +4/-9 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/firefox/c/c1c0020fc2a6f16625daf1f7c21ebaaf691d2dcb?branch=f45

Log:
Merge branch 'main' into f45

---
diff --git a/firefox-update.sh b/firefox-update.sh
index b72b1a0..138594b 100755
--- a/firefox-update.sh
+++ b/firefox-update.sh
@@ -166,6 +166,7 @@ EOF
 while [ $# -gt 0 ]; do
     case "$1" in
         --resume)   RESUME_FROM="$2"; shift 2 ;;
+        -r=*)       RESUME_FROM="${1#*=}"; shift ;;
         --resume=*) RESUME_FROM="${1#*=}"; shift ;;
         --build)    BUILD_VERSION="$2"; shift 2 ;;
         --build=*)  BUILD_VERSION="${1#*=}"; shift ;;
@@ -783,7 +784,7 @@ DETECTED_NSPR_VERSION=""
 # read_bundled_version <relative-header> <define-name>
 # Reads from the unpacked tree, falling back to the tarball when resuming.
 read_bundled_version() {
-    local header="$1" define="$2" path="firefox-$NEW_VERSION/$1"
+    local header="$1" define="$2" path="firefox-$NEW_VERSION-build/$1"
     if [ -f "$path" ]; then
         grep -m1 -oP "^#define\s+$define\s+\"\K[^\"]+" "$path"
     else
@@ -810,7 +811,7 @@ write_spec_version() {
 if ! skip_step 11; then
     step 11 "Detecting the NSS/NSPR versions from the Firefox sources"
 
-    if [ ! -d "firefox-$NEW_VERSION" ]; then
+    if [ ! -d "firefox-$NEW_VERSION-build" ]; then
         info "No unpacked tree - reading the headers from $NEW_TARBALL (this takes a while)"
     fi
 
@@ -831,15 +832,9 @@ if ! skip_step 11; then
         "$C_BOLD" "$NEW_VERSION" "$DETECTED_NSS_VERSION" "$DETECTED_NSPR_VERSION" "$C_OFF"
 
     write_spec_version nss_version  "$OLD_NSS_VERSION"  "$DETECTED_NSS_VERSION"  NSS
-    write_spec_version nspr_version "$OLD_NSPR_VERSION" "$DETECTED_NSPR_VERSION" NSPR
     NSS_VERSION="$DETECTED_NSS_VERSION"
-    NSPR_VERSION="$DETECTED_NSPR_VERSION"
 
-    info "Cleaning up the unpacked tree"
-    rm -rf "firefox-$NEW_VERSION/"
     ok "NSS/NSPR versions written to firefox.spec."
-else
-    rm -rf "firefox-$NEW_VERSION/"
 fi
 
 #-----------------------------------------------------------------------------

diff --git a/firefox.spec b/firefox.spec
index 64da019..842f911 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -145,7 +145,7 @@ ExcludeArch: i686
 %if %{?system_nss}
 %global nspr_version 4.38.2
 %global nspr_build_version %{nspr_version}
-%global nss_version 3.129
+%global nss_version 3.130
 %global nss_build_version %{nss_version}
 %endif
 

^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [rpms/firefox] f45: Merge branch 'main' into f45
@ 2026-10-09 10:47 Martin Stransky
  0 siblings, 0 replies; 33+ messages in thread
From: Martin Stransky @ 2026-10-09 10:47 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/firefox
Branch : f45
Commit : 9b38aa9f4c8f5d11dd765d41b6fee2fcd42b7c26
Author : Martin Stransky <stransky@redhat.com>
Date   : 2026-10-09T12:45:13+02:00
Stats  : +10/-24 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/firefox/c/9b38aa9f4c8f5d11dd765d41b6fee2fcd42b7c26?branch=f45

Log:
Merge branch 'main' into f45

---
diff --git a/.gitignore b/.gitignore
index 21f6173..551bd87 100644
--- a/.gitignore
+++ b/.gitignore
@@ -806,3 +806,5 @@ firefox-3.6.4.source.tar.bz2
 /firefox-langpacks-157.0-20261001.tar.xz
 /firefox-157.0.1.source.tar.xz
 /firefox-langpacks-157.0.1-20261007.tar.xz
+/firefox-158.0.source.tar.xz
+/firefox-langpacks-158.0-20261009.tar.xz

diff --git a/D324877.1789117000.diff b/D324877.1789117000.diff
deleted file mode 100644
index 5be8d62..0000000
--- a/D324877.1789117000.diff
+++ /dev/null
@@ -1,17 +0,0 @@
-diff --git a/modules/libpref/init/StaticPrefList.yaml b/modules/libpref/init/StaticPrefList.yaml
---- a/modules/libpref/init/StaticPrefList.yaml
-+++ b/modules/libpref/init/StaticPrefList.yaml
-@@ -20896,11 +20896,11 @@
-   mirror: always
- 
- # Use xdg-session-management-v1 for session restore on Wayland.
- - name: widget.wayland.session-management.enabled
-   type: bool
--  value: @IS_EARLY_BETA_OR_EARLIER@
-+  value: true
-   mirror: once
- 
- # Use native D&D session type on Wayland instead of Gtk.
- # Recently disabled due compositor bugs (Bug 2046911).
- - name: widget.wayland.native-data-session
-

diff --git a/firefox.spec b/firefox.spec
index 76bd60c..64da019 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -189,14 +189,14 @@ ExcludeArch: i686
 
 Summary:        Mozilla Firefox Web browser
 Name:           firefox
-Version:        157.0.1
+Version:        158.0
 Release:        1%{?dist}
 URL:            https://www.mozilla.org/firefox/
 # Automatically converted from old format: MPLv1.1 or GPLv2+ or LGPLv2+ - review is highly recommended.
 License:        LicenseRef-Callaway-MPLv1.1 OR GPL-2.0-or-later OR LicenseRef-Callaway-LGPLv2+
 Source0:        https://archive.mozilla.org/pub/firefox/releases/%{version}%{?pre_version}/source/firefox-%{version}%{?pre_version}.source.tar.xz
 %if %{with langpacks}
-Source1:        firefox-langpacks-%{version}%{?pre_version}-20261007.tar.xz
+Source1:        firefox-langpacks-%{version}%{?pre_version}-20261009.tar.xz
 %endif
 Source2:        cbindgen-vendor.tar.xz
 Source3:        dump_syms-vendor.tar.xz
@@ -259,7 +259,6 @@ Patch242:        0026-Add-KDE-integration-to-Firefox.patch
 # Upstream patches
 Patch400:        mozilla-1196777.patch
 Patch401:        mozilla-1667096.patch
-Patch405:        D324877.1789117000.diff
 
 # PGO/LTO patches
 Patch600:        pgo.patch
@@ -544,7 +543,6 @@ cat %{SOURCE49} | sed -e "s|LIBCLANG_RT_PLACEHOLDER|`pwd`/wasi-sdk-30/build/sysr
 %patch -P400 -p1 -b .1196777
 %patch -P401 -p1 -b .1667096
 
-%patch -P405 -p1 -b .D324877
 
 # PGO patches
 %if %{build_with_pgo}
@@ -1200,6 +1198,9 @@ fi
 #---------------------------------------------------------------------
 
 %changelog
+* Fri Oct 09 2026 Martin Stransky <stransky@redhat.com> - 158.0-1
+- Update to latest upstream (158.0)
+
 * Wed Oct 07 2026 Martin Stransky <stransky@redhat.com> - 157.0.1-1
 - Update to latest upstream (157.0.1)
 

diff --git a/sources b/sources
index 2715739..98b08b3 100644
--- a/sources
+++ b/sources
@@ -1,5 +1,5 @@
-SHA512 (firefox-157.0.1.source.tar.xz) = c019202b2f87d25b3605bbf7266f3bb4d59745e48536f297d3f00cc3524a1cd2eba416a5a3cd0ecee6b0762d0f35bf3c5fcce286ebc7bc741263bebd0f102858
-SHA512 (firefox-langpacks-157.0.1-20261007.tar.xz) = ca4fc06eda69eadd22f6ef9c6d9151f56f4cf0e1bce84e51a6d649bb25cf3be7a07cc49ec9d7224339d0118fc8c4939579d4a1ccf5dd7db5bfce486c047d2c99
+SHA512 (firefox-158.0.source.tar.xz) = 14b8ffdc325a234061db14dea9bd144786dc2c84468a5dfe2bb70bb9558f63f73427cf244eaf461010ee01dfdf04f2cae68bae9f07b4820603a4bcd4462f7960
+SHA512 (firefox-langpacks-158.0-20261009.tar.xz) = c63ab469d9b670b08dc78c3fb91ac64357cfd4a84a984d05077e59d275ab0f71d74bb4a8d6f53dd45194a842ce8d9fac7096420f8ba6ac16f014bb152cfbb883
 SHA512 (mochitest-python.tar.gz) = 089b1593068b76f4572af0086eaccf52a6a1299bfffb58593206d19bf021ae381f2380bbfeb4371586cd53706ff6dde3d240238b2caf19b96c57dfc2f4524e36
 SHA512 (dump_syms-vendor.tar.xz) = ee0ea52aac781b8dd48936a3d13b140bd725a48cc488d23693b68edbe3bcfba5723022dba3c3849d0da1bacf0e37ddd307cfc56304159f91b71495ce8a08b54a
 SHA512 (wasi-sdk-30.tar.gz) = c08b2ddb5d5cf5b48c5baba80c65c485a3049b473d2f2dd2babb402243a7709633c695dfee5f9cbba52fa25ad832f02f3b73d9ba1141c4d44dc30db70292a04d

diff --git a/wasi.patch b/wasi.patch
index f102b68..9a33477 100644
--- a/wasi.patch
+++ b/wasi.patch
@@ -6,7 +6,7 @@ diff -up firefox-134.0.1/toolkit/moz.configure.wasi firefox-134.0.1/toolkit/moz.
          if wasi_sysroot:
              log.info("Using wasi sysroot in %s", wasi_sysroot)
 -            return ["--sysroot=%s" % wasi_sysroot]
-+            return ["--sysroot=%s" % wasi_sysroot, "-nodefaultlibs",  "-lc", "-lwasi-emulated-process-clocks", "-lc++", "-lc++abi", "/raid/CVS/firefox/firefox-157.0.1-build/firefox-157.0.1/wasi-sdk-30/build/sysroot/install/wasi-resource-dir/lib/wasm32-unknown-wasip1/libclang_rt.builtins.a"]
++            return ["--sysroot=%s" % wasi_sysroot, "-nodefaultlibs",  "-lc", "-lwasi-emulated-process-clocks", "-lc++", "-lc++abi", "/raid/CVS/firefox/firefox-158.0-build/firefox-158.0/wasi-sdk-30/build/sysroot/install/wasi-resource-dir/lib/wasm32-unknown-wasip1/libclang_rt.builtins.a"]
          return []
  
      set_config("WASI_SYSROOT", wasi_sysroot)

^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [rpms/firefox] f45: Merge branch 'main' into f45
@ 2026-10-07  8:59 Martin Stransky
  0 siblings, 0 replies; 33+ messages in thread
From: Martin Stransky @ 2026-10-07  8:59 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/firefox
Branch : f45
Commit : fc09dabc5a3282792aa0cec83d1816a6b7154880
Author : Martin Stransky <stransky@redhat.com>
Date   : 2026-10-07T10:58:32+02:00
Stats  : +1/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/firefox/c/fc09dabc5a3282792aa0cec83d1816a6b7154880?branch=f45

Log:
Merge branch 'main' into f45

---
diff --git a/firefox.spec b/firefox.spec
index 8c122f3..76bd60c 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -143,7 +143,7 @@ ExcludeArch: i686
 %endif
 
 %if %{?system_nss}
-%global nspr_version 4.40
+%global nspr_version 4.38.2
 %global nspr_build_version %{nspr_version}
 %global nss_version 3.129
 %global nss_build_version %{nss_version}

^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [rpms/firefox] f45: Merge branch 'main' into f45
@ 2026-10-01 11:52 Martin Stransky
  0 siblings, 0 replies; 33+ messages in thread
From: Martin Stransky @ 2026-10-01 11:52 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/firefox
Branch : f45
Commit : f3df66c6bd081a698045126b7e30d2bbdff7257d
Author : Martin Stransky <stransky@redhat.com>
Date   : 2026-10-01T13:48:07+02:00
Stats  : +11/-192 in 7 file(s)
URL    : https://src.fedoraproject.org/rpms/firefox/c/f3df66c6bd081a698045126b7e30d2bbdff7257d?branch=f45

Log:
Merge branch 'main' into f45

---
diff --git a/.gitignore b/.gitignore
index b1427ab..98ce50f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -802,3 +802,5 @@ firefox-3.6.4.source.tar.bz2
 /firefox-156.0.1.source.tar.xz
 /firefox-langpacks-156.0.1-20260923.tar.xz
 /firefox-langpacks-156.0.1-20260929.tar.xz
+/firefox-157.0.source.tar.xz
+/firefox-langpacks-157.0-20261001.tar.xz

diff --git a/D324870.1789116963.diff b/D324870.1789116963.diff
deleted file mode 100644
index 10475b5..0000000
--- a/D324870.1789116963.diff
+++ /dev/null
@@ -1,84 +0,0 @@
-diff --git a/widget/gtk/nsWindowWayland.h b/widget/gtk/nsWindowWayland.h
---- a/widget/gtk/nsWindowWayland.h
-+++ b/widget/gtk/nsWindowWayland.h
-@@ -234,11 +234,11 @@
- 
-   RefPtr<mozilla::WaylandVsyncSource> mWaylandVsyncSource;
-   RefPtr<mozilla::VsyncDispatcher> mWaylandVsyncDispatcher;
-   LayoutDeviceIntPoint mNativeLockedPoint;
-   xdg_toplevel_session_v1* mSessionRestoreToken = nullptr;
--  nsString mSessionID;
-+  nsString mWorkspaceID;
- 
-   gulong mXdgToplevelRealizedID = 0;
- 
-   zwp_locked_pointer_v1* mLockedPointer = nullptr;
-   zwp_relative_pointer_v1* mRelativePointer = nullptr;
-diff --git a/widget/gtk/nsWindowWayland.cpp b/widget/gtk/nsWindowWayland.cpp
---- a/widget/gtk/nsWindowWayland.cpp
-+++ b/widget/gtk/nsWindowWayland.cpp
-@@ -111,11 +111,11 @@
-     LOG("nsWindowWayland::CreateRestoreSession(): failed to get restore "
-         "session, quit.");
-     return false;
-   }
- 
--  NS_ConvertUTF16toUTF8 id(mSessionID);
-+  NS_ConvertUTF16toUTF8 id(mWorkspaceID);
-   if (aRestoreWindow) {
-     mSessionRestoreToken =
-         xdg_session_v1_restore_toplevel(session, toplevel, id.get());
-   } else {
-     mSessionRestoreToken =
-@@ -126,17 +126,17 @@
-       id.get(), aRestoreWindow, mSessionRestoreToken);
-   return !!mSessionRestoreToken;
- }
- 
- void nsWindowWayland::GetWorkspaceID(nsAString& workspaceID) {
--  if (mSessionID.IsEmpty() && !GenerateWorkspaceID(mSessionID)) {
-+  if (mWorkspaceID.IsEmpty() && !GenerateWorkspaceID(mWorkspaceID)) {
-     return;
-   }
--  workspaceID.Assign(mSessionID);
-+  workspaceID.Assign(mWorkspaceID);
- 
-   LOG("nsWindowWayland::GetWorkspaceID() ID %s token %p",
--      NS_ConvertUTF16toUTF8(mSessionID).get(), mSessionRestoreToken);
-+      NS_ConvertUTF16toUTF8(mWorkspaceID).get(), mSessionRestoreToken);
- 
-   if (mSessionRestoreToken) {
-     return;
-   }
- 
-@@ -154,11 +154,11 @@
- };
- #endif
- 
- void nsWindowWayland::RestoreXdgToplevel() {
-   LOG("nsWindowWayland::RestoreXdgToplevel() ID %s GdkWindow [%p]",
--      NS_ConvertUTF16toUTF8(mSessionID).get(), GetToplevelGdkWindow());
-+      NS_ConvertUTF16toUTF8(mWorkspaceID).get(), GetToplevelGdkWindow());
-   if (CreateRestoreSession(/* aRestoreWindow */ true)) {
- #ifdef MOZ_LOGGING
-     if (LOG_ENABLED()) {
-       xdg_toplevel_session_v1_add_listener(mSessionRestoreToken,
-                                            &sSessionListener, this);
-@@ -166,14 +166,14 @@
- #endif
-   }
- }
- 
- void nsWindowWayland::MoveToWorkspace(const nsAString& workspaceIDStr) {
--  mSessionID.Assign(workspaceIDStr);
-+  mWorkspaceID.Assign(workspaceIDStr);
-   LOG("nsWindowWayland::MoveToWorkspace() session ID %s "
-       "mWaitingToSessionRestore %d mNeedsShow %d",
--      NS_ConvertUTF16toUTF8(mSessionID).get(), mWaitingToSessionRestore,
-+      NS_ConvertUTF16toUTF8(mWorkspaceID).get(), mWaitingToSessionRestore,
-       mNeedsShow);
-   if (!mWaitingToSessionRestore) {
-     return;
-   }
-   mWaitingToSessionRestore = false;
-

diff --git a/D324871.1789116972.diff b/D324871.1789116972.diff
deleted file mode 100644
index 054dd2a..0000000
--- a/D324871.1789116972.diff
+++ /dev/null
@@ -1,77 +0,0 @@
-diff --git a/widget/gtk/nsWindowWayland.cpp b/widget/gtk/nsWindowWayland.cpp
---- a/widget/gtk/nsWindowWayland.cpp
-+++ b/widget/gtk/nsWindowWayland.cpp
-@@ -55,30 +55,31 @@
- 
-   Likewise we use GetWorkspaceID() to create/save the xdg_toplevel session
-   for later restore.
- */
- 
--bool GenerateWorkspaceID(nsAString& aName) {
-+// Make the GenerateWorkspaceID() failures fatal as missing workspace ID
-+// leads to broken profile (Bug 2059617).
-+static void GenerateWorkspaceID(nsAString& aName) {
-   nsresult rv;
-   nsCOMPtr<nsIUUIDGenerator> uuidGenerator =
-       do_GetService("@mozilla.org/uuid-generator;1", &rv);
--  if (NS_WARN_IF(NS_FAILED(rv))) {
--    return false;
-+  if (NS_FAILED(rv)) {
-+    MOZ_CRASH("Missing component!");
-   }
- 
-   nsID id;
-   rv = uuidGenerator->GenerateUUIDInPlace(&id);
--  if (NS_WARN_IF(NS_FAILED(rv))) {
--    return false;
-+  if (NS_FAILED(rv)) {
-+    MOZ_CRASH("GenerateUUIDInPlace() failed!");
-   }
- 
-   char chars[NSID_LENGTH];
-   id.ToProvidedString(chars);
- 
-   // NSID_LENGTH counts the null terminator.
-   aName.AssignASCII(chars, NSID_LENGTH - 1);
--  return true;
- }
- 
- static struct xdg_toplevel* GetXdgToplevelFromGdkWindow(GdkWindow* aWindow) {
-   static auto sGdkWaylandWindowGetXdgToplevel =
-       (struct xdg_toplevel * (*)(GdkWindow*))
-@@ -111,10 +112,19 @@
-     LOG("nsWindowWayland::CreateRestoreSession(): failed to get restore "
-         "session, quit.");
-     return false;
-   }
- 
-+  // If we have old profile / workspace ID just replace it by
-+  // UUID to avoid protocol error crash (Bug 2059617).
-+  nsresult ret;
-+  (void)mWorkspaceID.ToInteger(&ret);
-+  if (NS_SUCCEEDED(ret)) {
-+    GenerateWorkspaceID(mWorkspaceID);
-+    aRestoreWindow = false;
-+  }
-+
-   NS_ConvertUTF16toUTF8 id(mWorkspaceID);
-   if (aRestoreWindow) {
-     mSessionRestoreToken =
-         xdg_session_v1_restore_toplevel(session, toplevel, id.get());
-   } else {
-@@ -126,12 +136,12 @@
-       id.get(), aRestoreWindow, mSessionRestoreToken);
-   return !!mSessionRestoreToken;
- }
- 
- void nsWindowWayland::GetWorkspaceID(nsAString& workspaceID) {
--  if (mWorkspaceID.IsEmpty() && !GenerateWorkspaceID(mWorkspaceID)) {
--    return;
-+  if (mWorkspaceID.IsEmpty()) {
-+    GenerateWorkspaceID(mWorkspaceID);
-   }
-   workspaceID.Assign(mWorkspaceID);
- 
-   LOG("nsWindowWayland::GetWorkspaceID() ID %s token %p",
-       NS_ConvertUTF16toUTF8(mWorkspaceID).get(), mSessionRestoreToken);
-

diff --git a/D324876.1789116899.diff b/D324876.1789116899.diff
deleted file mode 100644
index 0f7b148..0000000
--- a/D324876.1789116899.diff
+++ /dev/null
@@ -1,19 +0,0 @@
-diff --git a/widget/gtk/nsAppShell.cpp b/widget/gtk/nsAppShell.cpp
---- a/widget/gtk/nsAppShell.cpp
-+++ b/widget/gtk/nsAppShell.cpp
-@@ -624,10 +624,14 @@
-     }
-     if (!StaticPrefs::widget_wayland_session_management_enabled_AtStartup()) {
-       LOGW("nsAppShell::IsSessionRestoreSupported(): disabled by pref.");
-       return false;
-     }
-+    if (IsGnomeDesktopEnvironment()) {
-+      LOGW("nsAppShell::IsSessionRestoreSupported(): disabled due to Bug 2070815.");
-+      return false;
-+    }
- 
-     GType waylandWindowType = g_type_from_name("GdkWaylandWindow");
-     bool supported =
-         waylandWindowType &&
-         g_signal_lookup("xdg-toplevel-realized", waylandWindowType);
-

diff --git a/firefox.spec b/firefox.spec
index 94b6bca..bbb0582 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -189,14 +189,14 @@ ExcludeArch: i686
 
 Summary:        Mozilla Firefox Web browser
 Name:           firefox
-Version:        156.0.1
-Release:        2%{?dist}
+Version:        157.0
+Release:        1%{?dist}
 URL:            https://www.mozilla.org/firefox/
 # Automatically converted from old format: MPLv1.1 or GPLv2+ or LGPLv2+ - review is highly recommended.
 License:        LicenseRef-Callaway-MPLv1.1 OR GPL-2.0-or-later OR LicenseRef-Callaway-LGPLv2+
 Source0:        https://archive.mozilla.org/pub/firefox/releases/%{version}%{?pre_version}/source/firefox-%{version}%{?pre_version}.source.tar.xz
 %if %{with langpacks}
-Source1:        firefox-langpacks-%{version}%{?pre_version}-20260929.tar.xz
+Source1:        firefox-langpacks-%{version}%{?pre_version}-20261001.tar.xz
 %endif
 Source2:        cbindgen-vendor.tar.xz
 Source3:        dump_syms-vendor.tar.xz
@@ -259,9 +259,6 @@ Patch242:        0026-Add-KDE-integration-to-Firefox.patch
 # Upstream patches
 Patch400:        mozilla-1196777.patch
 Patch401:        mozilla-1667096.patch
-Patch402:        D324870.1789116963.diff
-Patch403:        D324871.1789116972.diff
-Patch404:        D324876.1789116899.diff
 Patch405:        D324877.1789117000.diff
 
 # PGO/LTO patches
@@ -547,9 +544,6 @@ cat %{SOURCE49} | sed -e "s|LIBCLANG_RT_PLACEHOLDER|`pwd`/wasi-sdk-30/build/sysr
 %patch -P400 -p1 -b .1196777
 %patch -P401 -p1 -b .1667096
 
-%patch -P402 -p1 -b .D324870
-%patch -P403 -p1 -b .D324871
-%patch -P404 -p1 -b .D324876
 %patch -P405 -p1 -b .D324877
 
 # PGO patches
@@ -1206,6 +1200,9 @@ fi
 #---------------------------------------------------------------------
 
 %changelog
+* Thu Oct 01 2026 Martin Stransky <stransky@redhat.com> - 157.0-1
+- Update to latest upstream (157.0)
+
 * Tue Sep 29 2026 Martin Stransky <stransky@redhat.com> - 156.0.1-2
 - Fixed langpacks.
 

diff --git a/sources b/sources
index 7cf55c7..788049a 100644
--- a/sources
+++ b/sources
@@ -1,8 +1,8 @@
-SHA512 (firefox-156.0.1.source.tar.xz) = 80a32a79268b672206f5477ca6bfde620cb7419b27aac090e01f06df06990ee0bbd81bb5c4aa78ac1d0edb26b133b1c6fa11cb6522445eccd70c82e719a24d5b
+SHA512 (firefox-157.0.source.tar.xz) = d0c1788102904fe83bfbeecdbdfbd4033743e9bb791ff7063ca4a2a72146c722e0c87fb7531b32be9491f5b1529960364197150c27742e0aea3cefcd13ed0dde
+SHA512 (firefox-langpacks-157.0-20261001.tar.xz) = d3fea23ebc4373364ac9aae27894a16296a849934c1daf476662151671079857ce81bdb9cdd933a07f0b9ceb8fc3fd7e95456a423a1763b7ffb697259269af8f
 SHA512 (mochitest-python.tar.gz) = 089b1593068b76f4572af0086eaccf52a6a1299bfffb58593206d19bf021ae381f2380bbfeb4371586cd53706ff6dde3d240238b2caf19b96c57dfc2f4524e36
 SHA512 (dump_syms-vendor.tar.xz) = ee0ea52aac781b8dd48936a3d13b140bd725a48cc488d23693b68edbe3bcfba5723022dba3c3849d0da1bacf0e37ddd307cfc56304159f91b71495ce8a08b54a
 SHA512 (wasi-sdk-30.tar.gz) = c08b2ddb5d5cf5b48c5baba80c65c485a3049b473d2f2dd2babb402243a7709633c695dfee5f9cbba52fa25ad832f02f3b73d9ba1141c4d44dc30db70292a04d
 SHA512 (wasm-component-ld-vendor.tar.xz) = 356dc09502052198e99745199b8e10d803da9492ce34e41c6ae02cb8674fcc640cd5eafe68a03e4e61c984f7f6c7c8e5cdc3551251556fb3ae4631a340358fc0
 SHA512 (wasm-tools-vendor.tar.xz) = 502be0020d1828b75128e6127eb7bd77835ccebe4e5c179abc38d881bb1d1f8e15d2284796cd83574536c7c919a3e820e0952d323e8a3977e94bdef89cd8266a
 SHA512 (cbindgen-vendor.tar.xz) = dfefc3ec4c7b7d9fe1b024289866c5a919475b8b733e09ef1750d8d295ba78969ba187089dbc151d91779bf56a2d7898797c3d19db6e2d1cb84929750e86617d
-SHA512 (firefox-langpacks-156.0.1-20260929.tar.xz) = b1c085c15832eda4eb0253200d7ffcc7f866b7b84f811b8052c0f28696c1f14a73fc5f2325dd7d85e64e25e94877c008d6bbc449ff8ef4b93a9d2417e85b344f

diff --git a/wasi.patch b/wasi.patch
index c2a955e..833d320 100644
--- a/wasi.patch
+++ b/wasi.patch
@@ -6,7 +6,7 @@ diff -up firefox-134.0.1/toolkit/moz.configure.wasi firefox-134.0.1/toolkit/moz.
          if wasi_sysroot:
              log.info("Using wasi sysroot in %s", wasi_sysroot)
 -            return ["--sysroot=%s" % wasi_sysroot]
-+            return ["--sysroot=%s" % wasi_sysroot, "-nodefaultlibs",  "-lc", "-lwasi-emulated-process-clocks", "-lc++", "-lc++abi", "/raid/CVS/firefox/firefox-156.0.1-build/firefox-156.0.1/wasi-sdk-30/build/sysroot/install/wasi-resource-dir/lib/wasm32-unknown-wasip1/libclang_rt.builtins.a"]
++            return ["--sysroot=%s" % wasi_sysroot, "-nodefaultlibs",  "-lc", "-lwasi-emulated-process-clocks", "-lc++", "-lc++abi", "/raid/CVS/firefox/firefox-157.0-build/firefox-157.0/wasi-sdk-30/build/sysroot/install/wasi-resource-dir/lib/wasm32-unknown-wasip1/libclang_rt.builtins.a"]
          return []
  
      set_config("WASI_SYSROOT", wasi_sysroot)

^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [rpms/firefox] f45: Merge branch 'main' into f45
@ 2026-09-29  7:59 Martin Stransky
  0 siblings, 0 replies; 33+ messages in thread
From: Martin Stransky @ 2026-09-29  7:59 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/firefox
Branch : f45
Commit : 77f31641fd30aae350e7b8aa319a9533876d1ccc
Author : Martin Stransky <stransky@redhat.com>
Date   : 2026-09-29T09:37:59+02:00
Stats  : +7/-3 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/firefox/c/77f31641fd30aae350e7b8aa319a9533876d1ccc?branch=f45

Log:
Merge branch 'main' into f45

---
diff --git a/.gitignore b/.gitignore
index 5d02f87..b1427ab 100644
--- a/.gitignore
+++ b/.gitignore
@@ -801,3 +801,4 @@ firefox-3.6.4.source.tar.bz2
 /firefox-langpacks-156.0-20260910.tar.xz
 /firefox-156.0.1.source.tar.xz
 /firefox-langpacks-156.0.1-20260923.tar.xz
+/firefox-langpacks-156.0.1-20260929.tar.xz

diff --git a/firefox.spec b/firefox.spec
index 4af28c2..94b6bca 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -190,13 +190,13 @@ ExcludeArch: i686
 Summary:        Mozilla Firefox Web browser
 Name:           firefox
 Version:        156.0.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 URL:            https://www.mozilla.org/firefox/
 # Automatically converted from old format: MPLv1.1 or GPLv2+ or LGPLv2+ - review is highly recommended.
 License:        LicenseRef-Callaway-MPLv1.1 OR GPL-2.0-or-later OR LicenseRef-Callaway-LGPLv2+
 Source0:        https://archive.mozilla.org/pub/firefox/releases/%{version}%{?pre_version}/source/firefox-%{version}%{?pre_version}.source.tar.xz
 %if %{with langpacks}
-Source1:        firefox-langpacks-%{version}%{?pre_version}-20260923.tar.xz
+Source1:        firefox-langpacks-%{version}%{?pre_version}-20260929.tar.xz
 %endif
 Source2:        cbindgen-vendor.tar.xz
 Source3:        dump_syms-vendor.tar.xz
@@ -1206,6 +1206,9 @@ fi
 #---------------------------------------------------------------------
 
 %changelog
+* Tue Sep 29 2026 Martin Stransky <stransky@redhat.com> - 156.0.1-2
+- Fixed langpacks.
+
 * Wed Sep 23 2026 Martin Stransky <stransky@redhat.com> - 156.0.1-1
 - Update to latest upstream (156.0.1)
 

diff --git a/sources b/sources
index f16aedf..7cf55c7 100644
--- a/sources
+++ b/sources
@@ -1,8 +1,8 @@
 SHA512 (firefox-156.0.1.source.tar.xz) = 80a32a79268b672206f5477ca6bfde620cb7419b27aac090e01f06df06990ee0bbd81bb5c4aa78ac1d0edb26b133b1c6fa11cb6522445eccd70c82e719a24d5b
-SHA512 (firefox-langpacks-156.0.1-20260923.tar.xz) = 21f49d42033554aee540f83661b8813f20b2863eee50cdb8a185a25c2156c8954df53fb4a68ae10b09067462ab323bdc0b6747a4b0ce4d6126aa0e792d666b38
 SHA512 (mochitest-python.tar.gz) = 089b1593068b76f4572af0086eaccf52a6a1299bfffb58593206d19bf021ae381f2380bbfeb4371586cd53706ff6dde3d240238b2caf19b96c57dfc2f4524e36
 SHA512 (dump_syms-vendor.tar.xz) = ee0ea52aac781b8dd48936a3d13b140bd725a48cc488d23693b68edbe3bcfba5723022dba3c3849d0da1bacf0e37ddd307cfc56304159f91b71495ce8a08b54a
 SHA512 (wasi-sdk-30.tar.gz) = c08b2ddb5d5cf5b48c5baba80c65c485a3049b473d2f2dd2babb402243a7709633c695dfee5f9cbba52fa25ad832f02f3b73d9ba1141c4d44dc30db70292a04d
 SHA512 (wasm-component-ld-vendor.tar.xz) = 356dc09502052198e99745199b8e10d803da9492ce34e41c6ae02cb8674fcc640cd5eafe68a03e4e61c984f7f6c7c8e5cdc3551251556fb3ae4631a340358fc0
 SHA512 (wasm-tools-vendor.tar.xz) = 502be0020d1828b75128e6127eb7bd77835ccebe4e5c179abc38d881bb1d1f8e15d2284796cd83574536c7c919a3e820e0952d323e8a3977e94bdef89cd8266a
 SHA512 (cbindgen-vendor.tar.xz) = dfefc3ec4c7b7d9fe1b024289866c5a919475b8b733e09ef1750d8d295ba78969ba187089dbc151d91779bf56a2d7898797c3d19db6e2d1cb84929750e86617d
+SHA512 (firefox-langpacks-156.0.1-20260929.tar.xz) = b1c085c15832eda4eb0253200d7ffcc7f866b7b84f811b8052c0f28696c1f14a73fc5f2325dd7d85e64e25e94877c008d6bbc449ff8ef4b93a9d2417e85b344f

^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [rpms/firefox] f45: Merge branch 'main' into f45
@ 2026-09-23  8:30 Martin Stransky
  0 siblings, 0 replies; 33+ messages in thread
From: Martin Stransky @ 2026-09-23  8:30 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/firefox
Branch : f45
Commit : c90c44c6430a89dc8f5369e737e1f9e7c6006efd
Author : Martin Stransky <stransky@redhat.com>
Date   : 2026-09-23T10:05:35+02:00
Stats  : +41/-0 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/firefox/c/c90c44c6430a89dc8f5369e737e1f9e7c6006efd?branch=f45

Log:
Merge branch 'main' into f45

---
diff --git a/firefox-update.sh b/firefox-update.sh
index de1c437..b72b1a0 100755
--- a/firefox-update.sh
+++ b/firefox-update.sh
@@ -344,6 +344,44 @@ show_local_changes() {
     return 0
 }
 
+# Prints the diff that is about to be committed. Rebased patch files can make
+# it huge, so anything longer than $DIFF_PREVIEW_LINES is only shown on request.
+DIFF_PREVIEW_LINES=500
+
+show_staged_diff() {
+    if git diff --cached --quiet; then
+        warn "Nothing is staged - there is no diff to review."
+        return 1
+    fi
+
+    printf '\n%sDiff to be committed:%s\n\n' "$C_BOLD$C_YELLOW" "$C_OFF"
+    git --no-pager diff --cached --stat
+
+    local lines
+    lines=$(git --no-pager diff --cached | wc -l)
+    printf '\n'
+    if [ "$lines" -le "$DIFF_PREVIEW_LINES" ]; then
+        git --no-pager diff --cached
+    else
+        info "The diff has $lines lines."
+        if confirm "Show the full diff?"; then
+            git --no-pager diff --cached
+        else
+            info "Skipped; review it later with 'git diff --cached'."
+        fi
+    fi
+
+    # Changes left out of the commit are easy to miss once fedpkg opens $EDITOR.
+    if ! git diff --quiet; then
+        printf '\n'
+        warn "These tracked files are modified but NOT staged:"
+        git --no-pager diff --name-only | sed 's/^/     /' >&2
+    fi
+
+    printf '\n'
+    return 0
+}
+
 # Destructive prompts are never auto-answered by --yes; they always need a
 # deliberate keystroke. Answering 'q' aborts the whole update.
 confirm_destructive() {
@@ -863,6 +901,9 @@ if ! skip_step 13; then
     printf '\n%sStaged changes:%s\n' "$C_BOLD" "$C_OFF"
     git status --short --untracked-files=no
 
+    show_staged_diff
+    confirm "Commit these changes?" y || die "Commit cancelled - the changes stay staged"
+
     run fedpkg commit -c || die "fedpkg commit failed"
     ok "Committed: $(git log -1 --pretty=%s)"
 fi

^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [rpms/firefox] f45: Merge branch 'main' into f45
@ 2026-09-23  8:01 Martin Stransky
  0 siblings, 0 replies; 33+ messages in thread
From: Martin Stransky @ 2026-09-23  8:01 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/firefox
Branch : f45
Commit : e5e8d1236caaac3250aac7557e11aefb6f7e0d79
Author : Martin Stransky <stransky@redhat.com>
Date   : 2026-09-23T10:00:46+02:00
Stats  : +936/-108 in 6 file(s)
URL    : https://src.fedoraproject.org/rpms/firefox/c/e5e8d1236caaac3250aac7557e11aefb6f7e0d79?branch=f45

Log:
Merge branch 'main' into f45

---
diff --git a/.gitignore b/.gitignore
index abaef23..5d02f87 100644
--- a/.gitignore
+++ b/.gitignore
@@ -799,3 +799,5 @@ firefox-3.6.4.source.tar.bz2
 /firefox-155.0.1.source.tar.xz
 /firefox-156.0.source.tar.xz
 /firefox-langpacks-156.0-20260910.tar.xz
+/firefox-156.0.1.source.tar.xz
+/firefox-langpacks-156.0.1-20260923.tar.xz

diff --git a/D326840.1789732703.diff b/D326840.1789732703.diff
deleted file mode 100644
index 499c25d..0000000
--- a/D326840.1789732703.diff
+++ /dev/null
@@ -1,100 +0,0 @@
-diff --git a/widget/gtk/nsWindow.h b/widget/gtk/nsWindow.h
---- a/widget/gtk/nsWindow.h
-+++ b/widget/gtk/nsWindow.h
-@@ -199,12 +199,10 @@
-   bool IsEnabled() const override;
- 
-   nsSizeMode GetSizeMode() const { return mSizeMode; }
-   nsSizeMode SizeMode() override { return mSizeMode; }
-   void SetSizeMode(nsSizeMode aMode) override;
--  void GetWorkspaceID(nsAString& workspaceID) override;
--  void MoveToWorkspace(const nsAString& workspaceID) override;
-   void Enable(bool aState) override;
-   void SetFocus(Raise, mozilla::dom::CallerType aCallerType) override;
-   LayoutDeviceIntRect GetBounds() override;
-   LayoutDeviceIntRect GetScreenBounds() override;
-   DesktopIntRect GetScreenBoundsUnscaled();
-diff --git a/widget/gtk/nsWindow.cpp b/widget/gtk/nsWindow.cpp
---- a/widget/gtk/nsWindow.cpp
-+++ b/widget/gtk/nsWindow.cpp
-@@ -1202,18 +1202,10 @@
- 
-   const auto& desktop = GetDesktopEnvironmentIdentifier();
-   return desktop.EqualsLiteral("bspwm") || desktop.EqualsLiteral("i3");
- }
- 
--void nsWindow::GetWorkspaceID(nsAString& workspaceID) {
--  workspaceID.Truncate();
--}
--
--void nsWindow::MoveToWorkspace(const nsAString& workspaceIDStr) {
--  LOG("  MoveToWorkspace disabled, quit");
--}
--
- void nsWindow::SetUserTimeAndStartupTokenForActivatedWindow() {
-   nsGTKToolkit* toolkit = nsGTKToolkit::GetToolkit();
-   if (!toolkit) {
-     return;
-   }
-diff --git a/widget/gtk/nsWindowWayland.h b/widget/gtk/nsWindowWayland.h
---- a/widget/gtk/nsWindowWayland.h
-+++ b/widget/gtk/nsWindowWayland.h
-@@ -14,12 +14,12 @@
-   nsWindowWayland();
- 
-   nsWindowWayland* AsWayland() override { return this; }
-   nsWindow* GetEffectiveParent() const;
- 
--  void GetWorkspaceID(nsAString& workspaceID) override;
--  void MoveToWorkspace(const nsAString& workspaceIDStr) override;
-+  void GetWorkspaceID(nsAString& aWorkspaceID) override;
-+  void MoveToWorkspace(const nsAString& aWorkspaceIDStr) override;
-   void RestoreXdgToplevel();
- 
-   // Use xdg-activation protocol to transfer focus from gFocusWindow.
-   void TransferFocusTo();
-   void FocusWaylandWindow(const char* aTokenID);
-diff --git a/widget/gtk/nsWindowWayland.cpp b/widget/gtk/nsWindowWayland.cpp
---- a/widget/gtk/nsWindowWayland.cpp
-+++ b/widget/gtk/nsWindowWayland.cpp
-@@ -116,15 +116,19 @@
-   LOG("nsWindowWayland::CreateRestoreSession() ID %s restore %d token %p",
-       mWorkspaceID.get(), aRestoreWindow, mSessionRestoreToken);
-   return !!mSessionRestoreToken;
- }
- 
--void nsWindowWayland::GetWorkspaceID(nsAString& workspaceID) {
-+void nsWindowWayland::GetWorkspaceID(nsAString& aWorkspaceID) {
-+  if (!nsAppShell::IsSessionRestoreSupported()) {
-+    aWorkspaceID.Truncate();
-+    return;
-+  }
-   if (mWorkspaceID.IsEmpty()) {
-     mWorkspaceID = GenerateWorkspaceID();
-   }
--  workspaceID = NS_ConvertUTF8toUTF16(mWorkspaceID);
-+  aWorkspaceID = NS_ConvertUTF8toUTF16(mWorkspaceID);
- 
-   LOG("nsWindowWayland::GetWorkspaceID() ID %s token %p", mWorkspaceID.get(),
-       mSessionRestoreToken);
- 
-   if (mSessionRestoreToken) {
-@@ -156,12 +160,15 @@
-     }
- #endif
-   }
- }
- 
--void nsWindowWayland::MoveToWorkspace(const nsAString& workspaceIDStr) {
--  mWorkspaceID = NS_ConvertUTF16toUTF8(workspaceIDStr);
-+void nsWindowWayland::MoveToWorkspace(const nsAString& aWorkspaceIDStr) {
-+  if (!nsAppShell::IsSessionRestoreSupported()) {
-+    return;
-+  }
-+  mWorkspaceID = NS_ConvertUTF16toUTF8(aWorkspaceIDStr);
-   LOG("nsWindowWayland::MoveToWorkspace() session ID %s "
-       "mWaitingToSessionRestore %d mNeedsShow %d",
-       mWorkspaceID.get(), mWaitingToSessionRestore, mNeedsShow);
-   if (!mWaitingToSessionRestore) {
-     return;
-

diff --git a/firefox-update.sh b/firefox-update.sh
new file mode 100755
index 0000000..de1c437
--- /dev/null
+++ b/firefox-update.sh
@@ -0,0 +1,925 @@
+#!/bin/bash
+#
+# firefox-update.sh - Update the Firefox package in Fedora rawhide to a new
+#                     upstream version.
+#
+# This is a shell implementation of the "firefox-update" skill
+# (see Update-SKILL.md). It performs the mechanical steps of the update;
+# steps which need human judgement (patch rebasing, build failure analysis)
+# stop the script with a description of what has to be done manually.
+#
+# Usage: ./firefox-update.sh <version> [options]
+#
+set -o pipefail
+
+#-----------------------------------------------------------------------------
+# Configuration / defaults
+#-----------------------------------------------------------------------------
+
+FEDORA_BASE_DIR="${FEDORA_BASE_DIR:-$PWD}"
+CHANGELOG_AUTHOR="${CHANGELOG_AUTHOR:-}"
+ARCHIVE_URL="https://archive.mozilla.org/pub/firefox/candidates"
+
+NEW_VERSION=""
+OLD_VERSION=""
+BUILD_VERSION=""
+PACKAGE_DIR=""
+LANGPACK_FILE=""
+NEW_TARBALL=""
+NSS_VERSION=""
+NSPR_VERSION=""
+OLD_NSS_VERSION=""
+OLD_NSPR_VERSION=""
+
+RESUME_FROM=1
+ASSUME_YES=0
+DROP_PATCHES=()
+DROPPED_PATCHES=()
+DO_LOCAL_BUILD=0
+DO_PUSH=0
+DO_ROLLBACK=0
+SPEC_NOTES=()
+
+#-----------------------------------------------------------------------------
+# Output helpers
+#-----------------------------------------------------------------------------
+
+if [ -t 1 ]; then
+    C_BOLD=$'\e[1m'; C_RED=$'\e[31m'; C_GREEN=$'\e[32m'
+    C_YELLOW=$'\e[33m'; C_BLUE=$'\e[34m'; C_OFF=$'\e[0m'
+else
+    C_BOLD=""; C_RED=""; C_GREEN=""; C_YELLOW=""; C_BLUE=""; C_OFF=""
+fi
+
+CURRENT_STEP=0
+
+step() {
+    CURRENT_STEP="$1"; shift
+    printf '\n%s==> Step %s: %s...%s\n' "$C_BOLD$C_BLUE" "$CURRENT_STEP" "$*" "$C_OFF"
+}
+
+ok()   { printf '%s✅ %s%s\n' "$C_GREEN" "$*" "$C_OFF"; }
+info() { printf '   %s\n' "$*"; }
+warn() { printf '%s⚠️  %s%s\n' "$C_YELLOW" "$*" "$C_OFF" >&2; }
+
+die() {
+    printf '\n%s❌ ERROR: %s%s\n' "$C_RED" "$*" "$C_OFF" >&2
+    if [ "$CURRENT_STEP" -gt 0 ]; then
+        printf '%sFix the problem and resume with: %s %s --resume %s%s\n' \
+            "$C_YELLOW" "$0" "$NEW_VERSION" "$CURRENT_STEP" "$C_OFF" >&2
+    fi
+    exit 1
+}
+
+run() {
+    printf '%s$ %s%s\n' "$C_BOLD" "$*" "$C_OFF"
+    "$@"
+}
+
+# confirm "question" [default_yes]
+confirm() {
+    local question="$1" default="${2:-n}" answer
+    if [ "$ASSUME_YES" -eq 1 ]; then
+        info "$question -> yes (--yes)"
+        return 0
+    fi
+    if [ ! -t 0 ]; then
+        info "$question -> $default (not a terminal)"
+        [ "$default" = "y" ]
+        return
+    fi
+    while true; do
+        if [ "$default" = "y" ]; then
+            read -r -p "$C_BOLD$question [Y/n] $C_OFF" answer
+            answer="${answer:-y}"
+        else
+            read -r -p "$C_BOLD$question [y/N] $C_OFF" answer
+            answer="${answer:-n}"
+        fi
+        case "${answer,,}" in
+            y|yes) return 0 ;;
+            n|no)  return 1 ;;
+            *)     echo "Please answer yes or no." ;;
+        esac
+    done
+}
+
+ask() {
+    local question="$1" answer
+    [ -t 0 ] || die "Need an answer for: $question (run interactively or pass it as an option)"
+    read -r -p "$C_BOLD$question $C_OFF" answer
+    printf '%s' "$answer"
+}
+
+# Steps below RESUME_FROM are skipped.
+skip_step() {
+    [ "$1" -lt "$RESUME_FROM" ]
+}
+
+#-----------------------------------------------------------------------------
+# Usage
+#-----------------------------------------------------------------------------
+
+usage() {
+    cat <<EOF
+Usage: $(basename "$0") <version> [options]
+
+Updates the Firefox package in Fedora rawhide to <version> (e.g. 157.0).
+
+Options:
+  --resume N          Skip to step N (1-14), reading current on-disk state
+  --build buildN      Use this Mozilla candidate build instead of the latest
+  --dir PATH          Package directory (default: \$PWD if it holds firefox.spec,
+                      otherwise \$FEDORA_BASE_DIR/firefox)
+  -d, --drop-patch P  Drop a patch that is no longer needed: removes its
+                      PatchNNN: and %patch -PNNN lines from firefox.spec and
+                      deletes the file from git. P is the patch file name or
+                      its number. May be given more than once.
+  --local             Run 'fedpkg local' (step 12); takes 1-2 hours
+  --push              Push to Fedora dist-git when finished (step 14)
+  --yes               Answer yes to all questions (non-interactive)
+  --rollback          Discard the in-progress update and clean up, then exit
+  -h, --help          Show this help
+
+Environment:
+  FEDORA_BASE_DIR     Base directory holding the dist-git clones
+  CHANGELOG_AUTHOR    "Name <email>" used for the %changelog entry
+
+Steps:
+   1 Get version info          8 Upload new sources
+   2 Set up package directory  9 Check and rebase patches (manual)
+   3 Pull latest rawhide      10 Verify patches with fedpkg prep
+   4 Bump version in spec     11 Detect NSS/NSPR versions from the tarball
+   5 Get Mozilla build number 12 Local build (optional)
+   6 Download source tarball  13 Commit the update
+   7 Download langpacks       14 Summary and push
+
+The NSS and NSPR requirements are always taken from the Firefox sources in
+step 11 and written to firefox.spec - the script never asks for them.
+EOF
+}
+
+#-----------------------------------------------------------------------------
+# Argument parsing
+#-----------------------------------------------------------------------------
+
+while [ $# -gt 0 ]; do
+    case "$1" in
+        --resume)   RESUME_FROM="$2"; shift 2 ;;
+        --resume=*) RESUME_FROM="${1#*=}"; shift ;;
+        --build)    BUILD_VERSION="$2"; shift 2 ;;
+        --build=*)  BUILD_VERSION="${1#*=}"; shift ;;
+        --dir)      PACKAGE_DIR="$2"; shift 2 ;;
+        --dir=*)    PACKAGE_DIR="${1#*=}"; shift ;;
+        -d|--drop-patch) DROP_PATCHES+=("$2"); shift 2 ;;
+        -d=*)            DROP_PATCHES+=("${1#*=}"); shift ;;
+        --drop-patch=*)  DROP_PATCHES+=("${1#*=}"); shift ;;
+        --local)    DO_LOCAL_BUILD=1; shift ;;
+        --push)     DO_PUSH=1; shift ;;
+        --yes|-y)   ASSUME_YES=1; shift ;;
+        --rollback) DO_ROLLBACK=1; shift ;;
+        -h|--help)  usage; exit 0 ;;
+        -*)         usage >&2; die "Unknown option: $1" ;;
+        *)
+            [ -z "$NEW_VERSION" ] || die "Unexpected argument: $1"
+            NEW_VERSION="$1"; shift ;;
+    esac
+done
+
+case "$RESUME_FROM" in
+    ''|*[!0-9]*) die "--resume needs a step number (1-14)" ;;
+esac
+[ "$RESUME_FROM" -ge 1 ] && [ "$RESUME_FROM" -le 14 ] || die "--resume must be 1-14"
+
+#-----------------------------------------------------------------------------
+# Preflight
+#-----------------------------------------------------------------------------
+
+for tool in fedpkg rpmdev-bumpspec git wget curl python3 rpmspec; do
+    command -v "$tool" >/dev/null 2>&1 || die "Required tool not found: $tool"
+done
+
+# Ensure a usable Fedora Kerberos ticket, otherwise fedpkg calls fail later on.
+check_kerberos() {
+    local principal
+    principal=$(klist -l 2>/dev/null | awk '/FEDORAPROJECT\.ORG/ {print $1; exit}')
+    if [ -n "$principal" ] && klist -s 2>/dev/null; then
+        info "Kerberos principal: $principal"
+        return 0
+    fi
+    if [ -n "$principal" ]; then
+        die "Kerberos ticket for $principal is missing or expired. Run: kinit $principal"
+    fi
+    die "No FEDORAPROJECT.ORG Kerberos ticket found. Run: kinit <username>@FEDORAPROJECT.ORG"
+}
+
+spec_get() {  # spec_get <tag-or-macro-regexp> -- first capture of the value
+    grep -m1 -oP "$1" firefox.spec 2>/dev/null
+}
+
+# drop_patch <patch-file-name | patch-number>
+# Removes the PatchNNN: declaration and the matching '%patch -PNNN' line from
+# firefox.spec, then deletes the patch file from git.
+drop_patch() {
+    local want="$1" num file
+    if [[ "$want" =~ ^[0-9]+$ ]]; then
+        num="$want"
+        file=$(grep -m1 -oP "^Patch${num}:[[:space:]]*\K\S+" firefox.spec)
+        [ -n "$file" ] || die "No 'Patch${num}:' line in firefox.spec"
+    else
+        file="$want"
+        num=$(awk -v f="$file" \
+            '$1 ~ /^Patch[0-9]*:$/ && $2 == f { sub(/^Patch/,"",$1); sub(/:$/,"",$1); print $1; exit }' \
+            firefox.spec)
+        [ -n "$num" ] || die "Patch '$file' is not referenced by firefox.spec"
+    fi
+
+    info "Dropping Patch${num}: $file"
+
+    sed -i -E "/^Patch${num}:[[:space:]]/d" firefox.spec \
+        || die "Cannot remove the Patch${num}: line"
+    grep -qE "^Patch${num}:[[:space:]]" firefox.spec \
+        && die "Patch${num}: is still in firefox.spec"
+
+    # '-P44' must not match '-P440', hence the trailing boundary.
+    if grep -qE "^%patch[[:space:]]+-P${num}([[:space:]]|$)" firefox.spec; then
+        sed -i -E "/^%patch[[:space:]]+-P${num}([[:space:]]|$)/d" firefox.spec \
+            || die "Cannot remove the '%patch -P${num}' line"
+        grep -qE "^%patch[[:space:]]+-P${num}([[:space:]]|$)" firefox.spec \
+            && die "'%patch -P${num}' is still in firefox.spec"
+    else
+        warn "No '%patch -P${num}' line found - only the declaration was removed."
+    fi
+
+    if git ls-files --error-unmatch "$file" >/dev/null 2>&1; then
+        run git rm -f -- "$file" || die "git rm of $file failed"
+    elif [ -f "$file" ]; then
+        info "$file is not tracked by git, removing it from disk"
+        rm -f -- "$file"
+    else
+        warn "$file does not exist on disk - only firefox.spec was changed."
+    fi
+
+    DROPPED_PATCHES+=("$file (Patch${num})")
+    SPEC_NOTES+=("Dropped Patch${num}: $file")
+}
+
+#-----------------------------------------------------------------------------
+# Step 1: Get version info
+#-----------------------------------------------------------------------------
+
+# --drop-patch without a version only edits the spec and git - no update is
+# started, so no version is needed or asked for.
+DROP_ONLY=0
+if [ -z "$NEW_VERSION" ] && [ "${#DROP_PATCHES[@]}" -gt 0 ]; then
+    DROP_ONLY=1
+fi
+
+if [ -z "$NEW_VERSION" ] && [ "$DROP_ONLY" -eq 0 ]; then
+    NEW_VERSION=$(ask "What Firefox version would you like to update to? (e.g. 157.0)")
+    [ -n "$NEW_VERSION" ] || die "No version given"
+fi
+
+if [ -z "$PACKAGE_DIR" ]; then
+    if [ -f "$PWD/firefox.spec" ]; then
+        PACKAGE_DIR="$PWD"
+    else
+        PACKAGE_DIR="$FEDORA_BASE_DIR/firefox"
+    fi
+fi
+
+if [ "$DROP_ONLY" -eq 0 ]; then
+    step 1 "Preparing update to Firefox $NEW_VERSION"
+    info "Package directory: $PACKAGE_DIR"
+    ok "Target version: $NEW_VERSION"
+fi
+
+#-----------------------------------------------------------------------------
+# Step 2: Set up the package directory
+#-----------------------------------------------------------------------------
+
+if [ ! -d "$PACKAGE_DIR" ]; then
+    step 2 "Cloning the firefox package"
+    check_kerberos
+    cd "$FEDORA_BASE_DIR" || die "Cannot enter $FEDORA_BASE_DIR"
+    run fedpkg clone firefox || die "fedpkg clone firefox failed"
+    ok "Cloned firefox into $PACKAGE_DIR"
+fi
+
+cd "$PACKAGE_DIR" || die "Cannot enter $PACKAGE_DIR"
+[ -f firefox.spec ] || die "$PACKAGE_DIR does not contain firefox.spec"
+
+#-----------------------------------------------------------------------------
+# Drop-only mode: -d/--drop-patch given without a version
+#-----------------------------------------------------------------------------
+
+if [ "$DROP_ONLY" -eq 1 ]; then
+    printf '\n%s==> Dropping %d patch(es) from firefox.spec in %s%s\n' \
+        "$C_BOLD$C_BLUE" "${#DROP_PATCHES[@]}" "$PACKAGE_DIR" "$C_OFF"
+    for p in "${DROP_PATCHES[@]}"; do
+        drop_patch "$p"
+    done
+    printf '\n  Dropped patches:\n'
+    printf '    - %s\n' "${DROPPED_PATCHES[@]}"
+    printf '\n'
+    ok "firefox.spec updated and the patch files removed from git."
+    info "Review with 'git diff' and commit when you are ready."
+    exit 0
+fi
+
+#-----------------------------------------------------------------------------
+# Report the state of the working tree before touching anything
+#-----------------------------------------------------------------------------
+
+# Prints the local changes as a diff; returns 0 when there are any.
+# Untracked files are ignored on purpose - a normal run leaves downloaded
+# tarballs lying around and those are not interesting here.
+show_local_changes() {
+    git diff --quiet HEAD 2>/dev/null && return 1
+    printf '%sLocal changes in %s (branch %s):%s\n\n' \
+        "$C_BOLD$C_YELLOW" "$PACKAGE_DIR" "$(git branch --show-current)" "$C_OFF"
+    git --no-pager diff HEAD
+    printf '\n'
+    git --no-pager diff --stat HEAD | tail -1
+    return 0
+}
+
+# Destructive prompts are never auto-answered by --yes; they always need a
+# deliberate keystroke. Answering 'q' aborts the whole update.
+confirm_destructive() {
+    local question="$1" answer
+    if [ ! -t 0 ]; then
+        info "$question -> no (not a terminal)"
+        return 1
+    fi
+    while true; do
+        read -r -p "$C_BOLD$C_RED$question [y]es / [N]o / [q]uit $C_OFF" answer
+        case "${answer,,}" in
+            y|yes)  return 0 ;;
+            n|no|"") return 1 ;;
+            q|quit)
+                printf '%sAborted - the working tree is left untouched.%s\n' \
+                    "$C_YELLOW" "$C_OFF"
+                exit 0 ;;
+            *) echo "Please answer y, n or q." ;;
+        esac
+    done
+}
+
+# Offer to throw the local changes away before starting the update.
+offer_reset_local_changes() {
+    if [ "$RESUME_FROM" -gt 1 ]; then
+        warn "Resuming at step $RESUME_FROM - the changes above are probably your"
+        warn "in-progress update. Discarding them restarts the update from scratch."
+    fi
+
+    printf '\n'
+    if confirm_destructive "Discard the local changes with 'git reset --hard HEAD'?"; then
+        run git reset --hard HEAD || die "git reset --hard failed"
+        ok "Local changes discarded."
+    else
+        info "Keeping the local changes."
+    fi
+}
+
+printf '\n'
+if show_local_changes; then
+    HAVE_LOCAL_CHANGES=1
+    [ "$DO_ROLLBACK" -eq 1 ] || offer_reset_local_changes
+    # Re-check: the offer above may have reset the tree.
+    git diff --quiet HEAD 2>/dev/null && HAVE_LOCAL_CHANGES=0
+else
+    HAVE_LOCAL_CHANGES=0
+    ok "Working tree is clean."
+fi
+
+#-----------------------------------------------------------------------------
+# Rollback mode
+#-----------------------------------------------------------------------------
+
+if [ "$DO_ROLLBACK" -eq 1 ]; then
+    printf '\n%sRollback: discarding the in-progress update listed above%s\n' \
+        "$C_BOLD$C_YELLOW" "$C_OFF"
+    confirm "Reset the working tree to origin/rawhide and remove downloaded tarballs?" \
+        || die "Rollback cancelled"
+    run git checkout rawhide || die "git checkout rawhide failed"
+    run git reset --hard origin/rawhide || die "git reset failed"
+    rm -rf "firefox-$NEW_VERSION/"
+    rm -f  "firefox-$NEW_VERSION.source.tar.xz"
+    rm -f  firefox-langpacks-"$NEW_VERSION"-*.tar.xz
+    ok "Rollback complete - the working tree is clean."
+    exit 0
+fi
+
+#-----------------------------------------------------------------------------
+# Step 3: Pull latest rawhide
+#-----------------------------------------------------------------------------
+
+if ! skip_step 3; then
+    step 3 "Pulling latest rawhide"
+    if [ "$HAVE_LOCAL_CHANGES" -eq 1 ]; then
+        warn "The working tree has uncommitted changes (shown above)"
+        confirm "Continue anyway?" || die "Aborted - clean the working tree first"
+    fi
+    if git show-ref --verify --quiet refs/heads/rawhide; then
+        run git checkout rawhide || die "git checkout rawhide failed"
+    else
+        run git checkout -b rawhide origin/rawhide || die "Cannot create the rawhide branch"
+    fi
+    run git pull || die "git pull failed"
+    ok "Working tree is up to date on rawhide."
+fi
+
+#-----------------------------------------------------------------------------
+# Step 4: Bump the version in the SPEC file
+#-----------------------------------------------------------------------------
+
+OLD_NSS_VERSION=$(spec_get '^%global\s+nss_version\s+\K\S+')
+OLD_NSPR_VERSION=$(spec_get '^%global\s+nspr_version\s+\K\S+')
+
+if ! skip_step 4; then
+    step 4 "Bumping the version in firefox.spec"
+    OLD_VERSION=$(spec_get '^Version:\s*\K\S+')
+    [ -n "$OLD_VERSION" ] || die "Cannot read Version: from firefox.spec"
+    info "Current version: $OLD_VERSION"
+
+    DO_BUMP=1
+    if [ "$OLD_VERSION" = "$NEW_VERSION" ]; then
+        warn "firefox.spec is already at $NEW_VERSION"
+        if confirm "Bump it again (adds another changelog entry)?"; then
+            DO_BUMP=1
+        else
+            DO_BUMP=0
+            info "Keeping the spec version as is."
+        fi
+    fi
+
+    if [ "$DO_BUMP" -eq 1 ]; then
+        bumpspec_args=(--new "$NEW_VERSION" --comment "Update to latest upstream ($NEW_VERSION)")
+        [ -n "$CHANGELOG_AUTHOR" ] && bumpspec_args+=(--userstring "$CHANGELOG_AUTHOR")
+        run rpmdev-bumpspec "${bumpspec_args[@]}" firefox.spec \
+            || die "rpmdev-bumpspec failed"
+    fi
+
+    got_version=$(spec_get '^Version:\s*\K\S+')
+    [ "$got_version" = "$NEW_VERSION" ] \
+        || die "Version: is $got_version, expected $NEW_VERSION - fix firefox.spec manually"
+
+    got_release=$(spec_get '^Release:\s*\K\S+')
+    if [[ "$got_release" != 1* ]]; then
+        info "Release is '$got_release', resetting to 1%{?pre_tag}%{?dist}"
+        sed -i -E 's|^Release:([[:space:]]*).*|Release:\11%{?pre_tag}%{?dist}|' firefox.spec \
+            || die "Cannot reset Release:"
+    fi
+    ok "firefox.spec is at $NEW_VERSION, release $(spec_get '^Release:\s*\K\S+')."
+fi
+
+# Recover OLD_VERSION when resuming past step 4.
+if [ -z "$OLD_VERSION" ]; then
+    OLD_VERSION=$(git show HEAD:firefox.spec 2>/dev/null | grep -m1 -oP '^Version:\s*\K\S+')
+    OLD_VERSION="${OLD_VERSION:-unknown}"
+fi
+
+#-----------------------------------------------------------------------------
+# Step 5: Get the Mozilla build version
+#-----------------------------------------------------------------------------
+
+CANDIDATES_URL="$ARCHIVE_URL/$NEW_VERSION-candidates"
+
+if [ -z "$BUILD_VERSION" ]; then
+    step 5 "Looking up the latest Mozilla candidate build"
+    listing=$(curl -fsSL "$CANDIDATES_URL/") \
+        || die "Cannot list $CANDIDATES_URL/ - is $NEW_VERSION released yet?"
+    BUILD_VERSION=$(grep -oE 'build[0-9]+/' <<<"$listing" | tr -d '/' | sort -u -V | tail -1)
+    [ -n "$BUILD_VERSION" ] || die "No buildN directory found in $CANDIDATES_URL/"
+    ok "Latest candidate build: $BUILD_VERSION"
+else
+    info "Using candidate build: $BUILD_VERSION (from --build)"
+fi
+
+BUILD_URL="$CANDIDATES_URL/$BUILD_VERSION"
+# The source tarball and its .asc live in the source/ subdirectory, the
+# langpack XPIs do not.
+SOURCE_URL="$BUILD_URL/source"
+
+#-----------------------------------------------------------------------------
+# Step 6: Download the Firefox source tarball
+#-----------------------------------------------------------------------------
+
+NEW_TARBALL="firefox-$NEW_VERSION.source.tar.xz"
+
+# Checks $NEW_TARBALL against the detached signature $NEW_TARBALL.asc.
+#   0 = good signature, 1 = bad signature, 2 = cannot tell (no gpg / no key)
+verify_tarball_signature() {
+    command -v gpg >/dev/null 2>&1 || return 2
+    [ -s "$NEW_TARBALL.asc" ] || return 2
+    local out key
+    out=$(gpg --verify "$NEW_TARBALL.asc" "$NEW_TARBALL" 2>&1)
+    if grep -q '^gpg: Good signature' <<<"$out"; then
+        return 0
+    fi
+    if grep -qE "No public key|Can't check signature" <<<"$out"; then
+        # Mozilla rotates its signing key, so take the key id from gpg itself.
+        key=$(grep -oP 'using \S+ key \K[0-9A-F]+' <<<"$out" | head -1)
+        warn "Mozilla signing key ${key:-(unknown)} is not in the keyring."
+        warn "Import it with: gpg --recv-keys ${key:-<key-id>}"
+        return 2
+    fi
+    return 1
+}
+
+# Fallback when the signature cannot be checked: compare the local size with
+# the Content-Length the archive reports.
+matches_remote_size() {
+    local remote local_size
+    remote=$(curl -sfIL "$SOURCE_URL/$NEW_TARBALL" \
+        | grep -i '^content-length:' | tail -1 | tr -dc '0-9')
+    [ -n "$remote" ] || return 2
+    local_size=$(stat -c%s "$NEW_TARBALL" 2>/dev/null)
+    [ "$remote" = "$local_size" ]
+}
+
+if ! skip_step 6; then
+    step 6 "Downloading $NEW_TARBALL"
+
+    # The detached signature is tiny - fetch it first so an already present
+    # tarball can be checked without downloading the ~600 MB file again.
+    rm -f "$NEW_TARBALL.asc"
+    wget -q -O "$NEW_TARBALL.asc" "$SOURCE_URL/$NEW_TARBALL.asc" \
+        || warn "No detached signature at $SOURCE_URL/$NEW_TARBALL.asc"
+
+    NEED_DOWNLOAD=1
+    if [ -f "$NEW_TARBALL" ]; then
+        info "$NEW_TARBALL is already here, checking it against $NEW_TARBALL.asc"
+        verify_tarball_signature
+        case $? in
+            0)  ok "Signature is good - reusing the local $NEW_TARBALL."
+                NEED_DOWNLOAD=0 ;;
+            1)  warn "Signature does NOT match - the local tarball is stale or corrupt."
+                rm -f "$NEW_TARBALL" ;;
+            2)  if matches_remote_size; then
+                    warn "Falling back to a size check: local size matches the archive."
+                    ok "Reusing the local $NEW_TARBALL."
+                    NEED_DOWNLOAD=0
+                else
+                    info "Size differs from the archive (or is unknown) - downloading again."
+                    rm -f "$NEW_TARBALL"
+                fi ;;
+        esac
+        if [ "$NEED_DOWNLOAD" -eq 1 ] && [ -f sources ] \
+           && grep -q "($NEW_TARBALL)" sources; then
+            info "Removing the stale $NEW_TARBALL entry from sources"
+            sed -i "\|($NEW_TARBALL)|d" sources
+        fi
+    fi
+
+    if [ "$NEED_DOWNLOAD" -eq 1 ]; then
+        run wget --progress=dot:giga -O "$NEW_TARBALL" "$SOURCE_URL/$NEW_TARBALL" \
+            || { rm -f "$NEW_TARBALL"; die "Download of $SOURCE_URL/$NEW_TARBALL failed"; }
+        ok "Downloaded $NEW_TARBALL ($(du -h "$NEW_TARBALL" | cut -f1))."
+        verify_tarball_signature
+        case $? in
+            0) ok "PGP signature verified." ;;
+            1) rm -f "$NEW_TARBALL" "$NEW_TARBALL.asc"
+               die "Downloaded $NEW_TARBALL does not match its PGP signature" ;;
+        esac
+    fi
+
+    rm -f "$NEW_TARBALL.asc"
+fi
+
+[ -f "$NEW_TARBALL" ] || die "$NEW_TARBALL is missing - re-run from step 6"
+
+#-----------------------------------------------------------------------------
+# Step 7: Download langpacks
+#-----------------------------------------------------------------------------
+
+if ! skip_step 7; then
+    step 7 "Downloading langpacks"
+
+    # The langpack tarball is named firefox-langpacks-<version>-<YYYYMMDD>.tar.xz.
+    # If one for this version is already here, reuse it instead of downloading
+    # every XPI again; the newest generation date wins.
+    LANGPACK_FILE=$(ls -1 firefox-langpacks-"$NEW_VERSION"-*.tar.xz 2>/dev/null \
+        | sort -V | tail -1)
+
+    if [ -n "$LANGPACK_FILE" ]; then
+        langpack_date="${LANGPACK_FILE##*-}"; langpack_date="${langpack_date%.tar.xz}"
+        info "Langpack tarball for $NEW_VERSION already present, generated $langpack_date"
+        info "Reusing $LANGPACK_FILE - delete it to force a fresh download."
+    else
+        [ -x ./moz-grab-langpacks ] || die "./moz-grab-langpacks not found or not executable"
+        run ./moz-grab-langpacks -a firefox "$NEW_VERSION" \
+            -u "$BUILD_URL/linux-x86_64/xpi/" \
+            || die "moz-grab-langpacks failed"
+
+        LANGPACK_FILE=$(ls -1 firefox-langpacks-"$NEW_VERSION"-*.tar.xz 2>/dev/null \
+            | sort -V | tail -1)
+        [ -n "$LANGPACK_FILE" ] || die "No firefox-langpacks-$NEW_VERSION-*.tar.xz was created"
+        info "Langpack tarball: $LANGPACK_FILE"
+    fi
+
+    # Source1 keeps the %{version}%{?pre_version} macros, only the date changes.
+    old_source1=$(spec_get '^Source1:\s*\K\S+')
+    langpack_date="${LANGPACK_FILE##*-}"; langpack_date="${langpack_date%.tar.xz}"
+    new_source1="firefox-langpacks-%{version}%{?pre_version}-$langpack_date.tar.xz"
+    if [ "$old_source1" != "$new_source1" ]; then
+        sed -i -E "s|^Source1:([[:space:]]*).*|Source1:\1$new_source1|" firefox.spec \
+            || die "Cannot update Source1 in firefox.spec"
+        info "Source1: $old_source1 -> $new_source1"
+    fi
+    ok "Using $LANGPACK_FILE; Source1 is up to date."
+fi
+
+if [ -z "$LANGPACK_FILE" ]; then
+    LANGPACK_FILE=$(ls -1 firefox-langpacks-"$NEW_VERSION"-*.tar.xz 2>/dev/null \
+        | sort -V | tail -1)
+fi
+[ -n "$LANGPACK_FILE" ] || die "No langpack tarball for $NEW_VERSION - re-run from step 7"
+
+#-----------------------------------------------------------------------------
+# Step 8: Upload new sources
+#-----------------------------------------------------------------------------
+
+if ! skip_step 8; then
+    step 8 "Uploading new sources to the lookaside cache"
+    check_kerberos
+    [ -f sources ] || die "No sources file in $PACKAGE_DIR"
+
+    # Everything except the Firefox source/langpack tarballs is kept as is.
+    mapfile -t KEPT_SOURCES < <(
+        sed -nE 's|^[A-Za-z0-9]+ \(([^)]+)\).*|\1|p' sources \
+            | grep -vE '^firefox-.*\.source\.tar\.xz$' \
+            | grep -vE '^firefox-langpacks-.*\.tar\.xz$'
+    )
+    info "Kept sources:    ${KEPT_SOURCES[*]:-(none)}"
+    info "Uploaded anew:   $NEW_TARBALL $LANGPACK_FILE"
+
+    # Trim the sources file first so that 'fedpkg sources' does not re-download
+    # the previous (huge) Firefox tarball, then fetch whatever is still missing.
+    cp sources sources.bak || die "Cannot back up the sources file"
+    trap 'if [ -f "$PACKAGE_DIR/sources.bak" ]; then mv -f "$PACKAGE_DIR/sources.bak" "$PACKAGE_DIR/sources"; fi' EXIT
+    grep -vE '\(firefox-.*\.source\.tar\.xz\)|\(firefox-langpacks-.*\.tar\.xz\)' \
+        sources.bak > sources
+    run fedpkg sources || die "fedpkg sources failed (Kerberos ticket expired?)"
+
+    for f in "${KEPT_SOURCES[@]}"; do
+        [ -f "$f" ] || die "Kept source $f is missing locally - cannot re-upload it"
+    done
+
+    run fedpkg new-sources "$NEW_TARBALL" "$LANGPACK_FILE" "${KEPT_SOURCES[@]}" \
+        || die "fedpkg new-sources failed"
+
+    trap - EXIT
+    rm -f sources.bak
+    ok "Uploaded $NEW_TARBALL and $LANGPACK_FILE; sources file refreshed."
+fi
+
+#-----------------------------------------------------------------------------
+# Step 9: Check and rebase patches
+#-----------------------------------------------------------------------------
+
+if [ "${#DROP_PATCHES[@]}" -gt 0 ] && skip_step 9; then
+    warn "--drop-patch ignored: resuming at step $RESUME_FROM, past the patch step."
+fi
+
+if ! skip_step 9; then
+    step 9 "Checking patches against the new sources"
+
+    for p in "${DROP_PATCHES[@]}"; do
+        drop_patch "$p"
+    done
+    [ "${#DROPPED_PATCHES[@]}" -gt 0 ] \
+        && ok "Dropped ${#DROPPED_PATCHES[@]} patch(es)."
+
+    mapfile -t SPEC_PATCHES < <(grep -oP '^Patch[0-9]*:\s*\K\S+' firefox.spec)
+    info "${#SPEC_PATCHES[@]} patches referenced by firefox.spec"
+    for p in "${SPEC_PATCHES[@]}"; do
+        case "$p" in
+            http*|%*) continue ;;
+        esac
+        [ -f "$p" ] || warn "Patch file referenced but missing: $p"
+    done
+    info "Patch application itself is verified by 'fedpkg prep' in the next step."
+    ok "Patch list checked."
+fi
+
+#-----------------------------------------------------------------------------
+# Step 10: Verify patches apply with fedpkg prep
+#-----------------------------------------------------------------------------
+
+if ! skip_step 10; then
+    step 10 "Verifying patches with fedpkg prep"
+    PREP_LOG=$(mktemp -t firefox-prep-XXXXXX.log)
+    if run fedpkg prep 2>&1 | tee "$PREP_LOG"; then
+        PREP_OK=1
+    else
+        PREP_OK=0
+    fi
+    if [ "$PREP_OK" -eq 0 ]; then
+        printf '\n%sfedpkg prep failed. Failing patch(es):%s\n' "$C_RED" "$C_OFF" >&2
+        grep -iE 'patch .*(FAILED|does not apply)|Hunk #.* FAILED|error:' "$PREP_LOG" \
+            | tail -20 >&2
+        printf '%sFull log: %s%s\n' "$C_YELLOW" "$PREP_LOG" "$C_OFF" >&2
+        die "Rebase or drop the failing patch, then re-run: $0 $NEW_VERSION --resume 10"
+    fi
+    rm -f "$PREP_LOG"
+    # The unpacked tree is kept for step 11 (NSS/NSPR version detection).
+    ok "All patches apply cleanly."
+    BUILD_STATUS="PASSED (fedpkg prep)"
+fi
+BUILD_STATUS="${BUILD_STATUS:-Not tested}"
+
+#-----------------------------------------------------------------------------
+# Step 11: Detect the NSS/NSPR versions shipped in the tarball
+#
+# Firefox bundles both sources; the versions are always taken from there and
+# written to the spec, never asked for:
+#   security/nss/lib/nss/nss.h    #define NSS_VERSION "3.127" _NSS_CUSTOMIZED
+#   nsprpub/pr/include/prinit.h   #define PR_VERSION  "4.40"
+#-----------------------------------------------------------------------------
+
+DETECTED_NSS_VERSION=""
+DETECTED_NSPR_VERSION=""
+
+# read_bundled_version <relative-header> <define-name>
+# Reads from the unpacked tree, falling back to the tarball when resuming.
+read_bundled_version() {
+    local header="$1" define="$2" path="firefox-$NEW_VERSION/$1"
+    if [ -f "$path" ]; then
+        grep -m1 -oP "^#define\s+$define\s+\"\K[^\"]+" "$path"
+    else
+        tar -xf "$NEW_TARBALL" --wildcards -O "*/$header" 2>/dev/null \
+            | grep -m1 -oP "^#define\s+$define\s+\"\K[^\"]+"
+    fi
+}
+
+# write_spec_version <macro> <old> <new> <label>
+write_spec_version() {
+    local macro="$1" old="$2" new="$3" label="$4"
+    if [ "$old" = "$new" ]; then
+        info "$macro: $new (unchanged)"
+        return 0
+    fi
+    sed -i -E "s|^%global([[:space:]]+)$macro[[:space:]]+.*|%global\1$macro $new|" \
+        firefox.spec || die "Cannot update $macro in firefox.spec"
+    grep -qE "^%global[[:space:]]+$macro[[:space:]]+$(sed 's/[.[\*^$]/\\&/g' <<<"$new")\$" \
+        firefox.spec || die "$macro was not updated in firefox.spec"
+    SPEC_NOTES+=("$label requirement $old -> $new (detected in the tarball)")
+    info "$macro: $old -> $new"
+}
+
+if ! skip_step 11; then
+    step 11 "Detecting the NSS/NSPR versions from the Firefox sources"
+
+    if [ ! -d "firefox-$NEW_VERSION" ]; then
+        info "No unpacked tree - reading the headers from $NEW_TARBALL (this takes a while)"
+    fi
+
+    DETECTED_NSS_VERSION=$(read_bundled_version \
+        "security/nss/lib/nss/nss.h" "NSS_VERSION")
+    [ -n "$DETECTED_NSS_VERSION" ] \
+        || die "Cannot read NSS_VERSION from security/nss/lib/nss/nss.h"
+
+    DETECTED_NSPR_VERSION=$(read_bundled_version \
+        "nsprpub/pr/include/prinit.h" "PR_VERSION")
+    [ -n "$DETECTED_NSPR_VERSION" ] \
+        || die "Cannot read PR_VERSION from nsprpub/pr/include/prinit.h"
+
+    # PR_VERSION may carry a suffix, e.g. "4.40 Beta" - keep the number only.
+    DETECTED_NSPR_VERSION="${DETECTED_NSPR_VERSION%% *}"
+
+    printf '\n%s   Firefox %s bundles NSS %s and NSPR %s%s\n\n' \
+        "$C_BOLD" "$NEW_VERSION" "$DETECTED_NSS_VERSION" "$DETECTED_NSPR_VERSION" "$C_OFF"
+
+    write_spec_version nss_version  "$OLD_NSS_VERSION"  "$DETECTED_NSS_VERSION"  NSS
+    write_spec_version nspr_version "$OLD_NSPR_VERSION" "$DETECTED_NSPR_VERSION" NSPR
+    NSS_VERSION="$DETECTED_NSS_VERSION"
+    NSPR_VERSION="$DETECTED_NSPR_VERSION"
+
+    info "Cleaning up the unpacked tree"
+    rm -rf "firefox-$NEW_VERSION/"
+    ok "NSS/NSPR versions written to firefox.spec."
+else
+    rm -rf "firefox-$NEW_VERSION/"
+fi
+
+#-----------------------------------------------------------------------------
+# Step 12: Local build (optional)
+#-----------------------------------------------------------------------------
+
+if ! skip_step 12; then
+    if [ "$DO_LOCAL_BUILD" -eq 0 ] && [ "$ASSUME_YES" -eq 0 ]; then
+        printf '\n'
+        confirm "Run a local build with 'fedpkg local'? It typically takes 1-2 hours." \
+            && DO_LOCAL_BUILD=1
+    fi
+    if [ "$DO_LOCAL_BUILD" -eq 1 ]; then
+        step 12 "Running a local build"
+        LOCAL_LOG=$(mktemp -t firefox-local-XXXXXX.log)
+        if run fedpkg local 2>&1 | tee "$LOCAL_LOG"; then
+            ok "Local build succeeded."
+            BUILD_STATUS="PASSED (fedpkg local)"
+            rm -f "$LOCAL_LOG"
+        else
+            printf '\n%sLocal build failed. Relevant output:%s\n' "$C_RED" "$C_OFF" >&2
+            grep -iE 'error:|No package .* found|not found|Installed \(but unpackaged\)' \
+                "$LOCAL_LOG" | tail -30 >&2
+            printf '%sFull log: %s%s\n' "$C_YELLOW" "$LOCAL_LOG" "$C_OFF" >&2
+            cat >&2 <<'EOF'
+
+Typical causes:
+  * Missing BuildRequires  - add "BuildRequires: <pkg>-devel" to firefox.spec
+  * Compile/linker error   - the source needs a patch for the new upstream API
+  * Unpackaged files       - adjust the %files section of firefox.spec
+
+EOF
+            die "Fix the build, then re-run: $0 $NEW_VERSION --resume 12"
+        fi
+    else
+        info "Skipping the local build."
+    fi
+fi
+
+#-----------------------------------------------------------------------------
+# Step 13: Commit the update
+#-----------------------------------------------------------------------------
+
+if ! skip_step 13; then
+    step 13 "Committing the update"
+    run git add firefox.spec sources || die "git add failed"
+
+    # Patch files touched by hand (rebased/dropped) are staged too, but never
+    # build artifacts.
+    mapfile -t CHANGED_PATCHES < <(git status --porcelain -- '*.patch' '*.diff' \
+        | awk '{print $NF}')
+    if [ "${#CHANGED_PATCHES[@]}" -gt 0 ]; then
+        info "Modified patch files: ${CHANGED_PATCHES[*]}"
+        if confirm "Stage these patch files as part of the update?" y; then
+            run git add -A -- "${CHANGED_PATCHES[@]}" || die "git add of patches failed"
+        fi
+    fi
+
+    printf '\n%sStaged changes:%s\n' "$C_BOLD" "$C_OFF"
+    git status --short --untracked-files=no
+
+    run fedpkg commit -c || die "fedpkg commit failed"
+    ok "Committed: $(git log -1 --pretty=%s)"
+fi
+
+#-----------------------------------------------------------------------------
+# Step 14: Present summary and push
+#-----------------------------------------------------------------------------
+
+step 14 "Update summary"
+
+cat <<EOF
+
+${C_BOLD}Firefox Update Summary: $OLD_VERSION -> $NEW_VERSION${C_OFF}
+
+  Version:       $OLD_VERSION -> $NEW_VERSION
+  Branch:        rawhide
+  Mozilla build: $BUILD_VERSION
+  Build status:  $BUILD_STATUS
+
+  Sources:
+    - $NEW_TARBALL
+    - $LANGPACK_FILE
+EOF
+
+if [ -n "$DETECTED_NSS_VERSION$DETECTED_NSPR_VERSION" ]; then
+    echo
+    echo "  NSS/NSPR (detected in the Firefox sources):"
+    echo "    - NSS:  $OLD_NSS_VERSION -> $DETECTED_NSS_VERSION"
+    echo "    - NSPR: $OLD_NSPR_VERSION -> $DETECTED_NSPR_VERSION"
+fi
+
+if [ "${#DROPPED_PATCHES[@]}" -gt 0 ]; then
+    echo
+    echo "  Dropped patches:"
+    printf '    - %s\n' "${DROPPED_PATCHES[@]}"
+fi
+
+if [ "${#SPEC_NOTES[@]}" -gt 0 ]; then
+    echo
+    echo "  SPEC changes:"
+    printf '    - %s\n' "${SPEC_NOTES[@]}"
+fi
+
+echo
+echo "  Commit:"
+git log -1 --pretty='    %h %s'
+echo
+
+if [ "$DO_PUSH" -eq 0 ] && [ "$ASSUME_YES" -eq 0 ]; then
+    confirm "Push the commit to rawhide on Fedora dist-git?" && DO_PUSH=1
+fi
+
+if [ "$DO_PUSH" -eq 1 ]; then
+    check_kerberos
+    run fedpkg push || die "fedpkg push failed"
+    ok "Pushed to Fedora dist-git (rawhide)."
+    info "Start a build with: fedpkg build"
+else
+    ok "Update prepared but not pushed. Push later with: fedpkg push"
+fi

diff --git a/firefox.spec b/firefox.spec
index 87b00a2..4af28c2 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -189,14 +189,14 @@ ExcludeArch: i686
 
 Summary:        Mozilla Firefox Web browser
 Name:           firefox
-Version:        156.0
-Release:        2%{?pre_tag}%{?dist}
+Version:        156.0.1
+Release:        1%{?dist}
 URL:            https://www.mozilla.org/firefox/
 # Automatically converted from old format: MPLv1.1 or GPLv2+ or LGPLv2+ - review is highly recommended.
 License:        LicenseRef-Callaway-MPLv1.1 OR GPL-2.0-or-later OR LicenseRef-Callaway-LGPLv2+
 Source0:        https://archive.mozilla.org/pub/firefox/releases/%{version}%{?pre_version}/source/firefox-%{version}%{?pre_version}.source.tar.xz
 %if %{with langpacks}
-Source1:        firefox-langpacks-%{version}%{?pre_version}-20260910.tar.xz
+Source1:        firefox-langpacks-%{version}%{?pre_version}-20260923.tar.xz
 %endif
 Source2:        cbindgen-vendor.tar.xz
 Source3:        dump_syms-vendor.tar.xz
@@ -263,7 +263,6 @@ Patch402:        D324870.1789116963.diff
 Patch403:        D324871.1789116972.diff
 Patch404:        D324876.1789116899.diff
 Patch405:        D324877.1789117000.diff
-Patch406:        D326840.1789732703.diff
 
 # PGO/LTO patches
 Patch600:        pgo.patch
@@ -552,7 +551,6 @@ cat %{SOURCE49} | sed -e "s|LIBCLANG_RT_PLACEHOLDER|`pwd`/wasi-sdk-30/build/sysr
 %patch -P403 -p1 -b .D324871
 %patch -P404 -p1 -b .D324876
 %patch -P405 -p1 -b .D324877
-%patch -P406 -p1 -b .D326840
 
 # PGO patches
 %if %{build_with_pgo}
@@ -1208,6 +1206,9 @@ fi
 #---------------------------------------------------------------------
 
 %changelog
+* Wed Sep 23 2026 Martin Stransky <stransky@redhat.com> - 156.0.1-1
+- Update to latest upstream (156.0.1)
+
 * Thu Sep 17 2026 Martin Stransky <stransky@redhat.com> - 156.0-2
 - Disabled session restore on Gnome.
 

diff --git a/sources b/sources
index e453923..f16aedf 100644
--- a/sources
+++ b/sources
@@ -1,8 +1,8 @@
+SHA512 (firefox-156.0.1.source.tar.xz) = 80a32a79268b672206f5477ca6bfde620cb7419b27aac090e01f06df06990ee0bbd81bb5c4aa78ac1d0edb26b133b1c6fa11cb6522445eccd70c82e719a24d5b
+SHA512 (firefox-langpacks-156.0.1-20260923.tar.xz) = 21f49d42033554aee540f83661b8813f20b2863eee50cdb8a185a25c2156c8954df53fb4a68ae10b09067462ab323bdc0b6747a4b0ce4d6126aa0e792d666b38
 SHA512 (mochitest-python.tar.gz) = 089b1593068b76f4572af0086eaccf52a6a1299bfffb58593206d19bf021ae381f2380bbfeb4371586cd53706ff6dde3d240238b2caf19b96c57dfc2f4524e36
 SHA512 (dump_syms-vendor.tar.xz) = ee0ea52aac781b8dd48936a3d13b140bd725a48cc488d23693b68edbe3bcfba5723022dba3c3849d0da1bacf0e37ddd307cfc56304159f91b71495ce8a08b54a
 SHA512 (wasi-sdk-30.tar.gz) = c08b2ddb5d5cf5b48c5baba80c65c485a3049b473d2f2dd2babb402243a7709633c695dfee5f9cbba52fa25ad832f02f3b73d9ba1141c4d44dc30db70292a04d
 SHA512 (wasm-component-ld-vendor.tar.xz) = 356dc09502052198e99745199b8e10d803da9492ce34e41c6ae02cb8674fcc640cd5eafe68a03e4e61c984f7f6c7c8e5cdc3551251556fb3ae4631a340358fc0
 SHA512 (wasm-tools-vendor.tar.xz) = 502be0020d1828b75128e6127eb7bd77835ccebe4e5c179abc38d881bb1d1f8e15d2284796cd83574536c7c919a3e820e0952d323e8a3977e94bdef89cd8266a
 SHA512 (cbindgen-vendor.tar.xz) = dfefc3ec4c7b7d9fe1b024289866c5a919475b8b733e09ef1750d8d295ba78969ba187089dbc151d91779bf56a2d7898797c3d19db6e2d1cb84929750e86617d
-SHA512 (firefox-156.0.source.tar.xz) = 0463304a0898670d248114f66f7c235166ae2397c3989a7c878c96f0c589fbbba1f1c87432daa22633b9fadd94394adf1dc37f0e67d22b066c75efe5eead75ce
-SHA512 (firefox-langpacks-156.0-20260910.tar.xz) = 60123b95c0a90afd57249faedbfb58bc687d162b738970aa8db4d2985355ac9177de3f87e37c1f63528249bb149037060cf1313b3c5528ea0219199f8f8a2c62

diff --git a/wasi.patch b/wasi.patch
index 1586e3b..c2a955e 100644
--- a/wasi.patch
+++ b/wasi.patch
@@ -6,7 +6,7 @@ diff -up firefox-134.0.1/toolkit/moz.configure.wasi firefox-134.0.1/toolkit/moz.
          if wasi_sysroot:
              log.info("Using wasi sysroot in %s", wasi_sysroot)
 -            return ["--sysroot=%s" % wasi_sysroot]
-+            return ["--sysroot=%s" % wasi_sysroot, "-nodefaultlibs",  "-lc", "-lwasi-emulated-process-clocks", "-lc++", "-lc++abi", "/home/komat/CVS/firefox/firefox-156.0-build/firefox-156.0/wasi-sdk-30/build/sysroot/install/wasi-resource-dir/lib/wasm32-unknown-wasip1/libclang_rt.builtins.a"]
++            return ["--sysroot=%s" % wasi_sysroot, "-nodefaultlibs",  "-lc", "-lwasi-emulated-process-clocks", "-lc++", "-lc++abi", "/raid/CVS/firefox/firefox-156.0.1-build/firefox-156.0.1/wasi-sdk-30/build/sysroot/install/wasi-resource-dir/lib/wasm32-unknown-wasip1/libclang_rt.builtins.a"]
          return []
  
      set_config("WASI_SYSROOT", wasi_sysroot)

^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [rpms/firefox] f45: Merge branch 'main' into f45
@ 2026-09-17 12:00 Martin Stransky
  0 siblings, 0 replies; 33+ messages in thread
From: Martin Stransky @ 2026-09-17 12:00 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/firefox
Branch : f45
Commit : 2606aefddce12cd42721009083f4cfac2d93fe45
Author : Martin Stransky <stransky@redhat.com>
Date   : 2026-09-17T14:00:44+02:00
Stats  : +106/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/firefox/c/2606aefddce12cd42721009083f4cfac2d93fe45?branch=f45

Log:
Merge branch 'main' into f45

---
diff --git a/D326840.1789732703.diff b/D326840.1789732703.diff
new file mode 100644
index 0000000..499c25d
--- /dev/null
+++ b/D326840.1789732703.diff
@@ -0,0 +1,100 @@
+diff --git a/widget/gtk/nsWindow.h b/widget/gtk/nsWindow.h
+--- a/widget/gtk/nsWindow.h
++++ b/widget/gtk/nsWindow.h
+@@ -199,12 +199,10 @@
+   bool IsEnabled() const override;
+ 
+   nsSizeMode GetSizeMode() const { return mSizeMode; }
+   nsSizeMode SizeMode() override { return mSizeMode; }
+   void SetSizeMode(nsSizeMode aMode) override;
+-  void GetWorkspaceID(nsAString& workspaceID) override;
+-  void MoveToWorkspace(const nsAString& workspaceID) override;
+   void Enable(bool aState) override;
+   void SetFocus(Raise, mozilla::dom::CallerType aCallerType) override;
+   LayoutDeviceIntRect GetBounds() override;
+   LayoutDeviceIntRect GetScreenBounds() override;
+   DesktopIntRect GetScreenBoundsUnscaled();
+diff --git a/widget/gtk/nsWindow.cpp b/widget/gtk/nsWindow.cpp
+--- a/widget/gtk/nsWindow.cpp
++++ b/widget/gtk/nsWindow.cpp
+@@ -1202,18 +1202,10 @@
+ 
+   const auto& desktop = GetDesktopEnvironmentIdentifier();
+   return desktop.EqualsLiteral("bspwm") || desktop.EqualsLiteral("i3");
+ }
+ 
+-void nsWindow::GetWorkspaceID(nsAString& workspaceID) {
+-  workspaceID.Truncate();
+-}
+-
+-void nsWindow::MoveToWorkspace(const nsAString& workspaceIDStr) {
+-  LOG("  MoveToWorkspace disabled, quit");
+-}
+-
+ void nsWindow::SetUserTimeAndStartupTokenForActivatedWindow() {
+   nsGTKToolkit* toolkit = nsGTKToolkit::GetToolkit();
+   if (!toolkit) {
+     return;
+   }
+diff --git a/widget/gtk/nsWindowWayland.h b/widget/gtk/nsWindowWayland.h
+--- a/widget/gtk/nsWindowWayland.h
++++ b/widget/gtk/nsWindowWayland.h
+@@ -14,12 +14,12 @@
+   nsWindowWayland();
+ 
+   nsWindowWayland* AsWayland() override { return this; }
+   nsWindow* GetEffectiveParent() const;
+ 
+-  void GetWorkspaceID(nsAString& workspaceID) override;
+-  void MoveToWorkspace(const nsAString& workspaceIDStr) override;
++  void GetWorkspaceID(nsAString& aWorkspaceID) override;
++  void MoveToWorkspace(const nsAString& aWorkspaceIDStr) override;
+   void RestoreXdgToplevel();
+ 
+   // Use xdg-activation protocol to transfer focus from gFocusWindow.
+   void TransferFocusTo();
+   void FocusWaylandWindow(const char* aTokenID);
+diff --git a/widget/gtk/nsWindowWayland.cpp b/widget/gtk/nsWindowWayland.cpp
+--- a/widget/gtk/nsWindowWayland.cpp
++++ b/widget/gtk/nsWindowWayland.cpp
+@@ -116,15 +116,19 @@
+   LOG("nsWindowWayland::CreateRestoreSession() ID %s restore %d token %p",
+       mWorkspaceID.get(), aRestoreWindow, mSessionRestoreToken);
+   return !!mSessionRestoreToken;
+ }
+ 
+-void nsWindowWayland::GetWorkspaceID(nsAString& workspaceID) {
++void nsWindowWayland::GetWorkspaceID(nsAString& aWorkspaceID) {
++  if (!nsAppShell::IsSessionRestoreSupported()) {
++    aWorkspaceID.Truncate();
++    return;
++  }
+   if (mWorkspaceID.IsEmpty()) {
+     mWorkspaceID = GenerateWorkspaceID();
+   }
+-  workspaceID = NS_ConvertUTF8toUTF16(mWorkspaceID);
++  aWorkspaceID = NS_ConvertUTF8toUTF16(mWorkspaceID);
+ 
+   LOG("nsWindowWayland::GetWorkspaceID() ID %s token %p", mWorkspaceID.get(),
+       mSessionRestoreToken);
+ 
+   if (mSessionRestoreToken) {
+@@ -156,12 +160,15 @@
+     }
+ #endif
+   }
+ }
+ 
+-void nsWindowWayland::MoveToWorkspace(const nsAString& workspaceIDStr) {
+-  mWorkspaceID = NS_ConvertUTF16toUTF8(workspaceIDStr);
++void nsWindowWayland::MoveToWorkspace(const nsAString& aWorkspaceIDStr) {
++  if (!nsAppShell::IsSessionRestoreSupported()) {
++    return;
++  }
++  mWorkspaceID = NS_ConvertUTF16toUTF8(aWorkspaceIDStr);
+   LOG("nsWindowWayland::MoveToWorkspace() session ID %s "
+       "mWaitingToSessionRestore %d mNeedsShow %d",
+       mWorkspaceID.get(), mWaitingToSessionRestore, mNeedsShow);
+   if (!mWaitingToSessionRestore) {
+     return;
+

diff --git a/firefox.spec b/firefox.spec
index 5c5bd76..87b00a2 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -190,7 +190,7 @@ ExcludeArch: i686
 Summary:        Mozilla Firefox Web browser
 Name:           firefox
 Version:        156.0
-Release:        1%{?pre_tag}%{?dist}
+Release:        2%{?pre_tag}%{?dist}
 URL:            https://www.mozilla.org/firefox/
 # Automatically converted from old format: MPLv1.1 or GPLv2+ or LGPLv2+ - review is highly recommended.
 License:        LicenseRef-Callaway-MPLv1.1 OR GPL-2.0-or-later OR LicenseRef-Callaway-LGPLv2+
@@ -263,6 +263,7 @@ Patch402:        D324870.1789116963.diff
 Patch403:        D324871.1789116972.diff
 Patch404:        D324876.1789116899.diff
 Patch405:        D324877.1789117000.diff
+Patch406:        D326840.1789732703.diff
 
 # PGO/LTO patches
 Patch600:        pgo.patch
@@ -551,6 +552,7 @@ cat %{SOURCE49} | sed -e "s|LIBCLANG_RT_PLACEHOLDER|`pwd`/wasi-sdk-30/build/sysr
 %patch -P403 -p1 -b .D324871
 %patch -P404 -p1 -b .D324876
 %patch -P405 -p1 -b .D324877
+%patch -P406 -p1 -b .D326840
 
 # PGO patches
 %if %{build_with_pgo}
@@ -1206,6 +1208,9 @@ fi
 #---------------------------------------------------------------------
 
 %changelog
+* Thu Sep 17 2026 Martin Stransky <stransky@redhat.com> - 156.0-2
+- Disabled session restore on Gnome.
+
 * Thu Sep 10 2026 Martin Stransky <stransky@redhat.com> - 156.0-1
 - Updated to 156.0
 - Enabled session restore on KDE

^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [rpms/firefox] f45: Merge branch 'main' into f45
@ 2026-09-15  3:00 Martin Stransky
  0 siblings, 0 replies; 33+ messages in thread
From: Martin Stransky @ 2026-09-15  3:00 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/firefox
Branch : f45
Commit : c82c69d248c11f1c9bed82d854ea305d22db06b4
Author : Martin Stransky <stransky@redhat.com>
Date   : 2026-09-15T04:59:39+02:00
Stats  : +1/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/firefox/c/c82c69d248c11f1c9bed82d854ea305d22db06b4?branch=f45

Log:
Merge branch 'main' into f45

---
diff --git a/firefox.spec b/firefox.spec
index 8252391..5c5bd76 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -145,7 +145,7 @@ ExcludeArch: i686
 %if %{?system_nss}
 %global nspr_version 4.38.2
 %global nspr_build_version %{nspr_version}
-%global nss_version 3.127
+%global nss_version 3.128
 %global nss_build_version %{nss_version}
 %endif
 

^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [rpms/firefox] f45: Merge branch 'main' into f45
@ 2026-09-07  8:03 Martin Stransky
  0 siblings, 0 replies; 33+ messages in thread
From: Martin Stransky @ 2026-09-07  8:03 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/firefox
Branch : f45
Commit : 510cc514ff3aa0908b1b62e8b9d68a8d31056c9d
Author : Martin Stransky <stransky@redhat.com>
Date   : 2026-09-07T10:02:42+02:00
Stats  : +9/-4 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/firefox/c/510cc514ff3aa0908b1b62e8b9d68a8d31056c9d?branch=f45

Log:
Merge branch 'main' into f45

---
diff --git a/.gitignore b/.gitignore
index ddd1987..bcad10d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -795,3 +795,5 @@ firefox-3.6.4.source.tar.bz2
 /firefox-154.0.source.tar.xz
 /firefox-155.0.source.tar.xz
 /firefox-langpacks-155.0-20260827.tar.xz
+/firefox-langpacks-155.0.1-20260907.tar.xz
+/firefox-155.0.1.source.tar.xz

diff --git a/firefox.spec b/firefox.spec
index 0371964..fb3a806 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -189,14 +189,14 @@ ExcludeArch: i686
 
 Summary:        Mozilla Firefox Web browser
 Name:           firefox
-Version:        155.0
+Version:        155.0.1
 Release:        1%{?pre_tag}%{?dist}
 URL:            https://www.mozilla.org/firefox/
 # Automatically converted from old format: MPLv1.1 or GPLv2+ or LGPLv2+ - review is highly recommended.
 License:        LicenseRef-Callaway-MPLv1.1 OR GPL-2.0-or-later OR LicenseRef-Callaway-LGPLv2+
 Source0:        https://archive.mozilla.org/pub/firefox/releases/%{version}%{?pre_version}/source/firefox-%{version}%{?pre_version}.source.tar.xz
 %if %{with langpacks}
-Source1:        firefox-langpacks-%{version}%{?pre_version}-20260827.tar.xz
+Source1:        firefox-langpacks-%{version}%{?pre_version}-20260907.tar.xz
 %endif
 Source2:        cbindgen-vendor.tar.xz
 Source3:        dump_syms-vendor.tar.xz
@@ -1211,6 +1211,9 @@ fi
 #---------------------------------------------------------------------
 
 %changelog
+* Mon Sep 7 2026 Martin Stransky <stransky@redhat.com> - 155.0.1-1
+- Updated to 155.0.1
+
 * Thu Aug 27 2026 Martin Stransky <stransky@redhat.com> - 155.0-1
 - Updated to 155.0
 

diff --git a/sources b/sources
index addef79..3b245df 100644
--- a/sources
+++ b/sources
@@ -4,5 +4,5 @@ SHA512 (wasi-sdk-30.tar.gz) = c08b2ddb5d5cf5b48c5baba80c65c485a3049b473d2f2dd2ba
 SHA512 (wasm-component-ld-vendor.tar.xz) = 356dc09502052198e99745199b8e10d803da9492ce34e41c6ae02cb8674fcc640cd5eafe68a03e4e61c984f7f6c7c8e5cdc3551251556fb3ae4631a340358fc0
 SHA512 (wasm-tools-vendor.tar.xz) = 502be0020d1828b75128e6127eb7bd77835ccebe4e5c179abc38d881bb1d1f8e15d2284796cd83574536c7c919a3e820e0952d323e8a3977e94bdef89cd8266a
 SHA512 (cbindgen-vendor.tar.xz) = dfefc3ec4c7b7d9fe1b024289866c5a919475b8b733e09ef1750d8d295ba78969ba187089dbc151d91779bf56a2d7898797c3d19db6e2d1cb84929750e86617d
-SHA512 (firefox-155.0.source.tar.xz) = 24292681924edb9f0494eb77a7b19994039abbc3a8c0ba304f0e472b49a943838565723de983bc8ef08e019971e02a3014c8d241bb88c645a06a625c8ace0d6a
-SHA512 (firefox-langpacks-155.0-20260827.tar.xz) = 24c6b220397369a0771743dda4a4755118531a7547de19c4f16875e2e9ce48b2928ad533d3c25b53e32b1b73f7fb23ce10deb917b5bc91374b96d2da5a47a0d0
+SHA512 (firefox-langpacks-155.0.1-20260907.tar.xz) = edc2384f30efe6f29cb5ca8a9ec878beb9fc500f04c29fd5a9e0f8aee23633a502b5fe5ec1b8277808a1b397d60ce126f759ede7aea07ea6a48c9fecec1c4e5f
+SHA512 (firefox-155.0.1.source.tar.xz) = 6d137a7a315cb1d0aac1a3fe314af80fe290c49b7c2e47f8687b25d4720927b2a0dc71a3da9d75f6cab479067db114caa6732d17e888b0abfce99238a8af0f39

^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [rpms/firefox] f45: Merge branch 'main' into f45
@ 2026-09-01  9:03 Martin Stransky
  0 siblings, 0 replies; 33+ messages in thread
From: Martin Stransky @ 2026-09-01  9:03 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/firefox
Branch : f45
Commit : 3ce20ad804da91fe25e137770fa789dc0bc8cad9
Author : Martin Stransky <stransky@redhat.com>
Date   : 2026-09-01T11:02:34+02:00
Stats  : +1/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/firefox/c/3ce20ad804da91fe25e137770fa789dc0bc8cad9?branch=f45

Log:
Merge branch 'main' into f45

---
diff --git a/firefox.spec b/firefox.spec
index 2ab03e7..0371964 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -77,7 +77,7 @@ ExcludeArch: i686
 %global system_webp       1
 %global system_drm        1
 %global system_gbm        1
-%if 0%{?fedora} < 44
+%if 0%{?fedora} > 43
 %global system_pipewire   1
 %else
 %global system_pipewire   0

^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [rpms/firefox] f45: Merge branch 'main' into f45
@ 2026-09-01  6:11 Martin Stransky
  0 siblings, 0 replies; 33+ messages in thread
From: Martin Stransky @ 2026-09-01  6:11 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/firefox
Branch : f45
Commit : 9a090efbb1f5427e7f84129bb02b96b98ea35f47
Author : Martin Stransky <stransky@redhat.com>
Date   : 2026-09-01T08:10:50+02:00
Stats  : +4/-0 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/firefox/c/9a090efbb1f5427e7f84129bb02b96b98ea35f47?branch=f45

Log:
Merge branch 'main' into f45

---
diff --git a/firefox.spec b/firefox.spec
index 1c23e4f..2ab03e7 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -77,7 +77,11 @@ ExcludeArch: i686
 %global system_webp       1
 %global system_drm        1
 %global system_gbm        1
+%if 0%{?fedora} < 44
 %global system_pipewire   1
+%else
+%global system_pipewire   0
+%endif
 %global build_tests       1
 # Bundled cbindgen makes build slow.
 # Enable only if system cbindgen is not available.

^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [rpms/firefox] f45: Merge branch 'main' into f45
@ 2026-08-31 17:45 Martin Stransky
  0 siblings, 0 replies; 33+ messages in thread
From: Martin Stransky @ 2026-08-31 17:45 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/firefox
Branch : f45
Commit : 16402858ae62cd04ab4b140bc006c4198b44daab
Author : Martin Stransky <stransky@redhat.com>
Date   : 2026-08-31T19:45:36+02:00
Stats  : +0/-3 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/firefox/c/16402858ae62cd04ab4b140bc006c4198b44daab?branch=f45

Log:
Merge branch 'main' into f45

---
diff --git a/firefox.spec b/firefox.spec
index 56ea7af..1c23e4f 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -1196,9 +1196,6 @@ fi
 %{mozappdir}/platform.ini
 %{mozappdir}/gmp-clearkey
 %{mozappdir}/fonts
-%ifarch aarch64 riscv64
-%{mozappdir}/v4l2test
-%endif
 %{mozappdir}/gfxtest
 %if !%{?system_nss}
 %exclude %{mozappdir}/libnssckbi.so

^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [rpms/firefox] f45: Merge branch 'main' into f45
@ 2026-08-31  8:32 Martin Stransky
  0 siblings, 0 replies; 33+ messages in thread
From: Martin Stransky @ 2026-08-31  8:32 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/firefox
Branch : f45
Commit : 5a26cb2c3374db85f9a38245f87ef66436ff3c68
Author : Martin Stransky <stransky@redhat.com>
Date   : 2026-08-31T10:32:13+02:00
Stats  : +1/-3 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/firefox/c/5a26cb2c3374db85f9a38245f87ef66436ff3c68?branch=f45

Log:
Merge branch 'main' into f45

---
diff --git a/firefox.spec b/firefox.spec
index 7a61730..56ea7af 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -1148,7 +1148,6 @@ fi
 %endif
 %{_bindir}/firefox
 %{mozappdir}/firefox
-%{mozappdir}/glxtest
 %doc %{_mandir}/man1/*
 %dir %{_sysconfdir}/%{name}
 %dir %{_sysconfdir}/%{name}/*
@@ -1200,8 +1199,7 @@ fi
 %ifarch aarch64 riscv64
 %{mozappdir}/v4l2test
 %endif
-%{mozappdir}/vaapitest
-%{mozappdir}/vulkantest
+%{mozappdir}/gfxtest
 %if !%{?system_nss}
 %exclude %{mozappdir}/libnssckbi.so
 %endif

^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [rpms/firefox] f45: Merge branch 'main' into f45
@ 2026-08-27 16:00 Martin Stransky
  0 siblings, 0 replies; 33+ messages in thread
From: Martin Stransky @ 2026-08-27 16:00 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/firefox
Branch : f45
Commit : 2ad0e84c2096928f5da96b0fdf1ecc657c35880a
Author : Martin Stransky <stransky@redhat.com>
Date   : 2026-08-27T17:59:54+02:00
Stats  : +1/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/firefox/c/2ad0e84c2096928f5da96b0fdf1ecc657c35880a?branch=f45

Log:
Merge branch 'main' into f45

---
diff --git a/firefox.spec b/firefox.spec
index d5f6786..7a61730 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -141,7 +141,7 @@ ExcludeArch: i686
 %if %{?system_nss}
 %global nspr_version 4.38.2
 %global nspr_build_version %{nspr_version}
-%global nss_version 3.126
+%global nss_version 3.127
 %global nss_build_version %{nss_version}
 %endif
 

^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [rpms/firefox] f45: Merge branch 'main' into f45
@ 2026-08-26 12:04 Martin Stransky
  0 siblings, 0 replies; 33+ messages in thread
From: Martin Stransky @ 2026-08-26 12:04 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/firefox
Branch : f45
Commit : aeaecee0795724064f46e80af190109486321595
Author : Martin Stransky <stransky@redhat.com>
Date   : 2026-08-26T13:45:33+02:00
Stats  : +6/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/firefox/c/aeaecee0795724064f46e80af190109486321595?branch=f45

Log:
Merge branch 'main' into f45

---
diff --git a/firefox-redhat-default-prefs.js b/firefox-redhat-default-prefs.js
index 2e5ee84..9881cb2 100644
--- a/firefox-redhat-default-prefs.js
+++ b/firefox-redhat-default-prefs.js
@@ -31,3 +31,5 @@ pref("browser.policies.perUserDir",         true);
 pref("browser.gnome-search-provider.enabled",true);
 /* Enable ffvpx playback for WebRTC */
 pref("media.navigator.mediadatadecoder_vpx_enabled", true);
+/* In HDR mode use new compositor mode */
+pref("gfx.webrender.layer-compositor", true);

diff --git a/firefox.spec b/firefox.spec
index 10e6b28..6dfbb98 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -186,7 +186,7 @@ ExcludeArch: i686
 Summary:        Mozilla Firefox Web browser
 Name:           firefox
 Version:        154.0
-Release:        5%{?pre_tag}%{?dist}
+Release:        6%{?pre_tag}%{?dist}
 URL:            https://www.mozilla.org/firefox/
 # Automatically converted from old format: MPLv1.1 or GPLv2+ or LGPLv2+ - review is highly recommended.
 License:        LicenseRef-Callaway-MPLv1.1 OR GPL-2.0-or-later OR LicenseRef-Callaway-LGPLv2+
@@ -1214,6 +1214,9 @@ fi
 #---------------------------------------------------------------------
 
 %changelog
+* Wed Aug 26 2026 Martin Stransky <stransky@redhat.com> - 154.0-6
+- Use new (layer) compositor mode for HDR
+
 * Mon Aug 24 2026 Martin Stransky <stransky@redhat.com> - 154.0-5
 - Disabled session restore due to mzbz#2059617.
 

^ permalink raw reply related	[flat|nested] 33+ messages in thread

* [rpms/firefox] f45: Merge branch 'main' into f45
@ 2026-08-24  9:45 Martin Stransky
  0 siblings, 0 replies; 33+ messages in thread
From: Martin Stransky @ 2026-08-24  9:45 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/firefox
Branch : f45
Commit : edf734de5960ad4d9a4975150114432112ac0c35
Author : Martin Stransky <stransky@redhat.com>
Date   : 2026-08-24T11:44:31+02:00
Stats  : +0/-0 in 0 file(s)
URL    : https://src.fedoraproject.org/rpms/firefox/c/edf734de5960ad4d9a4975150114432112ac0c35?branch=f45

Log:
Merge branch 'main' into f45

^ permalink raw reply	[flat|nested] 33+ messages in thread

end of thread, other threads:[~2026-11-23  9:50 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-07  7:42 [rpms/firefox] f45: Merge branch 'main' into f45 Martin Stransky
  -- strict thread matches above, loose matches on Subject: below --
2026-11-23  9:50 Martin Stransky
2026-11-23  7:37 Martin Stransky
2026-11-18 14:21 Martin Stransky
2026-11-09  9:18 Martin Stransky
2026-11-06 10:58 Martin Stransky
2026-11-06 10:53 Martin Stransky
2026-11-06 10:52 Martin Stransky
2026-11-04 10:32 Martin Stransky
2026-10-27  8:37 Martin Stransky
2026-10-27  7:34 Martin Stransky
2026-10-26  8:56 Martin Stransky
2026-10-26  8:53 Martin Stransky
2026-10-21 11:05 Martin Stransky
2026-10-21  7:13 Martin Stransky
2026-10-12  9:11 Martin Stransky
2026-10-09 10:55 Martin Stransky
2026-10-09 10:47 Martin Stransky
2026-10-07  8:59 Martin Stransky
2026-10-01 11:52 Martin Stransky
2026-09-29  7:59 Martin Stransky
2026-09-23  8:30 Martin Stransky
2026-09-23  8:01 Martin Stransky
2026-09-17 12:00 Martin Stransky
2026-09-15  3:00 Martin Stransky
2026-09-07  8:03 Martin Stransky
2026-09-01  9:03 Martin Stransky
2026-09-01  6:11 Martin Stransky
2026-08-31 17:45 Martin Stransky
2026-08-31  8:32 Martin Stransky
2026-08-27 16:00 Martin Stransky
2026-08-26 12:04 Martin Stransky
2026-08-24  9:45 Martin Stransky

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