pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/math/octave octave: updated to 7.2.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a34322bf4db6
branches:  trunk
changeset: 387194:a34322bf4db6
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Oct 24 18:02:18 2022 +0000

description:
octave: updated to 7.2.0

Summary of bugs fixed for version 7.2.0 (2022-07-28):
----------------------------------------------------

For

Improvements and fixes

- Avoid out-of-bounds indexing when checking for broadcastable inplace operators
- `hdl2struct.m`: Fix saving of `uibuttongroups`
- Fix `ls` with glob patterns on Windows
- `pkg.m`: Create directory before saving file
- `nchoosek.m`: Fix freeze-up for certain integer inputs
- `nchoosek.m`: Restore fast path code for floating point inputs
- `betainc.m`: Use sophisticated technique for calculating exponents to avoid inaccuracies
- `ls.m`: Fix handling of `\` on UNIX platforms
- `findobj.m`: Fix input validation of graphics handles
- `newplot.m`: Backed out changeset fdd58773ac02
- `__print_parse_opts__.m`: Initialize variables in all cases for print warnings
- `__wglob__`: Correctly handle `.` and `..` in patterns on Windows
- `datenum.m`: Correctly handle arrays with leading singleton dimensions
- Stop incorrect error when `reset()` called on `uimenu` handle
- Emit more informative error message on empty input when setting axis limits
- `msgbox.m`: Allow "custom" `cdata` for icon
- Fix memory leak with nested functions and anonymous functions
- `__wglob__`: Retain trailing file separator on Windows
- `pkg`: Avoid error when unlinking non-existent files
- `mkoctfile.m`: Trim whitespace (newline) around system output.
- `subplot.m`: Avoid error when mixing `rcn` and `"position"` calling form
- `plot`: Deprecate using numbers to select line colors
- Don't shut down interpreter immediately on `execute`
- `isprime.m` and `__isprimelarge__.cc`: Minor performance tweaks.
- `__wglob__`: Handle patterns with UNC paths on Windows
- Change wording of error message when using a variable as function
- `inputParser.m`: Adapt for interpreter changes regarding number of output arguments
- Store token ID, not keyword ID when parsing keywords
- `canonicalize_file_name`: Do not translate mapped network drive to UNC path
- `inputParser`: Correctly handle cell default values for optional parameters
- `factor.m`: Performance tweak to avoid division in certain cases.
- Fix regression with `\color[rgb]` TeX pattern
- `regexp`: Check pattern length before accessing it
- `pkg.m`: Create `PREFIX` and `ARCHPREFIX` directories
- `pkg`: Replace `OCTAVE_HOME` in `PREFIX` and `ARCHPREFIX` independently
- `randmtzig.cc`: Add missing `#include <ctime>`
- `pkg`: Fix formatting of `copyfile` message
- `pkg`: Escape special characters in `OCTAVE_HOME` for `regexprep`

GUI

- Fix removing trailing spaces on closing a modified file
- Replace use of deprecated `QDesktopWidget` in GUI.
- Fix display in Variable Editor when `fixed_point_format` is on
- Fix file length when saving shorter content in editor

Build system / Tests

- `addpref.m`: Recode test to work with multiple running instances of Octave.
- Don't leak build directories in installed directories
- Import `hash-buffer` modules from gnulib
- Remove `.dirstamp` files from `test/` directory with `maintainer-clean` target.
- Add tests for `__FILE__` and `__LINE__`

Documentation

- `datestr.m`: Fix minor typo.
- `ls.m`: Improve wording in docstring
- `dir.m`: Clarify wildcard behavior on Windows in docstring
- `memory.m`: Redo documentation to be formatted correctly in Info output.
- Document contracted `format` arguments
- `humps.m`: Fix mismatch between TeX docstring and non-TeX docstring.
- `warning_ids.m`: Add new warning ID `"Octave:deprecated-option"`.
- `primes.m`: Move code examples before math theory.
- `primes.m`: Mark variables in docstring with `@var{}` macro.
- Rewrite section on automatic type conversions
- `subsasgn`: Correct example code

diffstat:

 math/octave/Makefile                                            |    7 +-
 math/octave/PLIST                                               |  119 ++++++++-
 math/octave/distinfo                                            |   21 +-
 math/octave/patches/patch-Makefile.in                           |   32 ++
 math/octave/patches/patch-libgnu_stdio.in.h                     |   10 +-
 math/octave/patches/patch-libinterp_dldfcn_config-module.awk    |    4 +-
 math/octave/patches/patch-libinterp_dldfcn_module.mk            |    4 +-
 math/octave/patches/patch-m4_acinclude.m4                       |   12 +-
 math/octave/patches/patch-scripts_miscellaneous_unpack.m        |    8 +-
 math/octave/patches/patch-scripts_pkg_private_configure__make.m |    8 +-
 10 files changed, 175 insertions(+), 50 deletions(-)

diffs (truncated from 940 to 300 lines):

diff -r 2d3eb233ddd6 -r a34322bf4db6 math/octave/Makefile
--- a/math/octave/Makefile      Mon Oct 24 17:58:14 2022 +0000
+++ b/math/octave/Makefile      Mon Oct 24 18:02:18 2022 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.232 2022/09/11 12:51:09 wiz Exp $
+# $NetBSD: Makefile,v 1.233 2022/10/24 18:02:18 adam Exp $
 
-DISTNAME=      octave-6.4.0
-PKGREVISION=   6
+DISTNAME=      octave-7.2.0
 CATEGORIES=    math
 MASTER_SITES=  ${MASTER_SITE_GNU:=octave/}
 EXTRACT_SUFX=  .tar.xz
@@ -119,12 +118,14 @@
 .include "../../devel/pcre/buildlink3.mk"
 .include "../../devel/readline/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
+.include "../../fonts/fontconfig/buildlink3.mk"
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
 .include "../../graphics/gl2ps/buildlink3.mk"
 .include "../../math/arpack-ng/buildlink3.mk"
 .include "../../math/fftw/buildlink3.mk"
 .include "../../math/qrupdate/buildlink3.mk"
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../textproc/rapidjson/buildlink3.mk"
 .include "../../www/curl/buildlink3.mk"
 .include "../../x11/fltk13/buildlink3.mk"
 .include "../../x11/qt5-qtbase/buildlink3.mk"
diff -r 2d3eb233ddd6 -r a34322bf4db6 math/octave/PLIST
--- a/math/octave/PLIST Mon Oct 24 17:58:14 2022 +0000
+++ b/math/octave/PLIST Mon Oct 24 18:02:18 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.37 2021/12/15 17:20:57 adam Exp $
+@comment $NetBSD: PLIST,v 1.38 2022/10/24 18:02:18 adam Exp $
 bin/${PKGNAME}
 bin/mkoctfile
 bin/mkoctfile-${PKGVERSION}
@@ -7,6 +7,7 @@
 bin/octave-cli-${PKGVERSION}
 bin/octave-config
 bin/octave-config-${PKGVERSION}
+include/${PKGNAME}/octave/Array-fwd.h
 include/${PKGNAME}/octave/Array-util.h
 include/${PKGNAME}/octave/Array.cc
 include/${PKGNAME}/octave/Array.h
@@ -34,6 +35,7 @@
 include/${PKGNAME}/octave/EIG.h
 include/${PKGNAME}/octave/LSODE-opts.h
 include/${PKGNAME}/octave/LSODE.h
+include/${PKGNAME}/octave/MArray-fwd.h
 include/${PKGNAME}/octave/MArray.cc
 include/${PKGNAME}/octave/MArray.h
 include/${PKGNAME}/octave/MDiagArray2.cc
@@ -51,6 +53,7 @@
 include/${PKGNAME}/octave/Quad.h
 include/${PKGNAME}/octave/Range.h
 include/${PKGNAME}/octave/Sparse-diag-op-defs.h
+include/${PKGNAME}/octave/Sparse-fwd.h
 include/${PKGNAME}/octave/Sparse-op-decls.h
 include/${PKGNAME}/octave/Sparse-op-defs.h
 include/${PKGNAME}/octave/Sparse-perm-op-defs.h
@@ -59,10 +62,10 @@
 include/${PKGNAME}/octave/action-container.h
 include/${PKGNAME}/octave/aepbalance.h
 include/${PKGNAME}/octave/anon-fcn-validator.h
+include/${PKGNAME}/octave/auto-shlib.h
 include/${PKGNAME}/octave/base-dae.h
 include/${PKGNAME}/octave/base-de.h
 include/${PKGNAME}/octave/base-list.h
-include/${PKGNAME}/octave/base-min.h
 include/${PKGNAME}/octave/base-text-renderer.h
 include/${PKGNAME}/octave/boolMatrix.h
 include/${PKGNAME}/octave/boolNDArray.h
@@ -78,6 +81,7 @@
 include/${PKGNAME}/octave/call-stack.h
 include/${PKGNAME}/octave/caseless-str.h
 include/${PKGNAME}/octave/cdef-class.h
+include/${PKGNAME}/octave/cdef-fwd.h
 include/${PKGNAME}/octave/cdef-manager.h
 include/${PKGNAME}/octave/cdef-method.h
 include/${PKGNAME}/octave/cdef-object.h
@@ -138,11 +142,11 @@
 include/${PKGNAME}/octave/gl2ps-print.h
 include/${PKGNAME}/octave/glob-match.h
 include/${PKGNAME}/octave/graphics-handle.h
-include/${PKGNAME}/octave/graphics-props.cc
 include/${PKGNAME}/octave/graphics-toolkit.h
 include/${PKGNAME}/octave/graphics.h
 include/${PKGNAME}/octave/gsvd.h
 include/${PKGNAME}/octave/gtk-manager.h
+include/${PKGNAME}/octave/gzfstream.h
 include/${PKGNAME}/octave/help.h
 include/${PKGNAME}/octave/hess.h
 include/${PKGNAME}/octave/hook-fcn.h
@@ -152,12 +156,11 @@
 include/${PKGNAME}/octave/int32NDArray.h
 include/${PKGNAME}/octave/int64NDArray.h
 include/${PKGNAME}/octave/int8NDArray.h
+include/${PKGNAME}/octave/intNDArray-fwd.h
 include/${PKGNAME}/octave/intNDArray.cc
 include/${PKGNAME}/octave/intNDArray.h
 include/${PKGNAME}/octave/interpreter.h
-include/${PKGNAME}/octave/jit-ir.h
-include/${PKGNAME}/octave/jit-typeinfo.h
-include/${PKGNAME}/octave/jit-util.h
+include/${PKGNAME}/octave/latex-text-renderer.h
 include/${PKGNAME}/octave/lex.h
 include/${PKGNAME}/octave/liboctave-build-info.h
 include/${PKGNAME}/octave/liboctinterp-build-info.h
@@ -267,6 +270,7 @@
 include/${PKGNAME}/octave/mx-fs-ui32nda.h
 include/${PKGNAME}/octave/mx-fs-ui64nda.h
 include/${PKGNAME}/octave/mx-fs-ui8nda.h
+include/${PKGNAME}/octave/mx-fwd.h
 include/${PKGNAME}/octave/mx-i16-fnda.h
 include/${PKGNAME}/octave/mx-i16-i32nda.h
 include/${PKGNAME}/octave/mx-i16-i64nda.h
@@ -417,6 +421,7 @@
 include/${PKGNAME}/octave/mx-s-ui32nda.h
 include/${PKGNAME}/octave/mx-s-ui64nda.h
 include/${PKGNAME}/octave/mx-s-ui8nda.h
+include/${PKGNAME}/octave/mx-type-traits.h
 include/${PKGNAME}/octave/mx-ui16-fnda.h
 include/${PKGNAME}/octave/mx-ui16-i16nda.h
 include/${PKGNAME}/octave/mx-ui16-i32nda.h
@@ -526,6 +531,7 @@
 include/${PKGNAME}/octave/mx-ui8nda-ui64.h
 include/${PKGNAME}/octave/mx-ui8nda-ui64nda.h
 include/${PKGNAME}/octave/mxarray.h
+include/${PKGNAME}/octave/mxtypes.h
 include/${PKGNAME}/octave/oct-atomic.h
 include/${PKGNAME}/octave/oct-base64.h
 include/${PKGNAME}/octave/oct-binmap.h
@@ -548,7 +554,7 @@
 include/${PKGNAME}/octave/oct-map.h
 include/${PKGNAME}/octave/oct-mutex.h
 include/${PKGNAME}/octave/oct-norm.h
-include/${PKGNAME}/octave/oct-passwd.h
+include/${PKGNAME}/octave/oct-password.h
 include/${PKGNAME}/octave/oct-prcstrm.h
 include/${PKGNAME}/octave/oct-procbuf.h
 include/${PKGNAME}/octave/oct-process.h
@@ -611,10 +617,13 @@
 include/${PKGNAME}/octave/ov-intx.h
 include/${PKGNAME}/octave/ov-java.h
 include/${PKGNAME}/octave/ov-lazy-idx.h
+include/${PKGNAME}/octave/ov-legacy-range.h
+include/${PKGNAME}/octave/ov-magic-int.h
 include/${PKGNAME}/octave/ov-mex-fcn.h
 include/${PKGNAME}/octave/ov-null-mat.h
 include/${PKGNAME}/octave/ov-oncleanup.h
 include/${PKGNAME}/octave/ov-perm.h
+include/${PKGNAME}/octave/ov-range-traits.h
 include/${PKGNAME}/octave/ov-range.h
 include/${PKGNAME}/octave/ov-re-diag.h
 include/${PKGNAME}/octave/ov-re-mat.h
@@ -640,6 +649,7 @@
 include/${PKGNAME}/octave/pt-all.h
 include/${PKGNAME}/octave/pt-anon-scopes.h
 include/${PKGNAME}/octave/pt-arg-list.h
+include/${PKGNAME}/octave/pt-args-block.h
 include/${PKGNAME}/octave/pt-array-list.h
 include/${PKGNAME}/octave/pt-assign.h
 include/${PKGNAME}/octave/pt-binop.h
@@ -658,13 +668,13 @@
 include/${PKGNAME}/octave/pt-fcn-handle.h
 include/${PKGNAME}/octave/pt-id.h
 include/${PKGNAME}/octave/pt-idx.h
-include/${PKGNAME}/octave/pt-jit.h
 include/${PKGNAME}/octave/pt-jump.h
 include/${PKGNAME}/octave/pt-loop.h
 include/${PKGNAME}/octave/pt-mat.h
 include/${PKGNAME}/octave/pt-misc.h
 include/${PKGNAME}/octave/pt-pr-code.h
 include/${PKGNAME}/octave/pt-select.h
+include/${PKGNAME}/octave/pt-spmd.h
 include/${PKGNAME}/octave/pt-stmt.h
 include/${PKGNAME}/octave/pt-tm-const.h
 include/${PKGNAME}/octave/pt-unop.h
@@ -676,6 +686,7 @@
 include/${PKGNAME}/octave/randgamma.h
 include/${PKGNAME}/octave/randmtzig.h
 include/${PKGNAME}/octave/randpoisson.h
+include/${PKGNAME}/octave/range-fwd.h
 include/${PKGNAME}/octave/schur.h
 include/${PKGNAME}/octave/settings.h
 include/${PKGNAME}/octave/sighandlers.h
@@ -701,7 +712,6 @@
 include/${PKGNAME}/octave/sparse-dmsolve.h
 include/${PKGNAME}/octave/sparse-lu.h
 include/${PKGNAME}/octave/sparse-qr.h
-include/${PKGNAME}/octave/sparse-sort.h
 include/${PKGNAME}/octave/sparse-util.h
 include/${PKGNAME}/octave/sparse-xdiv.h
 include/${PKGNAME}/octave/sparse-xpow.h
@@ -716,7 +726,6 @@
 include/${PKGNAME}/octave/text-engine.h
 include/${PKGNAME}/octave/text-renderer.h
 include/${PKGNAME}/octave/token.h
-include/${PKGNAME}/octave/txt-eng.h
 include/${PKGNAME}/octave/uint16NDArray.h
 include/${PKGNAME}/octave/uint32NDArray.h
 include/${PKGNAME}/octave/uint64NDArray.h
@@ -755,7 +764,6 @@
 include/${PKGNAME}/octave/xdiv.h
 include/${PKGNAME}/octave/xnorm.h
 include/${PKGNAME}/octave/xpow.h
-include/${PKGNAME}/octave/zfstream.h
 info/liboctave.info
 info/octave.info
 lib/octave/${PKGVERSION}/__delaunayn__.a
@@ -814,6 +822,7 @@
 share/icons/hicolor/scalable/apps/octave.svg
 share/metainfo/org.octave.Octave.appdata.xml
 share/octave/${PKGVERSION}/data/penny.mat
+share/octave/${PKGVERSION}/data/west0479.mat
 share/octave/${PKGVERSION}/doc/liboctave.pdf
 share/octave/${PKGVERSION}/doc/octave.pdf
 share/octave/${PKGVERSION}/doc/octave_interpreter.qch
@@ -824,7 +833,6 @@
 share/octave/${PKGVERSION}/etc/CITATION
 share/octave/${PKGVERSION}/etc/NEWS
 share/octave/${PKGVERSION}/etc/built-in-docstrings
-share/octave/${PKGVERSION}/etc/default-qt-settings
 share/octave/${PKGVERSION}/etc/doc-cache
 share/octave/${PKGVERSION}/etc/macros.texi
 share/octave/${PKGVERSION}/etc/profiler/flat.html
@@ -869,6 +877,7 @@
 share/octave/${PKGVERSION}/etc/tests/fixed/bug-38691/dir2/func1.m
 share/octave/${PKGVERSION}/etc/tests/fixed/bug-38691/dir2/func2.m
 share/octave/${PKGVERSION}/etc/tests/fixed/bug-38691/dir2/func3.m
+share/octave/${PKGVERSION}/etc/tests/fixed/bug-40117.tst
 share/octave/${PKGVERSION}/etc/tests/fixed/bug-41723/bug-41723.tst
 share/octave/${PKGVERSION}/etc/tests/fixed/bug-41723/class_bug41723.m
 share/octave/${PKGVERSION}/etc/tests/fixed/bug-44940/bug-44940.tst
@@ -948,6 +957,8 @@
 share/octave/${PKGVERSION}/etc/tests/fixed/bug-55322.tst
 share/octave/${PKGVERSION}/etc/tests/fixed/bug-55758/bug-55758.tst
 share/octave/${PKGVERSION}/etc/tests/fixed/bug-55758/class_bug_55758.m
+share/octave/${PKGVERSION}/etc/tests/fixed/bug-56068/bug-56068.tst
+share/octave/${PKGVERSION}/etc/tests/fixed/bug-56068/bug_56068.m
 share/octave/${PKGVERSION}/etc/tests/fixed/bug-58572/bug-58572.tst
 share/octave/${PKGVERSION}/etc/tests/fixed/bug-58572/bug58572.m
 share/octave/${PKGVERSION}/etc/tests/fixed/bug-58593/bug-58593.tst
@@ -968,14 +979,18 @@
 share/octave/${PKGVERSION}/etc/tests/fixed/bug-59704/bug59704_2.m
 share/octave/${PKGVERSION}/etc/tests/fixed/bug-59937/bug-59937.tst
 share/octave/${PKGVERSION}/etc/tests/fixed/bug-59937/eval_global_script.m
+share/octave/${PKGVERSION}/etc/tests/fixed/bug-59950.tst
 share/octave/${PKGVERSION}/etc/tests/fixed/bug-60237/bug-60237.tst
 share/octave/${PKGVERSION}/etc/tests/fixed/bug-60237/bug_60237.m
+share/octave/${PKGVERSION}/etc/tests/fixed/bug-60882/bug-60882.tst
+share/octave/${PKGVERSION}/etc/tests/fixed/bug-60882/bug_60882.m
 share/octave/${PKGVERSION}/etc/tests/fixed/bug-61105/bug-61105.tst
 share/octave/${PKGVERSION}/etc/tests/fixed/bug-61105/nested_test_1.m
 share/octave/${PKGVERSION}/etc/tests/fixed/bug-61105/nested_test_2.m
 share/octave/${PKGVERSION}/etc/tests/fixed/bug-61105/nested_test_3.m
 share/octave/${PKGVERSION}/etc/tests/fixed/bug-61191/bug-61191.tst
 share/octave/${PKGVERSION}/etc/tests/fixed/bug-61191/subdir/bug_61191.m
+share/octave/${PKGVERSION}/etc/tests/fixed/bug-61201.tst
 share/octave/${PKGVERSION}/etc/tests/fixed/class-concat/@foo/foo.m
 share/octave/${PKGVERSION}/etc/tests/fixed/class-concat/class-concat.tst
 share/octave/${PKGVERSION}/etc/tests/fixed/classdef-multiple-inheritance/base_1.m
@@ -983,6 +998,7 @@
 share/octave/${PKGVERSION}/etc/tests/fixed/classdef-multiple-inheritance/child_from_base_1.m
 share/octave/${PKGVERSION}/etc/tests/fixed/classdef-multiple-inheritance/child_from_base_1_and_2.m
 share/octave/${PKGVERSION}/etc/tests/fixed/classdef-multiple-inheritance/classdef-multiple-inheritance.tst
+share/octave/${PKGVERSION}/etc/tests/fixed/classdef/bug_60763.m
 share/octave/${PKGVERSION}/etc/tests/fixed/classdef/class_bug52614A.m
 share/octave/${PKGVERSION}/etc/tests/fixed/classdef/class_bug52614B.m
 share/octave/${PKGVERSION}/etc/tests/fixed/classdef/class_bug55766.m
@@ -1094,6 +1110,10 @@
 share/octave/${PKGVERSION}/etc/tests/fixed/classes/@Spork/saveobj.m
 share/octave/${PKGVERSION}/etc/tests/fixed/classes/@Spork/set.m
 share/octave/${PKGVERSION}/etc/tests/fixed/classes/classes.tst
+share/octave/${PKGVERSION}/etc/tests/fixed/colon-op/@legacy_colon_op/colon.m
+share/octave/${PKGVERSION}/etc/tests/fixed/colon-op/@legacy_colon_op/legacy_colon_op.m
+share/octave/${PKGVERSION}/etc/tests/fixed/colon-op/colon-op.tst
+share/octave/${PKGVERSION}/etc/tests/fixed/colon-op/colon_op.m
 share/octave/${PKGVERSION}/etc/tests/fixed/colormaps.tst
 share/octave/${PKGVERSION}/etc/tests/fixed/command.tst
 share/octave/${PKGVERSION}/etc/tests/fixed/complex.tst
@@ -1148,7 +1168,11 @@
 share/octave/${PKGVERSION}/etc/tests/fixed/inline-fcn.tst
 share/octave/${PKGVERSION}/etc/tests/fixed/integer.tst
 share/octave/${PKGVERSION}/etc/tests/fixed/io.tst
-share/octave/${PKGVERSION}/etc/tests/fixed/jit.tst
+share/octave/${PKGVERSION}/etc/tests/fixed/json/jsondecode_BIST.tst
+share/octave/${PKGVERSION}/etc/tests/fixed/json/jsonencode_BIST.tst
+share/octave/${PKGVERSION}/etc/tests/fixed/jupyter-notebook/jupyter-notebook.tst
+share/octave/${PKGVERSION}/etc/tests/fixed/jupyter-notebook/octave_kernel.ipynb
+share/octave/${PKGVERSION}/etc/tests/fixed/jupyter-notebook/plot_magic_and_errors.ipynb
 share/octave/${PKGVERSION}/etc/tests/fixed/leftdiv.tst
 share/octave/${PKGVERSION}/etc/tests/fixed/line-continue.tst
 share/octave/${PKGVERSION}/etc/tests/fixed/local-functions/local_function_eval.m
@@ -1209,6 +1233,7 @@
 share/octave/${PKGVERSION}/etc/tests/fixed/return.tst
 share/octave/${PKGVERSION}/etc/tests/fixed/single-index.tst
 share/octave/${PKGVERSION}/etc/tests/fixed/slice.tst
+share/octave/${PKGVERSION}/etc/tests/fixed/sparse-assign.tst



Home | Main Index | Thread Index | Old Index