Changeset 16218efb for xsoft


Ignore:
Timestamp:
11/01/2022 09:31:52 PM (23 months ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
11.3, 12.0, 12.1, 12.2, gimp3, 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/for-12.3, xry111/llvm18, xry111/spidermonkey128, 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.

Location:
xsoft
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • xsoft/graphweb/firefox.xml

    r6455875 r16218efb  
    358358
    359359    <para>
     360      First remove an obsolete flag in python code, that has been removed
     361      in python-3.11:
     362    </para>
     363
     364<screen><userinput>grep -rl \"rU\" | sed -i 's/"rU"/"r"/'</userinput></screen>
     365
     366    <para>
    360367      Now invoke the Python <command>mach</command> script to compile the package.
    361368    </para>
    362369
    363 <screen><userinput>export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=system &amp;&amp;
     370<screen><userinput>export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=none &amp;&amp;
    364371export MOZBUILD_STATE_PATH=${PWD}/mozbuild            &amp;&amp;
    365372./mach configure                                      &amp;&amp;
     
    381388    </para>
    382389
    383 <screen role="root"><userinput>MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=system ./mach install</userinput></screen>
     390<screen role="root"><userinput>MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=none ./mach install</userinput></screen>
    384391
    385392    <para>
     
    415422
    416423    <para>
    417       <command>MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=system</command>: Use the
     424      <command>MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=none</command>: Use the
    418425      system python to create a virtual environment for <command>mach</command>
    419       without downloading any python wheels.
     426      without downloading any python wheels nor using the system python modules.
     427      This prevent version mismatches between system modules and bundled ones.
    420428    </para>
    421429
  • xsoft/graphweb/seamonkey.xml

    r6455875 r16218efb  
    269269<screen><userinput>patch -Np1 -i ../seamonkey-&seamonkey-version;-security_fix-1.patch</userinput></screen>
    270270-->
     271
     272    <para>
     273      First remove an obsolete flag in python code, that has been removed
     274      in python-3.11:
     275    </para>
     276
     277<screen><userinput>grep -rl \"rU\" | sed -i 's/"rU"/"r"/'</userinput></screen>
    271278
    272279    <para>
  • xsoft/other/thunderbird.xml

    r6455875 r16218efb  
    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.