Linux HOWTOs

About | Home | Search


HOWTO: vte
Description: Terminal emulator widget for GTK+
Click here for ChangeLog
NOTE: I use GNU tar >= 1.13.25 so it's -j for .tar.bz2 files,
it's safe to assume that make, gcc, binutils, fileutils/coreutils, gawk, sed, and grep are prerequisites for almost everything


# vte
# ===
# Slackware 9.0's 'vte' package includes version 0.10.25, 9.1's includes
# 0.11.10, 10.0's and 10.1's include 0.11.11  Slackware 10.2 doesn't include
# vte because it doesn't include Gnome any more.

# vte 0.11.17 was the version bundled with Gnome 2.12.x  vte 0.11.21 and
# 0.12.0 are (AFAIK) the same.  The 0.12.x releases after that are bug
# fixes.

# If you ever want to uninstall vte, cd into the source directory and run
# 'make uninstall' (as root), then remove the source directory, and remove
# the tarball.

# I am in the US and only read/write English (well), so I remove the
# vte.mo files that are installed by 'make install' below.  If this is
# not the case for you, skip that find command below.

# Prerequisites:
# intltool >= 0.35.0
# Perl
# iconv
# gettext
# XFree86 or X.org
# pkg-config
# GTK+ >= 2.6.0
# freetype >= 6.1.0
# ncurses
# Python >= 2.2
# PyGTK
# gtk-doc (Slackware includes this in it's sgml-tools or linuxdoc-tools
#  packages; used if --enable-gtk-doc is passed to configure)

# Install/update the XML::Parser Perl module:
su -c "perl -MCPAN -e shell"
o conf make_install_arg UNINST=1
o conf prerequisites_policy follow
install Bundle::CPAN
install XML::Parser
exit


# vte 0.12.2 (for Gnome 2.14.x)
# ===========
# Prerequisites (beyond those listed above):
# Glib >= 2.6.0

cd
test -f installed/vte-0.12.2.tar.bz2 &&
 mv installed/vte-0.12.2.tar.bz2 .
test ! -f vte-0.12.2.tar.bz2 &&
 wget http://ftp.gnome.org/pub/GNOME/sources/vte/0.12/vte-0.12.2.tar.bz2

# Verify tarball w/ md5sum:
echo "7cb1bd6ca528bc4db5ec685549fd3eb1  vte-0.12.2.tar.bz2" | md5sum -c

mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "vte-*" -exec rm -r {} \;
tar xjvf ~/vte-0.12.2.tar.bz2
cd vte-0.12.2
test $UID = 0 && chown -R root:root .
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib \
 --disable-static

## (note: I didn't have to do this with version 0.11.16, possibly because
## I'm still using the freetype that comes with Slack's X packages)
# If make fails with an error like this (because you, like me, use freetype
# >= 2.1.7):
# error "`ft2build.h' hasn't been included yet!"
# open up src/vtexft.c with a text editor and add these two lines:
# #include <ft2build.h>
# #include FT_FREETYPE_H
# before this line (line 32 in my copy):
# #include <X11/Xft/Xft.h>
# and then re-run make.

make

# Become root to clean up old files and to install it
su

test -x /sbin/removepkg && /sbin/removepkg vte
rm -f /usr/lib/libvte.*
make install
ldconfig
find /usr/share/locale -type f -name vte.mo -exec rm {} \;

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/vte-*.tar.*
mv vte-0.12.2.tar.bz2 installed/


# vte 0.14.1 (for Gnome 2.16.x)
# ===========
# Prerequisites (beyond those listed above):
# Glib 2.90

cd
test -f installed/vte-0.14.1.tar.bz2 &&
 mv installed/vte-0.14.1.tar.bz2 .
test ! -f vte-0.14.1.tar.bz2 &&
 wget http://ftp.gnome.org/pub/GNOME/sources/vte/0.14/vte-0.14.1.tar.bz2

# Verify tarball w/ md5sum:
echo "98ea2513b773b44cb7f8d75dc1aa312e  vte-0.14.1.tar.bz2" | md5sum -c

mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "vte-*" -exec rm -r {} \;
tar xjvf ~/vte-0.14.1.tar.bz2
cd vte-0.14.1
test $UID = 0 && chown -R root:root .
chmod -R u+w .
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib \
 --disable-static
make

# Become root to clean up old files and to install it
su

test -x /sbin/removepkg && /sbin/removepkg vte
rm -f /usr/lib/libvte.*
make install
ldconfig
find /usr/share/locale -type f -name vte.mo -exec rm {} \;
chown -R $USER .

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/vte-*.tar.*
mv vte-0.14.1.tar.bz2 installed/

Back to the list


Last updated: Tue, 07 Aug 2018 12:06:17 -0400
Jason Englander <jason at englanders dot us>