Ignore:
Timestamp:
11/04/2011 09:03:36 PM (12 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
fbb93edd
Parents:
6d15c62
Message:

Update to glib-2.31.0.
Update to pkg-config-0.26.
Remove gcc3.
More package reorganization.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/genlib/glib2.xml

    r6d15c62 r08f1ff7  
    55  %general-entities;
    66
    7   <!ENTITY glib2-download-http "&gnome-download-http;/glib/2.24/glib-&glib2-version;.tar.bz2">
    8   <!ENTITY glib2-download-ftp  "ftp://ftp.gtk.org/pub/glib/2.24/glib-&glib2-version;.tar.bz2">
    9   <!ENTITY glib2-md5sum        "8a6e45d7840460ed84288ebfd75782d4">
    10   <!ENTITY glib2-size          "5.3 MB">
    11   <!ENTITY glib2-buildsize     "106 MB">
     7  <!ENTITY glib2-download-http "&gnome-download-http;/glib/2.31/glib-&glib2-version;.tar.bz2">
     8  <!ENTITY glib2-download-ftp  "ftp://ftp.gtk.org/pub/glib/2.31/glib-&glib2-version;.tar.bz2">
     9  <!ENTITY glib2-md5sum        "3806d113305cdb5193174de5d354294e">
     10  <!ENTITY glib2-size          "5.6 MB">
     11  <!ENTITY glib2-buildsize     "179 MB">
    1212  <!ENTITY glib2-time          "1.5 SBU (additional 4.0 SBU to run the test suite)">
    1313]>
     
    3535    event loop, threads, dynamic loading, and an object system.</para>
    3636
     37    &lfs70_checked;
     38
    3739    <!-- Compiled against PCRE, Python, and desktop-file-utils.
    3840         1 test failed (regex) -->
     
    6264    <bridgehead renderas="sect3">GLib Dependencies</bridgehead>
    6365
    64     <!-- <bridgehead renderas="sect4">Required</bridgehead>
    65     <para role="required"><xref linkend="pkgconfig"/></para> -->
     66    <bridgehead renderas="sect4">Required</bridgehead>
     67    <para role="required"><xref linkend="libffi"/> and ><xref linkend="python"/>
     68    <!--<para role="required"><xref linkend="pkgconfig"/> -->
     69    </para>
    6670
    6771    <!-- This should be discussed as the instructions in the tarball give
     
    7276
    7377    <bridgehead renderas="sect4">Optional</bridgehead>
    74     <para role="optional"><xref linkend="attr"/>,
    75     <xref linkend="gamin"/>, and
     78    <para role="optional"><xref linkend="attr"/>
     79    <!-- <xref linkend="gamin"/>, -->and
    7680    <xref linkend="gtk-doc"/></para>
    7781
     82    <!-- Couldn't find this
    7883    <para><application>Gamin</application> requires
    7984    <application>GLib</application> in order to compile; therefore, you must
    8085    first install <application>GLib</application>, then compile
    8186    <application>Gamin</application>, and recompile
    82     <application>GLib</application> against it.</para>
    83 
    84     <bridgehead renderas="sect4">Optional Runtime Dependency for the
    85     <command>gtester-report</command> program</bridgehead>
    86     <para role="optional"><xref linkend="python"/></para>
     87    <application>GLib</application> against it.</para> -->
    8788
    8889    <bridgehead renderas="sect4">Additional Runtime Dependencies</bridgehead>
     
    107108    <!-- This should be discussed as the instructions in the tarball give
    108109         many reasons why the internal PCRE should be used -->
    109 <screen><userinput>./configure --prefix=/usr \
    110             --with-pcre=system &amp;&amp;
     110<screen><userinput>PCRE_LIBS=-lpcre  PCRE_CFLAGS=" "                                \
     111LIBFFI_LIBS=-lffi LIBFFI_CFLAGS=-I/usr/lib/libffi-3.0.10/include \   
     112./configure --prefix=/usr --with-pcre=system &amp;&amp;
    111113make</userinput></screen>
    112114
     
    121123
    122124<screen role="root"><userinput>make install &amp;&amp;
    123 chmod -v 755 /usr/bin/gtester-report</userinput></screen>
     125ln -v -sfn ../../lib/glib-2.0/include/glibconfig.h /usr/include/glib-2.0/glibconfig.h</userinput></screen>
    124126
    125127    <para>You should now install <xref linkend="desktop-file-utils"/> and proceed to
     
    132134  <sect2 role="commands">
    133135    <title>Command Explanations</title>
     136
     137    <para>PCRE_* and LIBFFI_*: <application>Glib</application> is a prerequsite
     138    for <application>pkg_config</application>, but it wants to use
     139    <application>pkg_config</application> during the build process.  These
     140    environment variables work around not having
     141    <application>pkg_config</application> available.</para>
     142
     143    <para><command>ln -v -sfn ... glibconfig.h</command>: Place a link to an
     144    architecture dependent header file where programs can find it.</para>
    134145
    135146    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    142153    <application>PCRE</application> library instead of an internal
    143154    version.</para>
    144 
    145     <!-- Not required any longer; static libs are not installed by default
    146     <para><parameter>-disable-static</parameter>: prevent static libraries
    147     being built and installed.</para> -->
    148155
    149156  </sect2>
Note: See TracChangeset for help on using the changeset viewer.