mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-25 07:42:13 +08:00
9ee5ff8977
Update to gobject-introspection-1.48.0. Update to glib-48.0. Update to notification-daemon-3.18.2. git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@17170 af4574ff-66df-0310-9fd7-8a98e5e911e0
399 lines
13 KiB
XML
399 lines
13 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY glib2-download-http "&gnome-download-http;/glib/2.48/glib-&glib2-version;.tar.xz">
|
|
<!ENTITY glib2-download-ftp "&gnome-download-ftp;/glib/2.48/glib-&glib2-version;.tar.xz">
|
|
<!ENTITY glib2-md5sum "093a586f37d2853bdb129231e1b350e0">
|
|
<!ENTITY glib2-size "7.1 MB">
|
|
<!ENTITY glib2-buildsize "143 MB (additional 71 MB for tests)">
|
|
<!ENTITY glib2-time "1.1 SBU (additional 4.4 SBU for tests)">
|
|
]>
|
|
|
|
<sect1 id="glib2" xreflabel="GLib-&glib2-version;">
|
|
<?dbhtml filename="glib2.html"?>
|
|
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
|
|
<title>GLib-&glib2-version;</title>
|
|
|
|
<indexterm zone="glib2">
|
|
<primary sortas="a-GLib2">GLib2</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to GLib</title>
|
|
|
|
<para>
|
|
The <application>GLib</application> package contains low-level
|
|
libraries useful for providing data structure handling for C, portability
|
|
wrappers and interfaces for such runtime functionality as an
|
|
event loop, threads, dynamic loading and an object system.
|
|
</para>
|
|
|
|
&lfs79_checked;
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>
|
|
Download (HTTP): <ulink url="&glib2-download-http;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download (FTP): <ulink url="&glib2-download-ftp;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download MD5 sum: &glib2-md5sum;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download size: &glib2-size;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated disk space required: &glib2-buildsize;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated build time: &glib2-time;
|
|
</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<bridgehead renderas="sect3">GLib Dependencies</bridgehead>
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
<para role="required">
|
|
<xref linkend="libffi"/> and
|
|
<xref linkend="python2"/> or <xref linkend="python3"/>
|
|
</para>
|
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
|
<para role="recommended">
|
|
<xref linkend="pcre"/> (built with Unicode properties)
|
|
</para>
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
<para role="optional">
|
|
<xref linkend="dbus"/> (required for some tests),
|
|
<xref linkend="elfutils"/>,
|
|
<xref linkend="gtk-doc"/>, and
|
|
<ulink url="ftp://oss.sgi.com/projects/fam/download/stable/">FAM library</ulink>
|
|
</para>
|
|
|
|
<bridgehead renderas="sect4">Additional Runtime Dependencies</bridgehead>
|
|
<para role="optional">
|
|
Quoted directly from the <filename>INSTALL</filename> file:
|
|
<quote>Some of the mimetype-related functionality in GIO requires the
|
|
<command>update-mime-database</command> and
|
|
<command>update-desktop-database</command> utilities</quote>,
|
|
which are part of
|
|
<xref linkend="shared-mime-info"/> and
|
|
<xref linkend="desktop-file-utils"/>, respectively.
|
|
</para>
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
<ulink url="&blfs-wiki;/glib2"/>
|
|
</para>
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of GLib</title>
|
|
|
|
<para>
|
|
Install <application>GLib</application> by running the following
|
|
commands:
|
|
</para>
|
|
|
|
<screen><userinput>./configure --prefix=/usr --with-pcre=system &&
|
|
make</userinput></screen>
|
|
|
|
<para>
|
|
The <application>GLib</application> test suite requires
|
|
<application>desktop-file-utils</application> for some tests. However,
|
|
<application>desktop-file-utils</application> requires
|
|
<application>GLib</application> in order to compile; therefore, you must
|
|
first install <application>GLib</application> and then run the test
|
|
suite.
|
|
</para>
|
|
|
|
<para>
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
</para>
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
<para>
|
|
You should now install <xref linkend="desktop-file-utils"/> and proceed to
|
|
run the test suite.
|
|
</para>
|
|
|
|
<para>
|
|
To test the results, after having installed the package, issue:
|
|
<command>make -k check</command>.
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="commands">
|
|
<title>Command Explanations</title>
|
|
|
|
<para>
|
|
<parameter>--with-pcre=system</parameter>: This switch causes the
|
|
build to use a system-provided version of the
|
|
<application>PCRE</application> library instead of an internal
|
|
version.
|
|
</para>
|
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
href="../../xincludes/gtk-doc-rebuild.xml"/>
|
|
|
|
<para>
|
|
<option>--with-python=/usr/bin/python3</option>: Add this switch if you
|
|
want GLib to use Python3 instead of Python2.
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Libraries</segtitle>
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>
|
|
gapplication, gdbus, gdbus-codegen, gio-querymodules,
|
|
glib-compile-resources, glib-compile-schemas,
|
|
glib-genmarshal, glib-gettextize, glib-mkenums,
|
|
gobject-query, gresource, gsettings, gtester,
|
|
and gtester-report
|
|
</seg>
|
|
<seg>
|
|
libgio-2.0.so, libglib-2.0.so, libgmodule-2.0.so,
|
|
libgobject-2.0.so, and libgthread-2.0.so
|
|
</seg>
|
|
<seg>
|
|
/usr/include/gio-unix-2.0,
|
|
/usr/{include,lib,share}/glib-2.0,
|
|
/usr/lib/gio, and
|
|
/usr/share/gtk-doc/html/g{io,lib,object}
|
|
</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<varlistentry id="gapplication">
|
|
<term><command>gapplication</command></term>
|
|
<listitem>
|
|
<para>
|
|
can be used to start applications and can be used to send
|
|
messages to already-running instances of other applications.
|
|
</para>
|
|
<indexterm zone="glib2 gapplication">
|
|
<primary sortas="b-gapplication">application</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry id="gdbus">
|
|
<term><command>gdbus</command></term>
|
|
<listitem>
|
|
<para>
|
|
is a simple tool used for working with
|
|
<application>D-Bus</application> objects.
|
|
</para>
|
|
<indexterm zone="glib2 gdbus">
|
|
<primary sortas="b-gdbus">gdbus</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="gdbus-codegen">
|
|
<term><command>gdbus-codegen</command></term>
|
|
<listitem>
|
|
<para>
|
|
is used to generate code and/or documentation for one or
|
|
more <application>D-Bus</application> interfaces.
|
|
</para>
|
|
<indexterm zone="glib2 gdbus-codegen">
|
|
<primary sortas="b-gdbus-codegen">gdbus-codegen</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="gio-querymodules">
|
|
<term><command>gio-querymodules</command></term>
|
|
<listitem>
|
|
<para>
|
|
is used to create a giomodule.cache file in the listed directories.
|
|
This file lists the implemented extension points for each module
|
|
that has been found.
|
|
</para>
|
|
<indexterm zone="glib2 gio-querymodules">
|
|
<primary sortas="b-gio-querymodules">gio-querymodules</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="glib-compile-resources">
|
|
<term><command>glib-compile-resources</command></term>
|
|
<listitem>
|
|
<para>
|
|
is used to read the resource description from file and
|
|
the files that it references to create a binary resource
|
|
bundle that is suitable for use with the GResource API.
|
|
</para>
|
|
<indexterm zone="glib2 glib-compile-resources">
|
|
<primary sortas="b-glib-compile-resources">glib-compile-resources</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="glib-compile-schemas">
|
|
<term><command>glib-compile-schemas</command></term>
|
|
<listitem>
|
|
<para>
|
|
is used to compile all the GSettings XML schema files
|
|
in directory into a binary file with the name gschemas.compiled
|
|
that can be used by GSettings.
|
|
</para>
|
|
<indexterm zone="glib2 glib-compile-schemas">
|
|
<primary sortas="b-glib-compile-resources">glib-compile-schemas</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="glib-genmarshal">
|
|
<term><command>glib-genmarshal</command></term>
|
|
<listitem>
|
|
<para>
|
|
is a C code marshaller generation utility for GLib closures.
|
|
</para>
|
|
<indexterm zone="glib2 glib-genmarshal">
|
|
<primary sortas="b-glib-genmarshal">glib-genmarshal</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="glib-gettextize">
|
|
<term><command>glib-gettextize</command></term>
|
|
<listitem>
|
|
<para>
|
|
is a variant of the <application>gettext</application>
|
|
internationalization utility.
|
|
</para>
|
|
<indexterm zone="glib2 glib-gettextize">
|
|
<primary sortas="b-glib-gettextize">glib-gettextize</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="glib-mkenums">
|
|
<term><command>glib-mkenums</command></term>
|
|
<listitem>
|
|
<para>
|
|
is a C language enum description generation utility.
|
|
</para>
|
|
<indexterm zone="glib2 glib-mkenums">
|
|
<primary sortas="b-glib-mkenums">glib-mkenums</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="gobject-query">
|
|
<term><command>gobject-query</command></term>
|
|
<listitem>
|
|
<para>
|
|
is a small utility that draws a tree of types.
|
|
</para>
|
|
<indexterm zone="glib2 gobject-query">
|
|
<primary sortas="b-gobject-query">gobject-query</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="gresource">
|
|
<term><command>gresource</command></term>
|
|
<listitem>
|
|
<para>
|
|
offers a simple commandline interface to GResource.
|
|
</para>
|
|
<indexterm zone="glib2 gresource">
|
|
<primary sortas="b-gresource">gresource</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="gsettings">
|
|
<term><command>gsettings</command></term>
|
|
<listitem>
|
|
<para>
|
|
offers a simple commandline interface to GSettings.
|
|
</para>
|
|
<indexterm zone="glib2 gsettings">
|
|
<primary sortas="b-gsettings">gsettings</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="gtester">
|
|
<term><command>gtester</command></term>
|
|
<listitem>
|
|
<para>
|
|
is a test running utility.
|
|
</para>
|
|
<indexterm zone="glib2 gtester">
|
|
<primary sortas="b-gtester">gtester</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="gtester-report">
|
|
<term><command>gtester-report</command></term>
|
|
<listitem>
|
|
<para>
|
|
is a test report formatting utility.
|
|
</para>
|
|
<indexterm zone="glib2 gtester-report">
|
|
<primary sortas="b-gtester-report">gtester-report</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="GLib-libraries">
|
|
<term>GLib libraries</term>
|
|
<listitem>
|
|
<para>
|
|
contain low-level core libraries for the
|
|
<application>GIMP</application> Toolkit.
|
|
</para>
|
|
<indexterm zone="glib2 GLib-libraries">
|
|
<primary sortas="c-GLib-libraries">Glib libraries</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|