source: branches/boost/README @ 319

Last change on this file since 319 was 319, checked in by Peter Johansson, 15 years ago
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-rst
File size: 3.8 KB

$Id: README 319 2007-05-18 10:19:00Z peter $

?
======================================================================
Copyright (C) 2005, 2006 Jari Häkkinen

This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest

svndigest is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

svndigest is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ======================================================================

Table of contents

0 What is svndigest? 1 Prerequisites 2 Compilation and installation 3 Running svndigest 4 Acknowledgements 5 Developer information

0 What is svndigest?

svndigest is a tool to extract development information and statistics from a subversion repository. A slightly more detailed explanation is available in doc/readme.txt

1 Prerequisites

ia) Subversion development files, i.e., header files and program
libraries, version 1.4 or later.
ib) This item should not be an issue if item ia) is fulfilled; the
Apache Portable Runtime (APR) should be available if the subversion API was succesfully compiled. Subversion depends on APR and in consequence, the dependency is inherited by svndigest.
  1. Gnuplot.
  2. A standard C++ compliant compiler with one extension: svndigest
?

must be compiled with a C++ compiler that supports 'long long' types - GCC does this. This is due to the fact that one of the underlying libraries, APR, is using 'long long'. APR is written in C and the C standard allows 'long long'.

Even though the source is compiled with the -pedantic flag (which
?

should catch the non C++ standard 'long long') there is another flag to suppress 'long long' diagnostics, -Wno-long-long.

2 Compilation and installation

See INSTALL for instructions on how to compile and install svndigest.

3 Running svndigest

To get a listing of available options issue 'svndigest -h'. Simply run the program with

svndigest -r /path/to/a/subversion/WC -t /path/whereto/write/output -v

The -v option will produce some output to stdout and can be omitted.

4 Acknowledgements

svndigest uses a C++ interface to Gnuplot inspired by Rajarshi Guha.

Rajarshi Guha's "A C++ Interface to Gnuplot" can be found through http://jijo.cjb.net/ . The C++ interface is based on "gnuplot interfaces in ANSI C" written by Nicolas Devillard. The C implemention is available through http://ndevilla.free.fr/ .

svndigest build system uses an M4 macro (build_support/find_apr.m4) created within the Apache project (The Apache Software Foundation). No changes is made to the M4 script. The apache license text is available as buid_support/apache_LICENSE-2.0.txt.

5 Developer information

a) At first checkout from the repository, and when configure.ac is changed, you must run './bootstrap' to setup autoconf files.

b) All tests are not enabled by default since some of the testes depends on being run from a subversion WC. Add '--enable-wctests' to configure to enable WC depedent tests.

c) Create a distribution package with 'make dist'. Remember to test the package with 'make distcheck'. If required packages are installed in non-standard locations you need to pass this information to 'distcheck'. This is done by using the variable DISTCHECK_CONFIGURE_FLAGS as

DISTCHECK_CONFIGURE_FLAGS="--with-apr=/usr/loca/apr" make distcheck

Usually you need to set DISTCHECK_CONFIGURE_FLAGS to whatever options you pass to configure.

Note: See TracBrowser for help on using the repository browser.