[f7264594] | 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 |
|
---|
[2dbdb12d] | 7 | <!ENTITY gtkmm3-download-http "&gnome-download-http;/gtkmm/&gnome-minor-24;/gtkmm->kmm3-version;.tar.xz">
|
---|
| 8 | <!ENTITY gtkmm3-download-ftp "&gnome-download-ftp;/gtkmm/&gnome-minor-24;/gtkmm->kmm3-version;.tar.xz">
|
---|
[6ca1d4e6] | 9 | <!ENTITY gtkmm3-md5sum "27af20542aaeb8a31a2ebaa267244bdb">
|
---|
[d72d218] | 10 | <!ENTITY gtkmm3-size "13 MB">
|
---|
[6469488] | 11 | <!ENTITY gtkmm3-buildsize "230 MB (with tests)">
|
---|
[6ca1d4e6] | 12 | <!ENTITY gtkmm3-time "1.0 SBU (Using parallelism=4; with tests)">
|
---|
[f7264594] | 13 | ]>
|
---|
| 14 |
|
---|
[742b99e] | 15 | <sect1 id="gtkmm3" xreflabel="Gtkmm->kmm3-version;">
|
---|
| 16 | <?dbhtml filename="gtkmm3.html"?>
|
---|
[f7264594] | 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <date>$Date$</date>
|
---|
| 20 | </sect1info>
|
---|
| 21 |
|
---|
[742b99e] | 22 | <title>Gtkmm->kmm3-version;</title>
|
---|
[f7264594] | 23 |
|
---|
[742b99e] | 24 | <indexterm zone="gtkmm3">
|
---|
[9db393f1] | 25 | <primary sortas="a-Gtkmm">Gtkmm</primary>
|
---|
[f7264594] | 26 | </indexterm>
|
---|
| 27 |
|
---|
| 28 | <sect2 role="package">
|
---|
[742b99e] | 29 | <title>Introduction to Gtkmm</title>
|
---|
[f7264594] | 30 |
|
---|
[9aa0603] | 31 | <para>
|
---|
[742b99e] | 32 | The <application>Gtkmm</application> package provides a C++ interface to
|
---|
[a2912ff] | 33 | <application>GTK+ 3</application>.
|
---|
[9aa0603] | 34 | </para>
|
---|
[f7264594] | 35 |
|
---|
[85a581fd] | 36 | &lfs110a_checked;
|
---|
[0991c27] | 37 |
|
---|
[f7264594] | 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
[9aa0603] | 41 | <para>
|
---|
[742b99e] | 42 | Download (HTTP): <ulink url=">kmm3-download-http;"/>
|
---|
[9aa0603] | 43 | </para>
|
---|
[f7264594] | 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
[9aa0603] | 46 | <para>
|
---|
[742b99e] | 47 | Download (FTP): <ulink url=">kmm3-download-ftp;"/>
|
---|
[9aa0603] | 48 | </para>
|
---|
[f7264594] | 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
[9aa0603] | 51 | <para>
|
---|
[742b99e] | 52 | Download MD5 sum: >kmm3-md5sum;
|
---|
[9aa0603] | 53 | </para>
|
---|
[f7264594] | 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
[9aa0603] | 56 | <para>
|
---|
[742b99e] | 57 | Download size: >kmm3-size;
|
---|
[9aa0603] | 58 | </para>
|
---|
[f7264594] | 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
[9aa0603] | 61 | <para>
|
---|
[742b99e] | 62 | Estimated disk space required: >kmm3-buildsize;
|
---|
[9aa0603] | 63 | </para>
|
---|
[f7264594] | 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
[9aa0603] | 66 | <para>
|
---|
[742b99e] | 67 | Estimated build time: >kmm3-time;
|
---|
[9aa0603] | 68 | </para>
|
---|
[f7264594] | 69 | </listitem>
|
---|
| 70 | </itemizedlist>
|
---|
| 71 |
|
---|
[742b99e] | 72 | <bridgehead renderas="sect3">Gtkmm Dependencies</bridgehead>
|
---|
[f7264594] | 73 |
|
---|
| 74 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[9aa0603] | 75 | <para role="required">
|
---|
| 76 | <xref linkend="atkmm"/>,
|
---|
[3199166] | 77 | <xref linkend="gtk3"/>, and
|
---|
| 78 | <xref linkend="pangomm"/>
|
---|
[9aa0603] | 79 | </para>
|
---|
| 80 |
|
---|
[93f46ca] | 81 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 82 | <para role="optional">
|
---|
| 83 | <xref linkend="doxygen"/>
|
---|
| 84 | </para>
|
---|
| 85 |
|
---|
[9aa0603] | 86 | <para condition="html" role="usernotes">
|
---|
[742b99e] | 87 | User Notes: <ulink url="&blfs-wiki;/gtkmm3"/>
|
---|
[9aa0603] | 88 | </para>
|
---|
[f7264594] | 89 | </sect2>
|
---|
| 90 |
|
---|
| 91 | <sect2 role="installation">
|
---|
[742b99e] | 92 | <title>Installation of Gtkmm</title>
|
---|
[f7264594] | 93 |
|
---|
[9aa0603] | 94 | <para>
|
---|
[742b99e] | 95 | Install <application>Gtkmm</application> by running the following
|
---|
[9aa0603] | 96 | commands:
|
---|
| 97 | </para>
|
---|
[f7264594] | 98 |
|
---|
[93f46ca] | 99 | <screen><userinput>mkdir gtkmm3-build &&
|
---|
| 100 | cd gtkmm3-build &&
|
---|
| 101 |
|
---|
[6469488] | 102 | meson --prefix=/usr --buildtype=release .. &&
|
---|
[93f46ca] | 103 | ninja</userinput></screen>
|
---|
[f7264594] | 104 |
|
---|
[9aa0603] | 105 | <para>
|
---|
[93f46ca] | 106 | To test the results, issue: <command>ninja test</command>. Note that you
|
---|
[56097d1e] | 107 | must be in a graphical environment, as the tests try to open some
|
---|
| 108 | windows.
|
---|
[9aa0603] | 109 | </para>
|
---|
[f7264594] | 110 |
|
---|
[9aa0603] | 111 | <para>
|
---|
| 112 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 113 | </para>
|
---|
[f7264594] | 114 |
|
---|
[19b2d64] | 115 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
| 116 |
|
---|
| 117 | <para>
|
---|
| 118 | If you have built the documentation (see Command Explanations below) it
|
---|
| 119 | was installed to <filename
|
---|
| 120 | class="directory">/usr/share/doc/gtkmm-3.0</filename>. For consistency,
|
---|
| 121 | move it to a versioned directory as the <systemitem
|
---|
| 122 | class="username">root</systemitem> user:
|
---|
| 123 | </para>
|
---|
| 124 |
|
---|
[b9044d7] | 125 | <screen role="nodump"><userinput>mv -v /usr/share/doc/gtkmm-3.0 /usr/share/doc/gtkmm->kmm3-version;</userinput></screen>
|
---|
[19b2d64] | 126 |
|
---|
| 127 | </sect2>
|
---|
| 128 |
|
---|
| 129 | <sect2 role="commands">
|
---|
| 130 | <title>Command Explanations</title>
|
---|
| 131 |
|
---|
| 132 | <para>
|
---|
| 133 | <option>-Dbuild-documentation=true</option>: If you have installed
|
---|
| 134 | <xref linkend="doxygen"/> this define will build and install the
|
---|
| 135 | documentation.
|
---|
| 136 | </para>
|
---|
| 137 |
|
---|
[f7264594] | 138 | </sect2>
|
---|
| 139 |
|
---|
| 140 | <sect2 role="content">
|
---|
| 141 | <title>Contents</title>
|
---|
| 142 |
|
---|
| 143 | <segmentedlist>
|
---|
[910d888] | 144 | <segtitle>Installed Programs</segtitle>
|
---|
[f7264594] | 145 | <segtitle>Installed Libraries</segtitle>
|
---|
| 146 | <segtitle>Installed Directories</segtitle>
|
---|
| 147 |
|
---|
| 148 | <seglistitem>
|
---|
[9aa0603] | 149 | <seg>
|
---|
[13507eb] | 150 | None
|
---|
| 151 | </seg>
|
---|
| 152 | <seg>
|
---|
[a2912ff] | 153 | libgdkmm-3.0.so and libgtkmm-3.0.so
|
---|
[b8a081c] | 154 | </seg>
|
---|
| 155 | <seg>
|
---|
[d356833] | 156 | /usr/include/gdkmm-3.0,
|
---|
| 157 | /usr/include/gtkmm-3.0,
|
---|
| 158 | /usr/lib/gdkmm-3.0,
|
---|
[19b2d64] | 159 | /usr/lib/gtkmm-3.0, and optionally
|
---|
[60d59117] | 160 | /usr/share/{devhelp/books/gtkmm-3.0,doc/gtkmm->kmm3-version;}
|
---|
[9aa0603] | 161 | </seg>
|
---|
[f7264594] | 162 | </seglistitem>
|
---|
| 163 | </segmentedlist>
|
---|
| 164 |
|
---|
| 165 | <variablelist>
|
---|
| 166 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 167 | <?dbfo list-presentation="list"?>
|
---|
| 168 | <?dbhtml list-presentation="table"?>
|
---|
| 169 |
|
---|
[d356833] | 170 | <varlistentry id="libgdkmm-3">
|
---|
| 171 | <term><filename class="libraryfile">libgdkmm-3.0.so</filename></term>
|
---|
[f7264594] | 172 | <listitem>
|
---|
[a2912ff] | 173 | <para>
|
---|
[4c24eb0a] | 174 | contains the GDK API classes
|
---|
[9aa0603] | 175 | </para>
|
---|
[d356833] | 176 | <indexterm zone="gtkmm3 libgdkmm-3">
|
---|
| 177 | <primary sortas="c-libgdkmm-3">libgdkmm-3.0.so</primary>
|
---|
[f7264594] | 178 | </indexterm>
|
---|
| 179 | </listitem>
|
---|
| 180 | </varlistentry>
|
---|
| 181 |
|
---|
[d356833] | 182 | <varlistentry id="libgtkmm-3">
|
---|
| 183 | <term><filename class="libraryfile">libgtkmm-3.0.so</filename></term>
|
---|
[f7264594] | 184 | <listitem>
|
---|
[a2912ff] | 185 | <para>
|
---|
[4c24eb0a] | 186 | contains the <application>GTK+ 3</application> API classes
|
---|
[9aa0603] | 187 | </para>
|
---|
[d356833] | 188 | <indexterm zone="gtkmm3 libgtkmm-3">
|
---|
| 189 | <primary sortas="c-libgtkmm-3">libgtkmm-3.0.so</primary>
|
---|
[f7264594] | 190 | </indexterm>
|
---|
| 191 | </listitem>
|
---|
| 192 | </varlistentry>
|
---|
[a2912ff] | 193 |
|
---|
[f7264594] | 194 | </variablelist>
|
---|
[a2912ff] | 195 |
|
---|
[f7264594] | 196 | </sect2>
|
---|
[a2912ff] | 197 |
|
---|
[f7264594] | 198 | </sect1>
|
---|