Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • xsoft/graphweb/seamonkey.xml

    rc5f66519 r42ddc30  
    77  <!ENTITY seamonkey-download-http "&mozilla-http;/seamonkey/releases/&seamonkey-version;/source/seamonkey-&seamonkey-version;.source.tar.xz">
    88  <!ENTITY seamonkey-download-ftp  " ">
    9   <!ENTITY seamonkey-md5sum        "5fd91a88005c2cc2a3ba4addfb5ff35e">
     9  <!ENTITY seamonkey-md5sum        "92ebcb6d9410442a9c1cf9c321f292f4">
    1010  <!ENTITY seamonkey-size          "254 MB">
    1111  <!ENTITY seamonkey-buildsize     "4.4 GB (159 MB installed)">
     
    260260    </note>
    261261
    262 <!--
     262<!-- Applied upstream
     263    <para>
     264      Apply a patch to fix a build failure with LLVM-16:
     265    </para>
     266
     267<screen><userinput>patch -Np1 -i ../seamonkey-&seamonkey-version;-upstream_fixes-1.patch</userinput></screen>
     268-->
    263269    <para>
    264270      First remove an obsolete flag in python code, that has been removed
     
    267273
    268274<screen><userinput>grep -rl \'rU\' | xargs sed -i "s/'rU'/'r'/"</userinput></screen>
    269 -->
    270 <!--
     275
     276<!-- Causes issues since xpidl is python2 in Seamonkey
     277    <para>
     278      Then fix an issue with regular expressions in python-3.11:
     279    </para>
     280
     281<screen><userinput>sed -e 's/?s)\./?s:.)/'               \
     282    -e '/?m)/{s/?m)/?m:/;s/\$"/$)"/}' \
     283    -e '/?s)%/{s/?s)/?s:/;s/?"/?)"/}' \
     284    -i xpcom/idl-parser/xpidl/xpidl.py</userinput></screen>
     285-->
     286
    271287    <para>
    272288      Next, work around a problem in the Python virtual environment:
     
    275291<screen><userinput>sed -i "/if sys.executable !=/i\    open(join(bin_dir, 'pyvenv.cfg'), 'w').close()" \
    276292    third_party/python/virtualenv/virtualenv.py</userinput></screen>
    277 -->
    278 
    279     <para>
    280       Fix a problem with the bundled 'distro' python module:
    281     </para>
    282 
    283 <screen><userinput>sed -e '1012 s/stderr=devnull/stderr=subprocess.DEVNULL/' \
    284     -e '1013 s/OSError/(OSError, subprocess.CalledProcessError)/' \
    285     -i third_party/python/distro/distro.py</userinput></screen>
     293
     294<!-- Applied upstream
     295    <para>
     296      Next, work around a crash that occurs when playing audio when Seamonkey
     297      is compiled with rustc-1.67 or higher:
     298    </para>
     299
     300<screen><userinput>sed -i '/USE_PULSE_RUST/d' media/libcubeb/src/moz.build</userinput></screen>
     301-->
    286302
    287303    <para>
     
    291307
    292308<screen><userinput>export CC=clang CXX=clang++          &amp;&amp;
    293 ./mach configure &amp;&amp;
     309./mach configure || ./mach configure &amp;&amp;
    294310./mach build</userinput></screen>
    295311
     
    335351
    336352    <para>
    337       <command>./mach configure</command>: This validates
     353      <command>./mach configure || ./mach configure</command>: This validates
    338354      the supplied dependencies and the <filename>mozconfig</filename>.
    339       <!--This is run twice because problems with mach will cause it to fail the
    340       first time.-->
     355      This is run twice because problems with mach will cause it to fail the
     356      first time.
    341357    </para>
    342358
Note: See TracChangeset for help on using the changeset viewer.