Update of /cvsroot/seq/showeq In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14505 Modified Files: BUGS COPYING FAQ INSTALL INSTALL.newbies Makefile.am Makefile.dist README ROADMAP TODO acinclude.m4 configure.in Added Files: AUTHORS ChangeLog Doxyfile NEWS doxygen.am doxygen.cfg showeq.kdevelop Removed Files: CHANGES conf.h.in install-sh missing mkinstalldirs showeq.kdevprj Log Message: Merged pre_5_0_beta down to the trunk. pre_5_0_beta should be treated as closed. All future development will occur on the branch. Updated version to 5.1.0.0 in preparation for new expansion release pending fixes for live compatibility. --- mkinstalldirs DELETED --- Index: Makefile.dist =================================================================== RCS file: /cvsroot/seq/showeq/Makefile.dist,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- Makefile.dist 21 Feb 2003 20:55:47 -0000 1.3 +++ Makefile.dist 13 Sep 2005 15:23:08 -0000 1.4 @@ -1,13 +1,174 @@ -#!/bin/bash -=- Ignore this, it's here so that VIM will format colors correctly. -default: all +LIBTOOLIZE = libtoolize +ACLOCAL = aclocal +AUTOHEADER = autoheader +AUTOMAKE = automake +AUTOCONF = autoconf +LIBTOOLIZE_ARGS = --force --copy --automake +ACLOCAL_ARGS = -I m4 +AUTOHEADER_ARGS = --force +AUTOMAKE_ARGS = --add-missing --copy --include-deps +AUTOCONF_ARGS = -all: +default: + @echo "***************************************************************" + @echo "Are you really sure you want to be running this makefile?" + @echo "Unless your are a developer you probably don't want" + @echo "to use this file. " + @if [ -d CVS ]; then \ + echo ""; \ + echo "In which case you should probably just use the tarball."; \ + echo "and not a direct checkout from CVS like this."; \ + fi + @if [ -f configure ]; then \ + echo ""; \ + echo "You probably just need to run './configure'."; \ + fi + @echo "" + @echo "***************************************************************" + @echo "" + @echo "" + @echo "-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-" + @echo "If you are REALLY sure that you want to make/remake the build" + @echo "system you can do so by using the 'help' target of this " + @echo "makefile to see a list of its supported targets. " + @echo "-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-" + +help: + @echo "***************************************************************" + @echo "Makefile.dist accepts the following targets:" + @echo " help - display this help" + @echo " all - performs a 'backup', and then 'build'" + @echo " backup - backs up the existing 'showeq' executable" + @echo " clean - attempts to remove all generated files" + @echo " build - performs a 'clean', and then builds the" + @echo " entire configuration system" + @echo " configure - builds configure" + @echo " autoconf - alias for 'configure'" + @echo " automake - runs 'automake' to generate 'Makefile.in'" + @echo " autoheader - runs 'autoheader' to generate 'config.h.in'" + @echo " aclocal - runs 'aclocal' to generate 'aclocal.m4'" + @echo " libtoolize - runs 'libtoolize' to setup 'libtool' support" + @echo "***************************************************************" + +all: backup build + +no-backup: build + +build: clean configure +# Pretty success message... Use of '&&' rather than ';' guarntees +# that if one portion of the compile process fails, the successor +# won't be executed. Again, this is another case of common sense. + + @echo "" + @echo "" + @echo "******************************************" + @echo "Success! Please type the following:" + @echo "" + @echo " ./configure && make && make install" + @echo "" + @echo "" + @echo "This will configure, compile, and install" + @echo "showeq " + @echo "******************************************" + @echo "" + +autoconf: configure + +configure: install-sh missing Makefile.in src/Makefile.in conf/Makefile.in configure.in Makefile.dist + @echo -n "Generating configure from configure.in......................" + @echo -e "\n*!* autoconf *!*" >> Makefile.dist.dbg + @-rm -f $@ + @$(AUTOCONF) $(AUTOCONF_ARGS) >> Makefile.dist.dbg 2>&1; + @echo "!*! autoconf !*!" >> Makefile.dist.dbg + @if [ -s "$@" ]; then { \ + echo " done!"; \ + } else { \ + echo " failed! ";\ + echo "See Makefile.dist.dbg for details"; \ + exit -1; \ + } fi + +automake: install-sh missing Makefile.in src/Makefile.in conf/Makefile.in + +install-sh missing Makefile.in src/Makefile.in conf/Makefile.in: config.h.in aclocal.m4 Makefile.dist + @echo -n "Generating Makefile.in from Makefile.am....................." + @echo -e "\n*!* automake ... *!*" >> Makefile.dist.dbg + @$(AUTOMAKE) $(AUTOMAKE_ARGS) >> Makefile.dist.dbg 2>&1 + @echo "!*! automake ... !*!" >> Makefile.dist.dbg + @if [ -s "$@" ]; then { \ + echo " done!"; \ + } else { \ + echo " failed! ";\ + echo "See Makefile.dist.dbg for details"; \ + exit -1; \ + } fi + + +autoheader: config.h.in +config.h.in: aclocal.m4 configure.in Makefile.dist + @echo -n "Generating configure headers (config.h.in).................." + @echo -e "\n*!* $$AUTOHEADER $$AUTOHEADER_ARGS configure.in *!*" >> Makefile.dist.dbg + @-rm -f config.h.in + @$(AUTOHEADER) $(AUTOHEADER_ARGS) configure.in >> Makefile.dist.dbg 2>&1; + @echo "!*! $$AUTOHEADER $$AUTOHEADER_ARGS configure.in !*!" >> Makefile.dist.dbg + @if [ -s "$@" ]; then { \ + echo " done!"; \ + } else { \ + echo " failed! ";\ + echo "See Makefile.dist.dbg for details"; \ + exit -1; \ + } fi + +aclocal: aclocal.m4 + +aclocal.m4: config.guess config.sub ltmain.sh configure.in Makefile.dist + @echo -n "Generating aclocal.m4 from configure.in....................." + @echo -e "\n*!* aclocal *!*" >> Makefile.dist.dbg + @$(ACLOCAL) $(ACLOCAL_ARGS) >> Makefile.dist.dbg 2>&1 + @echo "!*! aclocal !*!" >> Makefile.dist.dbg + @ if [ -s "$@" ]; then { \ + echo " done!"; \ + } else { \ + echo " failed! ";\ + echo "See Makefile.dist.dbg for details"; \ + exit -1; \ + } fi + +libtoolize: config.guess config.sub ltmain.sh + +config.guess config.sub ltmain.sh : configure.in Makefile.am Makefile.dist + @echo -n "Adding libtool support......................................" + @echo -e "\n*!* $$LIBTOOLIZE $$LIBTOOLIZE_ARGS *!*" \ + >> Makefile.dist.dbg + @$(LIBTOOLIZE) $(LIBTOOLIZE_ARGS) >> Makefile.dist.dbg 2>&1 + @echo "!*! $$LIBTOOLIZE $LIBTOOLIZE_ARGS !*!" >> Makefile.dist.dbg + @if [ -s "config.guess" -a "config.sub" -a "ltmain.sh" ]; then { \ + echo " done!"; \ + } else { \ + echo " failed! ";\ + echo "See Makefile.dist.dbg for details"; \ + exit -1; \ + } fi + + +clean: + @echo -n "Removing old files.........................................." + @if [ -f "Makefile" ]; then { \ + $(MAKE) -skf Makefile maintainer-clean >/dev/null; \ + } fi + @-rm -f Makefile.dist.dbg + @-rm -f configure + @-rm -f aclocal.m4 missing install-sh mkinstalldirs + @-rm -f Makefile Makefile.in src/Makefile src/Makefile.in conf/Makefile conf/Makefile.in + @-rm -fr autom4te.cache + @echo " done!" + +backup: # Backup the users current binary and place it in BACKUP/ ... # # This fixes the annoying "Build such and such destroyed my working # copy of ShowEQ!" messages on the SEQ Dev forums :) - @if [ -x "src/showeq" ] && ! [ -e ".no-backup" ]; then \ { \ mkdir -p "BACKUP"; \ @@ -124,311 +285,3 @@ \ echo "!*! BACKUP debug info !*!" >> Makefile.dist.dbg; \ } fi; - - @make -sf Makefile.dist no-backup - - -no-backup: - - @echo "-:- `exec date` -:-" > Makefile.dist.dbg - -# Don't automatically assume that a maintainer-clean is necessary. -# Only attempt to make a maintaner-clean IF the Makefile exists! -# It's a matter of common sense really :) - - @if [ -f "Makefile" ]; then \ - { \ - echo -ne "\nClearing all old Makefile data................" && \ - echo -n ".............."; \ - echo -e "\n*!* make -skf Makefile maintainer-clean *!*" \ - >> Makefile.dist.dbg; \ - make -skf Makefile maintainer-clean >> Makefile.dist.dbg 2>&1; \ - echo "!*! make -skf Makefile maintainer-clean !*!" \ - >> Makefile.dist.dbg; \ - echo " done!"; \ - echo ""; \ - echo ""; \ - } fi - - @echo -n "Adding libtool support......................................" - @echo -e "\n*!* libtoolize --force --copy --automake *!*" \ - >> Makefile.dist.dbg - @libtoolize --force --copy --automake >> Makefile.dist.dbg 2>&1 - @echo "!*! libtoolize --force --copy --automake !*!" \ - >> Makefile.dist.dbg - @echo " done!" - - @echo -n "Generating aclocal.m4 from configure.in and acinclude.m4...." - @echo -e "\n*!* aclocal *!*" >> Makefile.dist.dbg - @aclocal >> Makefile.dist.dbg 2>&1 - @echo "!*! aclocal !*!" >> Makefile.dist.dbg - @echo " done!" - - @echo -e "\n*!* Autoheader version check *!*" >> Makefile.dist.dbg - - @echo -ne "\nChecking Autoheader version...................." && \ - echo -n "............."; - - @if [ "$$AUTOHEADER" ]; then \ - { \ - echo " done!"; \ - \ - echo "!*! Autoheader version check !*!" \ - >> Makefile.dist.dbg; \ - \ - echo "Using user defined \$$AUTOHEADER: '$$AUTOHEADER'"; \ - \ - echo -ne "\nGenerating configure template (config.h)" && \ - echo -n "...................."; \ - \ - echo -e "\n*!* $$AUTOHEADER configure.in *!*" \ - >> Makefile.dist.dbg && \ - $$AUTOHEADER configure.in >> Makefile.dist.dbg 2>&1; \ - \ - echo " done!"; \ - \ - echo "!*! $$AUTOHEADER configure.in !*!" \ - >> Makefile.dist.dbg; \ - \ - } else { \ - \ - ahver=`autoheader --version 2>> Makefile.dist.dbg | \ - awk '{print $$3}'`; \ - \ - if [ "$$ahver" == "2.13" ]; then \ - { \ - ah=`type -p autoheader2.50 2> /dev/null`; \ - \ - if [ "$$ah" ]; then \ - { \ - ahver="2.50"; \ - } else { \ - ah="autoheader"; \ - } fi; \ - \ - AUTOHEADER="$$ah"; \ - \ - echo " done!"; \ - \ - echo "!*! Autoheader version check !*!" \ - >> Makefile.dist.dbg; \ - \ - echo -n ">> Using Autoheader version........" && \ - echo "......................... $$ahver!"; \ - } \ - \ - elif [ "$$ahver" ]; then \ - { \ - AUTOHEADER="autoheader"; \ - \ - echo " done!"; \ - \ - echo "!*! Autoheader version check !*!" \ - >> Makefile.dist.dbg; \ - \ - echo -n ">> Using Autoheader version........" && \ - echo "......................... $$ahver!"; \ - } fi; \ - \ - echo -ne "\nGenerating configure template (config.h)" && \ - echo -n "...................."; \ - \ - echo -e "\n*!* $$AUTOHEADER configure.in *!*" \ - >> Makefile.dist.dbg && \ - $$AUTOHEADER configure.in >> Makefile.dist.dbg 2>&1; \ - \ - echo " done!"; \ - \ - echo "!*! $$AUTOHEADER configure.in !*!" \ - >> Makefile.dist.dbg; \ - } fi; \ - \ - if ! [ -s "aclocal.m4" ]; then \ - { \ - echo ""; \ - echo "Autoheader has failed without warning!"; \ - echo ""; \ - echo "PLEASE NOTE: Your version of Autoheader sucks!"; \ - echo "UPGRADE NOW or face public humiliation..."; \ - echo ""; \ - \ - echo "FATAL ERROR: Autoheader is screwed up!!!" \ - >> Makefile.dist.dbg; \ - \ - exit -1; \ - } fi - - -# Better safe than sorry... Do these one at a time rather than doing -# them all at once. This fixes problems with older automake versions. - - @echo -n "Generating Makefile.in from Makefile.am....................." - @echo -e "\n*!* automake ... *!*" >> Makefile.dist.dbg - @automake --add-missing --foreign --include-deps ./Makefile \ - >> Makefile.dist.dbg 2>&1 - @automake --add-missing --foreign --include-deps src/Makefile \ - >> Makefile.dist.dbg 2>&1 - @automake --add-missing --foreign --include-deps maps/Makefile \ - >> Makefile.dist.dbg 2>&1 - @automake --add-missing --foreign --include-deps conf/Makefile \ - >> Makefile.dist.dbg 2>&1 - @echo "!*! automake ... !*!" >> Makefile.dist.dbg - @echo " done!" - - -# Autoconf is a major pain in the ASS!!! First try using it without -# specifying the output file, if that fails tell it off and give it -# the -o switch. -# -# -# Original script written by prox (for Debian UNSTABLE *ONLY*)... -# -# -# (10-16-2001) [Andon]: -# + Applied to *ALL* machines with the combination of Autoconf 2.13 -# AND Autoconf 2.50... -# - - @echo -e "\n*!* Autoconf version check *!*" >> Makefile.dist.dbg - - @echo -ne "\nChecking Autoconf version......................" && \ - echo -n "............."; - - @if [ "$$AUTOCONF" ]; then \ - { \ - echo " done!"; \ - \ - echo "!*! Autoconf version check !*!" \ - >> Makefile.dist.dbg; \ - \ - echo "Using user defined \$$AUTOCONF: '$$AUTOCONF'"; \ - \ - echo -ne "\nFinalizing Autoconf script (configure).." && \ - echo -n "...................."; \ - \ - echo -e "\n*!* $$AUTOCONF *!*" >> Makefile.dist.dbg && \ - $$AUTOCONF >> Makefile.dist.dbg 2>&1; \ - \ - echo " done!"; \ - \ - echo "!*! $$AUTOCONF !*!" >> Makefile.dist.dbg; \ - \ - } else { \ - \ - acver=`autoconf --version 2>> Makefile.dist.dbg | \ - awk '{print $$3}'`; \ - \ - if [ "$$acver" == "2.13" ]; then \ - { \ - ac=`type -p autoconf2.50 2> /dev/null`; \ - \ - if [ "$$ac" ]; then \ - { \ - acver="2.50"; \ - } else { \ - ac="autoconf"; \ - } fi; \ - \ - AUTOCONF="$$ac"; \ - \ - echo " done!"; \ - \ - echo "!*! Autoconf version check !*!" \ - >> Makefile.dist.dbg; \ - \ - echo -n ">> Using Autoconf version.........." && \ - echo "......................... $$acver!"; \ - } \ - \ - elif [ "$$acver" ]; then \ - { \ - AUTOCONF="autoconf"; \ - \ - echo " done!"; \ - \ - echo "!*! Autoconf version check !*!" \ - >> Makefile.dist.dbg; \ - \ - echo -n ">> Using Autoconf version.........." && \ - echo "......................... $$acver!"; \ - } fi; \ - \ - echo -ne "\nFinalizing Autoconf script (configure).." && \ - echo -n "...................."; \ - \ - echo -e "\n*!* $$AUTOCONF *!*" >> Makefile.dist.dbg && \ - $$AUTOCONF >> Makefile.dist.dbg 2>&1; \ - \ - echo "!*! $$AUTOCONF !*!" >> Makefile.dist.dbg; \ - } fi; \ - \ - if ! [ -s "configure" ]; then \ - { \ - echo -e "\n*!* $$AUTOCONF configure.in *!*" \ - >> Makefile.dist.dbg && \ - $$AUTOCONF configure.in >> Makefile.dist.dbg 2>&1; \ - \ - echo "!*! $$AUTOCONF configure.in !*!" \ - >> Makefile.dist.dbg; \ - } fi; \ - \ - if ! [ -s "configure" ]; then \ - { \ - echo ""; \ - echo "Strange Autoconf config present..."; \ - echo "Consider upgrading."; \ - echo ""; \ - \ - echo -e "\n*!* $$AUTOCONF configure configure.in *!*" \ - >> Makefile.dist.dbg && \ - $$AUTOCONF -o configure configure.in \ - >> Makefile.dist.dbg 2>&1; \ - \ - echo "!*! $$AUTOCONF configure configure.in !*!" \ - >> Makefile.dist.dbg; \ - } fi; \ - \ - if [ -s "configure" ]; then \ - { \ - echo " done!"; \ - } else { \ - echo " failed!"; \ - echo ""; \ - echo "PLEASE NOTE: Your version of Autoconf sucks!"; \ - echo "UPGRADE NOW or face public humiliation..."; \ - echo ""; \ - echo "FATAL ERROR: Autoconf is screwed up!!!" \ - >> Makefile.dist.dbg; \ - exit -1; \ - } fi - - - -# Some files, such as aclocal.m4, have no purpose once the autoconf -# script has been generated. It's a good idea to remove them... - - @echo -n "Releasing temporary file handles............................" - @rm -f aclocal.m4 - @echo " done!" - - - -# Pretty success message... Use of '&&' rather than ';' guarntees -# that if one portion of the compile process fails, the successor -# won't be executed. Again, this is another case of common sense. - - @echo ""; \ - echo ""; \ - echo "******************************************"; \ - echo "Success! Please type the following:"; \ - echo ""; \ - echo " ./configure && make"; \ - echo ""; \ - echo ""; \ - echo "This will configure and compile ShowEQ..."; \ - echo ""; \ - echo "If you are installing ShowEQ for the first"; \ - echo "time, be sure to add '&& make install' to"; \ - echo "the end of the compile process..."; \ - echo "******************************************"; \ - echo ""; Index: INSTALL =================================================================== RCS file: /cvsroot/seq/showeq/INSTALL,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- INSTALL 30 Aug 2003 15:51:45 -0000 1.5 +++ INSTALL 13 Sep 2005 15:23:08 -0000 1.6 @@ -1,75 +1,305 @@ -INSTALLATION OVERVIEW: ----------------------- -ShowEQ originated on Redhat 6.1, however, it will compile and -run on all newer Linux distro's. You will need the QT library -from Troll Tech (http://www.troll.no) compiled with multi-threading -support enabled, as well as libpcap from the Lawrence Berkely National -Laboratory (www.tcpdump.org), also the GNU database library gdbm -(ftp.gnu.org), and pthread support (provided via glibc). Also -it can be configured to use Berkeley DB3 instead of gdbm. +Version: $Id$ $Name$ -Additionally, the need for the library libEQ.a has been removed. +Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002 Free Software Foundation +gives unlimited permissino to copy distribute and modify it. +Portions Copyright 2003, 2004 Zaphod (do...@us...). +Overview +======== +This file describes what prerequisites are needed by ShowEQ and how to +install ShowEQ itself. If you are a new Linux/UNIX user you may also +wish to read INSTALL.newbies. Maps for use within ShowEQ may be found +in the showeq-maps tarball. -PRE-REQUISITES: ---------------- -Below is a list of packages you will need in order to compile ShowEQ: +Prerequisites +================== +Below is a list of packages you will need to have installed in order to +compile ShowEQ: - Name: Minimum: Suggested: - ----------------------------------- - *** 3rd party libraries *** - qt 3.0.5 (Must be compiled with -thread) - qt-devel 3.0.5 (Must be compiled with -thread) - libpcap 0.62 - gdbm 1.8.0 + Name: Minimum: Suggested: Source: + -------------------------------------------------------------------------- + *** 3rd party libraries *** + qt 3.2 Compiled with -thread) http://www.trolltech.com) + libpcap 0.62 http://www.tcpdump.org/ + gdbm 1.8.0 http://www.gnu.org/software/gdbm/ *** Optional 3rd party libraries *** - db3 3.2.9 3.3 (No db4 won't work) + db3 3.2.9 3.3 (Not db4) http://www.sleepycat.com/ *** C++ Compilation *** - glibc 2.2 2.3.2 - libstdc++ 3.0 3.2 - gcc 3.0 3.2 + glibc 2.2 2.3.2 http://www.gnu.org/software/libc/ + gcc 3.0.5 3.2 http://gcc.gnu.org/ + libstdc++ 3.0.5 3.2 http://gcc.gnu.org/ + -------------------------------------------------------------------------- - *** GNU tools *** - libtool 1.3.4-3 Most recent... - autoconf 2.13-1 Most recent... - automake 1.4-6 Most recent... - ----------------------------------- - NOTE: Higher versions of these libraries should work fine... -INSTALL PROCESS: ----------------- -First you must make the configure script, but after that -the basic install is the same as any other GNU package: +Basic Installation +================== - make -f Makefile.dist - ./configure - make - make install + The `configure' shell script attempts to guess correct values for +various system-dependent variables used during compilation. It uses +those values to create a `Makefile' in each directory of the package. +It may also create one or more `.h' files containing system-dependent +definitions. Finally, it creates a shell script `config.status' that +you can run in the future to recreate the current configuration, and a +file `config.log' containing compiler output (useful mainly for +debugging `configure'). -This installs showeq in /usr/local/bin, and puts maps and logs in -/usr/local/share/showeq. make install is important, the program will not -find maps without it. + It can also use an optional file (typically called `config.cache' +and enabled with `--cache-file=config.cache' or simply `-C') that saves +the results of its tests to speed up reconfiguring. (Caching is +disabled by default to prevent problems with accidental use of stale +cache files.) -If you want to make the CGI files, use - ./configure --enable-cgi=<path where cgi-bin files should reside> + If you need to do unusual things to compile the package, please try +to figure out how `configure' could check whether to do them, and mail +diffs or instructions to the address given in the `README' so they can +be considered for the next release. If you are using the cache, and at +some point `config.cache' contains results you don't want to keep, you +may remove or edit it. +To find out more about the options and arguments that the `configure' +script understands, type: + $ ./configure --help +at the command prompt in your ShowEQ source directory. + +The simplest way to compile this package is: -CONFIGURING AND USING: ----------------------- -Please note that ShowEQ requires root privileges, otherwise the pcap library + 1. `cd' to the directory containing the package's source code and type + `./configure' to configure the package for your system. If you're + using `csh' on an old version of System V, you might need to type + `sh ./configure' instead to prevent `csh' from trying to execute + `configure' itself. + + Running `configure' takes awhile. ... [truncated message content] |