aboutsummaryrefslogtreecommitdiffstats
path: root/archive/gtkmm2.xml
blob: d6291a37890e89ca3511ee4d44f619d26107f420 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
<?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>