mkdir -p -m 0700 src
cd src
find -type d -maxdepth 1 -name "gucharmap-*" -exec rm -r {} \;
tar xjvf ~/gucharmap-1.4.4.tar.bz2
cd gucharmap-1.4.4
test $UID = 0 && chown -R root:root .
./configure --prefix=/usr
## If make fails with an error like this:
# /usr/lib/gcc/i686-pc-linux-gnu/4.0.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 gucharmap
rm -f /usr/lib/libgucharmap.*
make install
ldconfig
# I live in the US and only read/write English (well), so I don't need
# these
find /usr/share/locale -type f -name "gucharmap.mo" -exec rm {} \;
mkdir -p -m 0700 src
cd src
find -type d -maxdepth 1 -name "gucharmap-*" -exec rm -r {} \;
tar xjvf ~/gucharmap-1.6.0.tar.bz2
cd gucharmap-1.6.0
test $UID = 0 && chown -R root:root .
./configure --prefix=/usr
## If make fails with an error like this:
# /usr/lib/gcc/i686-pc-linux-gnu/4.0.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 gucharmap
rm -f /usr/lib/libgucharmap.*
make install
ldconfig
find /usr/share/locale -type f -name "gucharmap.mo" -exec rm {} \;