|
@@ -1,9 +1,9 @@
|
|
%bcond_with clang
|
|
%bcond_with clang
|
|
|
|
|
|
# do not include minor version number in MOZILLA_FIVE_HOME
|
|
# do not include minor version number in MOZILLA_FIVE_HOME
|
|
-%global ffmajor 68.10
|
|
|
|
-%global geckomajor 68.10
|
|
|
|
-%global ffminor 0
|
|
|
|
|
|
+%global ffmajor 78.0
|
|
|
|
+%global geckomajor 78.0
|
|
|
|
+%global ffminor 2
|
|
%global ffversion %{ffmajor}%{?ffminor:.%{ffminor}}
|
|
%global ffversion %{ffmajor}%{?ffminor:.%{ffminor}}
|
|
%define ffdir %{_libdir}/firefox
|
|
%define ffdir %{_libdir}/firefox
|
|
%define tarballdir firefox-%{ffversion}
|
|
%define tarballdir firefox-%{ffversion}
|
|
@@ -76,22 +76,53 @@ Source2000: firefox-searchplugins-6.0-ja.tar.bz2
|
|
|
|
|
|
Source3000: firefox.metainfo.xml
|
|
Source3000: firefox.metainfo.xml
|
|
|
|
|
|
-# build patches
|
|
|
|
-Patch4: build-mozconfig-fix.patch
|
|
|
|
-
|
|
|
|
-# patches from fedora
|
|
|
|
|
|
+# Build patches
|
|
|
|
+#Patch3: mozilla-build-arm.patch
|
|
|
|
+#Patch25: rhbz-1219542-s390-build.patch
|
|
|
|
+#Patch26: build-icu-big-endian.patch
|
|
|
|
+#Patch32: build-rust-ppc64le.patch
|
|
|
|
+#Patch35: build-ppc-jit.patch
|
|
|
|
+# Always feel lucky for unsupported platforms:
|
|
|
|
+# https://bugzilla.mozilla.org/show_bug.cgi?id=1347128
|
|
|
|
+#Patch37: build-jit-atomic-always-lucky.patch
|
|
|
|
+# Fixing missing cacheFlush when JS_CODEGEN_NONE is used (s390x)
|
|
|
|
+#Patch38: build-cacheFlush-missing.patch
|
|
|
|
+#Patch40: build-aarch64-skia.patch
|
|
|
|
+Patch41: build-disable-elfhack.patch
|
|
|
|
+#Patch44: build-arm-libopus.patch
|
|
|
|
+Patch46: firefox-nss-version.patch
|
|
|
|
+#Patch47: fedora-shebang-build.patch
|
|
|
|
+#Patch48: build-arm-wasm.patch
|
|
|
|
+#Patch49: build-arm-libaom.patch
|
|
|
|
+
|
|
|
|
+# Fedora specific patches
|
|
Patch215: firefox-enable-addons.patch
|
|
Patch215: firefox-enable-addons.patch
|
|
Patch219: rhbz-1173156.patch
|
|
Patch219: rhbz-1173156.patch
|
|
|
|
+Patch221: firefox-fedora-ua.patch
|
|
Patch224: mozilla-1170092.patch
|
|
Patch224: mozilla-1170092.patch
|
|
-Patch230: rhbz-1503632-nss.patch
|
|
|
|
|
|
+#ARM run-time patch
|
|
|
|
+Patch226: rhbz-1354671.patch
|
|
|
|
+Patch227: firefox-locale-debug.patch
|
|
|
|
|
|
-# upstream patch
|
|
|
|
|
|
+# Upstream patches
|
|
Patch402: mozilla-1196777.patch
|
|
Patch402: mozilla-1196777.patch
|
|
Patch412: mozilla-1337988.patch
|
|
Patch412: mozilla-1337988.patch
|
|
-#Patch413: mozilla-1353817.patch
|
|
|
|
-Patch419: mozilla-1568569.patch
|
|
|
|
-Patch420: mozilla-1566876-webrtc-ind.patch
|
|
|
|
-Patch421: mozilla-1579023.patch
|
|
|
|
|
|
+Patch415: Bug-1238661---fix-mozillaSignalTrampoline-to-work-.patch
|
|
|
|
+Patch417: bug1375074-save-restore-x28.patch
|
|
|
|
+Patch422: mozilla-1580174-webrtc-popup.patch
|
|
|
|
+
|
|
|
|
+# Wayland specific upstream patches
|
|
|
|
+#Patch574: firefox-pipewire-0-2.patch
|
|
|
|
+#Patch575: firefox-pipewire-0-3.patch
|
|
|
|
+
|
|
|
|
+#VA-API patches
|
|
|
|
+Patch584: firefox-disable-ffvpx-with-vapi.patch
|
|
|
|
+Patch585: firefox-vaapi-extra-frames.patch
|
|
|
|
+Patch589: mozilla-1634213.patch
|
|
|
|
+
|
|
|
|
+# PGO/LTO patches
|
|
|
|
+Patch600: pgo.patch
|
|
|
|
+Patch602: mozilla-1516803.patch
|
|
|
|
|
|
# customization patches
|
|
# customization patches
|
|
|
|
|
|
@@ -181,26 +212,37 @@ FX ウェブブラウザは Mozilla テクノロジーをベースとしたオ
|
|
%setup -q -n %{name}-%{version} -c
|
|
%setup -q -n %{name}-%{version} -c
|
|
cd %{tarballdir}
|
|
cd %{tarballdir}
|
|
|
|
|
|
-%patch4 -p1 -b .build-mozconfig-fix
|
|
|
|
|
|
+%if 0%{?disable_elfhack}
|
|
|
|
+%patch41 -p1 -b .disable-elfhack
|
|
|
|
+%endif
|
|
|
|
+%patch46 -p1 -b .nss-version
|
|
|
|
|
|
# Fedora patches
|
|
# Fedora patches
|
|
%patch215 -p1 -b .addons
|
|
%patch215 -p1 -b .addons
|
|
%patch219 -p1 -b .rhbz-1173156
|
|
%patch219 -p1 -b .rhbz-1173156
|
|
|
|
+%patch221 -p1 -b .fedora-ua
|
|
%patch224 -p1 -b .1170092
|
|
%patch224 -p1 -b .1170092
|
|
-
|
|
|
|
-# This ensures no migration of certdb to sqlite on the RHEL6 and RHEL7.
|
|
|
|
-# This needs to stay for the future releases
|
|
|
|
-%if 0%{?rhel} < 8
|
|
|
|
-%patch230 -p1 -b .1503632-nss
|
|
|
|
|
|
+#ARM run-time patch
|
|
|
|
+%ifarch aarch64
|
|
|
|
+%patch226 -p1 -b .1354671
|
|
%endif
|
|
%endif
|
|
|
|
+%patch227 -p1 -b .locale-debug
|
|
|
|
|
|
%patch402 -p1 -b .1196777
|
|
%patch402 -p1 -b .1196777
|
|
-%patch419 -p1 -b .1568569
|
|
|
|
-%patch420 -p1 -b .1566876-webrtc-ind
|
|
|
|
-%patch421 -p1 -b .1579023
|
|
|
|
|
|
+%ifarch %{arm}
|
|
|
|
+%patch415 -p1 -b .1238661
|
|
|
|
+%endif
|
|
|
|
+
|
|
|
|
+#patch584 -p1 -b .firefox-disable-ffvpx-with-vapi
|
|
|
|
+#patch585 -p1 -b .firefox-vaapi-extra-frames
|
|
|
|
+#patch589 -p1 -b .mozilla-1634213
|
|
|
|
|
|
|
|
+# PGO patches
|
|
|
|
+%patch600 -p1 -b .pgo
|
|
|
|
+#fix
|
|
|
|
+%patch602 -p1 -b .1516803
|
|
|
|
|
|
-%patch1000 -p0 -b .ignore-exception
|
|
|
|
|
|
+#%patch1000 -p0 -b .ignore-exception
|
|
|
|
|
|
perl -pi \
|
|
perl -pi \
|
|
-e 's|pref\("extensions.langpacks.signatures.required".*$|pref("extensions.langpacks.signatures.required", false);|' \
|
|
-e 's|pref\("extensions.langpacks.signatures.required".*$|pref("extensions.langpacks.signatures.required", false);|' \
|
|
@@ -260,23 +302,24 @@ chmod -x third_party/rust/itertools/src/lib.rs
|
|
|
|
|
|
%build
|
|
%build
|
|
cd %{tarballdir}
|
|
cd %{tarballdir}
|
|
|
|
+export LANG=ja_JP.UTF-8
|
|
|
|
|
|
# install bundled cbindgen
|
|
# install bundled cbindgen
|
|
mkdir -p my_rust_vendor
|
|
mkdir -p my_rust_vendor
|
|
cd my_rust_vendor
|
|
cd my_rust_vendor
|
|
%{__tar} xf %{SOURCE2}
|
|
%{__tar} xf %{SOURCE2}
|
|
-cd -
|
|
|
|
mkdir -p .cargo
|
|
mkdir -p .cargo
|
|
cat > .cargo/config <<EOL
|
|
cat > .cargo/config <<EOL
|
|
[source.crates-io]
|
|
[source.crates-io]
|
|
replace-with = "vendored-sources"
|
|
replace-with = "vendored-sources"
|
|
|
|
|
|
[source.vendored-sources]
|
|
[source.vendored-sources]
|
|
-directory = "`pwd`/my_rust_vendor"
|
|
|
|
|
|
+directory = "`pwd`"
|
|
EOL
|
|
EOL
|
|
|
|
|
|
env CARGO_HOME=.cargo cargo install cbindgen
|
|
env CARGO_HOME=.cargo cargo install cbindgen
|
|
export PATH=`pwd`/.cargo/bin:$PATH
|
|
export PATH=`pwd`/.cargo/bin:$PATH
|
|
|
|
+cd -
|
|
|
|
|
|
mkdir %{nodewrapperdir} || :
|
|
mkdir %{nodewrapperdir} || :
|
|
cp %{SOURCE32} %{nodewrapperdir}/ || :
|
|
cp %{SOURCE32} %{nodewrapperdir}/ || :
|
|
@@ -347,6 +390,7 @@ MOZ_NOSPAM=1 ./mach build
|
|
%install
|
|
%install
|
|
cd %{tarballdir}
|
|
cd %{tarballdir}
|
|
%{__rm} -rf $RPM_BUILD_ROOT
|
|
%{__rm} -rf $RPM_BUILD_ROOT
|
|
|
|
+export LANG=ja_JP.UTF-8
|
|
|
|
|
|
# set up our default bookmarks
|
|
# set up our default bookmarks
|
|
%{__cp} -p %{SOURCE11} objdir/dist/bin/browser/chrome/en-US/locale/browser/bookmarks.html
|
|
%{__cp} -p %{SOURCE11} objdir/dist/bin/browser/chrome/en-US/locale/browser/bookmarks.html
|
|
@@ -525,6 +569,10 @@ fi
|
|
#---------------------------------------------------------------------
|
|
#---------------------------------------------------------------------
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Fri Jul 17 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 78.0.2-1
|
|
|
|
+- updated to 78.0.2.
|
|
|
|
+- replaced all patches to rawhide's.
|
|
|
|
+
|
|
* Thu Jul 02 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 68.10.0-1
|
|
* Thu Jul 02 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 68.10.0-1
|
|
- updated to 68.10.0.
|
|
- updated to 68.10.0.
|
|
|
|
|