Changeset 4b3d207


Ignore:
Timestamp:
12/20/2023 09:49:54 PM (5 months ago)
Author:
Douglas R. Reno <renodr@…>
Branches:
12.1, ken/TL2024, lazarus, plabs/newcss, python3.11, rahul/power-profiles-daemon, trunk, xry111/llvm18
Children:
b1e4cd8
Parents:
8bded0b
Message:

Update to Seamonkey-2.53.18

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • introduction/welcome/changelog.xml

    r8bded0b r4b3d207  
    4040    -->
    4141    <listitem>
     42      <para>December 20th, 2023</para>
     43      <itemizedlist>
     44        <listitem>
     45          <para>[renodr] - Update to Seamonkey-2.53.18 (Security Update). Fixes
     46          <ulink url="&blfs-ticket-root;18992">#18992</ulink>.</para>
     47        </listitem>
     48      </itemizedlist>
     49    </listitem>
     50
     51    <listitem>
    4252      <para>December 19th, 2023</para>
    4353      <itemizedlist>
  • packages.ent

    r8bded0b r4b3d207  
    10011001  font settings can now be found -->
    10021002<!ENTITY firefox-version              "115.6.0">
    1003 <!ENTITY seamonkey-version            "2.53.17.1">
     1003<!ENTITY seamonkey-version            "2.53.18">
    10041004<!ENTITY setuptools-version           "68.2.2"> <!-- for seamonkey -->
    10051005
  • xsoft/graphweb/seamonkey.xml

    r8bded0b r4b3d207  
    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        "15c73a5e725b7f002b2789706ae643d9">
    10   <!ENTITY seamonkey-size          "254 MB">
    11   <!ENTITY seamonkey-buildsize     "4.3 GB (159 MB installed)">
     9  <!ENTITY seamonkey-md5sum        "6ac064816caa2c3fe6bc1f130bd9599b">
     10  <!ENTITY seamonkey-size          "241 MB">
     11  <!ENTITY seamonkey-buildsize     "4.2 GB (159 MB installed)">
    1212  <!ENTITY seamonkey-time          "11 SBU (with parallelism=4)">
    1313]>
     
    9090        <para>
    9191          This module has already been installed in LFS, but now we need
    92           to rebuild its wheel package for SeaMonkey building system.
     92          to rebuild its wheel package for the SeaMonkey build system.
    9393        </para>
    9494      </listitem>
     
    268268
    269269    <para>
    270       First, apply a security patch that fixes some problems with
    271       Seamonkey's bundled version of libvpx:
     270      First, fix several problems that occur with Python-3.12 and ICU-74.
     271      If you are not using ICU-74 and Python-3.12, do not apply this patch.
    272272    </para>
    273273
     
    275275
    276276    <para>
    277       The building system ships several internal copies of the Python 3
    278       module <filename>six.py</filename> and wheel packages for
    279       <filename>pip</filename> and <filename>setuptools</filename> modules.
    280       Theses shipped modules are too old to work well with Python 3.12 or
    281       later.  Replace the shipped <filename>six.py</filename> copies with
    282       the symlinks to <xref linkend='six'/> already installed on the system,
    283       link the updated <filename>pip</filename> wheel package shipped
    284       as a part of Python 3 in LFS into the building system, and build an
    285       updated <filename>setuptools</filename> wheel package.  Then adapt
    286       the building system for the updated modules.  We also need to rewrite
    287       the code based on the <filename>imp</filename> module removed in
    288       Python 3.12 and later using the <filename>importlib</filename> module:
    289     </para>
    290 
    291     <screen><userinput>(for i in $(find -name six.py); do
    292    ln -sfv /usr/lib/python3.12/site-packages/six.py $i
    293    [ $? = 0 ] || exit $?
    294  done) &amp;&amp;
    295 
    296 ln -sv /usr/lib/python&python3-majorver;/ensurepip/_bundled/pip-*.whl \
     277      Next, if you are using Python-3.12, reinstall the setuptools package for
     278      Seamonkey, and update it's vendored copy of pip:
     279    </para>
     280
     281<screen><userinput>ln -sv /usr/lib/python&python3-majorver;/ensurepip/_bundled/pip-*.whl \
    297282       third_party/python/virtualenv/virtualenv_support &amp;&amp;
    298283
     
    300285pip3 wheel --no-build-isolation --no-deps --no-cache-dir       \
    301286           $PWD/setuptools-&setuptools-version;                              \
    302            -w third_party/python/virtualenv/virtualenv_support &amp;&amp;
    303 
    304 sed '/ConfigParser/s/Safe//'                          \
    305     -i testing/mozbase/mozprofile/mozprofile/prefs.py &amp;&amp;
    306 
    307 sed 's/distutils/setuptools._&amp;/'            \
    308     -i python/mozbuild/mozbuild/nodeutil.py &amp;&amp;
    309 
    310 sed 's/readfp/read_file/' -i ipc/ipdl/ipdl.py &amp;&amp;
    311 
    312 sed -e '/^import/s/imp$/importlib.util/'             \
    313     -e 's/imp.new_module/__import__/'                \
    314     -e "s/imp.load_source\(.*\)/spec =               \
    315         importlib.util.spec_from_file_location\1;    \
    316         mod = importlib.util.module_from_spec(spec); \
    317         spec.loader.exec_module(mod)/" -i python/mach/mach/main.py &amp;&amp;
    318 
    319 sed -e '/^import/s/imp$/importlib.util/'                          \
    320     -e '/imp.PY_SOURCE/d'                                         \
    321     -e "s/\([a-z_]*\) = imp.load_module([^,]*,[^,]*,\(.*\)/spec = \
    322         importlib.util.spec_from_file_location('script', \2);     \
    323         \1 = importlib.util.module_from_spec(spec);               \
    324         spec.loader.exec_module(\1)/"                             \
    325     -i netwerk/dns/prepare_tlds.py                                \
    326        python/mozbuild/mozbuild/action/file_generate.py</userinput></screen>
    327 
    328     <!-- https://bugzilla.mozilla.org/show_bug.cgi?id=1859752
    329          https://hg.mozilla.org/try/rev/d5f3b0c4f08a -->
    330     <para>
    331       If building with system ICU, adapt the line break mapping for ICU
    332       74 or later:
    333     </para>
    334 
    335 <screen><userinput>(for i in {43..47}; do
    336    sed '/ZWJ/s/$/,CLASS_CHARACTER/' -i intl/lwbrk/LineBreaker.cpp || exit $?
    337  done)</userinput></screen>
    338 
    339     <para>
    340       Fix a problem with the bundled 'distro' python module:
     287           -w third_party/python/virtualenv/virtualenv_support</userinput></screen>
     288
     289    <para>
     290      Next, if you are on Python-3.11 still, fix a problem with the bundled
     291      'distro' python module. This has been included in the patch for
     292      Python-3.12 users:
    341293    </para>
    342294
     
    352304<screen><userinput>AUTOCONF=true ./mach configure &amp;&amp;
    353305./mach build</userinput></screen>
    354 
    355 
    356     <!-- comment this since llvm must have been installed for rust
    357     <note>
    358       <para>
    359         The CC and CXX variables above are only needed if
    360         <xref linkend="llvm"/> is installed and you do not want to use clang.
    361       </para>
    362     </note>-->
    363306
    364307    <para>
     
    448391    </para>
    449392
    450 <!-- The URL no longer exists.
    451     <tip>
    452       <para>
    453         There is a multitude of configuration parameters you can tweak to
    454         customize <application>SeaMonkey</application>. A very extensive list of
    455         these parameters can be found at
    456         <ulink url="http://preferential.mozdev.org/preferences.html"/>.
    457       </para>
    458     </tip>
    459 -->
    460393    <para>
    461394      If you use a desktop environment like <application>Gnome</application> or
Note: See TracChangeset for help on using the changeset viewer.