mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-10 04:54:44 +08:00
Repleace create-mach-environment in FF91 and TB91.
This commit is contained in:
parent
08e1b767d0
commit
8d70628cdd
@ -41,6 +41,17 @@
|
|||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</listitem>
|
</listitem>
|
||||||
-->
|
-->
|
||||||
|
<listitem>
|
||||||
|
<para>August 16th, 2021</para>
|
||||||
|
<itemizedlist>
|
||||||
|
<listitem>
|
||||||
|
<para>[ken] - Firefox-91 and Thunderbird: Replace
|
||||||
|
create-mach-environment by MACH_USE_SYSTEM_PYTHON=1. Fixes
|
||||||
|
<ulink url="&blfs-ticket-root;15405">#15405</ulink>.</para>
|
||||||
|
</listitem>
|
||||||
|
</itemizedlist>
|
||||||
|
</listitem>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>August 15th, 2021</para>
|
<para>August 15th, 2021</para>
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
|
@ -383,12 +383,12 @@ esac</userinput></screen>
|
|||||||
<screen><userinput remap="pre">patch -p1 -i ../firefox-&firefox-version;esr-rustc1470-1.patch</userinput></screen>-->
|
<screen><userinput remap="pre">patch -p1 -i ../firefox-&firefox-version;esr-rustc1470-1.patch</userinput></screen>-->
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
Now invoke the Python script to compile the package.
|
Now invoke the Python <command>mach</command> script to compile the package.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<screen><userinput>export CC=gcc CXX=g++ &&
|
<screen><userinput>export CC=gcc CXX=g++ &&
|
||||||
|
export MACH_USE_SYSTEM_PYTHON=1 &&
|
||||||
export MOZBUILD_STATE_PATH=${PWD}/mozbuild &&
|
export MOZBUILD_STATE_PATH=${PWD}/mozbuild &&
|
||||||
./mach create-mach-environment &&
|
|
||||||
./mach configure &&
|
./mach configure &&
|
||||||
./mach build</userinput></screen>
|
./mach build</userinput></screen>
|
||||||
|
|
||||||
@ -407,13 +407,13 @@ export MOZBUILD_STATE_PATH=${PWD}/mozbuild &&
|
|||||||
Now, as the <systemitem class="username">root</systemitem> user:
|
Now, as the <systemitem class="username">root</systemitem> user:
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<screen role="root"><userinput>./mach install</userinput></screen>
|
<screen role="root"><userinput>MACH_USE_SYSTEM_PYTHON=1 ./mach install</userinput></screen>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
Set environment variables back to their values:
|
Empty the environment variables which were set above:
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<screen><userinput>unset CC CXX MOZBUILD_STATE_PATH</userinput></screen>
|
<screen><userinput>unset CC CXX MACH_USE_SYSTEM_PYTHON MOZBUILD_STATE_PATH</userinput></screen>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
@ -456,8 +456,9 @@ export MOZBUILD_STATE_PATH=${PWD}/mozbuild &&
|
|||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
<command>./mach create-mach-environment</command>: This uses the system
|
<command>MACH_USE_SYSTEM_PYTHON=1</command>: Use the system python
|
||||||
python to create a virtual environment for <command>mach</command>.
|
to create a virtual environment for <command>mach</command> without
|
||||||
|
downloading any python wheels.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
@ -465,12 +466,6 @@ export MOZBUILD_STATE_PATH=${PWD}/mozbuild &&
|
|||||||
dependencies and the <filename>mozconfig</filename>.
|
dependencies and the <filename>mozconfig</filename>.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
|
||||||
<command>./mach build</command>: <application>Firefox</application>
|
|
||||||
now uses this <application>python</application> script to run the
|
|
||||||
build and install.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
<option>./mach build --verbose</option>: Use this alternative if you
|
<option>./mach build --verbose</option>: Use this alternative if you
|
||||||
need details of which files are being compiled, together with any C or
|
need details of which files are being compiled, together with any C or
|
||||||
|
@ -222,8 +222,8 @@ EOF</userinput></screen>
|
|||||||
<screen><userinput remap="pre">patch -p1 -i ../thunderbird-&thunderbird-version;-glibc234-1.patch</userinput></screen>
|
<screen><userinput remap="pre">patch -p1 -i ../thunderbird-&thunderbird-version;-glibc234-1.patch</userinput></screen>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
Compile <application>Thunderbird</application> by issuing the following
|
Now invoke the Python <command>mach</command> script to compile
|
||||||
commands:
|
<application>Thunderbird</application>:
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<note>
|
<note>
|
||||||
@ -236,6 +236,7 @@ EOF</userinput></screen>
|
|||||||
</note>
|
</note>
|
||||||
|
|
||||||
<screen><userinput>export CC=gcc CXX=g++ &&
|
<screen><userinput>export CC=gcc CXX=g++ &&
|
||||||
|
export MACH_USE_SYSTEM_PYTHON=1 &&
|
||||||
./mach create-mach-environment &&
|
./mach create-mach-environment &&
|
||||||
./mach configure &&
|
./mach configure &&
|
||||||
./mach build</userinput></screen>
|
./mach build</userinput></screen>
|
||||||
@ -249,7 +250,13 @@ EOF</userinput></screen>
|
|||||||
commands as the <systemitem class="username">root</systemitem> user:
|
commands as the <systemitem class="username">root</systemitem> user:
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<screen role="root"><userinput>./mach install</userinput></screen>
|
<screen role="root"><userinput>MACH_USE_SYSTEM_PYTHON=1 ./mach install</userinput></screen>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
Empty the environment variables which were set above:
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<screen><userinput>unset CC CXX MACH_USE_SYSTEM_PYTHON</userinput></screen>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
@ -274,6 +281,12 @@ EOF</userinput></screen>
|
|||||||
significantly smaller build time.-->
|
significantly smaller build time.-->
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
<command>MACH_USE_SYSTEM_PYTHON=1</command>: Use the system python
|
||||||
|
to create a virtual environment for <command>mach</command> without
|
||||||
|
downloading any python wheels.
|
||||||
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
<option>./mach build --verbose</option>: Use this alternative if you
|
<option>./mach build --verbose</option>: Use this alternative if you
|
||||||
need details of which files are being compiled, together with any C or
|
need details of which files are being compiled, together with any C or
|
||||||
|
Loading…
Reference in New Issue
Block a user