# libgtkhtml-2
# ============
# Slackware 9.0's 'libgtkhtml' package includes version 2.2.0, 9.1's
# includes 2.4.0, 10.0 and 10.1's include 2.6.2, and 10.2's includes
# 2.6.3
# I include multiple versions here to cover various Gnome releases, but
# keep in mind that I only use Gnome 2.12.x myself. Versions of Gnome
# prior to 2.12.x used both 2.x and 3.x, 2.12.x only uses 3.x See my 3.x
# howto here.
# If you ever need to uninstall a source-installed libgtkhtml, cd into it's
# source directory, run 'make uninstall', remove the source directory, then
# remove the tarball.
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "libgtkhtml-*" -exec rm -r {} \;
tar xjvf ~/libgtkhtml-2.6.3.tar.bz2
cd libgtkhtml-2.6.3
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
# Become root to install it
su
test -x /sbin/removepkg && /sbin/removepkg libgtkhtml
make install
ldconfig