Linux HOWTOs

About | Home | Search


HOWTO: revelation
Description: Password manager
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


# Revelation 0.4.7
# ================
# Prerequisites (beyond those listed above):
# gawk
# Python >= 2.3
# pkg-config
# gnome-python >= 2.5.90, gnome-python-extras if gnome-python is
#  a recent version
# PyGTK >= 2.3.90
# cracklib
# gconf
# gnome-panel

cd
test -f installed/revelation-0.4.7.tar.bz2 &&
 mv installed/revelation-0.4.7.tar.bz2 .
test ! -f revelation-0.4.7.tar.bz2 &&
 wget ftp://oss.codepoet.no/revelation/revelation-0.4.7.tar.bz2

# Verify tarball w/ md5sum:
# (this came from my tarball (not from the author), so all it does is verify
# that your tarball is the same as mine)
echo "d0a100914b0ffc0a09b1d4067f4307eb  revelation-0.4.7.tar.bz2" | \
 md5sum -c

mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "revelation-*" -exec rm -r {} \;
tar xjvf ~/revelation-0.4.7.tar.bz2
cd revelation-0.4.7
test $UID = 0 && chown -R root:root .

# I use the /usr prefix here because previous versions that used Python's
# distutils (python setup.py (build|install)) put it there)

./configure --prefix=/usr --sysconfdir=/etc
make
su -c "make install ; chown -R $USER ."
cd
mkdir -p -m 0700 installed
rm -f installed/revelation-*.tar.*
mv revelation-0.4.7.tar.bz2 installed/

# /usr/share/icons/hicolor/48x48/apps/revelation.png can be used as a desktop
# icon.  If you have a /usr/share/pixmaps/revelation.png, it may be left
# behind from a previous version.

# If you ever need to uninstall revelation, run this.  The first three lines
# should do it, the rest is just in case it doesn't.
cd
su
test -d src/atk-* && ( cd src/atk-* ; make uninstall )
rm -f /usr/bin/revelation /etc/gconf/schemas/revelation.schemas \
 /usr/share/applications/revelation.desktop \
 /usr/share/icons/hicolor/16x16/apps/revelation.png \
 /usr/share/icons/hicolor/24x24/apps/revelation.png \
 /usr/share/icons/hicolor/32x32/apps/revelation.png \
 /usr/share/icons/hicolor/48x48/apps/revelation.png \
 /usr/share/icons/hicolor/48x48/mimetypes/\
gnome-mime-application-x-revelation.png \
 /usr/share/mime/packages/revelation.xml
( cd /usr/share/icons/hicolor/scalable/filesystems ; rm -f \
  revelation-fallback-folder.svg revelation-fallback-folder-open.svg )
test -d /usr/share/revelation && rm -r /usr/share/revelation
find /usr/lib/python*/site-packages -type d -maxdepth 1 -name revelation \
 -exec rm -r {} \;
exit
find ~/src -maxdepth 1 -type d -name "atk-*" -exec rm -r {} \;
rm -f ~/installed/atk-*.tar.*

Back to the list


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