# HG changeset patch # User adb014 # Date 1160945252 0 # Node ID 78af29e94878a0788e57522674898a9ad1d442a5 # Parent ac2e7f5878ed3415da7839c9270e7c638a617a2f Remove a few more of the old files that aren't used diff -r ac2e7f5878ed -r 78af29e94878 INSTALL --- a/INSTALL Sun Oct 15 20:45:16 2006 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,262 +0,0 @@ -FIXME: These instructions need updating for the new package manager!!! - -======================================================================= -Prerequisites - -Octave must be installed before building octave-forge. - -Some functions in octave-forge depend on external libraries: - - * convhull, voronoi and delaunay need Qhull. If you need these functions, - then see main/geometry/README for instructions on downloading, - building and installing libqhull.so and . - - * symbolic expressions and variable precision arithmetic need GiNaC, - which in turn depends on cln and gmp. If you need these functions, - then see http://www.ginac.de for instructions for installing - GiNaC, cln and gmp. - - * GNU Scientific Library functions need GSL. Download and install - as per the instructions in the GSL library. - -======================================================================= -Simple user installation - -$ tar xzf octave-forge-.tar.gz -$ cd octave-forge- -$ find . -name NOINSTALL -print - -This lists the packages that won't be installed by default. For -explanations, see the end of this file. Remove NOINSTALL for each -one that you do indeed want to install. - -$ ./configure --with-path=$HOME/octave-forge --prefix=$HOME -$ make -k -$ make check -$ make icheck -$ make install - -Remove anything from ~/octave-forge/FIXES that are superceded by recent -versions of Octave. Read ~/octave-forge/FIXES/README for notes on how -the new behaviour differs from the pre-existing Octave behaviour. - -Add the following to ~/.octaverc: - - LOADPATH = [ getenv("HOME"), "/octave-forge//:", LOADPATH ]; - EXEC_PATH = [ getenv("HOME"), "/octave-forge/bin:", EXEC_PATH ]; - -If you are using Octave 2.0.x, copy extra/ver20 to ~/octave-forge/ver20 -and add - LOADPATH = [ getenv("HOME"), "/octave-forge/ver20:", LOADPATH ]; -after the previous LOADPATH update statement. - -If you are using mex files, make sure that ~/bin is on your path. -The [much too terse] man page for the mex program is in ~/man/man1. -You can read it with "nroff -man ~/man/man1/mex.1 | more" - -======================================================================= -Simple system installation - -$ tar xzf octave-forge-.tar.gz -$ cd octave-forge- -$ find . -name NOINSTALL -print - -This lists the packages that won't be installed by default. For -explanations, see the end of this file. Remove NOINSTALL for each -one that you do indeed want to install. - -$ ./configure -$ make -k -$ make check -$ make icheck -$ su -root$ cd /octave-forge- -root$ make install - -Remove anything from /octave-forge/FIXES and -that are superceded by recent versions of Octave. - -If you are using Octave 2.0.x, copy extra/ver20 to /ver20, -and make sure that /ver20 is listed first on you system -LOADPATH. You can set this up in - /usr/local/share/octave//m/startup/octaverc.m -or whatever the system startup file is on your site. - -======================================================================= -Details - -The source archive is compiled using tar and compressed using gzip. -Unpack the archive using - $ tar xzf octave-forge-.tar.gz -or if you are not using GNU tar - $ gunzip -c octave-forge-.tar.gz | tar xf - -Then change to the octave-forge directory - $ cd octave-forge- - -This assumes you have a file octave-forge-.tar.gz. If you are -building from CVS sources, you will need to login to the server - $ cvs -z3 -d:pserver:anonymous@cvs.octave.sf.net:/cvsroot/octave co \ - octave-forge -If you want a specific version yyyy.mm.dd, then specify "-r Ryyyy-mm-dd". -Next change to the octave-forge directory - $ cd octave-forge -and build the configure script - $ ./autogen.sh - -Packages containing the file NOINSTALL will not be built or installed. - $ find . -name NOINSTALL -print -Remove any NOINSTALL files from packages that you actually want to install. - -Environment variables: - - Some configuration options are taken from the environment. These - may be specified using - $ var1=val1 var2=val2 ... ./configure - or if you are not using the borne shell - $ env var1=val1 var2=val2 ... ./configure - - OCTAVE=... - MKOCTFILE=... - Override the default mkoctfile used to build oct-files. Normally - you will not need to specify them, but if you are maintaining - separate versions of Octave on your system (e.g., a patched - version in addition to the normal version, or version 2.0 in - addition to version 2.1), you will need to specify which version - you are building for directly. - - CFLAGS=... - CC=... - CXX=... - CXXFLAGS=... - etc. - Override the compiler options - -Configure options: - - --with-path=... - Base install directory. m-files will be installed in - mpath=/, where is the name - of the directory containing the m-file. oct-files will be - installed in opath=/oct. Supporting executables - will be installed in xpath=/bin. - - The default path, opath, and xpath are extracted from - and will depend on how your version of - Octave was built. Watch the output of make install to see - which paths it uses. If your system is set up correctly, you - will not need to specify --prefix, and upon install all the - scripts will be available to you. Note that by default the - scripts are all placed in the version-specific directories - of Octave, so if you upgrade to a new version of Octave, you - will need to rebuild and reinstall octave-forge. Any data files - (e.g., main/audio/data/sample.wav) are in the mpath. - - If you are not using the default, you may need to point your - load and exec paths to the new directories. If you are - installing in a system-wide directory, then update the octave - startup file to set LOADPATH and EXEC_PATH. This is usually - /usr/local/share/octave//m/startup/octaverc.m - or something similar. - - If you are installing as an end user set the loadpath in - your .octaverc file. - - --with-mpath=... - --with-opath=... - --with-xpath=... - Override the default install path for m-files, oct-files - and executables. - - --prefix=/usr/local - --mandir=$prefix/man - --bindir=$prefix/bin - --libdir=$prefix/lib - Where to put things to be found by the shell, such as the - mex command. - - - --x-includes=... - --x-libraries=... - Location of the X11 headers and libraries. ./configure will - usually find these automatically. - - --enable-nonfree - --disable-nonfree - *** NOT YET IMPLEMENTED *** - Include or exclude the non-free software from the build. The - default is to exclude it. - - --enable-extra - --disable-extra - *** NOT YET IMPLEMENTED *** - Include or exclude the extra software from the build. The - default is to include some of it, but not all. - -Make targets: - - make -k - Build the supporting executables and the oct-files. The - option -k ignores functions which will not build. Obviously - these functions won't be available, but most of the rest of - the package will work. Make check will indicate problems. - make check - Check that the functions in the repository work as expected. - Some functions don't. Please send patches. - make icheck - Demonstrate that the interactive functions work - make clean - Remove all the temporary files and constructed files - make install - Install files to the appropriate path - - -Functions which are fixes to m-files distributed with Octave are -included in the directory octave-forge-/FIXES. If you have a -bleeding edge version of Octave, then the fixes may have already been -incorporated and you can simply delete them from the installed tree -/FIXES and . Or you can leave them in place and live -with a potentially out of date function. If you find a bug in a -function in FIXES, check if it has been fixed in the latest -distribution of Octave before reporting it. - -*** NOTE *** If/when functions move from octave-forge into Octave proper, -we are going to have trouble keeping track of stuff in FIXES. Perhaps -if we list which version of Octave incorporates the fixes, then we can -using octave -v to check if the target installation version already -includes it and customize the installation accordingly. - -Sorry, there is no uninstall target. make install will tell you where -it put things. Remember it, so you can remove them later when you -upgrade octave or octave-forge. - -======================================================================== -Uninstalled packages - -Not all packages will be installed by default. To find out which are not, -run the following command from the octave-forge root: - - $ find . -name NOINSTALL -print - -As of this writing, you will see: - -nonfree/gpc - this package has its own configure script. Execute that before - removing NOINSTALL and running make from the top level. - -nonfree/splines - nonfree packages will not be installed by default - -extra/tk_octave - This version of tk_octave depends on octave compiled with - pthreads. Since it isn't usually, this will not be installed - by default. - -extra/Windows - Functions specific to windows. These are things like image, - which load a different image display program than the default - unix image display programs. Copy this directory somewhere - and put it ahead of all the Octave system directories in - LOADPATH. - -extra/engine - No installation scripts written yet. diff -r ac2e7f5878ed -r 78af29e94878 INSTALL.MacOSX --- a/INSTALL.MacOSX Sun Oct 15 20:45:16 2006 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,34 +0,0 @@ -This document describes how to install octave-forge on Mac OS X 10.3.x running octave version 2.1.57 or later. - -If you don't have a working[1] install of octave, instructions how to install octave can be found at -http://wiki.octave.org/wiki.pl?OctaveForMac - -Install OCTAVE-FORGE on Mac OS X 10.3 -======================================= -The following instructions refer to octave-forge from CVS as of 2004-04-15 - -1) Installation ---------------- -Run './configure' (run './autogen.sh' first if you are working with CVS sources) -Run 'make' and 'sudo make install' - -2) Post-install ---------------- -Add the paths specified in the install output to your ~/.octaverc file if necessary. - -3) Questions, feedback, improvements etc. ----------------- -Provide feedback. Just because something compiles and installs it isn't guaranteed to be sane... -Make stuff work. main/audio/ could probably be easily fixed. -Add more stuff. - -Check the wiki page: -http://wiki.octave.org/ -to see if your questions have been answered already, or to share knowledge. - - ---- -[1] Test your setup by running 'mkoctfile hello.cc' in octave's examples directory. -You should get a file hello.oct that can be run in octave. -Relying on 'octave_config_info("dld")' is not safe on Mac OS X with octave versions prior to 2.1.57. - diff -r ac2e7f5878ed -r 78af29e94878 INSTALL.WINDOWS --- a/INSTALL.WINDOWS Sun Oct 15 20:45:16 2006 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,524 +0,0 @@ -BUILDING octave-2.1.42 for cygwin - -This is a description of how I got -octave-2.1.42 and gnuplot-3.7.1 -and octave-forge to build under win2000. - -This description is for a static build. As -of version 2.1.42, octave -can now be built dynamically under cygwin, -so these instructions are of less value. - -However, the static build still takes up significantly -less space, as cygwin octave *oct files are still -very big, so this technique is still appropriate to -obtain a minimal footprint octave. - -Andy Adler - -$Id$ - -COPYRIGHT: - - Octave: GNU GPL - - GNUPLOT: - - OCTAVE-FORGE COMPONENTS: - - SuperLU: BSD - - ATLAS: - -/* - * Automatically Tuned Linear Algebra Software v3.2.1 - * (C) Copyright 1998 R. Clint Whaley - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions, and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the University of Tennessee, the ATLAS group, - * or the names of its contributers may not be used to endorse - * or promote products derived from this software without specific - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE UNIVERSITY OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - * - */ - - - -PREREQUISITES: - - Download from www.cygwin.com - recent version of cygwin (at least jan 2002 ) - gcc - g77 - readline-4.2a - libreadline5 - -BUILDING - - Download octave-2.1.42.tar.bz2 from www.octave.org - tar xvfj octave-2.1.42.tar.bz2 - cd octave-2.1.42 - ./configure --prefix=/usr --enable-static=yes - -OBTAIN GNUPLOT COMPONENTS - - Download from www.gnuplot.info - - get gp371cyg.zip. - Unzip the file wgnuplot.exe and put it in /usr/bin - - get gnuplot-3.7.1.tar.gz - Compile win/pgnuplot.c - - 1. comment out #include - 2. gcc -o pgnuplot.exe pgnuplot.c -luser32 -s - - copy pgnuplot.exe to /usr/bin - -MODIFY octaverc FILE - -for the following -$ cat /usr/share/octave/site/m/startup/octaverc - ## System-wide startup file for Octave. - ## - ## This file should contain any commands that should be executed each - ## time Octave starts for every user at this site. - - # find where cygwin is mounted - putenv('TMPDIR', system('echo -n `cygpath -wsm /tmp`') ); - - gnuplot_binary ="pgnuplot.exe"; - gnuplot_has_multiplot = 1; - - -BUILD OCTAVE WITH FORGE - -1. EDIT /usr/src/octave-2.1.36/src/Makefile - -A. REPLACE - -#DLD_XSRC := balance.cc besselj.cc betainc.cc chol.cc colloc.cc dassl.cc \ -# det.cc eig.cc expm.cc fft.cc fft2.cc filter.cc find.cc \ -# fsolve.cc gammainc.cc getgrent.cc getpwent.cc getrusage.cc \ -# givens.cc hess.cc ifft.cc ifft2.cc inv.cc log.cc lpsolve.cc \ -# lsode.cc lu.cc minmax.cc pinv.cc qr.cc quad.cc qz.cc rand.cc \ -# schur.cc sort.cc svd.cc syl.cc time.cc - -WITH - -DLD_XSRC := $(shell cd DLD-FUNCTIONS ; ls *.cc ) - -B. ADD AFTER LINE - -CXXFLAGS_NO_PT_FLAGS = $(filter-out $(PT_FLAGS), $(ALL_CXXFLAGS)) - -THESE LINES - -all: octave$(EXEEXT) - -OCTAVEFORGE= /usr/src/octave-forge/ -SPARSE = $(OCTAVEFORGE)/main/sparse/ -SUPERLU = $(SPARSE)/SuperLU/SRC/ -CPPFLAGS := -I$(SUPERLU) $(CPPFLAGS) - -$(SPARSE)/libsuperlu.a: - cd $(SPARSE) && make libsuperlu.a - -SPLINES = $(OCTAVEFORGE)/main/splines/ -SPLINES_SRC := $(shell ls $(SPLINES)/*.f ) -SPLINES_OBJ := $(patsubst %.f, %.o, $(SPLINES_SRC)) - -$(SPLINES_OBJ): %.o: %.f - $(FC) -c -fPIC -O -o $@ $< - - -C. REPLACE - -octave$(EXEEXT): stamp-prereq $(LIBRARIES) main.o $(DLD_STATIC_OBJ) - $(LD_CXX) $(CPPFLAGS) $(ALL_CXXFLAGS) $(RDYNAMIC_FLAG) \ - $(ALL_LDFLAGS) -o $@ \ - main.o $(XERBLA) $(DLD_STATIC_OBJ) \ - $(OCTAVE_LFLAGS) \ - $(OCTAVE_LIBS) \ - $(LEXLIB) $(BLAS_LIBS) $(FFTW_LIBS) $(LIBS) $(FLIBS) - -WITH - -octave$(EXEEXT): stamp-prereq $(LIBRARIES) main.o $(DLD_STATIC_OBJ) \ - $(SPARSE)/libsuperlu.a $(SPLINES_OBJ) - $(LD_CXX) $(CPPFLAGS) $(ALL_CXXFLAGS) $(RDYNAMIC_FLAG) \ - $(ALL_LDFLAGS) -o $@ \ - main.o $(XERBLA) $(DLD_STATIC_OBJ) \ - $(OCTAVE_LFLAGS) \ - $(OCTAVE_LIBS) \ - $(LEXLIB) $(BLAS_LIBS) $(FFTW_LIBS) $(LIBS) $(FLIBS) \ - -L$(SPARSE) -lsuperlu -ljpeg $(SPLINES_OBJ) - - -2. CREATE LINKS - -cd /usr/src -cvs -d :pserver:anonymous@cvs.octave.sf.net:/cvsroot/octave checkout -OCTAVEFORGE=/usr/src/octave-forge -cd /usr/src/octave-2.1.42/src -mkdir octave -cd octave -ln -s ../../config.h -ln -s ../defun-dld.h -ln -s ../error.h -ln -s ../../libcruft/misc/f77-fcn.h -ln -s ../gripes.h -ln -s ../help.h -ln -s ../../liboctave/lo-ieee.h -ln -s ../../liboctave/lo-mappers.h -ln -s ../../liboctave/lo-utils.h -ln -s ../../liboctave/mx-base.h -ln -s ../../liboctave/Matrix.h -ln -s ../oct-obj.h -ln -s ../oct.h -ln -s ../ops.h -ln -s ../ov-base.h -ln -s ../ov-complex.h -ln -s ../ov-cell.h -ln -s ../ov-cx-mat.h -ln -s ../ov-re-mat.h -ln -s ../ov-scalar.h -ln -s ../ov-typeinfo.h -ln -s ../ov.h -ln -s ../pager.h -ln -s ../parse.h -ln -s ../pr-output.h -ln -s ../pt-plot.h -ln -s ../../libcruft/misc/quit.h -ln -s ../../liboctave/str-vec.h -ln -s ../symtab.h -ln -s ../toplev.h -ln -s ../utils.h -ln -s ../variables.h -ln -s ../../liboctave/EIG.h -ln -s ../../liboctave/mx-cm-cdm.h -ln -s ../oct-strstrm.h -ln -s ../../liboctave/CmplxSCHUR.h -ln -s ../../liboctave/dbleSCHUR.h -cd ../DLD-FUNCTIONS -ln -s $OCTAVEFORGE/main/general/bitand.cc -ln -s $OCTAVEFORGE/main/general/mark_for_deletion.cc -ln -s $OCTAVEFORGE/main/general/SHA1.cc -ln -s $OCTAVEFORGE/main/general/deref.cc -ln -s $OCTAVEFORGE/main/linear-algebra/GramSchmidt.cc -ln -s $OCTAVEFORGE/main/linear-algebra/rsf2csf.cc -ln -s $OCTAVEFORGE/main/Miscellaneous/waitbar.cc -ln -s $OCTAVEFORGE/main/image/conv2.cc -ln -s $OCTAVEFORGE/main/image/cordflt2.cc -ln -s $OCTAVEFORGE/main/image/bwfill.cc -ln -s $OCTAVEFORGE/main/image/bwlabel.cc -ln -s $OCTAVEFORGE/main/image/jpgread.cc -ln -s $OCTAVEFORGE/main/image/jpgwrite.cc -ln -s $OCTAVEFORGE/main/optim/leval.cc -ln -s $OCTAVEFORGE/main/optim/lp.cc -ln -s $OCTAVEFORGE/main/specfun/ellipj.cc -ln -s $OCTAVEFORGE/main/sparse/complex_sparse_ops.cc -ln -s $OCTAVEFORGE/main/sparse/make_sparse.cc -ln -s $OCTAVEFORGE/main/sparse/make_sparse.h -ln -s $OCTAVEFORGE/main/sparse/sparse_full.cc -ln -s $OCTAVEFORGE/main/sparse/sparse_inv.cc -ln -s $OCTAVEFORGE/main/sparse/sparse_ops.cc -ln -s $OCTAVEFORGE/main/sparse/sparse_ops.h -ln -s $OCTAVEFORGE/main/signal/medfilt1.cc -ln -s $OCTAVEFORGE/main/signal/remez.cc -ln -s $OCTAVEFORGE/main/splines/pchip_deriv.cc -ln -s $OCTAVEFORGE/main/splines/trisolve.cc -ln -s $OCTAVEFORGE/main/strings/regexp.cc -ln -s $OCTAVEFORGE/main/struct/getfield.cc -ln -s $OCTAVEFORGE/main/struct/setfield.cc -ln -s $OCTAVEFORGE/extra/linear-algebra/ov-re-tri.cc -ln -s $OCTAVEFORGE/extra/linear-algebra/ov-re-tri.h -ln -s $OCTAVEFORGE/extra/testfun/pretty.cc -ln -s $OCTAVEFORGE/extra/symband/SymBand.cc -rm rand.cc -ln -s $OCTAVEFORGE/FIXES/rand.cc -ln -s $OCTAVEFORGE/FIXES/MersenneTwister.h -# rm fsolve.cc # fsolve hasn't been fixed for 2.1.42 -# ln -s $OCTAVEFORGE/FIXES/fsolve.cc -rm log.cc -ln -s $OCTAVEFORGE/FIXES/logm.cc -ln -s $OCTAVEFORGE/FIXES/sqrtm.cc -#ln -s $OCTAVEFORGE/extra/mex/mex.cc -ln -s $OCTAVEFORGE/extra/Windows/grab.cc -ln -s $OCTAVEFORGE/extra/Windows/grab_win32part.cc -ln -s $OCTAVEFORGE/extra/Windows/win32api.cc -ln -s $OCTAVEFORGE/extra/Windows/win32api_win32part.cc - - -3. BUID ATLAS INTO OCTAVE - - cd /usr/src - wget http://prdownloads.sf.net/math-atlas/atlas3.2.1.tar.bz2 - tar xvfj atlas3.4.1.tar.bz2 - cd ATLAS - make config - #### ANSWER LOTS OF QUESTIONS - make install arch=WinNT_P4SSE1 - - cd /usr/src/octave-2.1.42 - cd libcruft/ - mkdir tmp - cd tmp - ar x ../libcruft.a - for i in atlas.a lapack.a cblas.a f77blas.a ; do - ar x ../../../ATLAS/lib/WinNT_P4SSE1/lib$i - done - cd .. - rm libcruft.a ; ar rc libcruft.a tmp/*.o - cd .. - make - -4. BUILD / INSTALL OCTAVE - -cd /usr/src/octave-2.1.42 -make install -#make install-strip - doesn't work for some octave subdirectories -strip /usr/bin/octave* -find /usr/share/octave -type f | xargs strip - - -4. COPY *.M FILES INTO PLACE - -OCTAVEM=/usr/share/octave/2.1.42/m/ -mkdir -p $OCTAVEM/image -mkdir -p $OCTAVEM/integration -mkdir -p $OCTAVEM/ode -mkdir -p $OCTAVEM/testfun -mkdir -p $OCTAVEM/comm -mkdir -p $OCTAVEM/control -mkdir -p $OCTAVEM/ident -mkdir -p $OCTAVEM/image -mkdir -p $OCTAVEM/io -mkdir -p $OCTAVEM/linear-algebra -mkdir -p $OCTAVEM/miscellaneous -mkdir -p $OCTAVEM/optim -mkdir -p $OCTAVEM/path -mkdir -p $OCTAVEM/plot -mkdir -p $OCTAVEM/set -mkdir -p $OCTAVEM/signal -mkdir -p $OCTAVEM/sparse -mkdir -p $OCTAVEM/specfun -mkdir -p $OCTAVEM/special-matrix -mkdir -p $OCTAVEM/splines -mkdir -p $OCTAVEM/statistics -mkdir -p $OCTAVEM/strings -mkdir -p $OCTAVEM/struct -mkdir -p $OCTAVEM/symband -mkdir -p $OCTAVEM/time -mkdir -p $OCTAVEM/tsa - -cp -r $OCTAVEFORGE/extra/Windows/*.m $OCTAVEM/general -cp -r $OCTAVEFORGE/extra/integration/*.m $OCTAVEM/integration -cp -r $OCTAVEFORGE/extra/ode/*.m $OCTAVEM/ode -cp -r $OCTAVEFORGE/extra/testfun/*.m $OCTAVEM/testfun -cp -r $OCTAVEFORGE/extra/tsa/*.m $OCTAVEM/tsa -cp -r $OCTAVEFORGE/extra/symband/*.m $OCTAVEM/symband -cp -r $OCTAVEFORGE/main/comm/*.m $OCTAVEM/comm -cp -r $OCTAVEFORGE/main/control/*.m $OCTAVEM/control -cp -r $OCTAVEFORGE/main/general/*.m $OCTAVEM/general -cp -r $OCTAVEFORGE/main/ident/*.m $OCTAVEM/ident -cp -r $OCTAVEFORGE/main/image/*.m $OCTAVEM/image -cp -r $OCTAVEFORGE/main/io/*.m $OCTAVEM/io -cp -r $OCTAVEFORGE/main/linear-algebra/*.m $OCTAVEM/linear-algebra -cp -r $OCTAVEFORGE/main/miscellaneous/*.m $OCTAVEM/miscellaneous -cp -r $OCTAVEFORGE/main/optim/*.m $OCTAVEM/optim -cp -r $OCTAVEFORGE/main/path/*.m $OCTAVEM/path -cp -r $OCTAVEFORGE/main/plot/*.m $OCTAVEM/plot -cp -r $OCTAVEFORGE/main/set/*.m $OCTAVEM/set -cp -r $OCTAVEFORGE/main/signal/*.m $OCTAVEM/signal -cp -r $OCTAVEFORGE/main/sparse/*.m $OCTAVEM/sparse -cp -r $OCTAVEFORGE/main/specfun/*.m $OCTAVEM/specfun -cp -r $OCTAVEFORGE/main/special-matrix/*.m $OCTAVEM/special-matrix -cp -r $OCTAVEFORGE/main/splines/*.m $OCTAVEM/splines -cp -r $OCTAVEFORGE/main/statistics/*.m $OCTAVEM/statistics -cp -r $OCTAVEFORGE/main/strings/*.m $OCTAVEM/strings -cp -r $OCTAVEFORGE/main/struct/*.m $OCTAVEM/struct -cp -r $OCTAVEFORGE/main/time/*.m $OCTAVEM/time - -ADD EPSTK - -Download epstk files from www.epstk.de. -Unpack files to /usr/share/octave/site/m/epstk - -Modify einit.m to take current binary for gswin - -GENERATE CYGWIN PACKAGE - -VER=2.1.42 -tar cvfj octave-$VER-gnuplot-octaveforge.tar.bz2 \ - /usr/bin/octave \ - /usr/bin/octave-$VER* \ - /usr/bin/octave-bug \ - /usr/bin/octave-bug-$VER* \ - /usr/bin/octave-config \ - /usr/bin/octave-config-$VER* \ - /usr/bin/mkoctfile \ - /usr/bin/mkoctfile-$VER* \ - /usr/bin/pgnuplot.exe \ - /usr/bin/wgnuplot.exe \ - /usr/info/octave.info* \ - /usr/man/man1/octave* \ - /usr/share/octave/site/ \ - /usr/share/octave/$VER/ \ - /usr/doc/octave-$VER/ - - -## NOTES: These *.cc files are not included in this build -## for the following reasons - -extra/linear-algebra/chol.cc - - this doesn't seem complete to me - I'm reluctant to - override the chol in octave for this - -extra/mex/mex.cc - - this is a staticaly linked build - so mex capability - doesn't help - -extra/tk_octave/tk_interp.cc - - this is fairly complicated build - I don't know how - to do this right now. - -main/audio/aurecord.cc -main/audio/endpoint.cc - - audio for octave on cygwin doesn't seem to work - -main/geometry/__voronoi__.cc -main/geometry/convhulln.cc -main/geometry/delaunayn.cc - - this depends on qhull - I haven't looked into this - - I'm not sure if the extra size is worth it. - -main/plot/grab.cc -main/plot/graphics.cc -main/plot/gtext.cc -main/plot/gzoom.cc -main/plot/ginput.cc - - graphics functions are tied to X11 - we need some - windows replacements - -main/strings/regexp.cc -main/struct/getfield.cc -main/struct/setfield.cc -main/symbolic/differentiate.cc -main/symbolic/op-ex-mat.cc -main/symbolic/op-ex.cc -main/symbolic/op-sym.cc -main/symbolic/op-vpa.cc -main/symbolic/ov-ex-mat.cc -main/symbolic/ov-ex.cc -main/symbolic/ov-relational.cc -main/symbolic/ov-sym.cc -main/symbolic/ov-vpa.cc -main/symbolic/probably_prime.cc -main/symbolic/sym-bool.cc -main/symbolic/sym-create.cc -main/symbolic/symbols.cc - - these depend on the GiNac library - which is not included with octave-forge - -nonfree/gpc/gpc_clip.cc -nonfree/gpc/gpc_create.cc -nonfree/gpc/gpc_get.cc -nonfree/gpc/gpc_is_polygon.cc -nonfree/gpc/gpc_read.cc -nonfree/gpc/gpc_tristrip.cc -nonfree/gpc/gpc_write.cc -nonfree/gpc/octave-gpc.cc -nonfree/splines/gcvspl.cc - - I don't consider these licenses GPL compatible - so they - can't be linked to octave - -## NOTES: These directories of *m files are not included - -extra/NaN -- overwrites octave stat functions - do we want this -extra/civil -- too specialized? seems perhaps incomplete -extra/engine -- won't work without DLD -extra/fake-sparse -- we have real sparse -extra/integration/test -extra/integration/testfun -- I think the test functions aren't necessary for the install -extra/linear-algebra -- All *.cc files -extra/mex -- won't work without DLD -extra/patches -- not applied for this package -extra/pdb -extra/pdb/bin -extra/pdb/data -- too specialized? -extra/perl -- too specialized? - needs to be installed into perl -extra/symband -- install except Example* files -extra/tk_octave -- won't work without DLD? -extra/ver20 -- not for 2.1.* build -main/audio -main/audio/bin -main/audio/data -- can't make audio work under cygwin - yet -main/optim/doc -main/symbolic -main/symbolic/doc -- looks like quite a bit of work - later ... - -NOTES: - -How to link windows resources to octave -information from www.cygwin.com/cygwin-ug-net/programming.html - - 1. BUILD A SIMPLE RESOURCE FILE - - octave.rc - ---- - IDR_MAINFRAME ICON DISCARDABLE "octave.ico" - - VS_VERSION_INFO VERSIONINFO - FILEVERSION 2,1,42,1 - - BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904b0" - BEGIN - VALUE "FileDescription","Octave Version 2.1.42\0" - END - END - END - ---- - - 2. COMPILE - - windres octave.rc -O coff -o octave.res - - Now, add octave.res to link - gcc octave.c octave.res -o octave.exe diff -r ac2e7f5878ed -r 78af29e94878 admin/RPM/.cvsignore --- a/admin/RPM/.cvsignore Sun Oct 15 20:45:16 2006 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -octave-forge.spec diff -r ac2e7f5878ed -r 78af29e94878 admin/RPM/configure.add --- a/admin/RPM/configure.add Sun Oct 15 20:45:16 2006 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,3 +0,0 @@ -OCTAVE_FORGE_RELEASE=`date +%Y.%m.%d` -AC_SUBST(OCTAVE_FORGE_RELEASE) -CONFIGURE_OUTPUTS="$CONFIGURE_OUTPUTS admin/RPM/octave-forge.spec" diff -r ac2e7f5878ed -r 78af29e94878 admin/RPM/octave-forge.spec.in --- a/admin/RPM/octave-forge.spec.in Sun Oct 15 20:45:16 2006 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,98 +0,0 @@ -Name: octave-forge -Version: @OCTAVE_FORGE_RELEASE@ -Release: 1 -Summary: Contributed functions for octave - -Group: Applications/Engineering -License: Public Domain -URL: http://octave.sourceforge.net -Source0: ftp://download.sourceforge.net/pub/sourceforge/o/oc/octave/%{name} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -## Octave-forge installs in a directory tree specific to the installed -## version of octave, so the following version dependency is necessary. -%define octave_ep %(rpm -q --qf '%%{epoch}' octave) -%define octave_ver %(rpm -q --qf '%%{version}' octave) -Requires: octave = %{octave_ep}:%{octave_ver} ImageMagick -BuildRequires: octave-devel gcc-c++ tetex gcc-gfortran GiNaC-devel -BuildRequires: xorg-x11-devel libjpeg-devel libpng-devel zlib-devel -BuildRequires: ncurses-devel libtermcap-devel gsl-devel qhull-devel -BuildRequires: pcre-devel libstdc++-devel -ExcludeArch: ppc64 s390x - - -%description -Octave-forge is a community project for collaborative development of -octave extensions. The extensions in this package include additional -data types such as sparse matrices, and functions for a variety of -different applications including signal and image processing, -communications, control, optimization, statistics, geometry, and -symbolic math. - -%prep -%setup -q - -%build -%configure -make %{?_smp_mflags} - - -%install -rm -rf $RPM_BUILD_ROOT -%define host_type %(echo "disp(octave_config_info('canonical_host_type'))" | octave -qf) -%define site_dir octave/%{octave_ver}/site -make install prefix=$RPM_BUILD_ROOT%{_prefix} \ - bindir=$RPM_BUILD_ROOT%{_bindir} \ - mandir=$RPM_BUILD_ROOT%{_mandir} \ - MPATH=$RPM_BUILD_ROOT%{_datadir}/%{site_dir}/m/octave-forge \ - OPATH=$RPM_BUILD_ROOT%{_libexecdir}/%{site_dir}/oct/%{host_type}/octave-forge \ - XPATH=$RPM_BUILD_ROOT%{_libexecdir}/%{site_dir}/exec/%{host_type} \ - ALTPATH=$RPM_BUILD_ROOT%{_datadir}/%{site_dir}/octave-forge-alternative/m \ - ALTMPATH=$RPM_BUILD_ROOT%{_datadir}/%{site_dir}/octave-forge-alternative/m/octave-forge \ - ALTOPATH=$RPM_BUILD_ROOT%{_libexecdir}/%{site_dir}/octave-forge-alternative/oct/%{host_type} - -%clean -rm -rf $RPM_BUILD_ROOT - -%files -%defattr(-,root,root) -%doc COPYING* README RELEASE-NOTES TODO -%doc doc/*.html doc/coda/*.sgml doc/coda/appendices/*.sgml -%doc doc/coda/oct/*.sgml doc/coda/standalone/*.sgml -%{_datadir}/octave/* -%{_libexecdir}/octave/* -%{_bindir}/mex -%{_mandir}/man1/mex* - - - -%changelog -* Fri Jun 17 2005 Quentin Spencer -- Move ugly path hacks to install section. -- New dependencies. - -* Thu Feb 24 2005 Quentin Spencer -- Updated spec file to get octave version at build time. - -* Wed Nov 17 2004 Quentin Spencer -- Revised package description. - -* Tue Jun 15 2004 Quentin Spencer -- Added qhull support. - -* Tue Feb 24 2004 Quentin Spencer -- Added GiNaC as a dependency. Fixed install directories for - octave-forge alternatives. - -* Fri Jun 13 2003 Quentin Spencer -- Added new package description, revised so that configure - automatically generates the correct octave version and - octave-forge version, added dependencies. - -* Wed May 14 2003 Quentin Spencer -- Commented out code for ls-R files because of recent changes in - Octave's use of kpathsea. Didn't delete it yet because it may - yet be needed in the future. - -* Tue Feb 4 2003 Quentin Spencer -- First Version, loosely based on Red Hat's spec file for octave. diff -r ac2e7f5878ed -r 78af29e94878 admin/RPM/qhull.spec --- a/admin/RPM/qhull.spec Sun Oct 15 20:45:16 2006 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,92 +0,0 @@ -%define name qhull -%define version 2003.1 -%define release 1mdk -%define pack %{name}-%{version} -Summary: General dimension convex hull programs -Name: %{name} -Version: %{version} -Release: %{release} -License: Redistributable -Group: System/Libraries -Source0: %{pack}.tar.gz -URL: http://www.geom.umn.edu/software/qhull/ -BuildRoot: %{_tmppath}/%{name}-buildroot -Prefix: %{_prefix} - -%description - -Qhull is a general dimension convex hull program that reads a set -of points from stdin, and outputs the smallest convex set that contains -the points to stdout. It also generates Delaunay triangulations, Voronoi -diagrams, furthest-site Voronoi diagrams, and halfspace intersections -about a point. - -Rbox is a useful tool in generating input for Qhull; it generates -hypercubes, diamonds, cones, circles, simplices, spirals, -lattices, and random points. - -Qhull produces graphical output for Geomview. This helps with -understanding the output. - -%prep -%setup -n %{pack} -cd src -sed -e 's,^BINDIR *= .*$,BINDIR = '$RPM_BUILD_ROOT'%_bindir,' \ - -e 's,^MANDIR *= .*$,MANDIR = '$RPM_BUILD_ROOT'%_mandir/man1,' \ - -e 's,^CCOPTS1 *= .*$,CCOPTS1 = %optflags,' \ - Makefile.txt > Makefile -echo ' -libqhull.so.'%{version}': $(OBJS) - $(CC) -shared -Xlinker -soname -Xlinker $@ -o $@ $(OBJS) - -libqhull.so: libqhull.so.'%{version}' - '%__ln_s' -f $< $@ -' >> Makefile - -%build - -cd src -make libqhull.so -export LD_LIBRARY_PATH=`pwd` -make - -%install -%__rm -rf $RPM_BUILD_ROOT - -%__mkdir_p $RPM_BUILD_ROOT%_bindir -%__mkdir_p $RPM_BUILD_ROOT%_libdir -%__mkdir_p $RPM_BUILD_ROOT%_mandir/man1 -%__mkdir_p $RPM_BUILD_ROOT%_includedir/%{name} - -cd src -make install -%__cp *.h $RPM_BUILD_ROOT%_includedir/%{name} -%__cp *.a libqhull.so* $RPM_BUILD_ROOT%_libdir - - -%clean -%__rm -rf $RPM_BUILD_ROOT - -%files -%defattr(-,root,root) -%doc Announce.txt -%doc REGISTER.txt -%doc COPYING.txt -%doc README.txt -%doc html -%_bindir/* -%_libdir/* -%_includedir/* -%_mandir/* - -%changelog -* Wed Jun 16 2004 Laurent Mazet 2003.1-1mdk -- Update to qhull new version - -* Thu Sep 05 2002 Laurent Mazet 2002.1-1mdk -- Update to qhull new version - -* Thu May 30 2002 Laurent Mazet 3.1-1mdk -- First package - -# end of file diff -r ac2e7f5878ed -r 78af29e94878 admin/Windows/README-1st --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/admin/Windows/README-1st Sun Oct 15 20:47:32 2006 +0000 @@ -0,0 +1,3 @@ +This directory contains the tools that were used to build an old cygwin binary +of octave. They are currently very out of date, and need a large amount of +work. They are kept for reference and should be removed in the future. diff -r ac2e7f5878ed -r 78af29e94878 admin/qhull.spec --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/admin/qhull.spec Sun Oct 15 20:47:32 2006 +0000 @@ -0,0 +1,92 @@ +%define name qhull +%define version 2003.1 +%define release 1mdk +%define pack %{name}-%{version} +Summary: General dimension convex hull programs +Name: %{name} +Version: %{version} +Release: %{release} +License: Redistributable +Group: System/Libraries +Source0: %{pack}.tar.gz +URL: http://www.geom.umn.edu/software/qhull/ +BuildRoot: %{_tmppath}/%{name}-buildroot +Prefix: %{_prefix} + +%description + +Qhull is a general dimension convex hull program that reads a set +of points from stdin, and outputs the smallest convex set that contains +the points to stdout. It also generates Delaunay triangulations, Voronoi +diagrams, furthest-site Voronoi diagrams, and halfspace intersections +about a point. + +Rbox is a useful tool in generating input for Qhull; it generates +hypercubes, diamonds, cones, circles, simplices, spirals, +lattices, and random points. + +Qhull produces graphical output for Geomview. This helps with +understanding the output. + +%prep +%setup -n %{pack} +cd src +sed -e 's,^BINDIR *= .*$,BINDIR = '$RPM_BUILD_ROOT'%_bindir,' \ + -e 's,^MANDIR *= .*$,MANDIR = '$RPM_BUILD_ROOT'%_mandir/man1,' \ + -e 's,^CCOPTS1 *= .*$,CCOPTS1 = %optflags,' \ + Makefile.txt > Makefile +echo ' +libqhull.so.'%{version}': $(OBJS) + $(CC) -shared -Xlinker -soname -Xlinker $@ -o $@ $(OBJS) + +libqhull.so: libqhull.so.'%{version}' + '%__ln_s' -f $< $@ +' >> Makefile + +%build + +cd src +make libqhull.so +export LD_LIBRARY_PATH=`pwd` +make + +%install +%__rm -rf $RPM_BUILD_ROOT + +%__mkdir_p $RPM_BUILD_ROOT%_bindir +%__mkdir_p $RPM_BUILD_ROOT%_libdir +%__mkdir_p $RPM_BUILD_ROOT%_mandir/man1 +%__mkdir_p $RPM_BUILD_ROOT%_includedir/%{name} + +cd src +make install +%__cp *.h $RPM_BUILD_ROOT%_includedir/%{name} +%__cp *.a libqhull.so* $RPM_BUILD_ROOT%_libdir + + +%clean +%__rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +%doc Announce.txt +%doc REGISTER.txt +%doc COPYING.txt +%doc README.txt +%doc html +%_bindir/* +%_libdir/* +%_includedir/* +%_mandir/* + +%changelog +* Wed Jun 16 2004 Laurent Mazet 2003.1-1mdk +- Update to qhull new version + +* Thu Sep 05 2002 Laurent Mazet 2002.1-1mdk +- Update to qhull new version + +* Thu May 30 2002 Laurent Mazet 3.1-1mdk +- First package + +# end of file