Changeset ca041f6


Ignore:
Timestamp:
11/04/2017 05:04:08 PM (6 years ago)
Author:
DJ Lucas <dj@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
749b269
Parents:
7d3ca94a
Message:

Correct glib2 instructions. Add descriptive warning (without instructions) for upgrade fix.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19433 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    r7d3ca94a rca041f6  
    11<!-- $LastChangedBy$ $Date$ -->
    22
    3 <!ENTITY day          "03">                   <!-- Always 2 digits -->
     3<!ENTITY day          "04">                   <!-- Always 2 digits -->
    44<!ENTITY month        "11">                   <!-- Always 2 digits -->
    55<!ENTITY year         "2017">
     
    77<!ENTITY copyholder   "The BLFS Development Team">
    88<!ENTITY version      "&year;-&month;-&day;">
    9 <!ENTITY releasedate  "November 3rd, &year;">
     9<!ENTITY releasedate  "November 4th, &year;">
    1010<!ENTITY pubdate      "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
    1111<!ENTITY blfs-version "svn">                  <!-- svn|[release #] -->
  • general/genlib/glib2.xml

    r7d3ca94a rca041f6  
    7777      <listitem>
    7878        <para>
    79           Required file:
    80           <ulink url=
    81 "https://raw.githubusercontent.com/GNOME/glib/master/gio/tests/gengiotypefuncs.py"/>
     79          Required patch:
     80          <ulink url="&patch-root;/glib-&glib2-version;-meson_fixes-1.patch"/>
    8281        </para>
    8382      </listitem>
     
    154153<screen><userinput>patch -Np1 -i ../glib-&glib2-version;-skip_warnings-1.patch</userinput></screen>
    155154
     155    <warning>
     156      <para>
     157        If upgrading from a previous version of GLib that was built using
     158        autotools, and the <application>libtool</application> archives were
     159        installed, you will need to adjust all installed libtool archives to
     160        replace references to the libtool archives for this package,
     161        <filename>/usr/lib/libg{io,lib,module,object,thread}-2.0.la</filename>,
     162        with the appropriate linker library flag (-l),
     163        <command>-lg{io,lib,module,object,thread}</command>. 600+ files must
     164        be modified on a complete gnome desktop.
     165<!--        Issue the following commands as the
     166        <systemitem class="username">root</systemitem> user: -->
     167      </para>
     168
     169<!-- Sorry, I broke my system berore I was able to fully test these commands
     170     Feel free to test and uncomment if sane (I believe they are, but will
     171     not introduce to end-users until it is tested thoroughly). - DJ
     172
     173<screen>if test -f /usr/lib/libglib-2.0.la; then
     174    mkdir /usr/lib/la-file-backup &amp;&amp;
     175    for lafile in /usr/lib/libg{io,lib,module,object,thread}-2.0.la; do
     176        mv "${lafile}" /usr/lib/la-file-backup/$(basename "${lafile}").bak
     177    done &amp;&amp;
     178    for file in `find /usr/lib -name "*.la"`; do
     179        grep -q '/usr/lib/libg\(io\|module\|lib\|object\|thread\)-2.0.la' \
     180             "${file}" &amp;&amp;
     181        sed -e 's@/usr/lib/libg\(io\|module\|lib\|object\|thread\)-2.0.la@-lg\1@g' \
     182            -i.bak "${file}" &amp;&amp;
     183        mv -v "${file}.bak" /usr/lib/la-file-backup
     184    done
     185fi</screen>-->
     186    </warning>
     187
    156188    <para>
    157189      Install <application>GLib</application> by running the following
     
    159191    </para>
    160192
    161 <screen><userinput>cp ../gengiotypefuncs.py gio/tests &amp;&amp;
    162 
    163 sed -i 's/54.0/54.2/' meson.build &amp;&amp;
     193<screen><userinput>patch -Np1 -i ../glib-&glib2-version;-meson_fixes-1.patch &amp;&amp;
    164194
    165195mkdir build-glib &amp;&amp;
  • introduction/welcome/changelog.xml

    r7d3ca94a rca041f6  
    4343-->
    4444    <listitem>
     45      <para>November 4th, 2017</para>
     46      <itemizedlist>
     47        <listitem>
     48          <para>[dj] - Correct installation of GLib-2.54.2 when using meson and
     49          allow for upgrade when previous installation was from autotooled
     50          build. Thanks to Chris Staub and archetech for assistance with the
     51          upgrade instructions.</para>
     52        </listitem>
     53      </itemizedlist>
     54    </listitem>
     55
     56    <listitem>
    4557      <para>November 3rd, 2017</para>
    4658      <itemizedlist>
Note: See TracChangeset for help on using the changeset viewer.