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 |
|
---|
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">
|
---|
9 | <!ENTITY gtkmm2-md5sum "6c59ae8bbff48fad9132f23af347acf1">
|
---|
10 | <!ENTITY gtkmm2-size "11 MB">
|
---|
11 | <!ENTITY gtkmm2-buildsize "426 MB (with tests)">
|
---|
12 | <!ENTITY gtkmm2-time "3.4 SBU (with tests)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="gtkmm2" xreflabel="Gtkmm->kmm2-version;">
|
---|
16 | <?dbhtml filename="gtkmm2.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>Gtkmm->kmm2-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="gtkmm2">
|
---|
26 | <primary sortas="a-gtkmm2">gtkmm2</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to Gtkmm</title>
|
---|
31 |
|
---|
32 | <para>
|
---|
33 | The <application>Gtkmm</application> package provides a C++ interface to
|
---|
34 | <application>GTK+ 2</application>. It can be installed alongside
|
---|
35 | <xref linkend="gtkmm3"/> (the <application>GTK+ 3</application> version)
|
---|
36 | with no namespace conflicts.
|
---|
37 | </para>
|
---|
38 |
|
---|
39 | &lfs81_checked;
|
---|
40 |
|
---|
41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
42 | <itemizedlist spacing="compact">
|
---|
43 | <listitem>
|
---|
44 | <para>
|
---|
45 | Download (HTTP): <ulink url=">kmm2-download-http;"/>
|
---|
46 | </para>
|
---|
47 | </listitem>
|
---|
48 | <listitem>
|
---|
49 | <para>
|
---|
50 | Download (FTP): <ulink url=">kmm2-download-ftp;"/>
|
---|
51 | </para>
|
---|
52 | </listitem>
|
---|
53 | <listitem>
|
---|
54 | <para>
|
---|
55 | Download MD5 sum: >kmm2-md5sum;
|
---|
56 | </para>
|
---|
57 | </listitem>
|
---|
58 | <listitem>
|
---|
59 | <para>
|
---|
60 | Download size: >kmm2-size;
|
---|
61 | </para>
|
---|
62 | </listitem>
|
---|
63 | <listitem>
|
---|
64 | <para>
|
---|
65 | Estimated disk space required: >kmm2-buildsize;
|
---|
66 | </para>
|
---|
67 | </listitem>
|
---|
68 | <listitem>
|
---|
69 | <para>
|
---|
70 | Estimated build time: >kmm2-time;
|
---|
71 | </para>
|
---|
72 | </listitem>
|
---|
73 | </itemizedlist>
|
---|
74 |
|
---|
75 | <bridgehead renderas="sect3">Gtkmm Dependencies</bridgehead>
|
---|
76 |
|
---|
77 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
78 | <para role="required">
|
---|
79 | <xref linkend="atkmm"/>,
|
---|
80 | <xref linkend="gtk2"/> and
|
---|
81 | <xref linkend="pangomm"/>
|
---|
82 | </para>
|
---|
83 |
|
---|
84 | <para condition="html" role="usernotes">
|
---|
85 | User Notes: <ulink url="&blfs-wiki;/gtkmm2"/>
|
---|
86 | </para>
|
---|
87 | </sect2>
|
---|
88 |
|
---|
89 | <sect2 role="installation">
|
---|
90 | <title>Installation of Gtkmm</title>
|
---|
91 |
|
---|
92 | <para>
|
---|
93 | First, fix the documents directory name:
|
---|
94 | </para>
|
---|
95 |
|
---|
96 | <screen><userinput>sed -e '/^libdocdir =/ s/$(book_name)/gtkmm->kmm2-version;/' \
|
---|
97 | -i docs/Makefile.in</userinput></screen>
|
---|
98 |
|
---|
99 | <para>
|
---|
100 | Install <application>Gtkmm</application> by running the following
|
---|
101 | commands:
|
---|
102 | </para>
|
---|
103 |
|
---|
104 | <screen><userinput>./configure --prefix=/usr &&
|
---|
105 | make</userinput></screen>
|
---|
106 |
|
---|
107 | <para>
|
---|
108 | To test the results, issue: <command>make check</command>.
|
---|
109 | </para>
|
---|
110 |
|
---|
111 | <para>
|
---|
112 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
113 | </para>
|
---|
114 |
|
---|
115 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
116 | </sect2>
|
---|
117 |
|
---|
118 | <!-- as of 2.24.5, this is no longer needed. -renodr
|
---|
119 | <sect2 role="commands">
|
---|
120 | <title>Command Explanations</title>
|
---|
121 |
|
---|
122 | <para>
|
---|
123 | <command>CXXFLAGS="-g -O2 -std=c++11" ./configure...</command>: while
|
---|
124 | Gtkmm->kmm2-version; has not yet been ported to the 2011 ISO C++
|
---|
125 | standard, all its dependencies have. <command>-std=c++11</command> has
|
---|
126 | to be used as an option to <command>g++</command>. We pass it into
|
---|
127 | <envar>CXXFLAGS</envar> together with the default options.
|
---|
128 | </para>
|
---|
129 |
|
---|
130 | </sect2>
|
---|
131 | -->
|
---|
132 |
|
---|
133 | <sect2 role="content">
|
---|
134 | <title>Contents</title>
|
---|
135 |
|
---|
136 | <segmentedlist>
|
---|
137 | <segtitle>Installed Programs</segtitle>
|
---|
138 | <segtitle>Installed Libraries</segtitle>
|
---|
139 | <segtitle>Installed Directories</segtitle>
|
---|
140 |
|
---|
141 | <seglistitem>
|
---|
142 | <seg>
|
---|
143 | None
|
---|
144 | </seg>
|
---|
145 | <seg>
|
---|
146 | libgdkmm-2.4.so and libgtkmm-2.4.so
|
---|
147 | </seg>
|
---|
148 | <seg>
|
---|
149 | /usr/include/gdkmm-2.4,
|
---|
150 | /usr/include/gtkmm-2.4,
|
---|
151 | /usr/lib/gdkmm-2.4,
|
---|
152 | /usr/lib/gtkmm-2.4, and
|
---|
153 | /usr/share/{devhelp/books/gtkmm-2.4,doc/gtkmm->kmm2-version;}
|
---|
154 | </seg>
|
---|
155 | </seglistitem>
|
---|
156 | </segmentedlist>
|
---|
157 |
|
---|
158 | <variablelist>
|
---|
159 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
160 | <?dbfo list-presentation="list"?>
|
---|
161 | <?dbhtml list-presentation="table"?>
|
---|
162 |
|
---|
163 | <varlistentry id="libgdkmm-2">
|
---|
164 | <term><filename class="libraryfile">libgdkmm-2.4.so</filename></term>
|
---|
165 | <listitem>
|
---|
166 | <para>
|
---|
167 | contains the GDK API classes.
|
---|
168 | </para>
|
---|
169 | <indexterm zone="gtkmm2 libgdkmm-2">
|
---|
170 | <primary sortas="c-libgdkmm-2">libgdkmm-2.4.so</primary>
|
---|
171 | </indexterm>
|
---|
172 | </listitem>
|
---|
173 | </varlistentry>
|
---|
174 |
|
---|
175 | <varlistentry id="libgtkmm-2">
|
---|
176 | <term><filename class="libraryfile">libgtkmm-2.4.so</filename></term>
|
---|
177 | <listitem>
|
---|
178 | <para>
|
---|
179 | contains the <application>GTK+</application> API classes.
|
---|
180 | </para>
|
---|
181 | <indexterm zone="gtkmm2 libgtkmm-2">
|
---|
182 | <primary sortas="c-libgtkmm-2">libgtkmm-2.4.so</primary>
|
---|
183 | </indexterm>
|
---|
184 | </listitem>
|
---|
185 | </varlistentry>
|
---|
186 |
|
---|
187 | </variablelist>
|
---|
188 |
|
---|
189 | </sect2>
|
---|
190 |
|
---|
191 | </sect1>
|
---|