Linux HOWTOs

About | Home | Search


ERROR: Slooooow dooooown... this page load was delayed.

HOWTO: gtkspell
Description: Highlights misspelled words like M$Word/MacOSX
Click here for ChangeLog
NOTE: I use GNU tar >= 1.13.25 so it's -j for .tar.bz2 files,
it's safe to assume that make, gcc, binutils, fileutils/coreutils, gawk, sed, and grep are prerequisites for almost everything


# GtkSpell 2.0.11
# ===============
# Prerequisites:
# gawk
# grep
# aspell (the old aspell/pspell or the new one)
# pkg-config
# GTK+ >= 2.0
# pango >= 1.3.5
# gettext

cd
test -f installed/gtkspell-2.0.11.tar.gz &&
 mv installed/gtkspell-2.0.11.tar.gz .
test ! -f gtkspell-2.0.11.tar.gz &&
 wget http://gtkspell.sourceforge.net/download/gtkspell-2.0.11.tar.gz
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "gtkspell-*" -exec rm -r {} \;
tar xzvf ~/gtkspell-2.0.11.tar.gz
cd gtkspell-2.0.11
test $UID = 0 && chown -R root:root .
./configure --disable-gtk-doc
make
su -c "make install ; ldconfig"
cd
mkdir -p -m 0700 installed
rm -f installed/gtkspell-*.tar.*
mv gtkspell-2.0.11.tar.gz installed/


# If you ever want to uninstall gtkspell, this should do it:
cd
su
test -d src/gtkspell-* && ( cd src/gtkspell-* ; make uninstall )
rm -f /usr/local/include/gtkspell-2.0/gtkspell/gtkspell.h \
 /usr/local/lib/libgtkspell.* \
 /usr/local/lib/pkgconfig/gtkspell-2.0.pc
test -d /usr/local/share/gtk-doc/html/gtkspell &&
 rm -r /usr/local/share/gtk-doc/html/gtkspell
ldconfig
exit
find ~/src -maxdepth 1 -type d -name "gtkspell-*" -exec rm -r {} \;
rm -f ~/installed/gtkspell-*.tar.*

Back to the list


Last updated: Tue, 07 Aug 2018 12:06:17 -0400
Jason Englander <jason at englanders dot us>