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