# Note: depends on gtk+ or gtk+2
# Note: depends on vala
# Note: depends on cyrus-sasl
wget -c http://ftp.gnome.org/pub/GNOME/sources/gtk-vnc/1.0/gtk-vnc-1.0.0.tar.xz
tar -xJf gtk-vnc-1.0.0.tar.xz
cd gtk-vnc-1.0.0
mkdir -p build_gtk2
cd build_gtk2
if ../configure --prefix="/usr" --with-gtk=2.0; then # gtk+2 support
  make # Doesn't mind -j#
  make install
fi
cd ..
mkdir -p build_gtk3
cd build_gtk3
if ../configure --prefix="/usr" --with-gtk=3.0; then # gtk+ support
  make # Doesn't mind -j#
  make install
fi