# GnomeICU
# ========
# If you use Gnome 1.x, to to the home page and grab version 0.99
# Below is 0.99.10 which works with Gnome 2.x, and below that are
# instructions for getting it from CVS, which is what I used to use before
# 0.99.5 came out - releases were very infrequent.
# If you ever want to uninstall GnomeICU, or if you want to clean up files
# from an old version before you install a new one, skip down to the bottom
# for instructions.
# 0.99.10
# =======
# Slackware 9.0's 'gnomeicu' package includes version 0.99, 9.1 includes
# whatever was in CVS on 20030910
# /usr/share/pixmaps/gnomeicu.png can be used as a desktop icon
# CVS
# ===
# Prerequisites:
# CVS
# any prerequisites listed above
# see the Changelog for others that may be necessary for this version
cd
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "gnomeicu-*" -exec rm -r {} \;
test -d ./gnomeicu && ( cd gnomeicu ; cvs update -dP )
test ! -d ./gnomeicu &&
( cvs -d ":pserver:anonymous@anoncvs.gnome.org:/cvs/gnome" login
# No password, just press Enter
cvs -d ":pserver:anonymous@anoncvs.gnome.org:/cvs/gnome" co gnomeicu )
cd gnomeicu
test $UID = 0 && chown -R root:root .
test -f ./Makefile && make distclean
autoreconf -f -i
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib
make
# Become root to install it
su
test -x /sbin/removepkg && /sbin/removepkg gnomeicu
make install
# Become yourself again
exit
cd
rm -f installed/gnomeicu-*.tar.*
echo "gnomeicu was installed from CVS in ~/src/gnomeicu" > \
installed/gnomeicu.README
chmod 700 installed/gnomeicu.README
# If you ever want to uninstall gnomeicu, this should do it:
cd
su
test -d src/gnomeicu-* && ( cd src/gnomeicu-* ; make uninstall )
( cd /usr/bin ; rm -f gnomeicu gnomeicu-client )
test -d /usr/share/gnome/help/gnomeicu &&
rm -r /usr/share/gnome/help/gnomeicu
test -d /usr/share/gnomeicu && rm -r /usr/share/gnomeicu
find /usr/share/locale -type f -name "gnomeicu.mo" -exec rm {} \;
test -d /usr/share/omf/gnomeicu && rm -r /usr/share/omf/gnomeicu
test -d /usr/share/sounds/gnomeicu && rm -r /usr/share/sounds/gnomeicu
rm -r /etc/gconf/schemas/gnomeicu.schemas \
/etc/sound/events/GnomeICU.soundlist \
/usr/share/applications/GnomeICU.desktop \
/usr/share/pixmaps/gnomeicu.png
exit
find ~/src -maxdepth 1 -type d -name "gnomeicu-*" -exec rm -r {} \;
rm -f ~/installed/gnomeicu-*.tar.*