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