# Depends on glib
# Depends on atk
# Depends on pango
# Depends on cairo
# ? Depends on cairo-gobject
# Depends on gdk-pixbuf
# Depends on at-spi2-atk (atk-bridge)

# Exit on error:
set -e

wget http://ftp.gnome.org/pub/gnome/sources/gtk+/2.24/gtk+-2.24.22.tar.xz
tar xf gtk+-2.24.22.tar.xz
cd gtk+-2.24.22

./configure \
    --prefix= \
    --disable-introspection

make
make install
cd ..
rm -rf gtk+-2.24.22
rm gtk+-2.24.22.tar.xz

# Fix permissions for Package Users:
chmod g+w,o+t /share/themes

exit 0
