Changeset 16218ef for xsoft/other


Ignore:
Timestamp:
11/01/2022 09:31:52 PM (18 months ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
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, xry111/llvm18, xry111/xf86-video-removal
Children:
877b80ac
Parents:
6455875
Message:

Some fixes to mozilla apps due to python-3.11

This may not be the only thing needed for ff and tb.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xsoft/other/thunderbird.xml

    r6455875 r16218ef  
    248248    </note>
    249249
    250 <screen><userinput>export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=system &amp;&amp;
     250    <para>
     251      First remove an obsolete flag in python code, that has been removed
     252      in python-3.11:
     253    </para>
     254
     255<screen><userinput>grep -rl \"rU\" | sed -i 's/"rU"/"r"/'</userinput></screen>
     256
     257<screen><userinput>export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=none &amp;&amp;
    251258export MOZBUILD_STATE_PATH=./mozbuild                 &amp;&amp;
    252259./mach configure                                      &amp;&amp;
     
    262269    </para>
    263270
    264 <screen role="root"><userinput>MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=system ./mach install</userinput></screen>
     271<screen role="root"><userinput>MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=none ./mach install</userinput></screen>
    265272<!-- devs: For DESTDIR install, prepend DESTDIR=<dest> to the above -->
    266273    <para>
     
    276283
    277284    <para>
    278       <command>MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=system</command>: Use the
     285      <command>MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=none</command>: Use the
    279286      system python to create a virtual environment for <command>mach</command>
    280       without downloading any python wheels.
     287      without downloading any python wheels nor using the system python modules.
     288      This prevent version mismatches between system modules and bundled ones.
    281289    </para>
    282290
Note: See TracChangeset for help on using the changeset viewer.