# I include several major (1.18.x, 1.22.x, etc.) versions here, but keep
# in mind that as I write this, I'm only actually using the 1.23.x version
# If you want to clean up old versions or just remove ATK, skip down to the
# bottom for instructions. This is generally a good idea when going from
# one source-installed version to another.
# Prerequisites:
# pkg-config
# gettext
# Perl
# GLib >= 2.5.7
# gtk-doc (Slackware includes this in it's sgml-tools or linuxdoc-tools
# packages; used if --enable-gtk-doc is passed to configure)
# ATK 1.20.0 (for Gnome 2.20.x)
# ==========
cd
test -f installed/atk-1.20.0.tar.bz2 && mv installed/atk-1.20.0.tar.bz2 .
test ! -f atk-1.20.0.tar.bz2 &&
wget http://ftp.gnome.org/pub/gnome/sources/atk/1.20/atk-1.20.0.tar.bz2
# If you ever want to uninstall ATK, this should do it:
cd
su
test -d src/atk-* && ( cd src/atk-* ; make uninstall )
rm -f /usr/lib/libatk-1.* /usr/lib/pkgconfig/atk.pc
test -d /usr/include/atk-1.0 && rm -r /usr/include/atk-1.0
test -d /usr/share/gtk-doc/html/atk && rm -r /usr/share/gtk-doc/html/atk
find /usr/share/locale -type f -name atk10.mo -exec rm {} \;
ldconfig
exit
find ~/src -maxdepth 1 -type d -name "atk-*" -exec rm -r {} \;
rm -f ~/installed/atk-*.tar.*