cvsgraph - A graphical representation of CVS/RCS revisions ChangeLog

HOWTO


# CvsGraph 1.7.0
# ==============
# Some things that I know of that use CvsGraph are:
# CVSweb
# Horde's Chora
# ViewCVS
# ViewVC

# Prerequisites (beyond those listed above):
# Flex
# Bison
# GD (mandatory)
# freetype (if needed for GD)
# libpng (if needed for GD)
# libjpeg (if needed for GD)

# If you have an old version that was installed by my ViewCVS howto, clean
# up old files from that first
test -d installed/viewcvs &&
mv -f installed/viewcvs/cvsgraph-* installed/
test -d src/viewcvs &&
mv -f src/viewcvs/cvsgraph-* src/
su
rm -f /usr/local/bin/cvsgraph \
/usr/local/etc/cvsgraph.conf \
/usr/local/etc/cvsgraph.conf.new \
/usr/local/man/man1/cvsgraph.1.gz \
/usr/local/man/man5/cvsgraph.conf.5.gz
exit

# If you already have a cvsgraph.conf and it is different than the sample,
# this will install the new one as cvsgraph.conf.new so you can review the
# changes later.

# Get CvsGraph
cd
test -f installed/cvsgraph-1.7.0.tar.gz &&
mv installed/cvsgraph-1.7.0.tar.gz .
test ! -f cvsgraph-1.7.0.tar.gz &&
wget http://www.akhphd.au.dk/~bertho/cvsgraph/release/cvsgraph-1.7.0.tar.gz

# Extract the tarball
cd src
find -maxdepth 1 -type d -name "cvsgraph-*" -exec rm -r {} \;
tar xzvf ~/cvsgraph-1.7.0.tar.gz
cd cvsgraph-1.7.0
test $UID = 0 && chown -R root:root .

# Configure the build, build it
./configure
make

# Become root to install it
su

# Install it
install cvsgraph /usr/local/bin/
test -f /usr/local/etc/cvsgraph.conf &&
diff -q /usr/local/etc/cvsgraph.conf cvsgraph.conf ||
  install -m 644 cvsgraph.conf /usr/local/etc/cvsgraph.conf.new
test ! -f /usr/local/etc/cvsgraph.conf &&
install -m 644 cvsgraph.conf /usr/local/etc/cvsgraph.conf
gzip -9 cvsgraph.1 cvsgraph.conf.5
install -m 644 cvsgraph.1.gz /usr/local/man/man1/
install -m 644 cvsgraph.conf.5.gz /usr/local/man/man5/

# Become yourself again
exit

# Save the tarball for later
cd
rm -f installed/cvsgraph-*.tar.*
mv cvsgraph-1.7.0.tar.gz installed/

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EST -0500)
HOWTO last updated: 2013-08-26 9:41pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]