Ignore:
Timestamp:
05/07/2012 10:05:37 PM (12 years ago)
Author:
Krejzi <krejzi@…>
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:
7ecc1c4b
Parents:
ff53809
Message:

accountsservice 0.6.20, anjuta 3.4.1, glib 2.32.2, gtk+ 3.4.2, polkit 0.105, polkit-gnome 0.105, udisks 1.96.0, upower 0.9.16

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/genlib/glib2.xml

    rff53809 rb84342d6  
    77  <!ENTITY glib2-download-http "&gnome-download-http;/glib/2.32/glib-&glib2-version;.tar.xz">
    88  <!ENTITY glib2-download-ftp  "&gnome-download-ftp;/glib/2.32/glib-&glib2-version;.tar.xz">
    9   <!ENTITY glib2-md5sum        "032c7cf9868c9aa186b490b155a41144">
     9  <!ENTITY glib2-md5sum        "5bfdb6197afb90e4dbc7b1bb98f0eae0">
    1010  <!ENTITY glib2-size          "5.9 MB">
    11   <!ENTITY glib2-buildsize     "170 MB">
     11  <!ENTITY glib2-buildsize     "180 MB">
    1212  <!ENTITY glib2-time          "1.2 SBU (additional 4.0 SBU to run the test suite)">
    1313]>
     
    3030    <title>Introduction to GLib</title>
    3131
    32     <para>The <application>GLib</application> package contains a low-level core
    33     library. This is useful for providing data structure handling for C,
    34     portability wrappers and interfaces for such runtime functionality as an
    35     event loop, threads, dynamic loading, and an object system.</para>
     32    <para>
     33      The <application>GLib</application> package contains a low-level
     34      libraries useful for providing data structure handling for C, portability
     35      wrappers and interfaces for such runtime functionality as an
     36      event loop, threads, dynamic loading and an object system.
     37    </para>
    3638
    3739    &lfs71_checked;
    38 
    39     <!-- Compiled against PCRE, Python, and desktop-file-utils.
    40          1 test failed (regex) -->
    4140
    4241    <bridgehead renderas="sect3">Package Information</bridgehead>
    4342    <itemizedlist spacing="compact">
    4443      <listitem>
    45         <para>Download (HTTP): <ulink url="&glib2-download-http;"/></para>
    46       </listitem>
    47       <listitem>
    48         <para>Download (FTP): <ulink url="&glib2-download-ftp;"/></para>
    49       </listitem>
    50       <listitem>
    51         <para>Download MD5 sum: &glib2-md5sum;</para>
    52       </listitem>
    53       <listitem>
    54         <para>Download size: &glib2-size;</para>
    55       </listitem>
    56       <listitem>
    57         <para>Estimated disk space required: &glib2-buildsize;</para>
    58       </listitem>
    59       <listitem>
    60         <para>Estimated build time: &glib2-time;</para>
     44        <para>
     45          Download (HTTP): <ulink url="&glib2-download-http;"/>
     46        </para>
     47      </listitem>
     48      <listitem>
     49        <para>
     50          Download (FTP): <ulink url="&glib2-download-ftp;"/>
     51        </para>
     52      </listitem>
     53      <listitem>
     54        <para>
     55          Download MD5 sum: &glib2-md5sum;
     56        </para>
     57      </listitem>
     58      <listitem>
     59        <para>
     60          Download size: &glib2-size;
     61        </para>
     62      </listitem>
     63      <listitem>
     64        <para>
     65          Estimated disk space required: &glib2-buildsize;
     66        </para>
     67      </listitem>
     68      <listitem>
     69        <para>
     70          Estimated build time: &glib2-time;
     71        </para>
    6172      </listitem>
    6273    </itemizedlist>
     
    8394    </para>
    8495
    85     <para><application>Gamin</application> requires
    86     <application>GLib</application> in order to compile; therefore, you must
    87     first install <application>GLib</application>, then compile
    88     <application>Gamin</application>, and recompile
    89     <application>GLib</application> against it.</para>
     96    <para>
     97      <application>Gamin</application> requires
     98      <application>GLib</application> in order to compile; therefore,
     99      you must first install <application>GLib</application>,
     100      then compile <application>Gamin</application>, and recompile
     101      <application>GLib</application> against it.
     102    </para>
    90103
    91104    <bridgehead renderas="sect4">Additional Runtime Dependencies</bridgehead>
    92     <para role="optional">Quoted directly from the <filename>INSTALL</filename>
    93     file; <quote>Some of the mimetype-related functionality in GIO requires the
    94     <command>update-mime-database</command> and
    95     <command>update-desktop-database</command> utilities</quote>, which are part of
    96     <xref linkend="shared-mime-info"/> and
    97     <xref linkend="desktop-file-utils"/>, respectively.</para>
     105    <para role="optional">
     106      Quoted directly from the <filename>INSTALL</filename> file;
     107      <quote>Some of the mimetype-related functionality in GIO requires the
     108      <command>update-mime-database</command> and
     109      <command>update-desktop-database</command> utilities</quote>,
     110      which are part of
     111      <xref linkend="shared-mime-info"/> and
     112      <xref linkend="desktop-file-utils"/>, respectively.
     113    </para>
    98114
    99115    <para condition="html" role="usernotes">User Notes:
     
    105121    <title>Installation of GLib</title>
    106122
    107     <para>Install <application>GLib</application> by running the following
    108     commands:</para>
    109 
    110     <!-- This should be discussed as the instructions in the tarball give
    111          many reasons why the internal PCRE should be used -->
    112 
    113     <!-- Re: PCRE 8.30 is bundled, and BLFS has same version -->
     123    <para>
     124      Install <application>GLib</application> by running the following
     125      commands:
     126    </para>
    114127
    115128<screen><userinput>PCRE_LIBS=-lpcre PCRE_CFLAGS=" " \
     
    118131make</userinput></screen>
    119132
    120     <para>The <application>GLib</application> test suite requires
    121     <application>desktop-file-utils</application> in order to run. However,
    122     <application>desktop-file-utils</application> requires
    123     <application>GLib</application> in order to compile; therefore, you must
    124     first install <application>GLib</application> and then run the test
    125     suite.</para>
    126 
    127     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
     133    <para>
     134      The <application>GLib</application> test suite requires
     135      <application>desktop-file-utils</application> in order to run. However,
     136      <application>desktop-file-utils</application> requires
     137      <application>GLib</application> in order to compile; therefore, you must
     138      first install <application>GLib</application> and then run the test
     139      suite.
     140    </para>
     141
     142    <para>
     143      Now, as the <systemitem class="username">root</systemitem> user:
     144    </para>
    128145
    129146<screen role="root"><userinput>make install &amp;&amp;
    130147ln -v -sfn ../../lib/glib-2.0/include/glibconfig.h /usr/include/glib-2.0/glibconfig.h</userinput></screen>
    131148
    132     <para>You should now install <xref linkend="desktop-file-utils"/> and proceed to
    133     run the test suite.</para>
    134 
    135     <para>To test the results, issue: <command>make check</command>.</para>
     149    <para>
     150      You should now install <xref linkend="desktop-file-utils"/> and proceed to
     151      run the test suite.
     152    </para>
     153
     154    <para>
     155      To test the results, issue: <command>make check</command>.
     156    </para>
    136157
    137158  </sect2>
     
    140161    <title>Command Explanations</title>
    141162
    142     <para>PCRE_* and LIBFFI_*: <application>Glib</application> is a prerequsite
    143     for <application>pkg_config</application>, but it wants to use
    144     <application>pkg_config</application> during the build process.  These
    145     environment variables work around not having
    146     <application>pkg_config</application> available.</para>
    147 
    148     <para><command>ln -v -sfn ... glibconfig.h</command>: Place a link to an
    149     architecture dependent header file where programs can find it.</para>
    150 
    151     <para><parameter>--with-pcre=system</parameter>: This parameter causes the
    152     build to use a system-provided version of the
    153     <application>PCRE</application> library instead of an internal
    154     version.</para>
     163    <para>
     164      PCRE_* and LIBFFI_*: <application>Glib</application> is a prerequsite
     165      for <application>pkg-config</application>, but it wants to use
     166      <application>pkg-config</application> during the build process.
     167      These environment variables work around not having
     168      <application>pkg-config</application> available.
     169    </para>
     170
     171    <para>
     172      <command>ln -v -sfn ... glibconfig.h</command>: Place a link to an
     173      architecture dependent header file where programs can find it.
     174    </para>
     175
     176    <para>
     177      <parameter>--with-pcre=system</parameter>: This parameter causes the
     178      build to use a system-provided version of the
     179      <application>PCRE</application> library instead of an internal
     180      version.
     181    </para>
    155182
    156183    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    157     href="../../xincludes/gtk-doc-rebuild.xml"/>
     184      href="../../xincludes/gtk-doc-rebuild.xml"/>
    158185
    159186  </sect2>
     
    168195      <title>Configuration Information</title>
    169196
    170       <para>By default, <application>GLib</application> assumes that all
    171       filenames are in the UTF-8 charset. See the <xref
    172       linkend="locale-wrong-filename-encoding"/> section of the <xref
    173       linkend="locale-issues"/> page for more details on this kind of issue. In
    174       order to tell <application>GLib</application> and applications that use
    175       it that filenames are in the default locale encoding, set the variable
    176       <envar>G_FILENAME_ENCODING</envar> to the value "@locale".  As the
    177       <systemitem class="username">root</systemitem> user:</para>
     197      <para>
     198        By default, <application>GLib</application> assumes that all
     199        filenames are in the UTF-8 charset. See the <xref
     200        linkend="locale-wrong-filename-encoding"/> section of the <xref
     201        linkend="locale-issues"/> page for more details on this kind of issue. In
     202        order to tell <application>GLib</application> and applications that use
     203        it that filenames are in the default locale encoding, set the variable
     204        <envar>G_FILENAME_ENCODING</envar> to the value "@locale".  As the
     205        <systemitem class="username">root</systemitem> user:
     206      </para>
    178207
    179208<screen role="root"><userinput>cat &gt; /etc/profile.d/glib2-locale.sh &lt;&lt; "EOF"
     
    225254        <term><command>gdbus</command></term>
    226255        <listitem>
    227           <para>is a simple tool for working with D-Bus objects.</para>
     256          <para>
     257            is a simple tool for working with D-Bus objects.
     258          </para>
    228259          <indexterm zone="glib2 gdbus">
    229260            <primary sortas="b-gdbus">gdbus</primary>
     
    235266        <term><command>gdbus-codegen</command></term>
    236267        <listitem>
    237           <para>is used to generate code and/or documentation for one or
    238           more D-Bus interfaces.</para>
     268          <para>
     269            is used to generate code and/or documentation for one or
     270            more <application>D-Bus</application> interfaces.
     271          </para>
    239272          <indexterm zone="glib2 gdbus-codegen">
    240273            <primary sortas="b-gdbus-codegen">gdbus-codegen</primary>
     
    246279        <term><command>gio-querymodules</command></term>
    247280        <listitem>
    248           <para>is used to create a giomodule.cache file in the listed directories.
    249           This file lists the implemented extension points for each module that has
    250           been found.</para>
     281          <para>
     282            is used to create a giomodule.cache file in the listed directories.
     283            This file lists the implemented extension points for each module that has
     284            been found.
     285          </para>
    251286          <indexterm zone="glib2 gio-querymodules">
    252287            <primary sortas="b-gio-querymodules">gio-querymodules</primary>
     
    258293        <term><command>glib-compile-resources</command></term>
    259294        <listitem>
    260           <para>is used to read the resource description from file and
    261           the files that it references to create a binary resource
    262           bundle that is suitable for use with the GResource API.</para>
     295          <para>
     296            is used to read the resource description from file and
     297            the files that it references to create a binary resource
     298            bundle that is suitable for use with the GResource API.
     299          </para>
    263300          <indexterm zone="glib2 glib-compile-resources">
    264301            <primary sortas="b-glib-compile-resources">glib-compile-resources</primary>
     
    270307        <term><command>glib-compile-schemas</command></term>
    271308        <listitem>
    272           <para>is used to compile all the GSettings XML schema files
    273           in directory into a binary file with the name gschemas.compiled
    274           that can be used by GSettings.</para>
     309          <para>
     310            is used to compile all the GSettings XML schema files
     311            in directory into a binary file with the name gschemas.compiled
     312            that can be used by GSettings.
     313          </para>
    275314          <indexterm zone="glib2 glib-compile-schemas">
    276315            <primary sortas="b-glib-compile-resources">glib-compile-schemas</primary>
     
    282321        <term><command>glib-genmarshal</command></term>
    283322        <listitem>
    284           <para>is a C code marshaller generation utility for GLib
    285           closures.</para>
     323          <para>
     324            is a C code marshaller generation utility for GLib closures.
     325          </para>
    286326          <indexterm zone="glib2 glib-genmarshal">
    287327            <primary sortas="b-glib-genmarshal">glib-genmarshal</primary>
     
    293333        <term><command>glib-gettextize</command></term>
    294334        <listitem>
    295           <para>is a variant of the <application>gettext</application>
    296           internationalization utility.</para>
     335          <para>
     336            is a variant of the <application>gettext</application>
     337            internationalization utility.
     338          </para>
    297339          <indexterm zone="glib2 glib-gettextize">
    298340            <primary sortas="b-glib-gettextize">glib-gettextize</primary>
     
    304346        <term><command>glib-mkenums</command></term>
    305347        <listitem>
    306           <para>is a C language enum description generation utility.</para>
     348          <para>
     349            is a C language enum description generation utility.
     350          </para>
    307351          <indexterm zone="glib2 glib-mkenums">
    308352            <primary sortas="b-glib-mkenums">glib-mkenums</primary>
     
    314358        <term><command>gobject-query</command></term>
    315359        <listitem>
    316           <para>is a small utility that draws a tree of types.</para>
     360          <para>
     361            is a small utility that draws a tree of types.
     362          </para>
    317363          <indexterm zone="glib2 gobject-query">
    318364            <primary sortas="b-gobject-query">gobject-query</primary>
     
    324370        <term><command>gresource</command></term>
    325371        <listitem>
    326           <para>offers a simple commandline interface to GResource.</para>
     372          <para>
     373            offers a simple commandline interface to GResource.
     374          </para>
    327375          <indexterm zone="glib2 gresource">
    328376            <primary sortas="b-gresource">gresource</primary>
     
    334382        <term><command>gsettings</command></term>
    335383        <listitem>
    336           <para>offers a simple commandline interface to GSettings.</para>
     384          <para>
     385            offers a simple commandline interface to GSettings.
     386          </para>
    337387          <indexterm zone="glib2 gsettings">
    338388            <primary sortas="b-gsettings">gsettings</primary>
     
    344394        <term><command>gtester</command></term>
    345395        <listitem>
    346           <para>is a test running utility.</para>
     396          <para>
     397            is a test running utility.
     398          </para>
    347399          <indexterm zone="glib2 gtester">
    348400            <primary sortas="b-gtester">gtester</primary>
     
    354406        <term><command>gtester-report</command></term>
    355407        <listitem>
    356           <para>is a test report formatting utility.</para>
     408          <para>
     409            is a test report formatting utility.
     410          </para>
    357411          <indexterm zone="glib2 gtester-report">
    358412            <primary sortas="b-gtester-report">gtester-report</primary>
     
    364418        <term>GLib libraries</term>
    365419          <listitem>
    366           <para>contain a low-level core library for the
    367           <application>GIMP</application> Toolkit.</para>
     420          <para>
     421            contain a low-level core libraries for the
     422            <application>GIMP</application> Toolkit.
     423          </para>
    368424          <indexterm zone="glib2 GLib-libraries">
    369425            <primary sortas="c-GLib-libraries">Glib libraries</primary>
Note: See TracChangeset for help on using the changeset viewer.