tce-load -i gtk3-dev gtk3-gir gobject-introspection-dev intltool gnutls-dev vala-dev libxml2-bin bash

cd vte-0.40.2

comment out vte-0.40.2/src/vtestream-file.h #813

g_assert_cmpuint (gnutls_cipher_get_iv_size(VTE_CIPHER_ALGORITHM), ==, VTE_CIPHER_IV_SIZE);

CC="gcc -mtune=generic -Os -pipe" CXX="g++ -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --disable-static --localstatedir=/var --enable-introspection --libexecdir=/usr/local/lib/vte-2.91

find . -name Makefile -type f -exec sed -i 's/-O2//g' {} \;

make
sudo make install

## -------------- ##
## Configuration. ##
## -------------- ##

Configuration for libvte 0.40.2 for gtk+-3.0
        GNUTLS: yes
        Installing Glade catalogue: no
        Debugging: no
        Introspection: yes
        Vala bindings: yes
        Test application: yes
        PTY helper: no
