summaryrefslogtreecommitdiff
path: root/math/octave/Makefile
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2019-03-05 11:11:12 +0000
committerryoon <ryoon@pkgsrc.org>2019-03-05 11:11:12 +0000
commit58567360c71f6aed41c24b41dfc2135dc2fd1862 (patch)
tree58ca45439bef72144433264fa4917d909fbd2bc3 /math/octave/Makefile
parent3742f81ebf33cbb5e8501889bbaae77411a12628 (diff)
downloadpkgsrc-58567360c71f6aed41c24b41dfc2135dc2fd1862.tar.gz
Update to 5.1.0
Changelog: # General improvements The Octave plotting system now supports high resolution screens, i.e., those with greater than 96 DPI which are referred to as HiDPI/Retina monitors. Unicode character support for files and folders in Windows. A new core function movfun will apply a function to a sliding window of arbitrary size on a dataset and accumulate the results. Many common cases have been implemented using the naming scheme movXXX where XXX is the function that will be applied. For example, the moving average over a dataset is movmean. New moving window functions: movfun movslice movmad movmax movmean movmedian movmin movprod movstd movsum movvar The fsolve function has been tweaked to use larger step sizes when calculating the Jacobian of a function with finite differences. This leads to faster convergence. The ranks function has been recoded for performance and is now 25X faster. In addition, it now supports a third argument that specifies how to resolve the ranking of tie values. The function randi has been recoded to produce an unbiased (all results are equally likely) sample of integers. This may produce different results in existing code. If it is necessary to reproduce the exact random integer sequence as in previous versions use ri = imin + floor ((imax - imin + 1) * rand ()); The function isdefinite now returns true or false rather than -1, 0, or 1. To test for a positive semi-definite matrix (old output of 0) check whether the following two conditions hold: isdefinite (A) => 0 and isdefinite (A + 5*TOL, TOL) => 1 The intmax, intmin, and flintmax functions now accept a variable as input. Existing code to query the range of an existing variable can be simplified by removing the call to class that was previously required. For example defining the variable x = int8 (3) in the workspace, calls like range = [ intmin(class(x)), intmax(class(x)) ] can in Octave 5 be simplified to range = [ intmin(x), intmax(x) ]. The path handling functions no longer perform variable or brace expansion on path elements and Octave’s load-path is no longer subject to these expansions. A new printing device is available, "-ddumb", which produces ASCII art for plots. This device is only available with the gnuplot toolkit. # Dependencies The GUI requires Qt libraries. The minimum Qt4 version supported is Qt4.8. Qt5 of any version is preferred. The OSMesa library is no longer used. To print invisible figures when using OpenGL graphics, the Qt QOFFSCREENSURFACE feature must be available and you must use the qt graphics toolkit. The FFTW library is now required to perform FFT calculations. The FFTPACK sources have been removed from Octave. Matlab compatibility * Many improvements.
Diffstat (limited to 'math/octave/Makefile')
-rw-r--r--math/octave/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/math/octave/Makefile b/math/octave/Makefile
index c196f682978..f2cdf8598e9 100644
--- a/math/octave/Makefile
+++ b/math/octave/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.184 2018/12/26 10:45:46 adam Exp $
+# $NetBSD: Makefile,v 1.185 2019/03/05 11:11:12 ryoon Exp $
-DISTNAME= octave-4.4.1
-PKGREVISION= 6
+DISTNAME= octave-5.1.0
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_GNU:=octave/}
@@ -90,6 +89,11 @@ CFLAGS+= -fPIC
PREPEND_PATH+= ${QTDIR}/bin
+CHECK_WRKREF_SKIP+= lib/octave/5.1.0/liboctinterp.so*
+
+pre-configure:
+ cd ${WRKSRC} && autoconf
+
post-install:
.for f in ${OCTAVE_DOC}
${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/share/octave/${PKGVERSION_NOREV}/doc