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 vte-download-http "https://gitlab.gnome.org/GNOME/vte/-/archive/&vte-version;/vte-&vte-version;.tar.gz">
|
---|
8 | <!ENTITY vte-download-ftp " ">
|
---|
9 | <!ENTITY vte-md5sum "a89aabe85ebb62331098d669c0e3d469">
|
---|
10 | <!ENTITY vte-size "620 KB">
|
---|
11 | <!ENTITY vte-buildsize "15 MB (with tests)">
|
---|
12 | <!ENTITY vte-time "0.5 SBU (using parallelism=4; with tests)">
|
---|
13 |
|
---|
14 | <!-- For "Contents" and "Short Descriptions" sections -->
|
---|
15 | <!ENTITY vte-nano "91">
|
---|
16 | ]>
|
---|
17 |
|
---|
18 | <sect1 id="vte" xreflabel="VTE-&vte-version;">
|
---|
19 | <?dbhtml filename="vte.html"?>
|
---|
20 |
|
---|
21 |
|
---|
22 | <title>VTE-&vte-version;</title>
|
---|
23 |
|
---|
24 | <indexterm zone="vte">
|
---|
25 | <primary sortas="a-VTE">VTE</primary>
|
---|
26 | </indexterm>
|
---|
27 |
|
---|
28 | <sect2 role="package">
|
---|
29 | <title>Introduction to VTE</title>
|
---|
30 |
|
---|
31 | <para>
|
---|
32 | The <application>VTE</application> package contains a termcap
|
---|
33 | file implementation for terminal emulators.
|
---|
34 | </para>
|
---|
35 |
|
---|
36 | &lfs120_checked;
|
---|
37 |
|
---|
38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
39 | <itemizedlist spacing="compact">
|
---|
40 | <listitem>
|
---|
41 | <para>
|
---|
42 | Download (HTTP): <ulink url="&vte-download-http;"/>
|
---|
43 | </para>
|
---|
44 | </listitem>
|
---|
45 | <listitem>
|
---|
46 | <para>
|
---|
47 | Download (FTP): <ulink url="&vte-download-ftp;"/>
|
---|
48 | </para>
|
---|
49 | </listitem>
|
---|
50 | <listitem>
|
---|
51 | <para>
|
---|
52 | Download MD5 sum: &vte-md5sum;
|
---|
53 | </para>
|
---|
54 | </listitem>
|
---|
55 | <listitem>
|
---|
56 | <para>
|
---|
57 | Download size: &vte-size;
|
---|
58 | </para>
|
---|
59 | </listitem>
|
---|
60 | <listitem>
|
---|
61 | <para>
|
---|
62 | Estimated disk space required: &vte-buildsize;
|
---|
63 | </para>
|
---|
64 | </listitem>
|
---|
65 | <listitem>
|
---|
66 | <para>
|
---|
67 | Estimated build time: &vte-time;
|
---|
68 | </para>
|
---|
69 | </listitem>
|
---|
70 | </itemizedlist>
|
---|
71 |
|
---|
72 | <bridgehead renderas="sect3">VTE Dependencies</bridgehead>
|
---|
73 |
|
---|
74 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
75 | <para role="required">
|
---|
76 | <xref linkend="gtk3"/>,
|
---|
77 | <xref linkend="libxml2"/>, and
|
---|
78 | <xref linkend="pcre2"/>
|
---|
79 | </para>
|
---|
80 |
|
---|
81 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
82 | <para role="recommended">
|
---|
83 | <xref linkend="icu"/>,
|
---|
84 | <xref linkend="gnutls"/>,
|
---|
85 | <xref linkend="gobject-introspection"/>,
|
---|
86 | <xref linkend="gtk4"/>, and
|
---|
87 | <xref linkend="vala"/>
|
---|
88 | </para>
|
---|
89 |
|
---|
90 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
91 | <para role="optional">
|
---|
92 | <xref linkend="gi-docgen"/>
|
---|
93 | </para>
|
---|
94 |
|
---|
95 | </sect2>
|
---|
96 |
|
---|
97 | <sect2 role="installation">
|
---|
98 | <title>Installation of VTE</title>
|
---|
99 |
|
---|
100 | <para>
|
---|
101 | Install <application>VTE</application> by running the following
|
---|
102 | commands:
|
---|
103 | </para>
|
---|
104 |
|
---|
105 | <screen revision="systemd"><userinput>mkdir build &&
|
---|
106 | cd build &&
|
---|
107 |
|
---|
108 | meson setup --prefix=/usr --buildtype=release .. &&
|
---|
109 | ninja</userinput></screen>
|
---|
110 |
|
---|
111 | <screen revision="sysv"><userinput>mkdir build &&
|
---|
112 | cd build &&
|
---|
113 |
|
---|
114 | meson setup --prefix=/usr \
|
---|
115 | --buildtype=release \
|
---|
116 | -D_systemd=false &&
|
---|
117 | ninja</userinput></screen>
|
---|
118 |
|
---|
119 | <para>
|
---|
120 | If you have <xref linkend='gi-docgen'/> installed and wish to build
|
---|
121 | the API documentation for this package, issue:
|
---|
122 | </para>
|
---|
123 |
|
---|
124 | <!-- To editors: you may wonder why this change makes a
|
---|
125 | /usr/share/doc/vte-&vte-version; with only one subdirectory
|
---|
126 | "vte-2.91" inside. The reason is when -Dgtk4 is enabled,
|
---|
127 | another directory "vte-2.91-gtk4" will also be there. -->
|
---|
128 | <screen role='nodump'><userinput>sed -e "/docdir =/s@\$@/ 'vte-&vte-version;'@" \
|
---|
129 | -i ../doc/reference/meson.build &&
|
---|
130 | meson configure -Ddocs=true &&
|
---|
131 | ninja</userinput></screen>
|
---|
132 |
|
---|
133 | <para>
|
---|
134 | To test the results, issue <command>ninja test</command>.
|
---|
135 | </para>
|
---|
136 |
|
---|
137 | <para>
|
---|
138 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
139 | </para>
|
---|
140 |
|
---|
141 | <screen role="root"><userinput>ninja install &&
|
---|
142 | rm -v /etc/profile.d/vte.*</userinput></screen>
|
---|
143 |
|
---|
144 | </sect2>
|
---|
145 |
|
---|
146 | <sect2 role="commands">
|
---|
147 | <title>Command Explanations</title>
|
---|
148 |
|
---|
149 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
150 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
151 |
|
---|
152 | <para>
|
---|
153 | <command>rm -v /etc/profile.d/vte.*</command>: This command removes two
|
---|
154 | files installed in /etc/profile.d that have no use on a LFS system.
|
---|
155 | </para>
|
---|
156 |
|
---|
157 | <para>
|
---|
158 | <option>-Dgnutls=false</option>: Add this switch if you do not
|
---|
159 | want to enable GnuTLS support.
|
---|
160 | </para>
|
---|
161 |
|
---|
162 | <para>
|
---|
163 | <option>-Dvapi=false</option>: Add this switch if you do not
|
---|
164 | want to enable vala bindings.
|
---|
165 | </para>
|
---|
166 |
|
---|
167 | <para>
|
---|
168 | <option>-Dgtk4=false</option>: Add this switch if you do not want to
|
---|
169 | build the GTK-4 version of VTE.
|
---|
170 | </para>
|
---|
171 |
|
---|
172 | </sect2>
|
---|
173 |
|
---|
174 | <sect2 role="content">
|
---|
175 | <title>Contents</title>
|
---|
176 |
|
---|
177 | <segmentedlist>
|
---|
178 | <segtitle>Installed Program</segtitle>
|
---|
179 | <segtitle>Installed Library</segtitle>
|
---|
180 | <segtitle>Installed Directories</segtitle>
|
---|
181 |
|
---|
182 | <!-- EDITORS NOTE:
|
---|
183 | vte installs a file into /etc/profile.d (/etc/profile.d/vte.sh) so that
|
---|
184 | the environment is suitable for running with it's quirks. Another one
|
---|
185 | is now installed as of 0.60.1 (/etc/profile.d/vte.csh) to support
|
---|
186 | the 'tcsh' shell.
|
---|
187 | As of 4/27/2020, we've elected to remove this.
|
---|
188 | -->
|
---|
189 | <seglistitem>
|
---|
190 | <seg>
|
---|
191 | vte-2.&vte-nano; and
|
---|
192 | vte-2.&vte-nano;-gtk4
|
---|
193 | </seg>
|
---|
194 | <seg>
|
---|
195 | libvte-2.&vte-nano;.so and
|
---|
196 | libvte-2.&vte-nano;-gtk4.so
|
---|
197 | </seg>
|
---|
198 | <seg>
|
---|
199 | /usr/include/vte-2.&vte-nano;,
|
---|
200 | /usr/include/vte-2.&vte-nano;-gtk4, and
|
---|
201 | (optional) /usr/share/doc/vte-&vte-version;
|
---|
202 | </seg>
|
---|
203 | </seglistitem>
|
---|
204 | </segmentedlist>
|
---|
205 |
|
---|
206 | <variablelist>
|
---|
207 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
208 | <?dbfo list-presentation="list"?>
|
---|
209 | <?dbhtml list-presentation="table"?>
|
---|
210 |
|
---|
211 | <varlistentry id="vte291">
|
---|
212 | <term><command>vte-2.&vte-nano;</command></term>
|
---|
213 | <listitem>
|
---|
214 | <para>
|
---|
215 | is a test application for the <application>VTE</application>
|
---|
216 | libraries
|
---|
217 | </para>
|
---|
218 | <indexterm zone="vte vte291">
|
---|
219 | <primary sortas="b-vte2-&vte-nano;">vte-2.&vte-nano;</primary>
|
---|
220 | </indexterm>
|
---|
221 | </listitem>
|
---|
222 | </varlistentry>
|
---|
223 |
|
---|
224 | <varlistentry id="vte291-gtk4">
|
---|
225 | <term><command>vte-2.&vte-nano;-gtk4</command></term>
|
---|
226 | <listitem>
|
---|
227 | <para>
|
---|
228 | is a test application for the GTK-4 version of the
|
---|
229 | <application>VTE</application> libraries
|
---|
230 | </para>
|
---|
231 | <indexterm zone="vte vte291-gtk4">
|
---|
232 | <primary sortas="b-vte2-&vte-nano;-gtk4">vte-2.&vte-nano;-gtk4</primary>
|
---|
233 | </indexterm>
|
---|
234 | </listitem>
|
---|
235 | </varlistentry>
|
---|
236 |
|
---|
237 | <varlistentry id="libvte291">
|
---|
238 | <term><filename class="libraryfile">libvte-2.&vte-nano;.so</filename></term>
|
---|
239 | <listitem>
|
---|
240 | <para>
|
---|
241 | is a library which implements a terminal emulator
|
---|
242 | widget for <application>GTK+ 3</application>
|
---|
243 | </para>
|
---|
244 | <indexterm zone="vte libvte291">
|
---|
245 | <primary sortas="c-libvte2-&vte-nano;">libvte-2.&vte-nano;.so</primary>
|
---|
246 | </indexterm>
|
---|
247 | </listitem>
|
---|
248 | </varlistentry>
|
---|
249 |
|
---|
250 | <varlistentry id="libvte291-gtk4">
|
---|
251 | <term><filename class="libraryfile">libvte-2.&vte-nano;-gtk4.so</filename></term>
|
---|
252 | <listitem>
|
---|
253 | <para>
|
---|
254 | is a library which implements a terminal emulator
|
---|
255 | widget for <application>GTK-4</application>
|
---|
256 | </para>
|
---|
257 | <indexterm zone="vte libvte291-gtk4">
|
---|
258 | <primary sortas="c-libvte2-&vte-nano;-gtk4">libvte-2.&vte-nano;-gtk4.so</primary>
|
---|
259 | </indexterm>
|
---|
260 | </listitem>
|
---|
261 | </varlistentry>
|
---|
262 |
|
---|
263 | </variablelist>
|
---|
264 |
|
---|
265 | </sect2>
|
---|
266 |
|
---|
267 | </sect1>
|
---|