Changeset 8d70628


Ignore:
Timestamp:
08/16/2021 05:42:37 PM (3 years ago)
Author:
Ken Moffat <ken@…>
Branches:
11.0, 11.1, 11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
f376acb0
Parents:
08e1b767
Message:

Repleace create-mach-environment in FF91 and TB91.

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • introduction/welcome/changelog.xml

    r08e1b767 r8d70628  
    4242    </listitem>
    4343    -->
     44    <listitem>
     45      <para>August 16th, 2021</para>
     46      <itemizedlist>
     47        <listitem>
     48          <para>[ken] - Firefox-91 and Thunderbird: Replace
     49          create-mach-environment by MACH_USE_SYSTEM_PYTHON=1. Fixes
     50          <ulink url="&blfs-ticket-root;15405">#15405</ulink>.</para>
     51        </listitem>
     52      </itemizedlist>
     53    </listitem>
     54
    4455    <listitem>
    4556      <para>August 15th, 2021</para>
  • xsoft/graphweb/firefox.xml

    r08e1b767 r8d70628  
    384384
    385385    <para>
    386       Now invoke the Python script to compile the package.
     386      Now invoke the Python <command>mach</command> script to compile the package.
    387387    </para>
    388388
    389389<screen><userinput>export CC=gcc CXX=g++ &amp;&amp;
     390export MACH_USE_SYSTEM_PYTHON=1            &amp;&amp;
    390391export MOZBUILD_STATE_PATH=${PWD}/mozbuild &amp;&amp;
    391 ./mach create-mach-environment             &amp;&amp;
    392392./mach configure                           &amp;&amp;
    393393./mach build</userinput></screen>
     
    408408    </para>
    409409
    410 <screen role="root"><userinput>./mach install</userinput></screen>
    411 
    412     <para>
    413       Set environment variables back to their values:
    414     </para>
    415 
    416 <screen><userinput>unset CC CXX MOZBUILD_STATE_PATH</userinput></screen>
     410<screen role="root"><userinput>MACH_USE_SYSTEM_PYTHON=1 ./mach install</userinput></screen>
     411
     412    <para>
     413      Empty the environment variables which were set above:
     414    </para>
     415
     416<screen><userinput>unset CC CXX MACH_USE_SYSTEM_PYTHON MOZBUILD_STATE_PATH</userinput></screen>
    417417
    418418  </sect2>
     
    457457
    458458    <para>
    459       <command>./mach create-mach-environment</command>: This uses the system
    460       python to create a virtual environment for <command>mach</command>.
     459      <command>MACH_USE_SYSTEM_PYTHON=1</command>: Use the system python
     460      to create a virtual environment for <command>mach</command> without
     461      downloading any python wheels.
    461462    </para>
    462463
     
    464465      <command>./mach configure</command>: This validates the supplied
    465466      dependencies and the <filename>mozconfig</filename>.
    466     </para>
    467 
    468     <para>
    469       <command>./mach build</command>: <application>Firefox</application>
    470       now uses this <application>python</application> script to run the
    471       build and install.
    472467    </para>
    473468
  • xsoft/other/thunderbird.xml

    r08e1b767 r8d70628  
    223223
    224224    <para>
    225       Compile <application>Thunderbird</application> by issuing the following
    226       commands:
     225      Now invoke the Python <command>mach</command> script to compile
     226      <application>Thunderbird</application>:
    227227    </para>
    228228
     
    237237
    238238<screen><userinput>export CC=gcc CXX=g++ &amp;&amp;
     239export MACH_USE_SYSTEM_PYTHON=1 &amp;&amp;
    239240./mach create-mach-environment &amp;&amp;
    240241./mach configure      &amp;&amp;
     
    250251    </para>
    251252
    252 <screen role="root"><userinput>./mach install</userinput></screen>
     253<screen role="root"><userinput>MACH_USE_SYSTEM_PYTHON=1 ./mach install</userinput></screen>
     254
     255    <para>
     256      Empty the environment variables which were set above:
     257    </para>
     258
     259<screen><userinput>unset CC CXX MACH_USE_SYSTEM_PYTHON</userinput></screen>
    253260
    254261  </sect2>
     
    273280      <!-- For more info, see Ticket #13969. ~12GB to ~5GB build size,
    274281      significantly smaller build time.-->
     282    </para>
     283
     284    <para>
     285      <command>MACH_USE_SYSTEM_PYTHON=1</command>: Use the system python
     286      to create a virtual environment for <command>mach</command> without
     287      downloading any python wheels.
    275288    </para>
    276289
Note: See TracChangeset for help on using the changeset viewer.