Changeset 5377506


Ignore:
Timestamp:
11/10/2022 12:15:47 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:
0a91797
Parents:
4227f0da
Message:

Fix qtwebengine and thunderbird for python-3.11

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • x/lib/qtwebengine.xml

    r4227f0da r5377506  
    387387<screen><userinput>sed -e '/link_pulseaudio/s/false/true/' \
    388388    -i src/3rdparty/chromium/media/media_options.gni</userinput></screen>
     389
     390    <para>
     391      Next, fix the build tools so they can be run with Python-3.11+:
     392    </para>
     393
     394<screen><userinput>sed -e 's/\^(?i)/(?i)^/' \
     395    -i src/3rdparty/chromium/tools/metrics/ukm/ukm_model.py &amp;&amp;
     396sed -e "s/'rU'/'r'/" \
     397    -i src/3rdparty/chromium/tools/grit/grit/util.py</userinput></screen>
    389398
    390399    <para>
  • xsoft/other/thunderbird.xml

    r4227f0da r5377506  
    255255<screen><userinput>grep -rl \"rU\" | xargs sed -i 's/"rU"/"r"/'</userinput></screen>
    256256
     257    <para>
     258      Then fix an issue with regular expressions in python-3.11:
     259    </para>
     260
     261<screen><userinput>sed -e 's/?s)\./?s:.)/'               \
     262    -e '/?m)/{s/?m)/?m:/;s/\$"/$)"/}' \
     263    -e '/?s)%/{s/?s)/?s:/;s/?"/?)"/}' \
     264    -i xpcom/idl-parser/xpidl/xpidl.py</userinput></screen>
     265
     266     <para>
     267       Now invoke the Python <command>mach</command> script to compile the
     268       package.
     269     </para>
     270
    257271<screen><userinput>export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=none &amp;&amp;
    258 export MOZBUILD_STATE_PATH=./mozbuild                 &amp;&amp;
    259 ./mach configure                                      &amp;&amp;
     272export MOZBUILD_STATE_PATH=./mozbuild               &amp;&amp;
     273./mach configure                                    &amp;&amp;
    260274./mach build</userinput></screen>
    261275
Note: See TracChangeset for help on using the changeset viewer.