Changeset f6061807


Ignore:
Timestamp:
05/27/2023 11:18:49 AM (11 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.0, 12.1, kea, ken/TL2024, ken/tuningfonts, lazarus, lxqt, plabs/newcss, python3.11, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18, xry111/xf86-video-removal
Children:
58acc3e
Parents:
31120d7c
Message:

libxml2: Note how to remove unneeded references to ICU libraries for --with-icu

Or too many packages can link to ICU libraries w/o any real necessity
and cause upgrading ICU very nasty.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/genlib/libxml2.xml

    r31120d7c rf6061807  
    180180      <xref linkend="icu"/>, for better unicode support.
    181181    </para>
     182
     183    <note>
     184      <para>
     185        If the <option>--with-icu</option> switch is used, it's recommended
     186        to remove unneeded references to the ICU libraries to prevent many
     187        packages using libxml2 from unnecessarily directly linked to the ICU
     188        libraries, so you won't need to rebuild too many packages when you
     189        upgrade ICU to a new major version.  After installing libxml2, as
     190        the &root; user, issue:
     191      </para>
     192
     193<screen role="nodump"><userinput>rm -vf /usr/lib/libxml2.la &amp;&amp;
     194sed '/libs=/s/xml2.*/xml2"/' -i /usr/bin/xml2-config</userinput></screen>
     195    </note>
    182196
    183197  </sect2>
Note: See TracChangeset for help on using the changeset viewer.