[e332a54] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[a2912ff] | 7 | <!ENTITY gtkmm2-download-http "&gnome-download-http;/gtkmm/2.24/gtkmm->kmm2-version;.tar.xz">
|
---|
| 8 | <!ENTITY gtkmm2-download-ftp "&gnome-download-ftp;/gtkmm/2.24/gtkmm->kmm2-version;.tar.xz">
|
---|
[dd6246f] | 9 | <!ENTITY gtkmm2-md5sum "6c59ae8bbff48fad9132f23af347acf1">
|
---|
| 10 | <!ENTITY gtkmm2-size "11 MB">
|
---|
[56097d1e] | 11 | <!ENTITY gtkmm2-buildsize "426 MB (with tests)">
|
---|
| 12 | <!ENTITY gtkmm2-time "3.4 SBU (with tests)">
|
---|
[e332a54] | 13 | ]>
|
---|
| 14 |
|
---|
[742b99e] | 15 | <sect1 id="gtkmm2" xreflabel="Gtkmm->kmm2-version;">
|
---|
[e332a54] | 16 | <?dbhtml filename="gtkmm2.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <date>$Date$</date>
|
---|
| 20 | </sect1info>
|
---|
| 21 |
|
---|
| 22 | <title>Gtkmm->kmm2-version;</title>
|
---|
| 23 |
|
---|
| 24 | <indexterm zone="gtkmm2">
|
---|
| 25 | <primary sortas="a-gtkmm2">gtkmm2</primary>
|
---|
| 26 | </indexterm>
|
---|
| 27 |
|
---|
| 28 | <sect2 role="package">
|
---|
| 29 | <title>Introduction to Gtkmm</title>
|
---|
| 30 |
|
---|
| 31 | <para>
|
---|
| 32 | The <application>Gtkmm</application> package provides a C++ interface to
|
---|
[d4e57d7f] | 33 | <application>GTK+ 2</application>. It can be installed alongside
|
---|
| 34 | <xref linkend="gtkmm3"/> (the <application>GTK+ 3</application> version)
|
---|
[e332a54] | 35 | with no namespace conflicts.
|
---|
| 36 | </para>
|
---|
| 37 |
|
---|
[da54a62] | 38 | &lfs110a_checked;
|
---|
[e332a54] | 39 |
|
---|
| 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>
|
---|
| 44 | Download (HTTP): <ulink url=">kmm2-download-http;"/>
|
---|
| 45 | </para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>
|
---|
| 49 | Download (FTP): <ulink url=">kmm2-download-ftp;"/>
|
---|
| 50 | </para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>
|
---|
| 54 | Download MD5 sum: >kmm2-md5sum;
|
---|
| 55 | </para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>
|
---|
| 59 | Download size: >kmm2-size;
|
---|
| 60 | </para>
|
---|
| 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>
|
---|
| 64 | Estimated disk space required: >kmm2-buildsize;
|
---|
| 65 | </para>
|
---|
| 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
| 68 | <para>
|
---|
| 69 | Estimated build time: >kmm2-time;
|
---|
| 70 | </para>
|
---|
| 71 | </listitem>
|
---|
| 72 | </itemizedlist>
|
---|
| 73 |
|
---|
| 74 | <bridgehead renderas="sect3">Gtkmm Dependencies</bridgehead>
|
---|
| 75 |
|
---|
| 76 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 77 | <para role="required">
|
---|
| 78 | <xref linkend="atkmm"/>,
|
---|
| 79 | <xref linkend="gtk2"/> and
|
---|
| 80 | <xref linkend="pangomm"/>
|
---|
| 81 | </para>
|
---|
| 82 |
|
---|
| 83 | <para condition="html" role="usernotes">
|
---|
| 84 | User Notes: <ulink url="&blfs-wiki;/gtkmm2"/>
|
---|
| 85 | </para>
|
---|
| 86 | </sect2>
|
---|
| 87 |
|
---|
| 88 | <sect2 role="installation">
|
---|
| 89 | <title>Installation of Gtkmm</title>
|
---|
| 90 |
|
---|
[60d59117] | 91 | <para>
|
---|
| 92 | First, fix the documents directory name:
|
---|
| 93 | </para>
|
---|
| 94 |
|
---|
| 95 | <screen><userinput>sed -e '/^libdocdir =/ s/$(book_name)/gtkmm->kmm2-version;/' \
|
---|
| 96 | -i docs/Makefile.in</userinput></screen>
|
---|
| 97 |
|
---|
[e332a54] | 98 | <para>
|
---|
| 99 | Install <application>Gtkmm</application> by running the following
|
---|
| 100 | commands:
|
---|
| 101 | </para>
|
---|
| 102 |
|
---|
[dd6246f] | 103 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[e332a54] | 104 | make</userinput></screen>
|
---|
| 105 |
|
---|
| 106 | <para>
|
---|
| 107 | To test the results, issue: <command>make check</command>.
|
---|
| 108 | </para>
|
---|
| 109 |
|
---|
| 110 | <para>
|
---|
| 111 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 112 | </para>
|
---|
| 113 |
|
---|
| 114 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 115 | </sect2>
|
---|
| 116 |
|
---|
| 117 | <sect2 role="content">
|
---|
| 118 | <title>Contents</title>
|
---|
| 119 |
|
---|
| 120 | <segmentedlist>
|
---|
[910d888] | 121 | <segtitle>Installed Programs</segtitle>
|
---|
[e332a54] | 122 | <segtitle>Installed Libraries</segtitle>
|
---|
| 123 | <segtitle>Installed Directories</segtitle>
|
---|
| 124 |
|
---|
| 125 | <seglistitem>
|
---|
[13507eb] | 126 | <seg>
|
---|
| 127 | None
|
---|
| 128 | </seg>
|
---|
[d4e57d7f] | 129 | <seg>
|
---|
| 130 | libgdkmm-2.4.so and libgtkmm-2.4.so
|
---|
| 131 | </seg>
|
---|
[e332a54] | 132 | <seg>
|
---|
| 133 | /usr/include/gdkmm-2.4,
|
---|
| 134 | /usr/include/gtkmm-2.4,
|
---|
| 135 | /usr/lib/gdkmm-2.4,
|
---|
[60d59117] | 136 | /usr/lib/gtkmm-2.4, and
|
---|
| 137 | /usr/share/{devhelp/books/gtkmm-2.4,doc/gtkmm->kmm2-version;}
|
---|
[e332a54] | 138 | </seg>
|
---|
| 139 | </seglistitem>
|
---|
| 140 | </segmentedlist>
|
---|
| 141 |
|
---|
| 142 | <variablelist>
|
---|
| 143 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 144 | <?dbfo list-presentation="list"?>
|
---|
| 145 | <?dbhtml list-presentation="table"?>
|
---|
| 146 |
|
---|
[d4e57d7f] | 147 | <varlistentry id="libgdkmm-2">
|
---|
| 148 | <term><filename class="libraryfile">libgdkmm-2.4.so</filename></term>
|
---|
[e332a54] | 149 | <listitem>
|
---|
[a2912ff] | 150 | <para>
|
---|
[4c24eb0a] | 151 | contains the GDK API classes
|
---|
[e332a54] | 152 | </para>
|
---|
[d4e57d7f] | 153 | <indexterm zone="gtkmm2 libgdkmm-2">
|
---|
| 154 | <primary sortas="c-libgdkmm-2">libgdkmm-2.4.so</primary>
|
---|
[e332a54] | 155 | </indexterm>
|
---|
| 156 | </listitem>
|
---|
| 157 | </varlistentry>
|
---|
| 158 |
|
---|
[d4e57d7f] | 159 | <varlistentry id="libgtkmm-2">
|
---|
| 160 | <term><filename class="libraryfile">libgtkmm-2.4.so</filename></term>
|
---|
[e332a54] | 161 | <listitem>
|
---|
[a2912ff] | 162 | <para>
|
---|
[4c24eb0a] | 163 | contains the <application>GTK+</application> API classes
|
---|
[e332a54] | 164 | </para>
|
---|
[d4e57d7f] | 165 | <indexterm zone="gtkmm2 libgtkmm-2">
|
---|
| 166 | <primary sortas="c-libgtkmm-2">libgtkmm-2.4.so</primary>
|
---|
[e332a54] | 167 | </indexterm>
|
---|
| 168 | </listitem>
|
---|
| 169 | </varlistentry>
|
---|
[a2912ff] | 170 |
|
---|
[e332a54] | 171 | </variablelist>
|
---|
[a2912ff] | 172 |
|
---|
[e332a54] | 173 | </sect2>
|
---|
[a2912ff] | 174 |
|
---|
[e332a54] | 175 | </sect1>
|
---|