glfs/archive/gtkmm2.xml

173 lines
4.7 KiB
XML
Raw Normal View History

2022-08-28 00:23:10 +08:00
<?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 gtkmm2-download-http "&gnome-download-http;/gtkmm/2.24/gtkmm-&gtkmm2-version;.tar.xz">
<!ENTITY gtkmm2-download-ftp "&gnome-download-ftp;/gtkmm/2.24/gtkmm-&gtkmm2-version;.tar.xz">
<!ENTITY gtkmm2-md5sum "6c59ae8bbff48fad9132f23af347acf1">
<!ENTITY gtkmm2-size "11 MB">
<!ENTITY gtkmm2-buildsize "426 MB (with tests)">
<!ENTITY gtkmm2-time "3.4 SBU (with tests)">
]>
<sect1 id="gtkmm2" xreflabel="Gtkmm-&gtkmm2-version;">
<?dbhtml filename="gtkmm2.html"?>
<title>Gtkmm-&gtkmm2-version;</title>
<indexterm zone="gtkmm2">
<primary sortas="a-gtkmm2">gtkmm2</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to Gtkmm</title>
<para>
The <application>Gtkmm</application> package provides a C++ interface to
<application>GTK+ 2</application>. It can be installed alongside
<xref linkend="gtkmm3"/> (the <application>GTK+ 3</application> version)
with no namespace conflicts.
</para>
&lfs111_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&gtkmm2-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&gtkmm2-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &gtkmm2-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &gtkmm2-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &gtkmm2-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &gtkmm2-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Gtkmm Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="atkmm"/>,
<xref linkend="gtk2"/> and
<xref linkend="pangomm"/>
</para>
<para condition="html" role="usernotes">
User Notes: <ulink url="&blfs-wiki;/gtkmm2"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of Gtkmm</title>
<para>
First, fix the documents directory name:
</para>
<screen><userinput>sed -e '/^libdocdir =/ s/$(book_name)/gtkmm-&gtkmm2-version;/' \
-i docs/Makefile.in</userinput></screen>
<para>
Install <application>Gtkmm</application> by running the following
commands:
</para>
<screen><userinput>./configure --prefix=/usr &amp;&amp;
make</userinput></screen>
<para>
To test the results, issue: <command>make check</command>.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make 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>
libgdkmm-2.4.so and libgtkmm-2.4.so
</seg>
<seg>
/usr/include/gdkmm-2.4,
/usr/include/gtkmm-2.4,
/usr/lib/gdkmm-2.4,
/usr/lib/gtkmm-2.4, and
/usr/share/{devhelp/books/gtkmm-2.4,doc/gtkmm-&gtkmm2-version;}
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="libgdkmm-2">
<term><filename class="libraryfile">libgdkmm-2.4.so</filename></term>
<listitem>
<para>
contains the GDK API classes
</para>
<indexterm zone="gtkmm2 libgdkmm-2">
<primary sortas="c-libgdkmm-2">libgdkmm-2.4.so</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libgtkmm-2">
<term><filename class="libraryfile">libgtkmm-2.4.so</filename></term>
<listitem>
<para>
contains the <application>GTK+</application> API classes
</para>
<indexterm zone="gtkmm2 libgtkmm-2">
<primary sortas="c-libgtkmm-2">libgtkmm-2.4.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>