# This is for the old GTK+ 2.x version which many applications still depend on
# Note: depends on pkg-config
# Note: depends on glib
# Note: depends on atk
# Note: depends on libX11
# Note: depends on fontconfig
# Note: depends on cairo (needs to be built with libX11-support)
# Note: depends on pango (needs to be built with cairo-support)
# Note: depends on gdk-pixbuf
# Note: depends on libXrender
wget -c http://ftp.gnome.org/pub/GNOME/sources/gtk+/2.24/gtk+-2.24.32.tar.xz
tar -xJf gtk+-2.24.32.tar.xz
cd gtk+-2.24.32
find . -name Makefile.in | xargs sed -i -e 's/GDK_PIXBUF_DISABLE_DEPRECATED/NO_&/g' configure
mkdir -p builddir
cd builddir
../configure --prefix="/usr" --sysconfdir="/etc"
make # Doesn't mind -j#
make install