# 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.
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
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 {} \;
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