Changeset ead4657 for general


Ignore:
Timestamp:
02/05/2024 07:36:29 PM (4 months ago)
Author:
Douglas R. Reno <renodr@…>
Branches:
12.1, ken/TL2024, lazarus, rahul/power-profiles-daemon, trunk, xry111/llvm18
Children:
d5aa738
Parents:
18381fd0
Message:

Change libxml2 to use ICU.

Also adapt QtWebEngine now that it uses the system copy of libxml2.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/genlib/libxml2.xml

    r18381fd0 read4657  
    8383    <bridgehead renderas="sect3">libxml2 Dependencies</bridgehead>
    8484
     85    <bridgehead renderas="sect4">Recommended</bridgehead>
     86    <para role="recommended">
     87      <xref linkend="icu"/>
     88    </para>
     89
    8590    <bridgehead renderas="sect4">Optional</bridgehead>
    8691    <para role="optional">
    87       <xref linkend="icu"/> (see below) and
    8892      <xref linkend="valgrind"/> (may be used in the tests)
    8993    </para>
     
    102106            --disable-static        \
    103107            --with-history          \
     108            --with-icu              \
    104109            PYTHON=/usr/bin/python3 \
    105110            --docdir=/usr/share/doc/libxml2-&libxml2-version; &amp;&amp;
     
    144149
    145150<screen role="root"><userinput>make install</userinput></screen>
     151
     152    <para>
     153      Finally, prevent some packages from unnecessarily linking to ICU using
     154      the following commands as the &root; user:
     155    </para>
     156
     157<screen role="root"><userinput>rm -vf /usr/lib/libxml2.la &amp;&amp;
     158sed '/libs=/s/xml2.*/xml2"/' -i /usr/bin/xml2-config</userinput></screen>
     159
    146160  </sect2>
    147161
     
    159173
    160174    <para>
     175      <parameter>--with-icu</parameter>: This switch enables support for
     176      <application>ICU</application>, which provides additional Unicode support.
     177      This is needed for some packages in BLFS, such as for QtWebEngine.
     178    </para>
     179
     180    <para>
    161181      <parameter>PYTHON=/usr/bin/python3</parameter>: Allows building
    162182      the libxml2 module with Python3 instead of Python2.
    163183    </para>
    164184
    165     <para>
    166       <option>--with-icu</option>: Add this switch if you have built
     185<!--
     186    <para>
     187      <option>- -with-icu</option>: Add this switch if you have built
    167188      <xref linkend="icu"/>, for better unicode support.
    168189    </para>
     
    170191    <note>
    171192      <para>
    172         If the <option>--with-icu</option> switch is used, the BLFS editors
     193        If the <option>- -with-icu</option> switch is used, the BLFS editors
    173194        recommend removing unneeded references to the ICU libraries. This
    174195        will prevent many packages that use libxml2 from unnecessarily linking
     
    181202sed '/libs=/s/xml2.*/xml2"/' -i /usr/bin/xml2-config</userinput></screen>
    182203    </note>
     204-->
    183205
    184206  </sect2>
Note: See TracChangeset for help on using the changeset viewer.