# Gtk# (gtk-sharp)
# ====
# Contrary to what the Gtk# web site says, the current 1.x release is 1.0.10
# and the latest 2.x release is 2.8.3 They should co-exist because 2.x uses
# *-2.x for directory and pkgconfig file names, -2 for libraries, 2 for
# binaries.
# The three applications that I know of that I (sometimes) use that use
# GTK# are:
# gfax (0.7.3 built fine with GTK# 1.0.4)
# muine (0.8.2 requires GTK# >= 1.9.1)
# D-Bus (for it's Mono bindings)
# If you ever want to uninstall Gtk#, or clean up files from an old version
# before installing a new one, skip down to the bottom for instructions.
# If you ever want to uninstall GTK# 1.0.x, this should do it:
cd
su
test -d src/gtk-sharp-1.0.* && ( cd src/gtk-sharp-1.0.* ; make uninstall )
cd /usr/lib/mono/gac
for dir in art-sharp atk-sharp gconf-sharp gconf-sharp-peditors gda-sharp \
gdk-sharp glade-sharp glib-sharp gnome-sharp gnome-vfs-sharp gnomedb-sharp \
gtk-sharp gtkhtml-sharp pango-sharp rsvg-sharp vte-sharp ; do \
test -d $dir && rm -r $dir ; done
test -d /usr/lib/mono/gtk-sharp && rm -r /usr/lib/mono/gtk-sharp
test -d /usr/share/gapi && rm -r /usr/share/gapi
ldconfig
exit
find ~/src -maxdepth 1 -type d -name "gtk-sharp-1.0.*" -exec rm -r {} \;
rm -f ~/installed/gtk-sharp-1.0.*.tar.*
# If you ever want to uninstall GTK# 2.x, this should do it:
cd
su
test -d src/gtk-sharp-1.9.* && ( cd src/gtk-sharp-1.9.* ; make uninstall )
test -d src/gtk-sharp-2.* && ( cd src/gtk-sharp-2.* ; make uninstall )
test -d /usr/lib/gtk-sharp-2.0 && rm -r /usr/lib/gtk-sharp-2.0
cd /usr/lib/mono/gac
for dir in art-sharp atk-sharp gconf-sharp gconf-sharp-peditors gda-sharp \
gdk-sharp glade-sharp glib-sharp gnome-sharp gnome-vfs-sharp gnomedb-sharp \
gtk-sharp gtkhtml-sharp pango-sharp rsvg-sharp vte-sharp ; do \
test -d $dir && rm -r $dir ; done
test -d /usr/lib/mono/gtk-sharp-2.0 && rm -r /usr/lib/mono/gtk-sharp-2.0
test -d /usr/share/gapi-2.0 && rm -r /usr/share/gapi-2.0
ldconfig
exit
find ~/src -maxdepth 1 -type d -name "gtk-sharp-1.9.*" -exec rm -r {} \;
find ~/src -maxdepth 1 -type d -name "gtk-sharp-2.*" -exec rm -r {} \;
rm -f ~/installed/gtk-sharp-1.9.*.tar.* ~/installed/gtk-sharp-2.*.tar.*