# Glade 2.6.8
# ===========
# Slackware 10.0 and 10.1's 'glade' packages include version 2.6.0
# FYI, Glade 2.10.0 is out
# http://ftp.gnome.org/pub/GNOME/sources/glade/2.10/
# It requires GTK+ 2.6 and Gnome 2.10 (if you want Gnome support). I'm
# still at GTK+ 2.4 and Gnome 2.6...
#
# If you run GTK+ 2.0.x/2.2.x and GNOME 2.0.x/2.2.x/2.4.x, then you want
# Glade version 2.0.x
cd
test -f installed/glade-2.6.8.tar.bz2 &&
mv installed/glade-2.6.8.tar.bz2 .
test ! -f glade-2.6.8.tar.bz2 &&
wget http://ftp.gnome.org/pub/GNOME/sources/glade/2.6/glade-2.6.8.tar.bz2
cd /usr/local/src
find -type d -maxdepth 1 -name "glade-*" -exec rm -r {} \;
tar xjvf ~/glade-2.6.8.tar.bz2
cd glade-2.6.8
chown -R root:root .
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var/lib \
--enable-static=no
## If make fails with an error like this:
# /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld:
# cannot find -lssl
## re-run it like this:
# make LDFLAGS=-L/usr/local/ssl/lib
make
removepkg glade
make install
find /usr/share/locale -type f -name "glade-2.0.mo" -exec rm {} \;
cd
mkdir -p -m 0700 installed
rm -f installed/glade-*.tar.*
mv glade-2.6.8.tar.bz2 installed/
# You can use /usr/share/pixmaps/glade-2.png as a desktop icon. To run the
# GUI, run 'glade-2'.