Compare commits
14 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5cae6ba548 | ||
|
|
4705e57bd9 | ||
|
|
f146ba56bb | ||
|
|
24fd754487 | ||
|
|
462718a74b | ||
|
|
1e7c0442f3 | ||
|
|
89608198f4 | ||
|
|
23c7be839d | ||
|
|
72f755bd6f | ||
|
|
bab13b94df | ||
|
|
6f0f3b9cb3 | ||
|
|
eafa7d4b2b | ||
|
|
64c0ad783f | ||
|
|
d96e56c1d7 |
8 changed files with 62 additions and 40 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -743,3 +743,7 @@ firefox-3.6.4.source.tar.bz2
|
|||
/firefox-146.0.source.tar.xz
|
||||
/firefox-langpacks-146.0-20251202.tar.xz
|
||||
/firefox-langpacks-146.0-20251208.tar.xz
|
||||
/firefox-146.0.1.source.tar.xz
|
||||
/firefox-langpacks-146.0.1-20251219.tar.xz
|
||||
/firefox-langpacks-147.0-20260106.tar.xz
|
||||
/firefox-147.0.source.tar.xz
|
||||
|
|
|
|||
|
|
@ -1,17 +0,0 @@
|
|||
diff --git a/parser/htmlaccel/htmlaccelEnabled.h b/parser/htmlaccel/htmlaccelEnabled.h
|
||||
--- a/parser/htmlaccel/htmlaccelEnabled.h
|
||||
+++ b/parser/htmlaccel/htmlaccelEnabled.h
|
||||
@@ -26,11 +26,11 @@
|
||||
inline bool htmlaccelEnabled() {
|
||||
#if !defined(__clang__) && defined(__GNUC__) && __GNUC__ < 12
|
||||
// __GNUC__ is stuck at 4 in clang, so we need to check __clang__ above.
|
||||
// GCC 12 or newer is required for __builtin_shuffle.
|
||||
return false;
|
||||
-#elif defined(__aarch64__) && defined(__LITTLE_ENDIAN__)
|
||||
+#elif defined(__aarch64__) && defined(__ORDER_LITTLE_ENDIAN__)
|
||||
# define MOZ_MAY_HAVE_HTMLACCEL 1
|
||||
return true;
|
||||
#elif defined(__x86_64__)
|
||||
# define MOZ_MAY_HAVE_HTMLACCEL 1
|
||||
bool ret = mozilla::supports_bmi();
|
||||
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -6,17 +6,10 @@ firefox \- a Web browser for X11 derived from the Mozilla browser
|
|||
.B firefox
|
||||
[\fIOPTIONS\fR ...] [\fIURL\fR]
|
||||
|
||||
.B firefox-bin
|
||||
[\fIOPTIONS\fR] [\fIURL\fR]
|
||||
|
||||
.SH DESCRIPTION
|
||||
\fBMozilla Firefox\fR is an open-source web browser, designed for
|
||||
standards compliance, performance and portability.
|
||||
|
||||
.SH USAGE
|
||||
\fBfirefox\fR is a simple shell script that will set up the
|
||||
environment for the actual executable, \fBfirefox-bin\fR.
|
||||
|
||||
.SH OPTIONS
|
||||
A summary of the options supported by \fBfirefox\fR is included below.
|
||||
|
||||
|
|
@ -132,7 +125,7 @@ Specify destination file for a drawing recording.
|
|||
\fI/usr/bin/firefox\fR - shell script wrapping
|
||||
\fBfirefox\fR
|
||||
.br
|
||||
\fI/usr/lib64/firefox/firefox-bin\fR - \fBfirefox\fR
|
||||
\fI/usr/lib64/firefox/firefox\fR - \fBfirefox\fR
|
||||
executable
|
||||
|
||||
.SH VERSION
|
||||
|
|
|
|||
30
firefox.spec
30
firefox.spec
|
|
@ -156,7 +156,7 @@ ExcludeArch: i686
|
|||
%if %{?system_nss}
|
||||
%global nspr_version 4.37
|
||||
%global nspr_build_version %{nspr_version}
|
||||
%global nss_version 3.116
|
||||
%global nss_version 3.119
|
||||
%global nss_build_version %{nss_version}
|
||||
%endif
|
||||
|
||||
|
|
@ -200,14 +200,14 @@ ExcludeArch: i686
|
|||
|
||||
Summary: Mozilla Firefox Web browser
|
||||
Name: firefox
|
||||
Version: 146.0
|
||||
Release: 3%{?pre_tag}%{?dist}
|
||||
Version: 147.0
|
||||
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}-20251208.tar.xz
|
||||
Source1: firefox-langpacks-%{version}%{?pre_version}-20260106.tar.xz
|
||||
%endif
|
||||
Source2: cbindgen-vendor.tar.xz
|
||||
Source3: dump_syms-vendor.tar.xz
|
||||
|
|
@ -274,7 +274,6 @@ Patch242: 0026-Add-KDE-integration-to-Firefox.patch
|
|||
# Upstream patches
|
||||
Patch400: mozilla-1196777.patch
|
||||
Patch401: mozilla-1667096.patch
|
||||
Patch402: D275955.1765540580.diff
|
||||
|
||||
# PGO/LTO patches
|
||||
Patch600: pgo.patch
|
||||
|
|
@ -594,7 +593,6 @@ cat %{SOURCE49} | sed -e "s|LIBCLANG_RT_PLACEHOLDER|`pwd`/wasi-sdk-25/build/sysr
|
|||
|
||||
%patch -P400 -p1 -b .1196777
|
||||
%patch -P401 -p1 -b .1667096
|
||||
%patch -P402 -p1 -b .D275955.1765540580
|
||||
|
||||
# PGO patches
|
||||
%if %{build_with_pgo}
|
||||
|
|
@ -863,7 +861,7 @@ export MOZ_DEBUG_FLAGS=" "
|
|||
MOZ_LINK_FLAGS="%{build_ldflags}"
|
||||
%if !%{with build_with_clang}
|
||||
%ifarch aarch64 %{ix86} ppc64le x86_64
|
||||
MOZ_LINK_FLAGS="$MOZ_LINK_FLAGS -Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
|
||||
MOZ_LINK_FLAGS="$MOZ_LINK_FLAGS -Wl,--no-keep-memory"
|
||||
%endif
|
||||
%endif
|
||||
%ifarch %{ix86} s390x ppc64le
|
||||
|
|
@ -1018,6 +1016,7 @@ install -p -D -m 644 %{SOURCE23} %{buildroot}%{_mandir}/man1/firefox.1
|
|||
|
||||
rm -f %{buildroot}/%{mozappdir}/firefox-config
|
||||
rm -f %{buildroot}/%{mozappdir}/update-settings.ini
|
||||
rm -f %{buildroot}/%{mozappdir}/firefox-bin
|
||||
|
||||
for s in 16 22 24 32 48 256; do
|
||||
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/${s}x${s}/apps
|
||||
|
|
@ -1200,7 +1199,6 @@ fi
|
|||
%endif
|
||||
%{_bindir}/firefox
|
||||
%{mozappdir}/firefox
|
||||
%{mozappdir}/firefox-bin
|
||||
%{mozappdir}/glxtest
|
||||
%doc %{_mandir}/man1/*
|
||||
%dir %{_sysconfdir}/%{name}
|
||||
|
|
@ -1268,6 +1266,22 @@ fi
|
|||
#---------------------------------------------------------------------
|
||||
|
||||
%changelog
|
||||
* Tue Jan 06 2026 Martin Stransky <stransky@redhat.com> - 147.0-1
|
||||
- Updated to 147.0
|
||||
|
||||
* Fri Dec 19 2025 Martin Stransky <stransky@redhat.com> - 146.0.1-1
|
||||
- Updated to 146.0.1
|
||||
|
||||
* Wed Dec 17 2025 Martin Stransky <stransky@redhat.com> - 146.0-6
|
||||
- Added upstream patch IWYU (libwebrtc IWYU fixes for PipeWire)
|
||||
- Claude AI assisted editing (failed to do whole work, but it was close!)
|
||||
|
||||
* Wed Dec 17 2025 Martin Stransky <stransky@redhat.com> - 146.0-5
|
||||
- Removed firefox-bin from man pages
|
||||
|
||||
* Thu Dec 11 2025 Martin Stransky <stransky@redhat.com> - 146.0-4
|
||||
- Removed firefox-bin
|
||||
|
||||
* Thu Dec 11 2025 Martin Stransky <stransky@redhat.com> - 146.0-3
|
||||
- Added aarch64 crash fix
|
||||
- Fixed rawhide gcc build (kudos to jhorak who hacked it! He's just awesome.)
|
||||
|
|
|
|||
21
fix-cargo-checksum
Executable file
21
fix-cargo-checksum
Executable file
|
|
@ -0,0 +1,21 @@
|
|||
#!/bin/bash
|
||||
if [ -z $1 ]; then
|
||||
echo "Fixes .cargo-checksum.json by removing deleted files and recompute sha256sum"
|
||||
echo "Usage: $0 .cargo-checksum.json"
|
||||
exit
|
||||
fi
|
||||
|
||||
FILE=$1
|
||||
#set -x
|
||||
cp $FILE $1.backup
|
||||
for i in $(cat .cargo-checksum.json|jq -r '.files| keys[]'); do
|
||||
if [ ! -f $i ]; then
|
||||
#echo $i non exist
|
||||
sed -ie "s|\"$i\":\"[^\"]*\",||" $FILE
|
||||
else
|
||||
SHA=`sha256sum $i | cut -d " " -f1`
|
||||
sed -ie "s|\"$i\":\"[^\"]*\"|\"$i\":\"$SHA\"|" $FILE
|
||||
fi
|
||||
|
||||
#echo $i
|
||||
done
|
||||
4
sources
4
sources
|
|
@ -3,5 +3,5 @@ SHA512 (dump_syms-vendor.tar.xz) = ee0ea52aac781b8dd48936a3d13b140bd725a48cc488d
|
|||
SHA512 (wasi-sdk-25.tar.gz) = 1285981d26aa5eff27f08ed4b409909639ddcd62c94ee0cff7093ef68722f4b024c099ca3aa3ab50411e9aace13b86f1f30c5e08a3fc58b6a46b87369d6904aa
|
||||
SHA512 (wasm-component-ld-vendor.tar.xz) = 707d942d31455ae0a4f68bf419fb09a20407b6747f831ca554dcd00925b7ea98ef4d03a8652b6d2ae54cf48d7ad15d85aa7eb8d0778ef66b89593eaa8b5c3465
|
||||
SHA512 (cbindgen-vendor.tar.xz) = bea420e66bdd1c7c944655dd3e01abd6e7d6ac4b245c7ee190f31d800f7786f21e5cae11715b479bf795f4369d18c40dc12df19e0b643664f2f78e5c8a681415
|
||||
SHA512 (firefox-langpacks-146.0-20251208.tar.xz) = 6084dc27a0519647ca6016fb4e6a95bcdcf9cab409abffc8296af237b650d0704ff351dd66ebe4ef52f65622941f0a40f7ffe52cfb15d416e7cba6ce11f47b00
|
||||
SHA512 (firefox-146.0.source.tar.xz) = db6664310cdcdede832b29dea533b345a3ac86f9df7813118d44b1ec2c4a32e4de2b6e98044385ca6f6026eb3a9994c486a1ddb8b6f4ae7589ed46b122c05630
|
||||
SHA512 (firefox-langpacks-147.0-20260106.tar.xz) = 4006c6e8dda8722509c1d1756807373d431d75b20d5a0c3f19e72a2a0dc76df62b15ef871e3fff2d30b2682e6a56b4a4541d8445ea1b83641559a3270e0057b7
|
||||
SHA512 (firefox-147.0.source.tar.xz) = ac9017b1a2da7b2f139392c394c36341fd3476e3d4ea1a3c7e5e7bf100dc30d185132ef9256be7e6b0f9dbfc69234ac571ea1fc6db9d84543b15772f4ec85161
|
||||
|
|
|
|||
|
|
@ -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-144.0-build/firefox-144.0/wasi-sdk-25/build/sysroot/install/wasi-resource-dir/lib/wasi/libclang_rt.builtins-wasm32.a"]
|
||||
+ return ["--sysroot=%s" % wasi_sysroot, "-nodefaultlibs", "-lc", "-lwasi-emulated-process-clocks", "-lc++", "-lc++abi", "/raid/CVS/firefox/firefox-147.0-build/firefox-147.0/wasi-sdk-25/build/sysroot/install/wasi-resource-dir/lib/wasi/libclang_rt.builtins-wasm32.a"]
|
||||
return []
|
||||
|
||||
set_config("WASI_SYSROOT", wasi_sysroot)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue