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