pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/octave



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed May 31 21:37:51 UTC 2023

Modified Files:
        pkgsrc/math/octave: Makefile PLIST distinfo
        pkgsrc/math/octave/patches: patch-Makefile.in patch-m4_acinclude.m4

Log Message:
octave: updated to 8.2.0

Summary of bugs fixed for version 8.2.0 (2023-04-13):
----------------------------------------------------

### Improvements and fixes
- `pr-output.cc`: Fix output for `format native-bit`
- Fix evaluation of `&` and `|` expressions in conditional contexts (bug
  #63935).
- Avoid clang warning about very unlikely buffer overflow.
- `mpoles.m`: Overhaul function and use absolute tolerance for zero poles

- `perms.m`: Change `"unique"` output order to reverse lexicographic to
  match non-unique order
- Remove trailing `'\r'` from curl dir list
- `fopen`: Use "UTF-8" as default encoding for `fopen`
- Don't use encoding facet when writing bytes to stream
- `fopen`, `unicode2native`: Fix converting the encoding of short char
  arrays with invalid UTF-8
- `fopen`: Try to gather complete UTF-8 surrogates when converting
  encoding
- Fix display of scalar complex variables with mixed `Inf`/`NaN` and
  floating point values
- `fopen`: Do not convert encoding for file streams with libc++

### GUI
- Speedup loading and saving preferences dialog

### Build system / Tests
- `inpolygon.m`: Fix demo code
- `if.tst`: New test for bug #63935.
- `acinclude.m4`: Correct typo in `#define PCRE2_CODE_UNIT_WIDTH`.
- `lu`: Add self-test with complex valued input.
- Disable visibility flags by default
- Check whether using STL from LLVM or Apple

### Documentation
- Improve documentation for `linspace` and `logspace` functions.
- Correct and improve documentation for `sparse()` function.

Summary of important user-visible changes for version 8 (2023-03-07):
--------------------------------------------------------------------

### General improvements

- Octave's libraries are now built using symbol visibility by default.
  That means that fewer symbols are exported from these libraries.
  Configure with `--disable-lib-visibility-flags` to export all symbols
  (as in previous versions).

- `filter` is now 5X faster, which also speeds up `deconv`, `fftfilt`
  and `arma_rnd` by the same amount.

- `integral` can now return a second argument containing the error
  estimate from the underlying integrator.

- `perms` now accepts a second argument "unique" to return only unique
  permutations for inputs with repeated elements.  It is faster and
  takes less memory to call `perms ('aaaabbbbcccc', "unique")` than to
  call `unique (perms ('aaaabbbbcccc'), "rows")`.

- `quadgk` can now accept the `ArrayValued` input parameter to handle
  array-valued input functions.

- `delaunayn` now has consistent trivial simplex checking and removal
  for all input dimensions, simplex checking 3D inputs is now
  vectorized, and >3D simplex checking performance has been improved.
  Simplexes points are now ordered so they will all have positive
  outward normal vectors.  Input type checking has also been added for
  improved error handling.

- `factor` now factorizes all 64-bit integers in roughly the same time.
  Previously, the product of two large primes took much longer to factorize
  than highly composite inputs.

- `Refine` option is now implemented in functions `ode45`, `ode23`,
  and `ode23s`.

- Octave is now compatible with PCRE2 (UTF-8).  PCRE2 is preferred over PCRE
  if both are installed.  Configure with `--without-pcre2` if you prefer Octave
  to use PCRE in this case.

- `mean` now internally processes data as type double to reduce likelihood of
hitting overflow or precision limits with other types

### Graphical User Interface

- The GUI has a dark style and several new icons in toolbars for better
  visibility and higher contrast.

- A new terminal widget has been added for the GUI.  It is still experimental
  and is disabled by default.  It can be enabled with the command line
  parameter `--experimental-terminal-widget`.

- More fonts for the documentation browser are included.

### Graphics backend

- When printing, the option `-svgconvert` is now the default.  If you want to
use the more limited EPS-based tool chain (the former default)—e.g., if
you encounter inaccurate image rendering—you can pass the `-nosvgconvert`
option to the `print` function.

- Additional properties have been added to the `figure` graphics object:
    * `"innerposition"` (equivalent to `"position"`)
    * `"windowstate"` (not yet implemented)

- Legend now features a new property `"itemhitfcn"`, allowing the
  execution of a callback function when a legend item is clicked.

### Matlab compatibility

- `inline` functions now support all Matlab methods.  The performance
  of `inline` functions has also been improved.

- `sub2ind` now supports index values outside of the size specified by
  the subscripts.

- `cylinder` now accepts a scalar for the radius argument.

- `clock` now has an optional second output `ISDST` which indicates if
  Daylight Savings Time is in effect for the system's time zone.

- `print` now accepts option `-image` to specify the "opengl" renderer
  and `-vector` to specify the "painters" renderer.

- `format` now accepts the option "default", which is equivalent to
  calling `format` without any options to reset the default state.

- `quadgk` now stops iterating when `error <= tolerance` while the previous
  condition was `error < tolerance`.

- `mean` now accepts vector dimensions and options to handle `NaN` values.
  The option `"a"` (arithmetic mean), `"g"` (geometric mean), and `"h"`
  (harmonic mean) are no longer accepted, only the arithmetic mean is computed.
  For the geometric and harmonic mean, please use respective functions
  `geomean` and `harmmean` from the Octave Statistics package.

- `var` and `std` now optionally output a second argument containing the mean
  or weighted mean.

- `integral` can now accept the 'ArrayValued' option in combination with
  'RelTol' and 'WayPoints'.

- File system operations that remove files (e.g., `unlink` or `rmdir`) now also
  remove files that have their read-only file attribute set on Windows.

- The default state for certain graphics properties has been made
  consistent with Matlab.

        Object      | Property         | Default State
        ------------|------------------|------------
        figure      | "dockcontrols"   | "on"

- `ode45`, `ode23`, and `ode23s` have improved results for options `Events`,
  `OutputFcn`, and `Refine`, along with corrected orientation of struct
  outputs.

- *Early notice of future breaking changes*:  Due to many user requests that
  Octave should have a Matlab-compatible string class, there is work under way
  to implement a string class that will differ from a vector of characters.  In
  Octave, single-quoted character arrays are currently compatible with Matlab,
  but double-quoted forms are not.  Currently in Octave, both 'foo' and "foo"
  are largely interchangeable, barring certain escape sequence interpretations
  such as "\n" (converted to a single newline character) as opposed to '\n'
  (two separate characters).  Matlab’s single-quoted character arrays and
  double-quoted strings do not process backslash escape sequences, unlike many
  other languages, and those escape sequences are instead processed by
  individual functions such as `fprintf`.

  Octave's behavior is likely to change in future as a consequence of
  implementing Matlab-style string syntax.  For example, 'foo' will remain a
  three-element character vector, but "foo" will become a single-element string
  object.  Some backslash escape sequences are likely to differ from their
  current Octave behavior, but will achieve greater Matlab compatibility.  The
  exact implementation is a work in progress, and may or may not include
  methods of preserving backward compatibility.

  *What this means for user code*: If your code currently relies on
  double-quoted strings (e.g., "foo") representing character vectors as
  opposed to string objects, and if you intend to update to a future version of
  Octave incorporating the above changes, then consider replacing all
  double-quoted strings with single-quoted strings in your code over time
  (e.g., replace "foo" with 'foo'). Single-quoted strings are expected to
  retain current behavior.  Further, if your code relies on backslash escape
  sequence interpretation in double-quoted strings (except for special cases
  like the `printf` family), that code may need to change as well.

### Alphabetical list of new functions added in Octave 8

* `clearAllMemoizedCaches`
* `matlab.lang.MemoizedFunction`
* `memoize`
* `normalize`
* `pagectranspose`
* `pagetranspose`
* `uifigure`

### Deprecated functions, properties, and operators

The following functions and properties have been deprecated in Octave 8
and will be removed from Octave 10 (or whatever version is the second
major release after 8):

- Functions

        Function               | Replacement
        -----------------------|------------------
        shift                  | circshift
        sparse_auto_mutate     | none (see below)

- The `sparse_auto_mutate` function no longer has any effect on Octave's
  behavior.  Previously, after calling `sparse_auto_mutate (true)`,
  Octave would automatically convert sparse matrices to full when a
  sparse matrix required more memory than simply using full matrix
  storage.  This setting was `false` by default for compatibility with
  Matlab.  Now you must manually convert to full storage when desired.

- Properties

  The following property names are discouraged, but there is no fixed
  date for their removal.

        Object           | Property    | Replacement
        -----------------|-------------|------------
        uimenu           | label       | text
        uimenu           | callback    | menuselectedfcn

The following functions were deprecated in Octave 6 and have been removed
from Octave 8.

- Functions

        Function     | Replacement
        -------------|------------
        runtests     | oruntests

- The environment variable used by `mkoctfile` for linker flags is now
  `LDFLAGS` rather than `LFLAGS`.  `LFLAGS` was deprecated in Octave 6,
  and will be removed in a future version of Octave.

Summary of bugs fixed for version 8.1.0 (2023-01-22):
----------------------------------------------------

- Improved input validation and/or output handling for `poly`, `pinv`, `patch`,
  `fill`, `fill3`, `qp`, `datevec`, `textscan`, `sub2ind`, `qr`, `airy`,
  `regexp`, `dec2bin`, `dec2hex`, `mean`, and many others.
- Improved performance for `complex`, `fftw`, `delaunayn`, `isfield`, `tsearch`,
  sparse matrix exponentiation, other sparse operations, and many others.
- Overhauled `@audiorecorder` and `@audioplayer` classes.


To generate a diff of this commit:
cvs rdiff -u -r1.242 -r1.243 pkgsrc/math/octave/Makefile
cvs rdiff -u -r1.39 -r1.40 pkgsrc/math/octave/PLIST
cvs rdiff -u -r1.66 -r1.67 pkgsrc/math/octave/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/math/octave/patches/patch-Makefile.in
cvs rdiff -u -r1.5 -r1.6 pkgsrc/math/octave/patches/patch-m4_acinclude.m4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/octave/Makefile
diff -u pkgsrc/math/octave/Makefile:1.242 pkgsrc/math/octave/Makefile:1.243
--- pkgsrc/math/octave/Makefile:1.242   Mon May 22 21:00:36 2023
+++ pkgsrc/math/octave/Makefile Wed May 31 21:37:51 2023
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.242 2023/05/22 21:00:36 wiz Exp $
+# $NetBSD: Makefile,v 1.243 2023/05/31 21:37:51 adam Exp $
 
-DISTNAME=      octave-7.3.0
-PKGREVISION=   7
+DISTNAME=      octave-8.2.0
 CATEGORIES=    math
 MASTER_SITES=  ${MASTER_SITE_GNU:=octave/}
 EXTRACT_SUFX=  .tar.xz

Index: pkgsrc/math/octave/PLIST
diff -u pkgsrc/math/octave/PLIST:1.39 pkgsrc/math/octave/PLIST:1.40
--- pkgsrc/math/octave/PLIST:1.39       Sun Nov  6 17:02:55 2022
+++ pkgsrc/math/octave/PLIST    Wed May 31 21:37:51 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.39 2022/11/06 17:02:55 adam Exp $
+@comment $NetBSD: PLIST,v 1.40 2023/05/31 21:37:51 adam Exp $
 bin/${PKGNAME}
 bin/mkoctfile
 bin/mkoctfile-${PKGVERSION}
@@ -7,7 +7,9 @@ bin/octave-cli
 bin/octave-cli-${PKGVERSION}
 bin/octave-config
 bin/octave-config-${PKGVERSION}
+include/${PKGNAME}/octave/Array-base.cc
 include/${PKGNAME}/octave/Array-fwd.h
+include/${PKGNAME}/octave/Array-oct.cc
 include/${PKGNAME}/octave/Array-util.h
 include/${PKGNAME}/octave/Array.cc
 include/${PKGNAME}/octave/Array.h
@@ -168,7 +170,6 @@ include/${PKGNAME}/octave/lo-amos-proto.
 include/${PKGNAME}/octave/lo-arpack-proto.h
 include/${PKGNAME}/octave/lo-array-errwarn.h
 include/${PKGNAME}/octave/lo-blas-proto.h
-include/${PKGNAME}/octave/lo-cutils.h
 include/${PKGNAME}/octave/lo-error.h
 include/${PKGNAME}/octave/lo-hash.h
 include/${PKGNAME}/octave/lo-ieee.h
@@ -536,6 +537,7 @@ include/${PKGNAME}/octave/oct-atomic.h
 include/${PKGNAME}/octave/oct-base64.h
 include/${PKGNAME}/octave/oct-binmap.h
 include/${PKGNAME}/octave/oct-cmplx.h
+include/${PKGNAME}/octave/oct-conf-post-public.h
 include/${PKGNAME}/octave/oct-convn.h
 include/${PKGNAME}/octave/oct-env.h
 include/${PKGNAME}/octave/oct-errno.h
@@ -1162,6 +1164,11 @@ share/octave/${PKGVERSION}/etc/tests/fix
 share/octave/${PKGVERSION}/etc/tests/fixed/fcn-handle/shared-ctx.tst
 share/octave/${PKGVERSION}/etc/tests/fixed/fcn-handle/shared_ctx.m
 share/octave/${PKGVERSION}/etc/tests/fixed/fcn-handle/static-method.tst
+share/octave/${PKGVERSION}/etc/tests/fixed/file-encoding/.oct-config
+share/octave/${PKGVERSION}/etc/tests/fixed/file-encoding/CP1251/.oct-config
+share/octave/${PKGVERSION}/etc/tests/fixed/file-encoding/CP1251/test_CP1251.m
+share/octave/${PKGVERSION}/etc/tests/fixed/file-encoding/file-encoding.tst
+share/octave/${PKGVERSION}/etc/tests/fixed/file-encoding/test_CP1252.m
 share/octave/${PKGVERSION}/etc/tests/fixed/for.tst
 share/octave/${PKGVERSION}/etc/tests/fixed/func.tst
 share/octave/${PKGVERSION}/etc/tests/fixed/global.tst
@@ -1315,6 +1322,7 @@ share/octave/${PKGVERSION}/etc/tests/lib
 share/octave/${PKGVERSION}/etc/tests/libinterp/corefcn/ordqz.cc-tst
 share/octave/${PKGVERSION}/etc/tests/libinterp/corefcn/ordschur.cc-tst
 share/octave/${PKGVERSION}/etc/tests/libinterp/corefcn/pinv.cc-tst
+share/octave/${PKGVERSION}/etc/tests/libinterp/corefcn/pow2.cc-tst
 share/octave/${PKGVERSION}/etc/tests/libinterp/corefcn/pr-output.cc-tst
 share/octave/${PKGVERSION}/etc/tests/libinterp/corefcn/psi.cc-tst
 share/octave/${PKGVERSION}/etc/tests/libinterp/corefcn/qr.cc-tst
@@ -1358,7 +1366,6 @@ share/octave/${PKGVERSION}/etc/tests/lib
 share/octave/${PKGVERSION}/etc/tests/libinterp/dldfcn/convhulln.cc-tst
 share/octave/${PKGVERSION}/etc/tests/libinterp/dldfcn/fftw.cc-tst
 share/octave/${PKGVERSION}/etc/tests/libinterp/dldfcn/gzip.cc-tst
-share/octave/${PKGVERSION}/etc/tests/libinterp/octave-value/ov-base.cc-tst
 share/octave/${PKGVERSION}/etc/tests/libinterp/octave-value/ov-bool-mat.cc-tst
 share/octave/${PKGVERSION}/etc/tests/libinterp/octave-value/ov-cell.cc-tst
 share/octave/${PKGVERSION}/etc/tests/libinterp/octave-value/ov-class.cc-tst
@@ -1384,7 +1391,7 @@ share/octave/${PKGVERSION}/etc/tests/lib
 share/octave/${PKGVERSION}/etc/tests/libinterp/parse-tree/pt-fcn-handle.cc-tst
 share/octave/${PKGVERSION}/etc/tests/libinterp/parse-tree/pt-idx.cc-tst
 share/octave/${PKGVERSION}/etc/tests/libinterp/parse-tree/pt-tm-const.cc-tst
-share/octave/${PKGVERSION}/etc/tests/liboctave/array/Array.cc-tst
+share/octave/${PKGVERSION}/etc/tests/liboctave/array/Array-base.cc-tst
 share/octave/${PKGVERSION}/etc/tests/liboctave/array/CMatrix.cc-tst
 share/octave/${PKGVERSION}/etc/tests/liboctave/array/CSparse.cc-tst
 share/octave/${PKGVERSION}/etc/tests/liboctave/array/Sparse.cc-tst
@@ -1394,6 +1401,10 @@ share/octave/${PKGVERSION}/etc/tests/lib
 share/octave/${PKGVERSION}/etc/tests/liboctave/array/fMatrix.cc-tst
 share/octave/${PKGVERSION}/etc/tests/liboctave/array/idx-vector.cc-tst
 share/octave/${PKGVERSION}/etc/tests/liboctave/util/oct-inttypes.cc-tst
+share/octave/${PKGVERSION}/fonts/FreeMono.otf
+share/octave/${PKGVERSION}/fonts/FreeMonoBold.otf
+share/octave/${PKGVERSION}/fonts/FreeMonoBoldOblique.otf
+share/octave/${PKGVERSION}/fonts/FreeMonoOblique.otf
 share/octave/${PKGVERSION}/fonts/FreeSans.otf
 share/octave/${PKGVERSION}/fonts/FreeSansBold.otf
 share/octave/${PKGVERSION}/fonts/FreeSansBoldOblique.otf
@@ -1421,6 +1432,7 @@ share/octave/${PKGVERSION}/locale/tr_TR.
 share/octave/${PKGVERSION}/locale/uk_UA.qm
 share/octave/${PKGVERSION}/locale/zh_CN.qm
 share/octave/${PKGVERSION}/m/+containers/Map.m
+share/octave/${PKGVERSION}/m/+matlab/+lang/MemoizedFunction.m
 share/octave/${PKGVERSION}/m/+matlab/+lang/makeUniqueStrings.m
 share/octave/${PKGVERSION}/m/+matlab/+lang/makeValidName.m
 share/octave/${PKGVERSION}/m/+matlab/+net/base64decode.m
@@ -1479,7 +1491,8 @@ share/octave/${PKGVERSION}/m/deprecated/
 share/octave/${PKGVERSION}/m/deprecated/disable_diagonal_matrix.m
 share/octave/${PKGVERSION}/m/deprecated/disable_permutation_matrix.m
 share/octave/${PKGVERSION}/m/deprecated/disable_range.m
-share/octave/${PKGVERSION}/m/deprecated/runtests.m
+share/octave/${PKGVERSION}/m/deprecated/shift.m
+share/octave/${PKGVERSION}/m/deprecated/sparse_auto_mutate.m
 share/octave/${PKGVERSION}/m/elfun/.oct-config
 share/octave/${PKGVERSION}/m/elfun/acosd.m
 share/octave/${PKGVERSION}/m/elfun/acot.m
@@ -1549,6 +1562,8 @@ share/octave/${PKGVERSION}/m/general/ise
 share/octave/${PKGVERSION}/m/general/logspace.m
 share/octave/${PKGVERSION}/m/general/nextpow2.m
 share/octave/${PKGVERSION}/m/general/num2str.m
+share/octave/${PKGVERSION}/m/general/pagectranspose.m
+share/octave/${PKGVERSION}/m/general/pagetranspose.m
 share/octave/${PKGVERSION}/m/general/pol2cart.m
 share/octave/${PKGVERSION}/m/general/polyarea.m
 share/octave/${PKGVERSION}/m/general/postpad.m
@@ -1567,7 +1582,6 @@ share/octave/${PKGVERSION}/m/general/res
 share/octave/${PKGVERSION}/m/general/rng.m
 share/octave/${PKGVERSION}/m/general/rot90.m
 share/octave/${PKGVERSION}/m/general/rotdim.m
-share/octave/${PKGVERSION}/m/general/shift.m
 share/octave/${PKGVERSION}/m/general/shiftdim.m
 share/octave/${PKGVERSION}/m/general/sortrows.m
 share/octave/${PKGVERSION}/m/general/sph2cart.m
@@ -1622,6 +1636,7 @@ share/octave/${PKGVERSION}/m/gui/setappd
 share/octave/${PKGVERSION}/m/gui/uibuttongroup.m
 share/octave/${PKGVERSION}/m/gui/uicontextmenu.m
 share/octave/${PKGVERSION}/m/gui/uicontrol.m
+share/octave/${PKGVERSION}/m/gui/uifigure.m
 share/octave/${PKGVERSION}/m/gui/uigetdir.m
 share/octave/${PKGVERSION}/m/gui/uigetfile.m
 share/octave/${PKGVERSION}/m/gui/uimenu.m
@@ -1735,12 +1750,20 @@ share/octave/${PKGVERSION}/m/java/javarm
 share/octave/${PKGVERSION}/m/java/usejava.m
 share/octave/${PKGVERSION}/m/legacy/.oct-config
 share/octave/${PKGVERSION}/m/legacy/@inline/argnames.m
+share/octave/${PKGVERSION}/m/legacy/@inline/cat.m
 share/octave/${PKGVERSION}/m/legacy/@inline/char.m
+share/octave/${PKGVERSION}/m/legacy/@inline/disp.m
+share/octave/${PKGVERSION}/m/legacy/@inline/exist.m
 share/octave/${PKGVERSION}/m/legacy/@inline/feval.m
 share/octave/${PKGVERSION}/m/legacy/@inline/formula.m
+share/octave/${PKGVERSION}/m/legacy/@inline/horzcat.m
 share/octave/${PKGVERSION}/m/legacy/@inline/inline.m
+share/octave/${PKGVERSION}/m/legacy/@inline/nargin.m
+share/octave/${PKGVERSION}/m/legacy/@inline/nargout.m
 share/octave/${PKGVERSION}/m/legacy/@inline/subsref.m
+share/octave/${PKGVERSION}/m/legacy/@inline/symvar.m
 share/octave/${PKGVERSION}/m/legacy/@inline/vectorize.m
+share/octave/${PKGVERSION}/m/legacy/@inline/vertcat.m
 share/octave/${PKGVERSION}/m/legacy/__vectorize__.m
 share/octave/${PKGVERSION}/m/legacy/findstr.m
 share/octave/${PKGVERSION}/m/legacy/flipdim.m
@@ -1795,6 +1818,7 @@ share/octave/${PKGVERSION}/m/miscellaneo
 share/octave/${PKGVERSION}/m/miscellaneous/bunzip2.m
 share/octave/${PKGVERSION}/m/miscellaneous/cast.m
 share/octave/${PKGVERSION}/m/miscellaneous/citation.m
+share/octave/${PKGVERSION}/m/miscellaneous/clearAllMemoizedCaches.m
 share/octave/${PKGVERSION}/m/miscellaneous/clearvars.m
 share/octave/${PKGVERSION}/m/miscellaneous/compare_versions.m
 share/octave/${PKGVERSION}/m/miscellaneous/computer.m
@@ -1826,6 +1850,7 @@ share/octave/${PKGVERSION}/m/miscellaneo
 share/octave/${PKGVERSION}/m/miscellaneous/loadobj.m
 share/octave/${PKGVERSION}/m/miscellaneous/ls.m
 share/octave/${PKGVERSION}/m/miscellaneous/ls_command.m
+share/octave/${PKGVERSION}/m/miscellaneous/memoize.m
 share/octave/${PKGVERSION}/m/miscellaneous/memory.m
 share/octave/${PKGVERSION}/m/miscellaneous/menu.m
 share/octave/${PKGVERSION}/m/miscellaneous/methods.m
@@ -1864,6 +1889,7 @@ share/octave/${PKGVERSION}/m/miscellaneo
 share/octave/${PKGVERSION}/m/miscellaneous/pack.m
 share/octave/${PKGVERSION}/m/miscellaneous/parseparams.m
 share/octave/${PKGVERSION}/m/miscellaneous/perl.m
+share/octave/${PKGVERSION}/m/miscellaneous/private/__memoize__.m
 share/octave/${PKGVERSION}/m/miscellaneous/private/__publish_html_output__.m
 share/octave/${PKGVERSION}/m/miscellaneous/private/__publish_latex_output__.m
 share/octave/${PKGVERSION}/m/miscellaneous/private/__w2mpth__.m
@@ -1879,7 +1905,6 @@ share/octave/${PKGVERSION}/m/miscellaneo
 share/octave/${PKGVERSION}/m/miscellaneous/swapbytes.m
 share/octave/${PKGVERSION}/m/miscellaneous/symvar.m
 share/octave/${PKGVERSION}/m/miscellaneous/tar.m
-share/octave/${PKGVERSION}/m/miscellaneous/tempdir.m
 share/octave/${PKGVERSION}/m/miscellaneous/unix.m
 share/octave/${PKGVERSION}/m/miscellaneous/unpack.m
 share/octave/${PKGVERSION}/m/miscellaneous/untar.m
@@ -2348,7 +2373,6 @@ share/octave/${PKGVERSION}/m/specfun/leg
 share/octave/${PKGVERSION}/m/specfun/nchoosek.m
 share/octave/${PKGVERSION}/m/specfun/nthroot.m
 share/octave/${PKGVERSION}/m/specfun/perms.m
-share/octave/${PKGVERSION}/m/specfun/pow2.m
 share/octave/${PKGVERSION}/m/specfun/primes.m
 share/octave/${PKGVERSION}/m/specfun/reallog.m
 share/octave/${PKGVERSION}/m/specfun/realpow.m
@@ -2401,6 +2425,7 @@ share/octave/${PKGVERSION}/m/statistics/
 share/octave/${PKGVERSION}/m/statistics/movstd.m
 share/octave/${PKGVERSION}/m/statistics/movsum.m
 share/octave/${PKGVERSION}/m/statistics/movvar.m
+share/octave/${PKGVERSION}/m/statistics/normalize.m
 share/octave/${PKGVERSION}/m/statistics/prctile.m
 share/octave/${PKGVERSION}/m/statistics/quantile.m
 share/octave/${PKGVERSION}/m/statistics/range.m

Index: pkgsrc/math/octave/distinfo
diff -u pkgsrc/math/octave/distinfo:1.66 pkgsrc/math/octave/distinfo:1.67
--- pkgsrc/math/octave/distinfo:1.66    Sun Nov  6 17:02:55 2022
+++ pkgsrc/math/octave/distinfo Wed May 31 21:37:51 2023
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.66 2022/11/06 17:02:55 adam Exp $
+$NetBSD: distinfo,v 1.67 2023/05/31 21:37:51 adam Exp $
 
-BLAKE2s (octave-7.3.0.tar.xz) = d5854b2225153c15e21bee4c77536f5af7e5323a6855757ff03bef77928bba4d
-SHA512 (octave-7.3.0.tar.xz) = 1399d7010cbd4e83d6dc60ab8cc2abb20e64a762e905a00066e6331c5350df93b4ff8f2670fd52fc183918cea21bc176cb263ca71080de6e4041f5e0ea21558e
-Size (octave-7.3.0.tar.xz) = 26215288 bytes
-SHA1 (patch-Makefile.in) = 056c2c43ffe0387ece0a26fe4f2b644257c7ac36
+BLAKE2s (octave-8.2.0.tar.xz) = 7cb0dec397f80e0cf04da78110ac6a72bd829f04527d7c6f2a376d1eb13ae76f
+SHA512 (octave-8.2.0.tar.xz) = 9f56428e990c6aa71a5cfe7698602ba681535c36b140fa9248536c260afebd19f6125c92a0fd6d14fab5a794de49e03ccc98e89ac879108f635b3ffc4ec40514
+Size (octave-8.2.0.tar.xz) = 26970452 bytes
+SHA1 (patch-Makefile.in) = 7fe47cf88e4dff2eba360600f086f8361ec11535
 SHA1 (patch-configure.ac) = 48a2dee11b33ce80a477367479ad348056c2c1f9
 SHA1 (patch-doc_interpreter_module.mk) = 66389cceddbe71fca0c8197275a839170d64ad5b
 SHA1 (patch-libgnu_fseeko.c) = b38e7a38be2e0b323cd7f168f1d22d3df998691c
@@ -11,7 +11,7 @@ SHA1 (patch-libgnu_stdio.in.h) = 83c8fbe
 SHA1 (patch-libinterp_dldfcn_config-module.awk) = a9b6ed5580d670ab0a3632780d90bbeb36f9197c
 SHA1 (patch-libinterp_dldfcn_module.mk) = 8975e881cade802cf1b14bd8256f9fced6c50e38
 SHA1 (patch-liboctave_util_quit.cc) = 17ace431c53de1e5b72b86bb2bf4e15bdc6d4db9
-SHA1 (patch-m4_acinclude.m4) = 60e497f4a2f40ab4ba18b236a55f422f9692e0bd
+SHA1 (patch-m4_acinclude.m4) = 8ad44e92906b8185e63bd6cf7242fcf58a1dd077
 SHA1 (patch-scripts_miscellaneous_unpack.m) = 0f979fd4bcef8926a5d64149d9cc925ef1d2d727
 SHA1 (patch-scripts_pkg_private_configure__make.m) = 7a73a32322a9ba39a2c9597b3e406c2b5a9c8b40
 SHA1 (patch-scripts_plot_util_____gnuplot__drawnow____.m) = 449b178aefd78c5c1b03ffd960f2e8be3874efc2

Index: pkgsrc/math/octave/patches/patch-Makefile.in
diff -u pkgsrc/math/octave/patches/patch-Makefile.in:1.1 pkgsrc/math/octave/patches/patch-Makefile.in:1.2
--- pkgsrc/math/octave/patches/patch-Makefile.in:1.1    Mon Oct 24 18:02:19 2022
+++ pkgsrc/math/octave/patches/patch-Makefile.in        Wed May 31 21:37:51 2023
@@ -1,10 +1,10 @@
-$NetBSD: patch-Makefile.in,v 1.1 2022/10/24 18:02:19 adam Exp $
+$NetBSD: patch-Makefile.in,v 1.2 2023/05/31 21:37:51 adam Exp $
 
 Install .oct loadable modules with INSTALL_LIB to avoid stripping them.
 
---- Makefile.in.orig   2022-07-28 13:08:26.000000000 +0000
+--- Makefile.in.orig   2023-04-13 16:43:35.000000000 +0000
 +++ Makefile.in
-@@ -5140,6 +5140,7 @@ INCLUDE_NEXT = @INCLUDE_NEXT@
+@@ -5163,6 +5163,7 @@ INCLUDE_NEXT = @INCLUDE_NEXT@
  INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@
  INSTALL = @INSTALL@
  INSTALL_DATA = @INSTALL_DATA@
@@ -12,7 +12,7 @@ Install .oct loadable modules with INSTA
  INSTALL_PROGRAM = @INSTALL_PROGRAM@
  INSTALL_SCRIPT = @INSTALL_SCRIPT@
  INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-@@ -30676,7 +30677,7 @@ libinterp/corefcn/oct-tex-symbols.cc: li
+@@ -30912,7 +30913,7 @@ libinterp/corefcn/oct-tex-symbols.cc: li
  libinterp/corefcn/oct-tex-lexer.cc: LEX_OUTPUT_ROOT := lex.octave_tex_
  
  %.oct : %.la
@@ -21,9 +21,9 @@ Install .oct loadable modules with INSTA
  
  $(srcdir)/libinterp/dldfcn/module.mk: $(srcdir)/libinterp/dldfcn/config-module.sh $(srcdir)/libinterp/dldfcn/config-module.awk $(srcdir)/libinterp/dldfcn/module-files
        $(AM_V_GEN)$(SHELL) $(srcdir)/libinterp/dldfcn/config-module.sh $(srcdir)
-@@ -31745,7 +31746,7 @@ install-oct: oct-file-pkg-add
+@@ -32000,7 +32001,7 @@ install-oct: oct-file-pkg-add
          f=`echo $$ltlib | $(SED) 's,.*/,,'`; \
-         dl=`$(SED) -n -e "s/dlname='\([^']*\)'/\1/p" < $$f`; \
+         dl=`$(SED) -n -e "s/dlname='\([^']*\)'/\1/p" < $$top_build_dir/$$ltlib`; \
          if [ -n "$$dl" ]; then \
 -          $(INSTALL_PROGRAM) $$dl $(DESTDIR)$(octfiledir)/`echo $$f | $(SED) 's,^lib,,; s,\.la$$,.oct,'`; \
 +          $(INSTALL_LIB) $$dl $(DESTDIR)$(octfiledir)/`echo $$f | $(SED) 's,^lib,,; s,\.la$$,.oct,'`; \

Index: pkgsrc/math/octave/patches/patch-m4_acinclude.m4
diff -u pkgsrc/math/octave/patches/patch-m4_acinclude.m4:1.5 pkgsrc/math/octave/patches/patch-m4_acinclude.m4:1.6
--- pkgsrc/math/octave/patches/patch-m4_acinclude.m4:1.5        Mon Oct 24 18:02:19 2022
+++ pkgsrc/math/octave/patches/patch-m4_acinclude.m4    Wed May 31 21:37:51 2023
@@ -1,4 +1,4 @@
-$NetBSD: patch-m4_acinclude.m4,v 1.5 2022/10/24 18:02:19 adam Exp $
+$NetBSD: patch-m4_acinclude.m4,v 1.6 2023/05/31 21:37:51 adam Exp $
 
 we pass and assume a given MACHINE_GNU_PLATFORM, but this package did not
 use this value due to an error.
@@ -10,9 +10,9 @@ Do not look for qcollectiongenerator; it
 
 On Darwin, do not produce a mach-o bundle.
 
---- m4/acinclude.m4.orig       2022-07-28 13:08:26.000000000 +0000
+--- m4/acinclude.m4.orig       2023-04-13 16:43:35.000000000 +0000
 +++ m4/acinclude.m4
-@@ -37,7 +37,7 @@ AC_DEFUN([OCTAVE_CANONICAL_HOST], [
+@@ -36,7 +36,7 @@ AC_DEFUN([OCTAVE_CANONICAL_HOST], [
      host=unknown-unknown-unknown
      AC_MSG_WARN([configuring Octave for unknown system type])
    fi
@@ -21,7 +21,7 @@ On Darwin, do not produce a mach-o bundl
    AC_SUBST(canonical_host_type)
    if test -z "$host_cpu"; then
      host_cpu=unknown
-@@ -2200,11 +2200,10 @@ AC_DEFUN([OCTAVE_CHECK_QT_VERSION], [AC_
+@@ -2259,11 +2259,10 @@ AC_DEFUN([OCTAVE_CHECK_QT_VERSION], [AC_
      OCTAVE_CHECK_QT_TOOL([uic])
      OCTAVE_CHECK_QT_TOOL([rcc])
      OCTAVE_CHECK_QT_TOOL([lrelease])
@@ -34,13 +34,11 @@ On Darwin, do not produce a mach-o bundl
        build_qt_gui=no
        MOC_QTVER=
        UIC_QTVER=
-@@ -2731,10 +2730,8 @@ AC_DEFUN_ONCE([OCTAVE_DEFINE_MKOCTFILE_D
-       SH_LDFLAGS="-shared -Wl,-expect_unresolved -Wl,'*'"
-     ;;
-     *-*-darwin*)
--      DL_LDFLAGS="-bundle -undefined dynamic_lookup -bind_at_load -bundle_loader ${ac_top_build_prefix}src/octave${EXEEXT} ${LDFLAGS}"
-       dnl Contains variables that are defined and undefined at this point, so use
-       dnl appropriate quoting to defer expansion of ${bindir} and ${version}.
+@@ -2793,8 +2792,6 @@ AC_DEFUN_ONCE([OCTAVE_DEFINE_MKOCTFILE_D
+       dnl Contains variables that are defined and undefined at this point,
+       dnl so use appropriate quoting to defer expansion of
+       dnl ${abs_top_builddir}, ${bindir}, and ${version}.
+-      DL_LDFLAGS='-bundle -undefined dynamic_lookup -bind_at_load -bundle_loader ${abs_top_builddir}/src/octave'"${EXEEXT} ${LDFLAGS}"
 -      MKOCTFILE_DL_LDFLAGS='-bundle -undefined dynamic_lookup -bind_at_load -bundle_loader ${bindir}/octave-${version}'"${EXEEXT}"
        SH_LDFLAGS="-dynamiclib -single_module ${LDFLAGS}"
        case $canonical_host_type in



Home | Main Index | Thread Index | Old Index