pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/octave Changes 3.0.0:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dbf48c1bbc87
branches:  trunk
changeset: 537541:dbf48c1bbc87
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Jan 11 01:23:43 2008 +0000

description:
Changes 3.0.0:
* Compatibility with Matlab graphics is much better now.  We now
  have some graphics features that work like Matlab's Handle
  Graphics (tm):
* The way Octave handles search paths has changed.
* Previous versions of Octave had a number of built-in variables to
  control warnings (for example, warn_divide_by_zero).  These
  variables have been replaced by warning identifiers that are used
  with the warning function to control the state of warnings.
* All built-in variables have been converted to functions.
* For compatibility with Matlab, the output order of Octave's
  "system" function has changed.
* For compatibility with Matlab, the output of Octave's fsolve
  function has been changed.
* For compatibility with Matlab, normcdf, norminv, normpdf, and
  normrnd have been modified to compute distributions using the
  standard deviation instead of the variance.
* For compatibility with Matlab, gamcdf, gaminv, gampdf, gamrnd,
  expcdf, expinv, exppdf and exprnd have been modified to compute
  the distributions using the standard scale factor rather than
  one over the scale factor.

diffstat:

 math/octave/DESCR            |    9 -
 math/octave/Makefile         |   54 +-
 math/octave/PLIST            |  865 ++++++++++++++++++++++++++++--------------
 math/octave/buildlink3.mk    |    9 +-
 math/octave/distinfo         |   25 +-
 math/octave/octave.mk        |    8 +-
 math/octave/options.mk       |   24 +-
 math/octave/patches/patch-aa |   57 +--
 math/octave/patches/patch-ab |   23 +
 math/octave/patches/patch-ac |   20 +-
 math/octave/patches/patch-ad |   26 +-
 math/octave/patches/patch-ae |    8 +-
 math/octave/patches/patch-af |   26 +-
 math/octave/patches/patch-ag |   53 +-
 math/octave/patches/patch-ah |    6 +-
 math/octave/patches/patch-ai |   23 +
 math/octave/patches/patch-aj |   13 +
 17 files changed, 787 insertions(+), 462 deletions(-)

diffs (truncated from 2054 to 300 lines):

diff -r c00ed394ef7e -r dbf48c1bbc87 math/octave/DESCR
--- a/math/octave/DESCR Thu Jan 10 23:34:01 2008 +0000
+++ b/math/octave/DESCR Fri Jan 11 01:23:43 2008 +0000
@@ -11,12 +11,3 @@
 and customizable via user-defined functions written in Octave's own
 language, or using dynamically loaded modules written in C++, C, Fortran,
 or other languages.
-
-GNU Octave is also freely redistributable software.  You may redistribute
-it and/or modify it under the terms of the GNU General Public License
-(GPL) as published by the Free Software Foundation.
-
-Octave was written by John W. Eaton and many others.  Because Octave is
-free software you are encouraged to help make Octave more useful by writing
-and contributing additional functions for it, and by reporting any problems
-you may have.
diff -r c00ed394ef7e -r dbf48c1bbc87 math/octave/Makefile
--- a/math/octave/Makefile      Thu Jan 10 23:34:01 2008 +0000
+++ b/math/octave/Makefile      Fri Jan 11 01:23:43 2008 +0000
@@ -1,11 +1,8 @@
-# $NetBSD: Makefile,v 1.71 2007/11/12 19:48:50 heinz Exp $
+# $NetBSD: Makefile,v 1.72 2008/01/11 01:23:43 adam Exp $
 
 DISTNAME=      octave-${OCTAVE_VER}
-PKGREVISION=   1
 CATEGORIES=    math
-MASTER_SITES=  ftp://ftp.che.wisc.edu/pub/octave/ \
-               ftp://ftp.u-aizu.ac.jp/pub/SciEng/numanal/Octave/ \
-               ftp://ftp.task.gda.pl/pub/software/octave/
+MASTER_SITES=  ftp://ftp.che.wisc.edu/pub/octave/
 EXTRACT_SUFX=  .tar.bz2
 
 MAINTAINER=    adam%NetBSD.org@localhost
@@ -16,51 +13,53 @@
 BUILD_DEPENDS+=        gperf>=2.7:../../devel/gperf
 DEPENDS+=      gnuplot>=3.7:../../graphics/gnuplot
 
-OCTAVE_VER=    2.1.73
-CONFLICTS+=    octave-current-[0-9]*
+OCTAVE_VER=    3.0.0
+CONFLICTS+=    octave-2.*
 
 .if (${MACHINE_ARCH} == "arm32")
 BROKEN=                Internal compiler error occurs on arm32 (even with gcc-2.95.3)
 .endif
 
 USE_GNU_READLINE=      yes
-USE_LANGUAGES=         c c++ fortran
 USE_LIBTOOL=           yes
-USE_TOOLS+=            gmake makeinfo perl
+USE_TOOLS+=            gmake makeinfo perl gsed
 GNU_CONFIGURE=         yes
+USE_DIRS+=             xdg-1.1
 
 GCC_REQD+=             3.0
-INSTALLATION_DIRS+=    share/doc/octave
-INSTALLATION_DIRS+=    share/octave/${OCTAVE_VER}/doc
+USE_LANGUAGES=         c c++ fortran
 
 # needed for loading of shared objects such as those in the
-# octave-forge package or user written ones compiled with
-# mkoctfile
+# octave-forge package or user written ones compiled with mkoctfile
 CONFIGURE_ARGS+=       --enable-dl
+# shared libraries are handled automatically in pkgsrc
+CONFIGURE_ARGS+=       --enable-static
+CONFIGURE_ARGS+=       --disable-shared
+
+# trick pkgsrc into real gsed, needed for "mkf77def"
+TOOLS_PLATFORM.gsed=   #empty
 
 .include "options.mk"
 
 GNU_PLATFORM_DIR!=     ${.CURDIR}/../../mk/gnu-config/config.sub ${MACHINE_GNU_PLATFORM}
-PLIST_SUBST+=  GNU_PLATFORM_DIR=${GNU_PLATFORM_DIR:Q}
+PLIST_SUBST+=          GNU_PLATFORM_DIR=${GNU_PLATFORM_DIR}
 
 INFO_FILES=    yes
-OCTAVE_DOC=    faq/Octave-FAQ.ps interpreter/octave.ps \
-               liboctave/liboctave.ps refcard/refcard-a4.ps \
-               refcard/refcard-legal.ps  refcard/refcard-letter.ps
-OCTAVE_HTML=   faq/Octave-FAQ*.html interpreter/octave*.html \
-               liboctave/liboctave*.html
+OCTAVE_DOC=    faq/Octave-FAQ.ps  liboctave/liboctave.ps \
+               refcard/refcard-a4.ps refcard/refcard-legal.ps \
+               refcard/refcard-letter.ps
 
-UNWRAP_FILES+= mkoctfile octave-bug src/oct-conf.h
+INSTALLATION_DIRS+=    share/octave/${OCTAVE_VER}/doc
+UNWRAP_FILES+=         mkoctfile octave-bug src/oct-conf.h
 
 post-extract:
        find ${WRKSRC}/doc -type f -name '*.info*' -print | xargs rm -f
        mkdir ${WRKSRC}/src/pic
 
 # substitute in the real path to various bits of the toolchain because
-# mkoctfile will be used potentially by users and it needs to point
-# at the same compilers as were used in building octave.  We also
-# fix up the path to sed otherwise we end up with the buildlink directory
-# in mkoctfile
+# mkoctfile will be used potentially by users and it needs to point at the same
+# compilers as were used in building octave.  We also fix up the path to sed
+# otherwise we end up with the buildlink directory in mkoctfile
 post-build:
        mv ${WRKSRC}/mkoctfile ${WRKSRC}/mkoctfile.bak
        sed     -e 's;"${CC}";"${CCPATH}";g' \
@@ -69,6 +68,7 @@
                -e 's@^:[ \t]*\$${SED=.*@: \$$\{SED="${SED}"\}@g' \
                ${WRKSRC}/mkoctfile.bak > ${WRKSRC}/mkoctfile
        chmod a+x ${WRKSRC}/mkoctfile
+       (cd ${WRKSRC}/doc/interpreter && gmake octave.ps)
 
 post-install:
        cd ${WRKSRC}/doc/liboctave;                                     \
@@ -79,13 +79,11 @@
 .for f in ${OCTAVE_DOC}
        ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${PREFIX}/share/octave/${OCTAVE_VER}/doc
 .endfor
-.for f in ${OCTAVE_HTML}
-       ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${PREFIX}/share/doc/octave
-.endfor
 
 .include "../../audio/libsndfile/buildlink3.mk"
+.include "../../devel/ncurses/buildlink3.mk"
 .include "../../devel/readline/buildlink3.mk"
-.include "../../devel/ncurses/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
 .include "../../math/blas/buildlink3.mk"
 .include "../../math/fftw/buildlink3.mk"
 .include "../../math/lapack/buildlink3.mk"
diff -r c00ed394ef7e -r dbf48c1bbc87 math/octave/PLIST
--- a/math/octave/PLIST Thu Jan 10 23:34:01 2008 +0000
+++ b/math/octave/PLIST Fri Jan 11 01:23:43 2008 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.14 2007/10/05 16:31:33 adam Exp $
+@comment $NetBSD: PLIST,v 1.15 2008/01/11 01:23:43 adam Exp $
 bin/mkoctfile
 bin/mkoctfile-${PKGVERSION}
 bin/octave
@@ -7,7 +7,6 @@
 bin/octave-bug-${PKGVERSION}
 bin/octave-config
 bin/octave-config-${PKGVERSION}
-include/octave-${PKGVERSION}/octave/Array-flags.h
 include/octave-${PKGVERSION}/octave/Array-util.h
 include/octave-${PKGVERSION}/octave/Array.cc
 include/octave-${PKGVERSION}/octave/Array.h
@@ -22,6 +21,7 @@
 include/octave-${PKGVERSION}/octave/CMatrix.h
 include/octave-${PKGVERSION}/octave/CNDArray.h
 include/octave-${PKGVERSION}/octave/CRowVector.h
+include/octave-${PKGVERSION}/octave/CSparse.h
 include/octave-${PKGVERSION}/octave/Cell.h
 include/octave-${PKGVERSION}/octave/CmplxAEPBAL.h
 include/octave-${PKGVERSION}/octave/CmplxCHOL.h
@@ -48,7 +48,6 @@
 include/octave-${PKGVERSION}/octave/EIG.h
 include/octave-${PKGVERSION}/octave/FEGrid.h
 include/octave-${PKGVERSION}/octave/LP.h
-include/octave-${PKGVERSION}/octave/LPsolve.h
 include/octave-${PKGVERSION}/octave/LSODE-opts.h
 include/octave-${PKGVERSION}/octave/LSODE.h
 include/octave-${PKGVERSION}/octave/LinConst.h
@@ -61,7 +60,10 @@
 include/octave-${PKGVERSION}/octave/MArrayN.h
 include/octave-${PKGVERSION}/octave/MDiagArray2.cc
 include/octave-${PKGVERSION}/octave/MDiagArray2.h
+include/octave-${PKGVERSION}/octave/MSparse-defs.h
+include/octave-${PKGVERSION}/octave/MSparse.h
 include/octave-${PKGVERSION}/octave/Matrix.h
+include/octave-${PKGVERSION}/octave/MatrixType.h
 include/octave-${PKGVERSION}/octave/NLConst.h
 include/octave-${PKGVERSION}/octave/NLEqn-opts.h
 include/octave-${PKGVERSION}/octave/NLEqn.h
@@ -76,6 +78,14 @@
 include/octave-${PKGVERSION}/octave/Quad-opts.h
 include/octave-${PKGVERSION}/octave/Quad.h
 include/octave-${PKGVERSION}/octave/Range.h
+include/octave-${PKGVERSION}/octave/Sparse-op-defs.h
+include/octave-${PKGVERSION}/octave/Sparse.h
+include/octave-${PKGVERSION}/octave/SparseCmplxCHOL.h
+include/octave-${PKGVERSION}/octave/SparseCmplxLU.h
+include/octave-${PKGVERSION}/octave/SparseCmplxQR.h
+include/octave-${PKGVERSION}/octave/SparseQR.h
+include/octave-${PKGVERSION}/octave/SparsedbleCHOL.h
+include/octave-${PKGVERSION}/octave/SparsedbleLU.h
 include/octave-${PKGVERSION}/octave/base-dae.h
 include/octave-${PKGVERSION}/octave/base-de.h
 include/octave-${PKGVERSION}/octave/base-list.h
@@ -84,6 +94,8 @@
 include/octave-${PKGVERSION}/octave/base-min.h
 include/octave-${PKGVERSION}/octave/boolMatrix.h
 include/octave-${PKGVERSION}/octave/boolNDArray.h
+include/octave-${PKGVERSION}/octave/boolSparse.h
+include/octave-${PKGVERSION}/octave/builtins.h
 include/octave-${PKGVERSION}/octave/byte-swap.h
 include/octave-${PKGVERSION}/octave/c-file-ptr-stream.h
 include/octave-${PKGVERSION}/octave/chMatrix.h
@@ -97,6 +109,7 @@
 include/octave-${PKGVERSION}/octave/dMatrix.h
 include/octave-${PKGVERSION}/octave/dNDArray.h
 include/octave-${PKGVERSION}/octave/dRowVector.h
+include/octave-${PKGVERSION}/octave/dSparse.h
 include/octave-${PKGVERSION}/octave/data-conv.h
 include/octave-${PKGVERSION}/octave/dbleAEPBAL.h
 include/octave-${PKGVERSION}/octave/dbleCHOL.h
@@ -107,6 +120,7 @@
 include/octave-${PKGVERSION}/octave/dbleQRP.h
 include/octave-${PKGVERSION}/octave/dbleSCHUR.h
 include/octave-${PKGVERSION}/octave/dbleSVD.h
+include/octave-${PKGVERSION}/octave/debug.h
 include/octave-${PKGVERSION}/octave/defaults.h
 include/octave-${PKGVERSION}/octave/defun-dld.h
 include/octave-${PKGVERSION}/octave/defun-int.h
@@ -120,9 +134,9 @@
 include/octave-${PKGVERSION}/octave/file-io.h
 include/octave-${PKGVERSION}/octave/file-ops.h
 include/octave-${PKGVERSION}/octave/file-stat.h
-include/octave-${PKGVERSION}/octave/fn-cache.h
 include/octave-${PKGVERSION}/octave/getopt.h
 include/octave-${PKGVERSION}/octave/glob-match.h
+include/octave-${PKGVERSION}/octave/graphics.h
 include/octave-${PKGVERSION}/octave/gripes.h
 include/octave-${PKGVERSION}/octave/help.h
 include/octave-${PKGVERSION}/octave/idx-vector.h
@@ -139,10 +153,11 @@
 include/octave-${PKGVERSION}/octave/lo-error.h
 include/octave-${PKGVERSION}/octave/lo-ieee.h
 include/octave-${PKGVERSION}/octave/lo-mappers.h
+include/octave-${PKGVERSION}/octave/lo-math.h
 include/octave-${PKGVERSION}/octave/lo-specfun.h
-include/octave-${PKGVERSION}/octave/lo-sstream.h
 include/octave-${PKGVERSION}/octave/lo-sysdep.h
 include/octave-${PKGVERSION}/octave/lo-utils.h
+include/octave-${PKGVERSION}/octave/load-path.h
 include/octave-${PKGVERSION}/octave/load-save.h
 include/octave-${PKGVERSION}/octave/ls-hdf5.h
 include/octave-${PKGVERSION}/octave/ls-mat-ascii.h
@@ -152,6 +167,9 @@
 include/octave-${PKGVERSION}/octave/ls-oct-binary.h
 include/octave-${PKGVERSION}/octave/ls-utils.h
 include/octave-${PKGVERSION}/octave/mach-info.h
+include/octave-${PKGVERSION}/octave/md5.h
+include/octave-${PKGVERSION}/octave/mex.h
+include/octave-${PKGVERSION}/octave/mexproto.h
 include/octave-${PKGVERSION}/octave/mx-base.h
 include/octave-${PKGVERSION}/octave/mx-cdm-cm.h
 include/octave-${PKGVERSION}/octave/mx-cdm-cs.h
@@ -404,10 +422,13 @@
 include/octave-${PKGVERSION}/octave/mx-ui8nda-ui32nda.h
 include/octave-${PKGVERSION}/octave/mx-ui8nda-ui64.h
 include/octave-${PKGVERSION}/octave/mx-ui8nda-ui64nda.h
+include/octave-${PKGVERSION}/octave/mxarray.h
 include/octave-${PKGVERSION}/octave/oct-alloc.h
 include/octave-${PKGVERSION}/octave/oct-cmplx.h
 include/octave-${PKGVERSION}/octave/oct-conf.h
+include/octave-${PKGVERSION}/octave/oct-dlldefs.h
 include/octave-${PKGVERSION}/octave/oct-env.h
+include/octave-${PKGVERSION}/octave/oct-errno.h
 include/octave-${PKGVERSION}/octave/oct-fftw.h
 include/octave-${PKGVERSION}/octave/oct-fstrm.h
 include/octave-${PKGVERSION}/octave/oct-getopt.h
@@ -418,6 +439,7 @@
 include/octave-${PKGVERSION}/octave/oct-iostrm.h
 include/octave-${PKGVERSION}/octave/oct-lvalue.h
 include/octave-${PKGVERSION}/octave/oct-map.h
+include/octave-${PKGVERSION}/octave/oct-md5.h
 include/octave-${PKGVERSION}/octave/oct-obj.h
 include/octave-${PKGVERSION}/octave/oct-passwd.h
 include/octave-${PKGVERSION}/octave/oct-prcstrm.h
@@ -428,11 +450,15 @@
 include/octave-${PKGVERSION}/octave/oct-shlib.h
 include/octave-${PKGVERSION}/octave/oct-sort.cc
 include/octave-${PKGVERSION}/octave/oct-sort.h
+include/octave-${PKGVERSION}/octave/oct-sparse.h
+include/octave-${PKGVERSION}/octave/oct-spparms.h
 include/octave-${PKGVERSION}/octave/oct-stdstrm.h
 include/octave-${PKGVERSION}/octave/oct-stream.h
 include/octave-${PKGVERSION}/octave/oct-strstrm.h
 include/octave-${PKGVERSION}/octave/oct-syscalls.h
 include/octave-${PKGVERSION}/octave/oct-time.h
+include/octave-${PKGVERSION}/octave/oct-types.h
+include/octave-${PKGVERSION}/octave/oct-uname.h
 include/octave-${PKGVERSION}/octave/oct.h
 include/octave-${PKGVERSION}/octave/octave.h
 include/octave-${PKGVERSION}/octave/ops.h
@@ -442,8 +468,10 @@
 include/octave-${PKGVERSION}/octave/ov-base-mat.h
 include/octave-${PKGVERSION}/octave/ov-base-scalar.cc
 include/octave-${PKGVERSION}/octave/ov-base-scalar.h
+include/octave-${PKGVERSION}/octave/ov-base-sparse.h
 include/octave-${PKGVERSION}/octave/ov-base.h
 include/octave-${PKGVERSION}/octave/ov-bool-mat.h
+include/octave-${PKGVERSION}/octave/ov-bool-sparse.h
 include/octave-${PKGVERSION}/octave/ov-bool.h
 include/octave-${PKGVERSION}/octave/ov-builtin.h
 include/octave-${PKGVERSION}/octave/ov-cell.h
@@ -452,11 +480,11 @@
 include/octave-${PKGVERSION}/octave/ov-complex.h
 include/octave-${PKGVERSION}/octave/ov-cs-list.h



Home | Main Index | Thread Index | Old Index