pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/octave-forge Changes 2004.11.16:
details: https://anonhg.NetBSD.org/pkgsrc/rev/567a158eb634
branches: trunk
changeset: 485206:567a158eb634
user: adam <adam%pkgsrc.org@localhost>
date: Sun Dec 05 09:03:42 2004 +0000
description:
Changes 2004.11.16:
* initial econometrics toolbox
* updated protein databank (extra/pdb) functions
* new functions: wavread wavwrite hann strfind randp sprandn conv2nan
* many bug fixes and improvements
diffstat:
math/octave-forge/Makefile | 15 ++--
math/octave-forge/PLIST | 34 +++++++++-
math/octave-forge/distinfo | 16 +---
math/octave-forge/patches/patch-ab | 13 ----
math/octave-forge/patches/patch-ac | 13 ----
math/octave-forge/patches/patch-ad | 10 +-
math/octave-forge/patches/patch-ae | 59 ------------------
math/octave-forge/patches/patch-ag | 119 ++++++++++++++++++------------------
math/octave-forge/patches/patch-ah | 14 ----
math/octave-forge/patches/patch-ai | 13 ----
math/octave-forge/patches/patch-aj | 13 ----
11 files changed, 107 insertions(+), 212 deletions(-)
diffs (truncated from 792 to 300 lines):
diff -r 05592da7e5a3 -r 567a158eb634 math/octave-forge/Makefile
--- a/math/octave-forge/Makefile Sun Dec 05 09:02:51 2004 +0000
+++ b/math/octave-forge/Makefile Sun Dec 05 09:03:42 2004 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2004/12/03 15:15:03 wiz Exp $
-#
+# $NetBSD: Makefile,v 1.6 2004/12/05 09:03:42 adam Exp $
-DISTNAME= octave-forge-2004.09.09
+DISTNAME= octave-forge-2004.11.16
CATEGORIES= cad
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=octave/}
@@ -18,10 +17,12 @@
PKG_INSTALLATION_TYPES= overwrite pkgviews
-GNU_CONFIGURE= YES
-USE_BUILDLINK3= YES
-USE_GNU_TOOLS+= make
-USE_X11= YES
+USE_BUILDLINK3= YES
+USE_GNU_TOOLS+= make
+USE_X11= YES
+GNU_CONFIGURE= YES
+
+UNLIMIT_RESOURCES= datasize
BUILD_TARGET=
TEST_DIRS= ${WRKSRC}
diff -r 05592da7e5a3 -r 567a158eb634 math/octave-forge/PLIST
--- a/math/octave-forge/PLIST Sun Dec 05 09:02:51 2004 +0000
+++ b/math/octave-forge/PLIST Sun Dec 05 09:03:42 2004 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2004/10/30 06:56:04 dmcmahill Exp $
+@comment $NetBSD: PLIST,v 1.4 2004/12/05 09:03:42 adam Exp $
bin/mex
man/man1/mex.1
share/octave/${OCT_VERSION}/site/octave-forge-alternatives/m/graceplot/PKG_ADD
@@ -166,7 +166,6 @@
${OCT_LOCALVEROCTFILEDIR}/octave-forge/gammastar.oct
${OCT_LOCALVEROCTFILEDIR}/octave-forge/gdet.oct
${OCT_LOCALVEROCTFILEDIR}/octave-forge/gdiag.oct
-${OCT_LOCALVEROCTFILEDIR}/octave-forge/getfields.oct
${OCT_LOCALVEROCTFILEDIR}/octave-forge/gexp.oct
${OCT_LOCALVEROCTFILEDIR}/octave-forge/gf.oct
${OCT_LOCALVEROCTFILEDIR}/octave-forge/gfilter.oct
@@ -239,13 +238,13 @@
${OCT_LOCALVEROCTFILEDIR}/octave-forge/rand.oct
${OCT_LOCALVEROCTFILEDIR}/octave-forge/rande.oct
${OCT_LOCALVEROCTFILEDIR}/octave-forge/randn.oct
+${OCT_LOCALVEROCTFILEDIR}/octave-forge/randp.oct
${OCT_LOCALVEROCTFILEDIR}/octave-forge/regexp.oct
${OCT_LOCALVEROCTFILEDIR}/octave-forge/remez.oct
${OCT_LOCALVEROCTFILEDIR}/octave-forge/rotate_scale.oct
${OCT_LOCALVEROCTFILEDIR}/octave-forge/rsdec.oct
${OCT_LOCALVEROCTFILEDIR}/octave-forge/rsenc.oct
${OCT_LOCALVEROCTFILEDIR}/octave-forge/samin.oct
-${OCT_LOCALVEROCTFILEDIR}/octave-forge/setfields.oct
${OCT_LOCALVEROCTFILEDIR}/octave-forge/sinc_gsl.oct
${OCT_LOCALVEROCTFILEDIR}/octave-forge/spabs.oct
${OCT_LOCALVEROCTFILEDIR}/octave-forge/sparse.oct
@@ -291,6 +290,8 @@
${OCT_LOCALVERFCNFILEDIR}/octave-forge/audio/sample.wav
${OCT_LOCALVERFCNFILEDIR}/octave-forge/audio/sound.m
${OCT_LOCALVERFCNFILEDIR}/octave-forge/audio/soundsc.m
+${OCT_LOCALVERFCNFILEDIR}/octave-forge/audio/wavread.m
+${OCT_LOCALVERFCNFILEDIR}/octave-forge/audio/wavwrite.m
${OCT_LOCALVERFCNFILEDIR}/octave-forge/civil/__nlnewmark_fcn__.m
${OCT_LOCALVERFCNFILEDIR}/octave-forge/civil/newmark.m
${OCT_LOCALVERFCNFILEDIR}/octave-forge/civil/nlnewmark.m
@@ -339,6 +340,24 @@
${OCT_LOCALVERFCNFILEDIR}/octave-forge/comm/vec2mat.m
${OCT_LOCALVERFCNFILEDIR}/octave-forge/comm/wgn.m
${OCT_LOCALVERFCNFILEDIR}/octave-forge/control/feedback.m
+${OCT_LOCALVERFCNFILEDIR}/octave-forge/econometrics/average_moments.m
+${OCT_LOCALVERFCNFILEDIR}/octave-forge/econometrics/delta_method.m
+${OCT_LOCALVERFCNFILEDIR}/octave-forge/econometrics/gmm_estimate.m
+${OCT_LOCALVERFCNFILEDIR}/octave-forge/econometrics/gmm_example.m
+${OCT_LOCALVERFCNFILEDIR}/octave-forge/econometrics/gmm_obj.m
+${OCT_LOCALVERFCNFILEDIR}/octave-forge/econometrics/gmm_results.m
+${OCT_LOCALVERFCNFILEDIR}/octave-forge/econometrics/gmm_variance.m
+${OCT_LOCALVERFCNFILEDIR}/octave-forge/econometrics/gmm_variance_inefficient.m
+${OCT_LOCALVERFCNFILEDIR}/octave-forge/econometrics/mle_estimate.m
+${OCT_LOCALVERFCNFILEDIR}/octave-forge/econometrics/mle_example.m
+${OCT_LOCALVERFCNFILEDIR}/octave-forge/econometrics/mle_obj.m
+${OCT_LOCALVERFCNFILEDIR}/octave-forge/econometrics/mle_results.m
+${OCT_LOCALVERFCNFILEDIR}/octave-forge/econometrics/mle_variance.m
+${OCT_LOCALVERFCNFILEDIR}/octave-forge/econometrics/parameterize.m
+${OCT_LOCALVERFCNFILEDIR}/octave-forge/econometrics/prettyprint.m
+${OCT_LOCALVERFCNFILEDIR}/octave-forge/econometrics/prettyprint_c.m
+${OCT_LOCALVERFCNFILEDIR}/octave-forge/econometrics/scale_data.m
+${OCT_LOCALVERFCNFILEDIR}/octave-forge/econometrics/unscale_parameters.m
${OCT_LOCALVERFCNFILEDIR}/octave-forge/general/blkdiag.m
${OCT_LOCALVERFCNFILEDIR}/octave-forge/general/char.m
${OCT_LOCALVERFCNFILEDIR}/octave-forge/general/complex.m
@@ -356,6 +375,7 @@
${OCT_LOCALVERFCNFILEDIR}/octave-forge/general/interp2.m
${OCT_LOCALVERFCNFILEDIR}/octave-forge/general/interpft.m
${OCT_LOCALVERFCNFILEDIR}/octave-forge/general/isa.m
+${OCT_LOCALVERFCNFILEDIR}/octave-forge/general/isdir.m
${OCT_LOCALVERFCNFILEDIR}/octave-forge/general/isequal.m
${OCT_LOCALVERFCNFILEDIR}/octave-forge/general/isunix.m
${OCT_LOCALVERFCNFILEDIR}/octave-forge/general/lookup.m
@@ -507,8 +527,10 @@
${OCT_LOCALVERFCNFILEDIR}/octave-forge/mapping/deg2rad.m
${OCT_LOCALVERFCNFILEDIR}/octave-forge/mapping/distance.m
${OCT_LOCALVERFCNFILEDIR}/octave-forge/mapping/rad2deg.m
+${OCT_LOCALVERFCNFILEDIR}/octave-forge/mex/myfeval.m
${OCT_LOCALVERFCNFILEDIR}/octave-forge/miscellaneous/OCTAVE_FORGE_VERSION.m
${OCT_LOCALVERFCNFILEDIR}/octave-forge/miscellaneous/PKG_ADD
+${OCT_LOCALVERFCNFILEDIR}/octave-forge/miscellaneous/dispatch.m
${OCT_LOCALVERFCNFILEDIR}/octave-forge/miscellaneous/edit.m
${OCT_LOCALVERFCNFILEDIR}/octave-forge/miscellaneous/grep.m
${OCT_LOCALVERFCNFILEDIR}/octave-forge/miscellaneous/inputname.m
@@ -578,11 +600,9 @@
${OCT_LOCALVERFCNFILEDIR}/octave-forge/path/rmpath.m
${OCT_LOCALVERFCNFILEDIR}/octave-forge/pdb/elements.mat
${OCT_LOCALVERFCNFILEDIR}/octave-forge/pdb/elements_struct.mat
-${OCT_LOCALVERFCNFILEDIR}/octave-forge/pdb/plotpdb.m
${OCT_LOCALVERFCNFILEDIR}/octave-forge/pdb/read_pdb.m
${OCT_LOCALVERFCNFILEDIR}/octave-forge/pdb/strtoz.m
${OCT_LOCALVERFCNFILEDIR}/octave-forge/pdb/write_pdb.m
-${OCT_LOCALVERFCNFILEDIR}/octave-forge/pdb/write_pdb_quick.m
${OCT_LOCALVERFCNFILEDIR}/octave-forge/plot/__plt3__.m
${OCT_LOCALVERFCNFILEDIR}/octave-forge/plot/clf.m
${OCT_LOCALVERFCNFILEDIR}/octave-forge/plot/contourf.m
@@ -656,6 +676,7 @@
${OCT_LOCALVERFCNFILEDIR}/octave-forge/signal/gaussian.m
${OCT_LOCALVERFCNFILEDIR}/octave-forge/signal/gausswin.m
${OCT_LOCALVERFCNFILEDIR}/octave-forge/signal/grpdelay.m
+${OCT_LOCALVERFCNFILEDIR}/octave-forge/signal/hann.m
${OCT_LOCALVERFCNFILEDIR}/octave-forge/signal/hilbert.m
${OCT_LOCALVERFCNFILEDIR}/octave-forge/signal/idct.m
${OCT_LOCALVERFCNFILEDIR}/octave-forge/signal/idct2.m
@@ -766,6 +787,7 @@
${OCT_LOCALVERFCNFILEDIR}/octave-forge/strings/mat2str.m
${OCT_LOCALVERFCNFILEDIR}/octave-forge/strings/str2double.m
${OCT_LOCALVERFCNFILEDIR}/octave-forge/strings/strcmpi.m
+${OCT_LOCALVERFCNFILEDIR}/octave-forge/strings/strfind.m
${OCT_LOCALVERFCNFILEDIR}/octave-forge/strings/strmatch.m
${OCT_LOCALVERFCNFILEDIR}/octave-forge/strings/strncmp.m
${OCT_LOCALVERFCNFILEDIR}/octave-forge/strings/strncmpi.m
@@ -914,6 +936,7 @@
@dirrm ${OCT_LOCALVERFCNFILEDIR}/octave-forge/optim
@dirrm ${OCT_LOCALVERFCNFILEDIR}/octave-forge/ode
@dirrm ${OCT_LOCALVERFCNFILEDIR}/octave-forge/miscellaneous
+@dirrm ${OCT_LOCALVERFCNFILEDIR}/octave-forge/mex
@dirrm ${OCT_LOCALVERFCNFILEDIR}/octave-forge/mapping
@dirrm ${OCT_LOCALVERFCNFILEDIR}/octave-forge/linear-algebra
@dirrm ${OCT_LOCALVERFCNFILEDIR}/octave-forge/irsa
@@ -924,6 +947,7 @@
@dirrm ${OCT_LOCALVERFCNFILEDIR}/octave-forge/graceplot
@dirrm ${OCT_LOCALVERFCNFILEDIR}/octave-forge/geometry
@dirrm ${OCT_LOCALVERFCNFILEDIR}/octave-forge/general
+@dirrm ${OCT_LOCALVERFCNFILEDIR}/octave-forge/econometrics
@dirrm ${OCT_LOCALVERFCNFILEDIR}/octave-forge/control
@dirrm ${OCT_LOCALVERFCNFILEDIR}/octave-forge/comm
@dirrm ${OCT_LOCALVERFCNFILEDIR}/octave-forge/civil
diff -r 05592da7e5a3 -r 567a158eb634 math/octave-forge/distinfo
--- a/math/octave-forge/distinfo Sun Dec 05 09:02:51 2004 +0000
+++ b/math/octave-forge/distinfo Sun Dec 05 09:03:42 2004 +0000
@@ -1,15 +1,9 @@
-$NetBSD: distinfo,v 1.2 2004/10/30 06:56:04 dmcmahill Exp $
+$NetBSD: distinfo,v 1.3 2004/12/05 09:03:42 adam Exp $
-SHA1 (octave-forge-2004.09.09.tar.gz) = 69f871efb24018bec550fc040fc2c2d56d214bb3
-Size (octave-forge-2004.09.09.tar.gz) = 3612150 bytes
+SHA1 (octave-forge-2004.11.16.tar.gz) = a27dbccd1665eb99b1457d23c1ac6b75eb3a9800
+Size (octave-forge-2004.11.16.tar.gz) = 3639093 bytes
SHA1 (patch-aa) = 1723f94e7532dd8ddd691bf5a348c5447b4d312b
-SHA1 (patch-ab) = ef033ec4854e0bd9ff1a9b0264e0482c2bb0ed9e
-SHA1 (patch-ac) = 14c201996fc9dcbb65e213af15003dda31ac09ae
-SHA1 (patch-ad) = 1d6064dd93ce0f312ae800cc3003ff0a56cfe405
-SHA1 (patch-ae) = 6ec4152e68e668e6e9b636b267535dc69c54da36
+SHA1 (patch-ad) = 463f05f1061f4ff0e28f91f04be0aee348044ef8
SHA1 (patch-af) = f3920b982014a06ecc5aac8d99e527918bf5e4c1
-SHA1 (patch-ag) = 86f1a0f10a228aa68936b36ed19f43db45e0c60c
-SHA1 (patch-ah) = fcf99bbb0866656cbdda6881bdba42cbd47993b6
-SHA1 (patch-ai) = 2ccbd22c9ffbbb21994b8afa20903b5eb1b4ffb3
-SHA1 (patch-aj) = eb13d828a9c9b727a751d3bfe53c3d8635c50195
+SHA1 (patch-ag) = 3a9f2dede5f5b59b7997b76357707385806d7873
SHA1 (patch-ak) = 49c63b4b2a92cb971410f325a077152d7b5ebcd8
diff -r 05592da7e5a3 -r 567a158eb634 math/octave-forge/patches/patch-ab
--- a/math/octave-forge/patches/patch-ab Sun Dec 05 09:02:51 2004 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-ab,v 1.2 2004/10/30 06:56:04 dmcmahill Exp $
-
---- main/miscellaneous/listen.cc.orig Tue Jul 27 20:39:43 2004
-+++ main/miscellaneous/listen.cc
-@@ -33,7 +33,7 @@ static char* context = NULL;
-
- static double timestamp = 0.0;
- inline void tic(void) { timestamp = octave_time(); }
--inline double toc(void) {return round(-1e6*(timestamp-double(octave_time())));}
-+inline double toc(void) {return floor(0.5+-1e6*(timestamp-double(octave_time())));}
-
- // XXX FIXME XXX --- surely this is part of the standard library?
- void
diff -r 05592da7e5a3 -r 567a158eb634 math/octave-forge/patches/patch-ac
--- a/math/octave-forge/patches/patch-ac Sun Dec 05 09:02:51 2004 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-ac,v 1.2 2004/10/30 06:56:04 dmcmahill Exp $
-
---- main/sparse/buildtests.sh.orig Thu Sep 9 04:16:42 2004
-+++ main/sparse/buildtests.sh
-@@ -453,7 +453,7 @@ EOF
- # =======================================================
- # sparse save and load tests
-
--function gen_save_tests {
-+gen_save_tests() {
- cat >>$TESTS <<EOF
- %!test # save ascii
- %! savefile= tmpnam();
diff -r 05592da7e5a3 -r 567a158eb634 math/octave-forge/patches/patch-ad
--- a/math/octave-forge/patches/patch-ad Sun Dec 05 09:02:51 2004 +0000
+++ b/math/octave-forge/patches/patch-ad Sun Dec 05 09:03:42 2004 +0000
@@ -1,16 +1,16 @@
-$NetBSD: patch-ad,v 1.2 2004/10/30 06:56:04 dmcmahill Exp $
+$NetBSD: patch-ad,v 1.3 2004/12/05 09:03:42 adam Exp $
---- main/sparse/Makefile.orig Tue Jul 27 20:56:44 2004
+--- main/sparse/Makefile.orig 2004-11-16 10:31:58.000000000 +0000
+++ main/sparse/Makefile
-@@ -133,10 +133,10 @@ S_DOUBLE= $(DLUSRC) $(ALLAUX) $(DZLAUX)
+@@ -134,10 +134,10 @@ S_DOUBLE= $(DLUSRC) $(ALLAUX) $(DZLAUX)
all: $(NAME).oct $(OBJLINKS) sptest.m
sptest.m: buildtests.sh
-- bash buildtests.sh preset
+- sh buildtests.sh preset
+ ${SHELL} buildtests.sh preset
sprandomtest.m: buildtests.sh
-- bash buildtests.sh random
+- sh buildtests.sh random
+ ${SHELL} buildtests.sh random
$(S_DOUBLE):%.o:%.c
diff -r 05592da7e5a3 -r 567a158eb634 math/octave-forge/patches/patch-ae
--- a/math/octave-forge/patches/patch-ae Sun Dec 05 09:02:51 2004 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,59 +0,0 @@
-$NetBSD: patch-ae,v 1.2 2004/10/30 06:56:04 dmcmahill Exp $
-
---- extra/mex/mex.in.orig Thu Sep 9 11:48:44 2004
-+++ extra/mex/mex.in
-@@ -34,6 +34,7 @@ else
- fi
-
- # default the name of the octave function from the first filename
-+dir=`dirname $first`
- first=`basename $first`
- #echo "first= $first"
- ext=`echo $first | sed 's;.*\.;.;g'`
-@@ -52,6 +53,16 @@ case "$ext" in
- ;;
- esac
-
-+# search for a .m file which will be used for the help string
-+# in the mex function.
-+if test -f $dir/$name.m ; then
-+ mfile=$dir/$name.m
-+elif test -f ./$name.m ; then
-+ mfile=./$name.m
-+else
-+ mfile=""
-+fi
-+
- cat <<EOF > mex_$name.cc
- #include <octave/oct.h>
-
-@@ -63,10 +74,28 @@ extern "C" {
- const char *mexFunctionName = "$name";
- } ;
-
--DEFUN_DLD($name, args, nargout, "\
-+DEFUN_DLD($name, args, nargout,
-+EOF
-+
-+if test "X$mfile" = "X" ; then
-+ cat <<EOF >> mex_$name.cc
-+"\
- $name not directly documented. Try the following:\n\
- type(file_in_loadpath('$name.m'))\n\
- ")
-+EOF
-+else
-+ @_AWK_@ 'BEGIN{print "\"\\"}
-+ /^[ \t]*$/ {exit}
-+ {gsub(/^%/,"");
-+ gsub(/\\/,"\\\\");
-+ gsub(/"/,"\\\"");
-+ print $0 "\\n\\"}
-+ END{print "\")"}' \
-+ $mfile >> mex_$name.cc
-+fi
Home |
Main Index |
Thread Index |
Old Index