[0bf1b4f] | 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 |
|
---|
| 19 | <title>Gtkmm->kmm2-version;</title>
|
---|
| 20 |
|
---|
| 21 | <indexterm zone="gtkmm2">
|
---|
| 22 | <primary sortas="a-gtkmm2">gtkmm2</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+ 2</application>. It can be installed alongside
|
---|
| 31 | <xref linkend="gtkmm3"/> (the <application>GTK+ 3</application> version)
|
---|
| 32 | with no namespace conflicts.
|
---|
| 33 | </para>
|
---|
| 34 |
|
---|
| 35 | &lfs111_checked;
|
---|
| 36 |
|
---|
| 37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 38 | <itemizedlist spacing="compact">
|
---|
| 39 | <listitem>
|
---|
| 40 | <para>
|
---|
| 41 | Download (HTTP): <ulink url=">kmm2-download-http;"/>
|
---|
| 42 | </para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>
|
---|
| 46 | Download (FTP): <ulink url=">kmm2-download-ftp;"/>
|
---|
| 47 | </para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>
|
---|
| 51 | Download MD5 sum: >kmm2-md5sum;
|
---|
| 52 | </para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>
|
---|
| 56 | Download size: >kmm2-size;
|
---|
| 57 | </para>
|
---|
| 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
| 60 | <para>
|
---|
| 61 | Estimated disk space required: >kmm2-buildsize;
|
---|
| 62 | </para>
|
---|
| 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
| 65 | <para>
|
---|
| 66 | Estimated build time: >kmm2-time;
|
---|
| 67 | </para>
|
---|
| 68 | </listitem>
|
---|
| 69 | </itemizedlist>
|
---|
| 70 |
|
---|
| 71 | <bridgehead renderas="sect3">Gtkmm Dependencies</bridgehead>
|
---|
| 72 |
|
---|
| 73 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 74 | <para role="required">
|
---|
| 75 | <xref linkend="atkmm"/>,
|
---|
| 76 | <xref linkend="gtk2"/> and
|
---|
| 77 | <xref linkend="pangomm"/>
|
---|
| 78 | </para>
|
---|
| 79 |
|
---|
| 80 | <para condition="html" role="usernotes">
|
---|
| 81 | User Notes: <ulink url="&blfs-wiki;/gtkmm2"/>
|
---|
| 82 | </para>
|
---|
| 83 | </sect2>
|
---|
| 84 |
|
---|
| 85 | <sect2 role="installation">
|
---|
| 86 | <title>Installation of Gtkmm</title>
|
---|
| 87 |
|
---|
| 88 | <para>
|
---|
| 89 | First, fix the documents directory name:
|
---|
| 90 | </para>
|
---|
| 91 |
|
---|
| 92 | <screen><userinput>sed -e '/^libdocdir =/ s/$(book_name)/gtkmm->kmm2-version;/' \
|
---|
| 93 | -i docs/Makefile.in</userinput></screen>
|
---|
| 94 |
|
---|
| 95 | <para>
|
---|
| 96 | Install <application>Gtkmm</application> by running the following
|
---|
| 97 | commands:
|
---|
| 98 | </para>
|
---|
| 99 |
|
---|
| 100 | <screen><userinput>./configure --prefix=/usr &&
|
---|
| 101 | make</userinput></screen>
|
---|
| 102 |
|
---|
| 103 | <para>
|
---|
| 104 | To test the results, issue: <command>make check</command>.
|
---|
| 105 | </para>
|
---|
| 106 |
|
---|
| 107 | <para>
|
---|
| 108 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 109 | </para>
|
---|
| 110 |
|
---|
| 111 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 112 | </sect2>
|
---|
| 113 |
|
---|
| 114 | <sect2 role="content">
|
---|
| 115 | <title>Contents</title>
|
---|
| 116 |
|
---|
| 117 | <segmentedlist>
|
---|
| 118 | <segtitle>Installed Programs</segtitle>
|
---|
| 119 | <segtitle>Installed Libraries</segtitle>
|
---|
| 120 | <segtitle>Installed Directories</segtitle>
|
---|
| 121 |
|
---|
| 122 | <seglistitem>
|
---|
| 123 | <seg>
|
---|
| 124 | None
|
---|
| 125 | </seg>
|
---|
| 126 | <seg>
|
---|
| 127 | libgdkmm-2.4.so and libgtkmm-2.4.so
|
---|
| 128 | </seg>
|
---|
| 129 | <seg>
|
---|
| 130 | /usr/include/gdkmm-2.4,
|
---|
| 131 | /usr/include/gtkmm-2.4,
|
---|
| 132 | /usr/lib/gdkmm-2.4,
|
---|
| 133 | /usr/lib/gtkmm-2.4, and
|
---|
| 134 | /usr/share/{devhelp/books/gtkmm-2.4,doc/gtkmm->kmm2-version;}
|
---|
| 135 | </seg>
|
---|
| 136 | </seglistitem>
|
---|
| 137 | </segmentedlist>
|
---|
| 138 |
|
---|
| 139 | <variablelist>
|
---|
| 140 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 141 | <?dbfo list-presentation="list"?>
|
---|
| 142 | <?dbhtml list-presentation="table"?>
|
---|
| 143 |
|
---|
| 144 | <varlistentry id="libgdkmm-2">
|
---|
| 145 | <term><filename class="libraryfile">libgdkmm-2.4.so</filename></term>
|
---|
| 146 | <listitem>
|
---|
| 147 | <para>
|
---|
| 148 | contains the GDK API classes
|
---|
| 149 | </para>
|
---|
| 150 | <indexterm zone="gtkmm2 libgdkmm-2">
|
---|
| 151 | <primary sortas="c-libgdkmm-2">libgdkmm-2.4.so</primary>
|
---|
| 152 | </indexterm>
|
---|
| 153 | </listitem>
|
---|
| 154 | </varlistentry>
|
---|
| 155 |
|
---|
| 156 | <varlistentry id="libgtkmm-2">
|
---|
| 157 | <term><filename class="libraryfile">libgtkmm-2.4.so</filename></term>
|
---|
| 158 | <listitem>
|
---|
| 159 | <para>
|
---|
| 160 | contains the <application>GTK+</application> API classes
|
---|
| 161 | </para>
|
---|
| 162 | <indexterm zone="gtkmm2 libgtkmm-2">
|
---|
| 163 | <primary sortas="c-libgtkmm-2">libgtkmm-2.4.so</primary>
|
---|
| 164 | </indexterm>
|
---|
| 165 | </listitem>
|
---|
| 166 | </varlistentry>
|
---|
| 167 |
|
---|
| 168 | </variablelist>
|
---|
| 169 |
|
---|
| 170 | </sect2>
|
---|
| 171 |
|
---|
| 172 | </sect1>
|
---|