diff --git a/introduction/welcome/changelog.xml b/introduction/welcome/changelog.xml index 47997d6bda..71dfb74e0e 100644 --- a/introduction/welcome/changelog.xml +++ b/introduction/welcome/changelog.xml @@ -41,6 +41,17 @@ --> + + August 16th, 2021 + + + [ken] - Firefox-91 and Thunderbird: Replace + create-mach-environment by MACH_USE_SYSTEM_PYTHON=1. Fixes + #15405. + + + + August 15th, 2021 diff --git a/xsoft/graphweb/firefox.xml b/xsoft/graphweb/firefox.xml index 9a48d8ded4..f3aeea8203 100644 --- a/xsoft/graphweb/firefox.xml +++ b/xsoft/graphweb/firefox.xml @@ -383,12 +383,12 @@ esac patch -p1 -i ../firefox-&firefox-version;esr-rustc1470-1.patch--> - Now invoke the Python script to compile the package. + Now invoke the Python mach script to compile the package. export CC=gcc CXX=g++ && +export MACH_USE_SYSTEM_PYTHON=1 && export MOZBUILD_STATE_PATH=${PWD}/mozbuild && -./mach create-mach-environment && ./mach configure && ./mach build @@ -407,13 +407,13 @@ export MOZBUILD_STATE_PATH=${PWD}/mozbuild && Now, as the root user: -./mach install +MACH_USE_SYSTEM_PYTHON=1 ./mach install - Set environment variables back to their values: + Empty the environment variables which were set above: -unset CC CXX MOZBUILD_STATE_PATH +unset CC CXX MACH_USE_SYSTEM_PYTHON MOZBUILD_STATE_PATH @@ -456,8 +456,9 @@ export MOZBUILD_STATE_PATH=${PWD}/mozbuild && - ./mach create-mach-environment: This uses the system - python to create a virtual environment for mach. + MACH_USE_SYSTEM_PYTHON=1: Use the system python + to create a virtual environment for mach without + downloading any python wheels. @@ -465,12 +466,6 @@ export MOZBUILD_STATE_PATH=${PWD}/mozbuild && dependencies and the mozconfig. - - ./mach build: Firefox - now uses this python script to run the - build and install. - - : Use this alternative if you need details of which files are being compiled, together with any C or diff --git a/xsoft/other/thunderbird.xml b/xsoft/other/thunderbird.xml index 47e9308129..dd130709da 100644 --- a/xsoft/other/thunderbird.xml +++ b/xsoft/other/thunderbird.xml @@ -222,8 +222,8 @@ EOF patch -p1 -i ../thunderbird-&thunderbird-version;-glibc234-1.patch - Compile Thunderbird by issuing the following - commands: + Now invoke the Python mach script to compile + Thunderbird: @@ -236,6 +236,7 @@ EOF export CC=gcc CXX=g++ && +export MACH_USE_SYSTEM_PYTHON=1 && ./mach create-mach-environment && ./mach configure && ./mach build @@ -249,7 +250,13 @@ EOF commands as the root user: -./mach install +MACH_USE_SYSTEM_PYTHON=1 ./mach install + + + Empty the environment variables which were set above: + + +unset CC CXX MACH_USE_SYSTEM_PYTHON @@ -274,6 +281,12 @@ EOF significantly smaller build time.--> + + MACH_USE_SYSTEM_PYTHON=1: Use the system python + to create a virtual environment for mach without + downloading any python wheels. + + : Use this alternative if you need details of which files are being compiled, together with any C or