public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/firefox] rawhide: Merge #104 `change startup homepage preference`
@ 2026-08-04 9:23 Martin Stransky
0 siblings, 0 replies; only message in thread
From: Martin Stransky @ 2026-08-04 9:23 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/firefox
Branch : rawhide
Commit : 6f32f463ef04eee2b23bdfa6484c433c08f83c2a
Author : Martin Stransky <stransky@redhat.com>
Date : 2026-08-04T09:23:54+00:00
Stats : +60/-110 in 7 file(s)
URL : https://src.fedoraproject.org/rpms/firefox/c/6f32f463ef04eee2b23bdfa6484c433c08f83c2a?branch=rawhide
Log:
Merge #104 `change startup homepage preference`
---
diff --git a/firefox-redhat-default-prefs.js b/firefox-redhat-default-prefs.js
index 979f21b..2e5ee84 100644
--- a/firefox-redhat-default-prefs.js
+++ b/firefox-redhat-default-prefs.js
@@ -14,7 +14,7 @@ pref("network.manage-offline-status", true);
pref("extensions.shownSelectionUI", true);
pref("ui.SpellCheckerUnderlineStyle", 1);
pref("startup.homepage_override_url", "");
-pref("browser.startup.homepage", "data:text/plain,browser.startup.homepage=https://start.fedoraproject.org/");
+pref("browser.startup.homepage", "https://start.fedoraproject.org/");
pref("browser.newtabpage.pinned", '[{"url":"https://start.fedoraproject.org/","title":"Fedora Project - Start Page"}]');
pref("media.gmp-gmpopenh264.provider.enabled",false);
pref("media.gmp-gmpopenh264.autoupdate",false);
diff --git a/.gitignore b/.gitignore
index 4924df7..e78eac4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -783,3 +783,9 @@ firefox-3.6.4.source.tar.bz2
/firefox-langpacks-152.0-20260611.tar.xz
/firefox-152.0.2.source.tar.xz
/firefox-langpacks-152.0.2-20260625.tar.xz
+/firefox-langpacks-152.0.4-20260706.tar.xz
+/firefox-152.0.4.source.tar.xz
+/firefox-langpacks-152.0.6-20260714.tar.xz
+/firefox-152.0.6.source.tar.xz
+/firefox-langpacks-153.0.1-20260803.tar.xz
+/firefox-153.0.1.source.tar.xz
diff --git a/build-aarch64-skia.patch b/build-aarch64-skia.patch
index 9223bb8..3c653b3 100644
--- a/build-aarch64-skia.patch
+++ b/build-aarch64-skia.patch
@@ -1,7 +1,7 @@
-diff -up firefox-134.0-build/firefox-134.0/gfx/skia/skia/modules/skcms/src/Transform_inl.h.aarch64-skia firefox-134.0-build/firefox-134.0/gfx/skia/skia/modules/skcms/src/Transform_inl.h
---- firefox-134.0/gfx/skia/skia/modules/skcms/src/Transform_inl.h.aarch64-skia 2024-12-30 19:30:46.000000000 +0100
-+++ firefox-134.0/gfx/skia/skia/modules/skcms/src/Transform_inl.h 2025-01-02 20:51:07.855087265 +0100
-@@ -151,7 +151,7 @@ SI U32 to_fixed(F f) { return (U32)cast
+diff -up firefox-153.0/gfx/skia/skia/modules/skcms/src/Transform_inl.h.aarch64-skia firefox-153.0/gfx/skia/skia/modules/skcms/src/Transform_inl.h
+--- firefox-153.0/gfx/skia/skia/modules/skcms/src/Transform_inl.h.aarch64-skia 2026-07-15 22:09:44.000000000 +0200
++++ firefox-153.0/gfx/skia/skia/modules/skcms/src/Transform_inl.h 2026-07-17 07:41:58.356927894 +0200
+@@ -146,7 +146,7 @@ SI U32 to_fixed(F f) { return (U32)cast
SI F F_from_Half(U16 half) {
@@ -19,15 +19,16 @@ diff -up firefox-134.0-build/firefox-134.0/gfx/skia/skia/modules/skcms/src/Trans
return (U16)vcvt_f16_f32(f);
#elif defined(USING_AVX512F)
return (U16)_mm512_cvtps_ph((__m512 )f, _MM_FROUND_CUR_DIRECTION );
-diff -up firefox-134.0-build/firefox-134.0/gfx/skia/skia/src/opts/SkRasterPipeline_opts.h.aarch64-skia firefox-134.0-build/firefox-134.0/gfx/skia/skia/src/opts/SkRasterPipeline_opts.h
---- firefox-134.0/gfx/skia/skia/src/opts/SkRasterPipeline_opts.h.aarch64-skia 2025-01-02 20:51:07.856087299 +0100
-+++ firefox-134.0/gfx/skia/skia/src/opts/SkRasterPipeline_opts.h 2025-01-02 23:09:47.802283444 +0100
-@@ -1421,7 +1421,7 @@ SI F from_half(U16 h) {
+diff -up firefox-153.0/gfx/skia/skia/src/opts/SkRasterPipeline_opts.h.aarch64-skia firefox-153.0/gfx/skia/skia/src/opts/SkRasterPipeline_opts.h
+--- firefox-153.0/gfx/skia/skia/src/opts/SkRasterPipeline_opts.h.aarch64-skia 2026-07-15 22:09:43.000000000 +0200
++++ firefox-153.0/gfx/skia/skia/src/opts/SkRasterPipeline_opts.h 2026-07-17 08:05:34.884194825 +0200
+@@ -1447,7 +1447,8 @@ SI F from_half(U16 h) {
}
SI U16 to_half(F f) {
-#if defined(SKRP_CPU_NEON) && defined(SK_CPU_ARM64)
-+#if 0 // defined(SKRP_CPU_NEON) && defined(SK_CPU_ARM64)
++#if 0
++ // defined(SKRP_CPU_NEON) && defined(SK_CPU_ARM64)
return (U16)vcvt_f16_f32(f);
- #elif defined(SKRP_CPU_SKX)
+ #elif defined(SKRP_CPU_ML4)
diff --git a/firefox.spec b/firefox.spec
index e83cbb7..ed56e40 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -21,17 +21,7 @@ ExcludeArch: i686
# as the build is *very* slow.
%global debug_build 0
-# See rhbz#2134527 - Use portal Gtk file dialog
-# Disabled due to various issues now.
-%global use_xdg_file_portal 0
-
-# PipeWire camera is needed for IPU6 camera support in Fedora 41+
-# https://fedoraproject.org/wiki/Changes/IPU6_Camera_support
-%if 0%{?fedora} >= 41
%global use_pipewire_camera 1
-%else
-%global use_pipewire_camera 0
-%endif
%global system_nss 1
%global system_libevent 1
@@ -42,15 +32,10 @@ ExcludeArch: i686
%global enable_replace_malloc 0
%endif
-# wasi_sdk 30 is not compatible with llvm 18
-%if 0%{?fedora} <= 40
+%ifarch s390x
%bcond wasi_sdk 0
%else
- %ifarch s390x
- %bcond wasi_sdk 0
- %else
- %bcond wasi_sdk 1
- %endif
+ %bcond wasi_sdk 1
%endif
%bcond build_with_clang 0
@@ -60,10 +45,7 @@ ExcludeArch: i686
%global toolchain gcc
%endif
-%global gnome_shell_search_provider 0
-%if 0%{?fedora} >= 40
%global gnome_shell_search_provider 1
-%endif
# Temporary disabled due to
# https://bugzilla.redhat.com/show_bug.cgi?id=1951606
@@ -159,7 +141,7 @@ ExcludeArch: i686
%if %{?system_nss}
%global nspr_version 4.38.2
%global nspr_build_version %{nspr_version}
-%global nss_version 3.124
+%global nss_version 3.126
%global nss_build_version %{nss_version}
%endif
@@ -203,14 +185,14 @@ ExcludeArch: i686
Summary: Mozilla Firefox Web browser
Name: firefox
-Version: 152.0.2
+Version: 153.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}-20260625.tar.xz
+Source1: firefox-langpacks-%{version}%{?pre_version}-20260803.tar.xz
%endif
Source2: cbindgen-vendor.tar.xz
Source3: dump_syms-vendor.tar.xz
@@ -252,12 +234,10 @@ Source49: wasi.patch.template
Source50: wasi-sdk-30.tar.gz
# Build patches
-Patch40: build-aarch64-skia.patch
Patch44: build-arm-libopus.patch
Patch71: 0001-GLIBCXX-fix-for-GCC-12.patch
Patch78: firefox-i686-build.patch
Patch80: wasi.patch
-Patch81: firefox-gcc-15.0-s390.patch
Patch85: build-wasm32-wasip1.patch
# Fedora specific patches
@@ -275,13 +255,11 @@ Patch242: 0026-Add-KDE-integration-to-Firefox.patch
Patch400: mozilla-1196777.patch
Patch401: mozilla-1667096.patch
-
# PGO/LTO patches
Patch600: pgo.patch
Patch602: mozilla-1516803.patch
Patch603: firefox-gcc-always-inline.patch
-
%if %{?system_nss}
BuildRequires: pkgconfig(nspr) >= %{nspr_version}
BuildRequires: pkgconfig(nss) >= %{nss_version}
@@ -376,8 +354,6 @@ BuildRequires: python3-setuptools
BuildRequires: python3.11-devel
%if !0%{?flatpak}
Requires: u2f-hidraw-policy
-%endif
-%if %{?use_xdg_file_portal}
Requires: xdg-desktop-portal
%endif
@@ -473,15 +449,8 @@ BuildRequires: compiler-rt
Obsoletes: mozilla <= 37:1.7.13
Provides: webclient
-# Don't ship firefox-x11 and firefox-wayland on Fedora 40.
-# Wayland backend is considered as mature enough now.
-# We need to use v-r in Obsoletes because new versions of this
-# package keep being built in older releases, and we want to
-# obsolete all of them when the user updates to F40+.
-%if 0%{?fedora} >= 40
Obsoletes: firefox-wayland < %{version}-%{release}
Obsoletes: firefox-x11 < %{version}-%{release}
-%endif
%description
Mozilla Firefox is an open-source web browser, designed for standards
@@ -517,28 +486,6 @@ debug %{name}, you want to install %{name}-debuginfo instead.
%global _find_debuginfo_opts %{limit_build -m 32768}
%endif
-%if 0%{?fedora} < 40
-%package x11
-Summary: Firefox X11 launcher.
-Requires: %{name}
-%description x11
-The firefox-x11 package contains launcher and desktop file
-to run Firefox explicitly on X11.
-%files x11
-%{_bindir}/firefox-x11
-%{_datadir}/applications/firefox-x11.desktop
-
-%package wayland
-Summary: Firefox Wayland launcher.
-Requires: %{name}
-%description wayland
-The firefox-wayland package contains launcher and desktop file
-to run Firefox explicitly on Wayland.
-%files wayland
-%{_bindir}/firefox-wayland
-%{_datadir}/applications/firefox-wayland.desktop
-%endif
-
%if 0%{?run_firefox_tests}
%global testsuite_pkg_name %{name}-testresults
%package -n %{testsuite_pkg_name}
@@ -563,11 +510,9 @@ This package contains results of tests executed during build.
# there is a compare of config and js/config directories and .orig suffix is
# ignored during this compare.
-%patch -P40 -p1 -b .aarch64-skia
%patch -P44 -p1 -b .build-arm-libopus
%patch -P71 -p1 -b .0001-GLIBCXX-fix-for-GCC-12
%patch -P78 -p1 -b .firefox-i686
-%patch -P81 -p1 -b .firefox-gcc-15.0-s390
%if 0%{?fedora} >= 44 || 0%{?rhel} >= 11
%patch -P85 -p1 -b .wasm32-wasip1
%endif
@@ -856,6 +801,8 @@ MOZ_OPT_FLAGS=$(echo "$MOZ_OPT_FLAGS" | sed -e 's/-fexceptions//')
# See also https://fedoraproject.org/wiki/Changes/Harden_All_Packages
# Workaround for mozbz#1531309
MOZ_OPT_FLAGS=$(echo "$MOZ_OPT_FLAGS" | sed -e 's/-Werror=format-security//')
+# Bug 2458184 - Drop -fcf-protection flag during Firefox builds
+MOZ_OPT_FLAGS=$(echo "$MOZ_OPT_FLAGS" | sed -e 's/-fcf-protection//')
# More Fedora specific build flags
MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -fpermissive"
%if %{?debug_build}
@@ -997,25 +944,11 @@ mkdir -p %{buildroot}%{_datadir}/dbus-1/services
cp %{SOURCE46} %{buildroot}%{_datadir}/dbus-1/services
%endif
-%if 0%{?fedora} >= 40
desktop-file-install --dir %{buildroot}%{_datadir}/applications %{SOURCE47}
-%else
-# We can't use desktop-file-install as it refuses to install firefox.desktop file.
-cp %{SOURCE20} %{buildroot}%{_datadir}/applications
-%endif
-
-%if 0%{?fedora} < 40
-desktop-file-install --dir %{buildroot}%{_datadir}/applications %{SOURCE31}
-desktop-file-install --dir %{buildroot}%{_datadir}/applications %{SOURCE29}
-%endif
# set up the firefox start script
rm -rf %{buildroot}%{_bindir}/firefox
-%if 0%{?fedora} < 40
-sed -e 's,/__PREFIX__,%{_prefix},g' -e 's,__APP_NAME__,firefox,g' %{SOURCE21} > %{buildroot}%{_bindir}/firefox
-%else
sed -e 's,/__PREFIX__,%{_prefix},g' -e 's,__APP_NAME__,org.mozilla.firefox,g' %{SOURCE21} > %{buildroot}%{_bindir}/firefox
-%endif
chmod 755 %{buildroot}%{_bindir}/firefox
%if 0%{?flatpak}
@@ -1024,13 +957,6 @@ sed -i -e 's|%FLATPAK_ENV_VARS%|export TMPDIR="$XDG_CACHE_HOME/tmp"|' %{buildroo
sed -i -e 's|%FLATPAK_ENV_VARS%||' %{buildroot}%{_bindir}/firefox
%endif
-%if 0%{?fedora} < 40
-sed -e 's,/__PREFIX__,%{_prefix},g' %{SOURCE30} > %{buildroot}%{_bindir}/firefox-x11
-chmod 755 %{buildroot}%{_bindir}/firefox-x11
-sed -e 's,/__PREFIX__,%{_prefix},g' %{SOURCE28} > %{buildroot}%{_bindir}/firefox-wayland
-chmod 755 %{buildroot}%{_bindir}/firefox-wayland
-%endif
-
install -p -D -m 644 %{SOURCE23} %{buildroot}%{_mandir}/man1/firefox.1
rm -f %{buildroot}/%{mozappdir}/firefox-config
@@ -1135,9 +1061,6 @@ cp failures-* %{buildroot}/%{version}-%{release}/ || true
# Default
cp %{SOURCE12} %{buildroot}%{mozappdir}/browser/defaults/preferences
-%if %{?use_xdg_file_portal}
-echo 'pref("widget.use-xdg-desktop-portal.file-picker", 1);' >> %{buildroot}%{mozappdir}/browser/defaults/preferences/firefox-redhat-default-prefs.js
-%endif
%if %{?use_pipewire_camera}
echo 'pref("media.webrtc.camera.allow-pipewire", true);' >> %{buildroot}%{mozappdir}/browser/defaults/preferences/firefox-redhat-default-prefs.js
@@ -1153,15 +1076,9 @@ sed -e "s/__NAME__/%(source /etc/os-release; echo ${NAME})/" \
# Install appdata file
mkdir -p %{buildroot}%{_datadir}/metainfo
-%if 0%{?fedora} >= 40
sed -e "s/__VERSION__/%{version}/" \
-e "s/__DATE__/$(date '+%F')/" \
%{SOURCE48} > %{buildroot}%{_datadir}/metainfo/org.mozilla.firefox.appdata.xml
-%else
-sed -e "s/__VERSION__/%{version}/" \
- -e "s/__DATE__/$(date '+%F')/" \
- %{SOURCE33} > %{buildroot}%{_datadir}/metainfo/firefox.appdata.xml
-%endif
# Remove copied libraries to speed up build
rm -f %{buildroot}%{mozappdirdev}/sdk/lib/libmozjs.so
@@ -1224,11 +1141,7 @@ fi
%dir %{_sysconfdir}/%{name}/*
%dir %{_datadir}/mozilla/extensions/*
%dir %{_libdir}/mozilla/extensions/*
-%if 0%{?fedora} >= 40
%{_datadir}/applications/org.mozilla.firefox.desktop
-%else
-%{_datadir}/applications/firefox.desktop
-%endif
%if %{gnome_shell_search_provider}
%{_datadir}/dbus-1/services/*
%{_datadir}/gnome-shell/search-providers/*.ini
@@ -1286,6 +1199,36 @@ fi
#---------------------------------------------------------------------
%changelog
+* Mon Aug 3 2026 Martin Stransky <stransky@redhat.com> - 153.0.1-1
+- Updated to 153.0.1
+
+* Sun Jul 26 2026 Yaakov Selkowitz <yselkowi@redhat.com> - 153.0-4
+- Do not require xdg-desktop-portal in flatpak builds
+
+* Wed Jul 22 2026 Martin Stransky <stransky@redhat.com> - 153.0-3
+- Disabled dom.ipc.forkserver.enable due to mzbz#2056004.
+
+* Tue Jul 21 2026 Martin Stransky <stransky@redhat.com> - 153.0-2
+- Temporary disable PGO
+
+* Thu Jul 16 2026 Martin Stransky <stransky@redhat.com> - 153.0-1
+- Updated to latest upstream (153.0)
+
+* Wed Jul 15 2026 Fedora Release Engineering <releng@fedoraproject.org> - 152.0.6-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
+
+* Tue Jul 14 2026 Martin Stransky <stransky@redhat.com> - 152.0.6-1
+- Updated to latest upstream (152.0.6)
+
+* Fri Jul 10 2026 Martin Stransky <stransky@redhat.com> - 152.0.4-3
+- Added rhbz#2458184 - Drop -fcf-protection flag
+
+* Tue Jul 07 2026 Martin Stransky <stransky@redhat.com> - 152.0.4-2
+- Remove Fedora 40/41 tweaks.
+
+* Mon Jul 06 2026 Martin Stransky <stransky@redhat.com> - 152.0.4-1
+- Update to latest upstream (152.0.4)
+
* Thu Jun 25 2026 Jan Horak <jhorak@redhat.com> - 152.0.2-1
- Update to latest upstream (152.0.2)
diff --git a/gen_cbindgen-vendor.sh b/gen_cbindgen-vendor.sh
index 5711901..2730ed9 100755
--- a/gen_cbindgen-vendor.sh
+++ b/gen_cbindgen-vendor.sh
@@ -12,7 +12,7 @@ to be used with 'cargo vendor' commmand.
"""
[dependencies]
-cbindgen = "0.29.1"
+cbindgen = "0.29.4"
[[bin]]
name = "dummy"
diff --git a/sources b/sources
index a3f6653..37a8101 100644
--- a/sources
+++ b/sources
@@ -1,8 +1,8 @@
SHA512 (mochitest-python.tar.gz) = 089b1593068b76f4572af0086eaccf52a6a1299bfffb58593206d19bf021ae381f2380bbfeb4371586cd53706ff6dde3d240238b2caf19b96c57dfc2f4524e36
SHA512 (dump_syms-vendor.tar.xz) = ee0ea52aac781b8dd48936a3d13b140bd725a48cc488d23693b68edbe3bcfba5723022dba3c3849d0da1bacf0e37ddd307cfc56304159f91b71495ce8a08b54a
-SHA512 (cbindgen-vendor.tar.xz) = bea420e66bdd1c7c944655dd3e01abd6e7d6ac4b245c7ee190f31d800f7786f21e5cae11715b479bf795f4369d18c40dc12df19e0b643664f2f78e5c8a681415
SHA512 (wasi-sdk-30.tar.gz) = c08b2ddb5d5cf5b48c5baba80c65c485a3049b473d2f2dd2babb402243a7709633c695dfee5f9cbba52fa25ad832f02f3b73d9ba1141c4d44dc30db70292a04d
SHA512 (wasm-component-ld-vendor.tar.xz) = 356dc09502052198e99745199b8e10d803da9492ce34e41c6ae02cb8674fcc640cd5eafe68a03e4e61c984f7f6c7c8e5cdc3551251556fb3ae4631a340358fc0
SHA512 (wasm-tools-vendor.tar.xz) = 502be0020d1828b75128e6127eb7bd77835ccebe4e5c179abc38d881bb1d1f8e15d2284796cd83574536c7c919a3e820e0952d323e8a3977e94bdef89cd8266a
-SHA512 (firefox-152.0.2.source.tar.xz) = e4e54cffffcfd5751eac5817a7b74b0ef0aa43fc00ef29397cc9df9aa52572b2272b96e60373a70d712be4dc849170d8d5c1b449f3ea978b4ab28dee19056b03
-SHA512 (firefox-langpacks-152.0.2-20260625.tar.xz) = a5240faeda40a358e6314ce7601944aeb8524167131fe7f37dde7ef71e1a35c5a266104b07f82ece20e1b1492855175efb34ca94885cbdc027678af720e5bcd2
+SHA512 (cbindgen-vendor.tar.xz) = dfefc3ec4c7b7d9fe1b024289866c5a919475b8b733e09ef1750d8d295ba78969ba187089dbc151d91779bf56a2d7898797c3d19db6e2d1cb84929750e86617d
+SHA512 (firefox-langpacks-153.0.1-20260803.tar.xz) = da7644aaf459fc6f164525debd005c2180d61b14a7e123fb98900c01259f375b9bb207e9a486eb0c8e21d06dc703ed132b2ccdf02b64861ef58baf2819014088
+SHA512 (firefox-153.0.1.source.tar.xz) = 310d1aa27b7902ef5e052962e3b7d2819d0f5f6e596fddeafee53f09e9390d4801f5b654f4ca1e9fd4c15c71241fc31844afaa4d086f82c51b516a401fbe7f40
diff --git a/wasi.patch b/wasi.patch
index 70be783..1fe5e19 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-152.0-build/firefox-152.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-153.0-build/firefox-153.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] only message in thread
only message in thread, other threads:[~2026-08-04 9:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-04 9:23 [rpms/firefox] rawhide: Merge #104 `change startup homepage preference` Martin Stransky
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox