glfs/general/genlib/glibmm.xml
2024-01-19 22:39:35 +01:00

171 lines
4.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!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 glibmm-download-http "&gnome-download-http;/glibmm/2.66/glibmm-&glibmm-version;.tar.xz">
<!ENTITY glibmm-download-ftp " ">
<!ENTITY glibmm-md5sum "b6c2c8ba36abf6c5e43cee459a74b8a1">
<!ENTITY glibmm-size "7.3 MB">
<!ENTITY glibmm-buildsize "80 MB (with tests)">
<!ENTITY glibmm-time "0.5 SBU (Using parallelism=4; with tests)">
]>
<sect1 id="glibmm" xreflabel="GLibmm-&glibmm-version;">
<?dbhtml filename="glibmm.html"?>
<title>GLibmm-&glibmm-version;</title>
<indexterm zone="glibmm">
<primary sortas="a-GLibmm">GLibmm</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to GLibmm</title>
<para>
The <application>GLibmm</application> package is a set of C++ bindings
for <application>GLib</application>.
</para>
&lfs120_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&glibmm-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&glibmm-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &glibmm-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &glibmm-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &glibmm-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &glibmm-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">GLibmm Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="glib2"/> and
<xref linkend="libsigc"/>
</para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="doxygen"/>,
<xref linkend="glib-networking"/> (for tests),
<xref linkend="gnutls"/> (for tests),
<xref linkend="libxslt"/>, and
<ulink url="&gnome-download-http;/mm-common">mm-common</ulink>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of GLibmm</title>
<para>
Install <application>GLibmm</application> by running the following
commands:
</para>
<screen><userinput>mkdir bld &amp;&amp;
cd bld &amp;&amp;
meson setup --prefix=/usr --buildtype=release .. &amp;&amp;
ninja</userinput></screen>
<para>
To test the results, issue: <command>ninja test</command>.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>ninja install</userinput></screen>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>
None
</seg>
<seg>
libgiomm-2.4.so, libglibmm-2.4.so and
libglibmm_generate_extra_defs-2.4.so
</seg>
<seg>
/usr/lib/g{io,lib}mm-2.4 and
/usr/include/g{io,lib}mm-2.4
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="libgiomm-2">
<term><filename class="libraryfile">libgiomm-2.4.so</filename></term>
<listitem>
<para>
contains the GIO API classes
</para>
<indexterm zone="glibmm libgiomm-2">
<primary sortas="c-libgiomm-2">libgiomm-2.4.so</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libglibmm-2">
<term><filename class="libraryfile">libglibmm-2.4.so</filename></term>
<listitem>
<para>
contains the <application>GLib</application> API classes
</para>
<indexterm zone="glibmm libglibmm-2">
<primary sortas="c-libglibmm-2">libglibmm-2.4.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>