source: x/lib/gtkmm2.xml@ 60d59117

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 60d59117 was 60d59117, checked in by Fernando de Oliveira <fernando@…>, 8 years ago
  • Some packages with doc directory not matching version:

◦ atkmm-2.24.2
◦ glibmm-2.46.2
◦ cairomm-1.12.0
◦ gtkmm-3.18.0
◦ gtkmm-2.24.4
◦ pangomm-2.38.1

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@16699 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.3 KB
Line 
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-&gtkmm2-version;.tar.xz">
8 <!ENTITY gtkmm2-download-ftp "&gnome-download-ftp;/gtkmm/2.24/gtkmm-&gtkmm2-version;.tar.xz">
9 <!ENTITY gtkmm2-md5sum "b9ac60c90959a71095f07f84dd39961d">
10 <!ENTITY gtkmm2-size "10 MB">
11 <!ENTITY gtkmm2-buildsize "296 MB">
12 <!ENTITY gtkmm2-time "3.6 SBU">
13]>
14
15<sect1 id="gtkmm2" xreflabel="Gtkmm-&gtkmm2-version;">
16 <?dbhtml filename="gtkmm2.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>Gtkmm-&gtkmm2-version;</title>
24
25 <indexterm zone="gtkmm2">
26 <primary sortas="a-gtkmm2">gtkmm2</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to Gtkmm</title>
31
32 <para>
33 The <application>Gtkmm</application> package provides a C++ interface to
34 <application>GTK+ 2</application>. It can be installed alongside
35 <xref linkend="gtkmm3"/> (the <application>GTK+ 3</application> version)
36 with no namespace conflicts.
37 </para>
38
39 &lfs78_checked;
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>
45 Download (HTTP): <ulink url="&gtkmm2-download-http;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download (FTP): <ulink url="&gtkmm2-download-ftp;"/>
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download MD5 sum: &gtkmm2-md5sum;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download size: &gtkmm2-size;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated disk space required: &gtkmm2-buildsize;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated build time: &gtkmm2-time;
71 </para>
72 </listitem>
73 </itemizedlist>
74
75 <bridgehead renderas="sect3">Gtkmm Dependencies</bridgehead>
76
77 <bridgehead renderas="sect4">Required</bridgehead>
78 <para role="required">
79 <xref linkend="atkmm"/>,
80 <xref linkend="gtk2"/> and
81 <xref linkend="pangomm"/>
82 </para>
83
84 <para condition="html" role="usernotes">
85 User Notes: <ulink url="&blfs-wiki;/gtkmm2"/>
86 </para>
87 </sect2>
88
89 <sect2 role="installation">
90 <title>Installation of Gtkmm</title>
91
92 <para>
93 First, fix the documents directory name:
94 </para>
95
96<screen><userinput>sed -e '/^libdocdir =/ s/$(book_name)/gtkmm-&gtkmm2-version;/' \
97 -i docs/Makefile.in</userinput></screen>
98
99 <para>
100 Install <application>Gtkmm</application> by running the following
101 commands:
102 </para>
103
104<screen><userinput>CXXFLAGS="-g -O2 -std=c++11" ./configure --prefix=/usr &amp;&amp;
105make</userinput></screen>
106
107 <para>
108 To test the results, issue: <command>make check</command>.
109 </para>
110
111 <para>
112 Now, as the <systemitem class="username">root</systemitem> user:
113 </para>
114
115<screen role="root"><userinput>make install</userinput></screen>
116 </sect2>
117
118 <sect2 role="commands">
119 <title>Command Explanations</title>
120
121 <para>
122 <command>CXXFLAGS="-g -O2 -std=c++11" ./configure...</command>: while
123 Gtkmm-&gtkmm2-version; has not yet been ported to the 2011 ISO C++
124 standard, all its dependencies have. <command>-std=c++11</command> has
125 to be used as an option to <command>g++</command>. We pass it into
126 <envar>CXXFLAGS</envar> together with the default options.
127 </para>
128
129 </sect2>
130 <sect2 role="content">
131 <title>Contents</title>
132
133 <segmentedlist>
134 <segtitle>Installed Programs</segtitle>
135 <segtitle>Installed Libraries</segtitle>
136 <segtitle>Installed Directories</segtitle>
137
138 <seglistitem>
139 <seg>
140 None
141 </seg>
142 <seg>
143 libgdkmm-2.4.so and libgtkmm-2.4.so
144 </seg>
145 <seg>
146 /usr/include/gdkmm-2.4,
147 /usr/include/gtkmm-2.4,
148 /usr/lib/gdkmm-2.4,
149 /usr/lib/gtkmm-2.4, and
150 /usr/share/{devhelp/books/gtkmm-2.4,doc/gtkmm-&gtkmm2-version;}
151 </seg>
152 </seglistitem>
153 </segmentedlist>
154
155 <variablelist>
156 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
157 <?dbfo list-presentation="list"?>
158 <?dbhtml list-presentation="table"?>
159
160 <varlistentry id="libgdkmm-2">
161 <term><filename class="libraryfile">libgdkmm-2.4.so</filename></term>
162 <listitem>
163 <para>
164 contains the GDK API classes.
165 </para>
166 <indexterm zone="gtkmm2 libgdkmm-2">
167 <primary sortas="c-libgdkmm-2">libgdkmm-2.4.so</primary>
168 </indexterm>
169 </listitem>
170 </varlistentry>
171
172 <varlistentry id="libgtkmm-2">
173 <term><filename class="libraryfile">libgtkmm-2.4.so</filename></term>
174 <listitem>
175 <para>
176 contains the <application>GTK+</application> API classes.
177 </para>
178 <indexterm zone="gtkmm2 libgtkmm-2">
179 <primary sortas="c-libgtkmm-2">libgtkmm-2.4.so</primary>
180 </indexterm>
181 </listitem>
182 </varlistentry>
183
184 </variablelist>
185
186 </sect2>
187
188</sect1>
Note: See TracBrowser for help on using the repository browser.