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