build fixes
This commit is contained in:
parent
660dba72e9
commit
4cb1381d80
12
build-python.patch
Normal file
12
build-python.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -up firefox-95.0/build/mach_virtualenv_packages.txt.pytpatch firefox-95.0/build/mach_virtualenv_packages.txt
|
||||||
|
--- firefox-95.0/build/mach_virtualenv_packages.txt.pytpatch 2021-12-06 07:52:44.829038010 +0100
|
||||||
|
+++ firefox-95.0/build/mach_virtualenv_packages.txt 2021-12-06 07:53:56.676269562 +0100
|
||||||
|
@@ -1,7 +1,7 @@
|
||||||
|
packages.txt:build/common_virtualenv_packages.txt
|
||||||
|
# glean-sdk may not be installable if a wheel isn't available
|
||||||
|
# and it has to be built from source.
|
||||||
|
-pypi-optional:glean-sdk==40.0.0:telemetry will not be collected
|
||||||
|
+pypi-optional:glean-sdk>=40.0.0,<=42.2.0:telemetry will not be collected
|
||||||
|
# Mach gracefully handles the case where `psutil` is unavailable.
|
||||||
|
# We aren't (yet) able to pin packages in automation, so we have to
|
||||||
|
# support down to the oldest locally-installed version (5.4.2).
|
@ -16,6 +16,7 @@ ac_add_options --with-system-fdk-aac
|
|||||||
ac_add_options --enable-js-shell
|
ac_add_options --enable-js-shell
|
||||||
ac_add_options --with-unsigned-addon-scopes=app,system
|
ac_add_options --with-unsigned-addon-scopes=app,system
|
||||||
ac_add_options --without-sysroot
|
ac_add_options --without-sysroot
|
||||||
|
ac_add_options --without-wasm-sandboxed-libraries
|
||||||
|
|
||||||
export BUILD_OFFICIAL=1
|
export BUILD_OFFICIAL=1
|
||||||
export MOZILLA_OFFICIAL=1
|
export MOZILLA_OFFICIAL=1
|
||||||
|
@ -126,7 +126,7 @@ ExcludeArch: aarch64
|
|||||||
%if %{?system_nss}
|
%if %{?system_nss}
|
||||||
%global nspr_version 4.26
|
%global nspr_version 4.26
|
||||||
%global nspr_build_version %{nspr_version}
|
%global nspr_build_version %{nspr_version}
|
||||||
%global nss_version 3.70
|
%global nss_version 3.73
|
||||||
%global nss_build_version %{nss_version}
|
%global nss_build_version %{nss_version}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -218,6 +218,7 @@ Patch54: mozilla-1669639.patch
|
|||||||
Patch55: firefox-testing.patch
|
Patch55: firefox-testing.patch
|
||||||
Patch57: firefox-disable-ffvpx-with-vapi.patch
|
Patch57: firefox-disable-ffvpx-with-vapi.patch
|
||||||
Patch61: firefox-glibc-dynstack.patch
|
Patch61: firefox-glibc-dynstack.patch
|
||||||
|
Patch62: build-python.patch
|
||||||
|
|
||||||
# Test patches
|
# Test patches
|
||||||
# Generate without context by
|
# Generate without context by
|
||||||
@ -460,6 +461,7 @@ This package contains results of tests executed during build.
|
|||||||
#%patch55 -p1 -b .testing
|
#%patch55 -p1 -b .testing
|
||||||
%patch57 -p1 -b .ffvpx-with-vapi
|
%patch57 -p1 -b .ffvpx-with-vapi
|
||||||
#%patch61 -p1 -b .glibc-dynstack
|
#%patch61 -p1 -b .glibc-dynstack
|
||||||
|
%patch62 -p1 -b .build-python
|
||||||
|
|
||||||
# Test patches
|
# Test patches
|
||||||
#%patch100 -p1 -b .firefox-tests-xpcshell
|
#%patch100 -p1 -b .firefox-tests-xpcshell
|
||||||
@ -482,7 +484,7 @@ This package contains results of tests executed during build.
|
|||||||
%patch407 -p1 -b .1667096
|
%patch407 -p1 -b .1667096
|
||||||
%patch408 -p1 -b .1663844
|
%patch408 -p1 -b .1663844
|
||||||
%patch415 -p1 -b .1670333
|
%patch415 -p1 -b .1670333
|
||||||
%patch420 -p1 -b .mochitest-wayland-workaround
|
#%patch420 -p1 -b .mochitest-wayland-workaround
|
||||||
|
|
||||||
# PGO patches
|
# PGO patches
|
||||||
%if %{build_with_pgo}
|
%if %{build_with_pgo}
|
||||||
|
Loading…
Reference in New Issue
Block a user