# kdeaddons 3.5.1
# ===============
# Slackware 8.1's 'kdeaddons' package includes version 3.0.1, 9.0's includes
# 3.1, 9.1's includes 3.1.4, 10.0's includes 3.2.3, 10.1's includes 3.3.2,
# and 10.2's includes 3.4.2
#
# Slackware 10.2 includes KDE 3.4.2
# If you ever want to uninstall kdeaddons, cd into the source directory, run
# 'make uninstall' (as root), remove the source directory, and remove the
# tarball.
find src/kde src -maxdepth 1 -type d -name "kdeaddons-*" \
-exec rm -r {} \;
cd src/kde
tar xjvf ~/kdeaddons-3.5.1.tar.bz2
cd kdeaddons-3.5.1
test $UID = 0 && chown -R root:root .
# I had to pass --without-sdl to prevent it from failing to build in
# noatun-plugins/synaescope/ because of errors like this one:
# /opt/kde/lib/libartsmodules.so: undefined reference to `virtual thunk to
# Arts::SynthModule_stub::streamInit()'
./configure --prefix=/opt/kde --disable-debug \
--with-ssl-dir=/usr/local/ssl --without-sdl
make
# make stopped for me unable to find openssl/openssl.h, I ran this,
# then just plain 'make' again
( cd kfile-plugins/cert ; make CPPFLAGS=-I/usr/local/ssl/include )
# Become root to install it
su
test -x /sbin/removepkg && /sbin/removepkg kdeaddons
make install
# Add /opt/kde/lib to /etc/ld.so.conf if it's not already in there:
grep "^/opt/kde/lib$" /etc/ld.so.conf > /dev/null 2>&1 ||
echo "/opt/kde/lib" >> /etc/ld.so.conf
ldconfig