[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[dabe4b0] | 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 " ">
|
---|
[2e707bcd] | 9 | <!ENTITY vte-md5sum "a89aabe85ebb62331098d669c0e3d469">
|
---|
[e9bc1b66] | 10 | <!ENTITY vte-size "620 KB">
|
---|
[2e707bcd] | 11 | <!ENTITY vte-buildsize "15 MB (with tests)">
|
---|
| 12 | <!ENTITY vte-time "0.5 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="gi-docgen"/>
|
---|
[dabe4b0] | 93 | </para>
|
---|
| 94 |
|
---|
| 95 | </sect2>
|
---|
| 96 |
|
---|
| 97 | <sect2 role="installation">
|
---|
| 98 | <title>Installation of VTE</title>
|
---|
[04903340] | 99 |
|
---|
[dabe4b0] | 100 | <para>
|
---|
| 101 | Install <application>VTE</application> by running the following
|
---|
| 102 | commands:
|
---|
| 103 | </para>
|
---|
| 104 |
|
---|
[5e473061] | 105 | <screen revision="systemd"><userinput>mkdir build &&
|
---|
[5d314e0] | 106 | cd build &&
|
---|
| 107 |
|
---|
[8050956] | 108 | meson setup --prefix=/usr --buildtype=release .. &&
|
---|
[5e473061] | 109 | ninja</userinput></screen>
|
---|
| 110 |
|
---|
| 111 | <screen revision="sysv"><userinput>mkdir build &&
|
---|
| 112 | cd build &&
|
---|
| 113 |
|
---|
[91318eb] | 114 | meson setup --prefix=/usr \
|
---|
| 115 | --buildtype=release \
|
---|
| 116 | -D_systemd=false &&
|
---|
[5e473061] | 117 | ninja</userinput></screen>
|
---|
[dabe4b0] | 118 |
|
---|
[ca2b7962] | 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 | <screen role='nodump'><userinput>sed -e "/docdir =/s@\$@/ 'vte-&vte-version;'@" \
|
---|
[6b6cf0cb] | 125 | -e "/--fatal-warnings/d" \
|
---|
[ca2b7962] | 126 | -i ../doc/reference/meson.build &&
|
---|
| 127 | meson configure -Ddocs=true &&
|
---|
| 128 | ninja</userinput></screen>
|
---|
| 129 |
|
---|
[dabe4b0] | 130 | <para>
|
---|
[5d314e0] | 131 | To test the results, issue <command>ninja test</command>.
|
---|
[dabe4b0] | 132 | </para>
|
---|
| 133 |
|
---|
| 134 | <para>
|
---|
| 135 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 136 | </para>
|
---|
| 137 |
|
---|
[7792591] | 138 | <screen role="root"><userinput>ninja install &&
|
---|
| 139 | rm -v /etc/profile.d/vte.*</userinput></screen>
|
---|
[dabe4b0] | 140 |
|
---|
| 141 | </sect2>
|
---|
| 142 |
|
---|
| 143 | <sect2 role="commands">
|
---|
| 144 | <title>Command Explanations</title>
|
---|
| 145 |
|
---|
[adf17153] | 146 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 147 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
| 148 |
|
---|
[f71dd24] | 149 | <para>
|
---|
| 150 | <command>rm -v /etc/profile.d/vte.*</command>: This command removes two
|
---|
| 151 | files installed in /etc/profile.d that have no use on a LFS system.
|
---|
| 152 | </para>
|
---|
| 153 |
|
---|
[5d314e0] | 154 | <para>
|
---|
| 155 | <option>-Dgnutls=false</option>: Add this switch if you do not
|
---|
[ec047148] | 156 | want to enable GnuTLS support.
|
---|
[5d314e0] | 157 | </para>
|
---|
[3b79812] | 158 |
|
---|
[db16fa0] | 159 | <para>
|
---|
[5d314e0] | 160 | <option>-Dvapi=false</option>: Add this switch if you do not
|
---|
| 161 | want to enable vala bindings.
|
---|
[db16fa0] | 162 | </para>
|
---|
[dabe4b0] | 163 |
|
---|
[9d31900] | 164 | <para>
|
---|
[1a88720] | 165 | <option>-Dgtk4=false</option>: Add this switch if you do not want to
|
---|
| 166 | build the GTK-4 version of VTE.
|
---|
[9d31900] | 167 | </para>
|
---|
[1a88720] | 168 |
|
---|
[dabe4b0] | 169 | </sect2>
|
---|
| 170 |
|
---|
| 171 | <sect2 role="content">
|
---|
| 172 | <title>Contents</title>
|
---|
| 173 |
|
---|
| 174 | <segmentedlist>
|
---|
| 175 | <segtitle>Installed Program</segtitle>
|
---|
| 176 | <segtitle>Installed Library</segtitle>
|
---|
| 177 | <segtitle>Installed Directories</segtitle>
|
---|
| 178 |
|
---|
[0eda65a1] | 179 | <!-- EDITORS NOTE:
|
---|
| 180 | vte installs a file into /etc/profile.d (/etc/profile.d/vte.sh) so that
|
---|
[876948d] | 181 | the environment is suitable for running with it's quirks. Another one
|
---|
| 182 | is now installed as of 0.60.1 (/etc/profile.d/vte.csh) to support
|
---|
| 183 | the 'tcsh' shell.
|
---|
[7792591] | 184 | As of 4/27/2020, we've elected to remove this.
|
---|
[0eda65a1] | 185 | -->
|
---|
[dabe4b0] | 186 | <seglistitem>
|
---|
| 187 | <seg>
|
---|
[1a88720] | 188 | vte-2.&vte-nano; and
|
---|
| 189 | vte-2.&vte-nano;-gtk4
|
---|
[dabe4b0] | 190 | </seg>
|
---|
| 191 | <seg>
|
---|
[1a88720] | 192 | libvte-2.&vte-nano;.so and
|
---|
| 193 | libvte-2.&vte-nano;-gtk4.so
|
---|
[dabe4b0] | 194 | </seg>
|
---|
| 195 | <seg>
|
---|
[1a88720] | 196 | /usr/include/vte-2.&vte-nano;,
|
---|
| 197 | /usr/include/vte-2.&vte-nano;-gtk4, and
|
---|
[ef85ef6] | 198 | (optional) /usr/share/doc/vte-&vte-version;
|
---|
[dabe4b0] | 199 | </seg>
|
---|
| 200 | </seglistitem>
|
---|
| 201 | </segmentedlist>
|
---|
| 202 |
|
---|
| 203 | <variablelist>
|
---|
| 204 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 205 | <?dbfo list-presentation="list"?>
|
---|
| 206 | <?dbhtml list-presentation="table"?>
|
---|
| 207 |
|
---|
[38fb1e3] | 208 | <varlistentry id="vte291">
|
---|
[4393df4] | 209 | <term><command>vte-2.&vte-nano;</command></term>
|
---|
[dabe4b0] | 210 | <listitem>
|
---|
| 211 | <para>
|
---|
| 212 | is a test application for the <application>VTE</application>
|
---|
[4c24eb0a] | 213 | libraries
|
---|
[dabe4b0] | 214 | </para>
|
---|
[38fb1e3] | 215 | <indexterm zone="vte vte291">
|
---|
[4393df4] | 216 | <primary sortas="b-vte2-&vte-nano;">vte-2.&vte-nano;</primary>
|
---|
[dabe4b0] | 217 | </indexterm>
|
---|
| 218 | </listitem>
|
---|
| 219 | </varlistentry>
|
---|
| 220 |
|
---|
[1a88720] | 221 | <varlistentry id="vte291-gtk4">
|
---|
| 222 | <term><command>vte-2.&vte-nano;-gtk4</command></term>
|
---|
| 223 | <listitem>
|
---|
| 224 | <para>
|
---|
| 225 | is a test application for the GTK-4 version of the
|
---|
| 226 | <application>VTE</application> libraries
|
---|
| 227 | </para>
|
---|
| 228 | <indexterm zone="vte vte291-gtk4">
|
---|
| 229 | <primary sortas="b-vte2-&vte-nano;-gtk4">vte-2.&vte-nano;-gtk4</primary>
|
---|
| 230 | </indexterm>
|
---|
| 231 | </listitem>
|
---|
| 232 | </varlistentry>
|
---|
| 233 |
|
---|
[38fb1e3] | 234 | <varlistentry id="libvte291">
|
---|
[4393df4] | 235 | <term><filename class="libraryfile">libvte-2.&vte-nano;.so</filename></term>
|
---|
[dabe4b0] | 236 | <listitem>
|
---|
| 237 | <para>
|
---|
| 238 | is a library which implements a terminal emulator
|
---|
[4c24eb0a] | 239 | widget for <application>GTK+ 3</application>
|
---|
[dabe4b0] | 240 | </para>
|
---|
[38fb1e3] | 241 | <indexterm zone="vte libvte291">
|
---|
[4393df4] | 242 | <primary sortas="c-libvte2-&vte-nano;">libvte-2.&vte-nano;.so</primary>
|
---|
[dabe4b0] | 243 | </indexterm>
|
---|
| 244 | </listitem>
|
---|
| 245 | </varlistentry>
|
---|
| 246 |
|
---|
[1a88720] | 247 | <varlistentry id="libvte291-gtk4">
|
---|
| 248 | <term><filename class="libraryfile">libvte-2.&vte-nano;-gtk4.so</filename></term>
|
---|
| 249 | <listitem>
|
---|
| 250 | <para>
|
---|
| 251 | is a library which implements a terminal emulator
|
---|
| 252 | widget for <application>GTK-4</application>
|
---|
| 253 | </para>
|
---|
| 254 | <indexterm zone="vte libvte291-gtk4">
|
---|
| 255 | <primary sortas="c-libvte2-&vte-nano;-gtk4">libvte-2.&vte-nano;-gtk4.so</primary>
|
---|
| 256 | </indexterm>
|
---|
| 257 | </listitem>
|
---|
| 258 | </varlistentry>
|
---|
| 259 |
|
---|
[dabe4b0] | 260 | </variablelist>
|
---|
| 261 |
|
---|
| 262 | </sect2>
|
---|
| 263 |
|
---|
| 264 | </sect1>
|
---|