[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 " ">
|
---|
[55b270d0] | 9 | <!ENTITY vte-md5sum "1f8fa82d86a9099c092140bf90dff85c">
|
---|
| 10 | <!ENTITY vte-size "792 KB">
|
---|
| 11 | <!ENTITY vte-buildsize "20 MB (with tests)">
|
---|
[33c3cff] | 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>
|
---|
[ea9ef2e] | 32 | The <application>VTE</application> package contains a virtual terminal
|
---|
| 33 | widget for GTK applications.
|
---|
[dabe4b0] | 34 | </para>
|
---|
| 35 |
|
---|
[42f164e] | 36 | &lfs122_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"/>,
|
---|
[c0bc0a9] | 85 | &gobject-introspection;,
|
---|
[1a88720] | 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 \
|
---|
[6af00bd] | 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;'@" \
|
---|
| 125 | -i ../doc/reference/meson.build &&
|
---|
[ea40b8d] | 126 | meson configure -D docs=true &&
|
---|
[ca2b7962] | 127 | ninja</userinput></screen>
|
---|
| 128 |
|
---|
[dabe4b0] | 129 | <para>
|
---|
[5d314e0] | 130 | To test the results, issue <command>ninja test</command>.
|
---|
[dabe4b0] | 131 | </para>
|
---|
| 132 |
|
---|
| 133 | <para>
|
---|
| 134 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 135 | </para>
|
---|
| 136 |
|
---|
[7792591] | 137 | <screen role="root"><userinput>ninja install &&
|
---|
| 138 | rm -v /etc/profile.d/vte.*</userinput></screen>
|
---|
[dabe4b0] | 139 |
|
---|
| 140 | </sect2>
|
---|
| 141 |
|
---|
| 142 | <sect2 role="commands">
|
---|
| 143 | <title>Command Explanations</title>
|
---|
| 144 |
|
---|
[adf17153] | 145 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 146 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
| 147 |
|
---|
[f71dd24] | 148 | <para>
|
---|
| 149 | <command>rm -v /etc/profile.d/vte.*</command>: This command removes two
|
---|
| 150 | files installed in /etc/profile.d that have no use on a LFS system.
|
---|
| 151 | </para>
|
---|
| 152 |
|
---|
[5d314e0] | 153 | <para>
|
---|
[6af00bd] | 154 | <option>-D gnutls=false</option>: Add this switch if you do not
|
---|
[ec047148] | 155 | want to enable GnuTLS support.
|
---|
[5d314e0] | 156 | </para>
|
---|
[3b79812] | 157 |
|
---|
[db16fa0] | 158 | <para>
|
---|
[6af00bd] | 159 | <option>-D vapi=false</option>: Add this switch if you do not
|
---|
[5d314e0] | 160 | want to enable vala bindings.
|
---|
[db16fa0] | 161 | </para>
|
---|
[dabe4b0] | 162 |
|
---|
[9d31900] | 163 | <para>
|
---|
[6af00bd] | 164 | <option>-D gtk4=false</option>: Add this switch if you do not want to
|
---|
[1a88720] | 165 | build the GTK-4 version of VTE.
|
---|
[9d31900] | 166 | </para>
|
---|
[1a88720] | 167 |
|
---|
[dabe4b0] | 168 | </sect2>
|
---|
| 169 |
|
---|
| 170 | <sect2 role="content">
|
---|
| 171 | <title>Contents</title>
|
---|
| 172 |
|
---|
| 173 | <segmentedlist>
|
---|
| 174 | <segtitle>Installed Program</segtitle>
|
---|
| 175 | <segtitle>Installed Library</segtitle>
|
---|
| 176 | <segtitle>Installed Directories</segtitle>
|
---|
| 177 |
|
---|
[0eda65a1] | 178 | <!-- EDITORS NOTE:
|
---|
| 179 | vte installs a file into /etc/profile.d (/etc/profile.d/vte.sh) so that
|
---|
[876948d] | 180 | the environment is suitable for running with it's quirks. Another one
|
---|
| 181 | is now installed as of 0.60.1 (/etc/profile.d/vte.csh) to support
|
---|
| 182 | the 'tcsh' shell.
|
---|
[7792591] | 183 | As of 4/27/2020, we've elected to remove this.
|
---|
[0eda65a1] | 184 | -->
|
---|
[dabe4b0] | 185 | <seglistitem>
|
---|
| 186 | <seg>
|
---|
[1a88720] | 187 | vte-2.&vte-nano; and
|
---|
| 188 | vte-2.&vte-nano;-gtk4
|
---|
[dabe4b0] | 189 | </seg>
|
---|
| 190 | <seg>
|
---|
[1a88720] | 191 | libvte-2.&vte-nano;.so and
|
---|
| 192 | libvte-2.&vte-nano;-gtk4.so
|
---|
[dabe4b0] | 193 | </seg>
|
---|
| 194 | <seg>
|
---|
[1a88720] | 195 | /usr/include/vte-2.&vte-nano;,
|
---|
| 196 | /usr/include/vte-2.&vte-nano;-gtk4, and
|
---|
[ef85ef6] | 197 | (optional) /usr/share/doc/vte-&vte-version;
|
---|
[dabe4b0] | 198 | </seg>
|
---|
| 199 | </seglistitem>
|
---|
| 200 | </segmentedlist>
|
---|
| 201 |
|
---|
| 202 | <variablelist>
|
---|
| 203 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 204 | <?dbfo list-presentation="list"?>
|
---|
| 205 | <?dbhtml list-presentation="table"?>
|
---|
| 206 |
|
---|
[38fb1e3] | 207 | <varlistentry id="vte291">
|
---|
[4393df4] | 208 | <term><command>vte-2.&vte-nano;</command></term>
|
---|
[dabe4b0] | 209 | <listitem>
|
---|
| 210 | <para>
|
---|
| 211 | is a test application for the <application>VTE</application>
|
---|
[4c24eb0a] | 212 | libraries
|
---|
[dabe4b0] | 213 | </para>
|
---|
[38fb1e3] | 214 | <indexterm zone="vte vte291">
|
---|
[4393df4] | 215 | <primary sortas="b-vte2-&vte-nano;">vte-2.&vte-nano;</primary>
|
---|
[dabe4b0] | 216 | </indexterm>
|
---|
| 217 | </listitem>
|
---|
| 218 | </varlistentry>
|
---|
| 219 |
|
---|
[1a88720] | 220 | <varlistentry id="vte291-gtk4">
|
---|
| 221 | <term><command>vte-2.&vte-nano;-gtk4</command></term>
|
---|
| 222 | <listitem>
|
---|
| 223 | <para>
|
---|
| 224 | is a test application for the GTK-4 version of the
|
---|
| 225 | <application>VTE</application> libraries
|
---|
| 226 | </para>
|
---|
| 227 | <indexterm zone="vte vte291-gtk4">
|
---|
| 228 | <primary sortas="b-vte2-&vte-nano;-gtk4">vte-2.&vte-nano;-gtk4</primary>
|
---|
| 229 | </indexterm>
|
---|
| 230 | </listitem>
|
---|
| 231 | </varlistentry>
|
---|
| 232 |
|
---|
[38fb1e3] | 233 | <varlistentry id="libvte291">
|
---|
[4393df4] | 234 | <term><filename class="libraryfile">libvte-2.&vte-nano;.so</filename></term>
|
---|
[dabe4b0] | 235 | <listitem>
|
---|
| 236 | <para>
|
---|
| 237 | is a library which implements a terminal emulator
|
---|
[4c24eb0a] | 238 | widget for <application>GTK+ 3</application>
|
---|
[dabe4b0] | 239 | </para>
|
---|
[38fb1e3] | 240 | <indexterm zone="vte libvte291">
|
---|
[4393df4] | 241 | <primary sortas="c-libvte2-&vte-nano;">libvte-2.&vte-nano;.so</primary>
|
---|
[dabe4b0] | 242 | </indexterm>
|
---|
| 243 | </listitem>
|
---|
| 244 | </varlistentry>
|
---|
| 245 |
|
---|
[1a88720] | 246 | <varlistentry id="libvte291-gtk4">
|
---|
| 247 | <term><filename class="libraryfile">libvte-2.&vte-nano;-gtk4.so</filename></term>
|
---|
| 248 | <listitem>
|
---|
| 249 | <para>
|
---|
| 250 | is a library which implements a terminal emulator
|
---|
| 251 | widget for <application>GTK-4</application>
|
---|
| 252 | </para>
|
---|
| 253 | <indexterm zone="vte libvte291-gtk4">
|
---|
| 254 | <primary sortas="c-libvte2-&vte-nano;-gtk4">libvte-2.&vte-nano;-gtk4.so</primary>
|
---|
| 255 | </indexterm>
|
---|
| 256 | </listitem>
|
---|
| 257 | </varlistentry>
|
---|
| 258 |
|
---|
[dabe4b0] | 259 | </variablelist>
|
---|
| 260 |
|
---|
| 261 | </sect2>
|
---|
| 262 |
|
---|
| 263 | </sect1>
|
---|