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:           Sat Jun  8 07:10:22 UTC 2024

Modified Files:
        pkgsrc/math/octave: Makefile distinfo
        pkgsrc/math/octave/patches: patch-configure.ac

Log Message:
octave: updated to 9.2.0

Summary of bugs fixed for version 9.2.0 (2024-06-01):

Improvements and fixes

- `hist.m`: Add input validation for `Y` restricting it to 2-D array.
   Avoid error when `Y` value range is very small.
- `cross.m`: Add input validation for `dim` restricting it to a numeric
  integer valued scalar.
- `getframe.m`: Respect pixel ratio (high DPI) of screen with figure.
- `legend.m`: Fix error if root property `"showhiddenhandles"` is `"on"`
- `savepath.m`: Correctly handle packages without binaries.
- Correctly scale figure position on screen with DPI scaling (high DPI).
- `profile ('on')` now clears any existing profile data as the documentation
  states.
- Fix segmentation fault when trying to set breakpoint in non-existent method
  of `classdef` class.
- Improve default display of `classdef` properties.
- Avoid crash with Qt6 6.7.0.
- `bar.m`: Catch input number validation error.
- Prevent OOM crash or segmentation fault in `sort ()` when `dim` equals `Inf`.
- `legend.m`: Avoid setting more colors than coordinates for `patch` objects.
- `inputParser.m`: Allow default classdef objects which overload `struct`.
- Preserve `"position"` property of figure when object is `reset()`.
- `hist.m`: Avoid error when `y` value range is very small.
- `barh`: Add input validation check for `nargin < 1`.

GUI

- Use first word for options in right-click menu of command window widget
 .
- Set `DontUseNativeDialog` flag as first property in `QFileDialog`.
- Explicitly raise non-modal message boxes ensuring visibility.
- Save and restore splitter state of documentation widget.
- Allow executing new files from built-in editor with F5.
- Allow unbinding GUI shortcuts.
- Fix restoring headers in file browser and workspace view.
- File dialogs of the built-in editor are now modal.
- Fix dragging editor from main window into floating state.

Build system / Tests

- Avoid overriding `save_*` variables from outer scope.
  This fixes an error that might have lead to overlinking of shared libraries
  (e.g., `.oct` files). Consider rebuilding shared libraries that have been
  built with Octave 9.1.0.
- Add BIST for `is_valid_file_id.m`.
- Update metainfo.xml with new fields for AppStream 1.0.
- Show result of check for `std::pmr::polymorphic_allocator` in configure
  summary.
- Run test program for polymorphic allocators if possible instead of a simple
  build check.
- Speed up BIST for the central part of `convn` with `'full'` shape.
- Require Qt Widgets module when building the GUI.
- `bug-53027.tst`: Delete temporary file after test is done.
- Avoid build error with GCC 14 when targeting Windows.
- Try to clean up after BIST also in case test failed.
- `bar.m`, `barh.m`: Add plotting BISTs.
- Check if C and Fortran compilers accept `-fexceptions` flag.
  This affects building Octave itself from sources and also how .mex or .oct
  files are built by `mex` and `mkoctfile`.

Documentation

- Describe shape of outputs for `hist`.
- Simplify programming notes for `patch` objects.
- `vecnorm.m`: Add missing parenthesis to equation in docstring.
- Add example to Minimizers section on using anonymous functions to pass
  additional arguments to functions called by minimizer functions
  (`fminsearch`, `fminbnd`, `fminunc`).
- Add application notes in `fminsearch`, `fminbnd`, `fminunc` indicating the
  preferred way to pass parameters is through anonymous functions.
- Update remaining copyright statements to 2024.
- Minor fix for `setappdata.m`.
- Section "Assignment Expressions": Use `@emph` rather than `@i` macro for
  better rendering in plaintext formats.
- Section "Running Octave": Tell new users how to start Octave on their
  computers.
- `tsearch`: Add programming note about expected performance.

Deprecated functions, properties, and operators

- `fminsearch` parameter passing:  A legacy, undocumented, and only partially
  supported syntax for passing parameters to the minimized function `fcn`
  called by `fminsearch` by appending them to the input argument list has
  functioned intermittently since Octave 4.4.0.  Due to conflicts with other
  compatibility-required input methods the documentation of this syntax was
  removed in Octave 5.1.0, and the remaining functionality will be completely
  removed in Octave 10.  The preferred method of passing parameters to any of
  the minimization functions (including `fminsearch`, `fminbnd`, and `fminunc`)
  is through the use of anonymous functions.  Specific examples of this can be
  found in the "Minimizers" section of the GNU Octave manual.


To generate a diff of this commit:
cvs rdiff -u -r1.256 -r1.257 pkgsrc/math/octave/Makefile
cvs rdiff -u -r1.70 -r1.71 pkgsrc/math/octave/distinfo
cvs rdiff -u -r1.7 -r1.8 pkgsrc/math/octave/patches/patch-configure.ac

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.256 pkgsrc/math/octave/Makefile:1.257
--- pkgsrc/math/octave/Makefile:1.256   Wed May 29 16:33:27 2024
+++ pkgsrc/math/octave/Makefile Sat Jun  8 07:10:22 2024
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.256 2024/05/29 16:33:27 adam Exp $
+# $NetBSD: Makefile,v 1.257 2024/06/08 07:10:22 adam Exp $
 
-DISTNAME=      octave-9.1.0
-PKGREVISION=   4
+DISTNAME=      octave-9.2.0
 CATEGORIES=    math
 MASTER_SITES=  ${MASTER_SITE_GNU:=octave/}
 EXTRACT_SUFX=  .tar.xz

Index: pkgsrc/math/octave/distinfo
diff -u pkgsrc/math/octave/distinfo:1.70 pkgsrc/math/octave/distinfo:1.71
--- pkgsrc/math/octave/distinfo:1.70    Sun Mar 24 12:46:23 2024
+++ pkgsrc/math/octave/distinfo Sat Jun  8 07:10:22 2024
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.70 2024/03/24 12:46:23 adam Exp $
+$NetBSD: distinfo,v 1.71 2024/06/08 07:10:22 adam Exp $
 
-BLAKE2s (octave-9.1.0.tar.xz) = 8ae5e70560422c9815a94fd9adaa1677a2b5a0b0d8dd654a6db5caef7433f3bd
-SHA512 (octave-9.1.0.tar.xz) = 95799fc3f8217b11316926570874bf0e25cdac8cead416ae000ecfeba2643d3a688c015fa07935671a9f8a338f2f070ea75d452a36b295400f177c5a13890905
-Size (octave-9.1.0.tar.xz) = 27393912 bytes
+BLAKE2s (octave-9.2.0.tar.xz) = 9891d287c98772036ff0f757eef367f2bd8e895181d885e4ec4af798c9876fa4
+SHA512 (octave-9.2.0.tar.xz) = cb1667cd6557d48ecd7ae191bc44c9b9fd4f79e7cf4bf6c917093d120c4312e9594e6dddc5287661627ac053e9f23faaec40a1286d792d859f1fefbfdb3eeb8c
+Size (octave-9.2.0.tar.xz) = 27425184 bytes
 SHA1 (patch-Makefile.in) = 7fe47cf88e4dff2eba360600f086f8361ec11535
-SHA1 (patch-configure.ac) = d3eef6a5b37fcdd010865af7732eb25e51df6ff7
+SHA1 (patch-configure.ac) = e39207866da3deaf269f73b4db2a5c3e2f91eadf
 SHA1 (patch-doc_interpreter_module.mk) = 66389cceddbe71fca0c8197275a839170d64ad5b
 SHA1 (patch-libgnu_fseeko.c) = b38e7a38be2e0b323cd7f168f1d22d3df998691c
 SHA1 (patch-libgnu_stdio.in.h) = 83c8fbecba26868fe9db70a7fb08f67353c982ea

Index: pkgsrc/math/octave/patches/patch-configure.ac
diff -u pkgsrc/math/octave/patches/patch-configure.ac:1.7 pkgsrc/math/octave/patches/patch-configure.ac:1.8
--- pkgsrc/math/octave/patches/patch-configure.ac:1.7   Sun Mar 24 12:46:23 2024
+++ pkgsrc/math/octave/patches/patch-configure.ac       Sat Jun  8 07:10:22 2024
@@ -1,4 +1,4 @@
-$NetBSD: patch-configure.ac,v 1.7 2024/03/24 12:46:23 adam Exp $
+$NetBSD: patch-configure.ac,v 1.8 2024/06/08 07:10:22 adam Exp $
 
 install .oct loadable modules with INSTALL_LIB to avoid stripping them
 
@@ -7,7 +7,9 @@ Allow overriding MKOCTFILE_F77 so we can
 
 Portability fixes.
 
---- configure.ac.orig  2024-03-12 18:00:23.000000000 +0000
+Fix linking on NetBSD.
+
+--- configure.ac.orig  2024-06-01 15:05:08.000000000 +0000
 +++ configure.ac
 @@ -238,8 +238,11 @@ AC_PROG_LN_S
  AC_PROG_MKDIR_P
@@ -22,7 +24,7 @@ Portability fixes.
  
  ## Programs used when running Octave.
  OCTAVE_PROG_GHOSTSCRIPT
-@@ -933,11 +936,11 @@ if test "$cross_compiling" = yes && test
+@@ -935,11 +938,11 @@ if test "$cross_compiling" = yes && test
    MKOCTFILE_F77=`echo "$F77" | $SED "s,$CROSS_TOOL_PREFIX,,"`
    MKOCTFILE_RANLIB=`echo "$RANLIB" | $SED "s,$CROSS_TOOL_PREFIX,,"`
  else
@@ -39,7 +41,7 @@ Portability fixes.
  fi
  AC_MSG_NOTICE([defining CROSS_TOOL_PREFIX to be $CROSS_TOOL_PREFIX])
  AC_MSG_NOTICE([defining MKOCTFILE_AR to be $MKOCTFILE_AR])
-@@ -2365,7 +2368,7 @@ fi
+@@ -2378,7 +2381,7 @@ fi
  
  ### Check for SUNDIALS library features, some required, some optional.
  
@@ -48,7 +50,7 @@ Portability fixes.
  
    CPPFLAGS="$SUNDIALS_IDA_CPPFLAGS $SUNDIALS_NVECSERIAL_CPPFLAGS $KLU_CPPFLAGS $BLAS_CPPFLAGS $CPPFLAGS"
    LDFLAGS="$SUNDIALS_IDA_LDFLAGS $SUNDIALS_NVECSERIAL_LDFLAGS $KLU_LDFLAGS $BLAS_LDFLAGS $LDFLAGS"
-@@ -2405,7 +2408,7 @@ dnl FIXME: The test on the sunlinsol_klu
+@@ -2418,7 +2421,7 @@ dnl FIXME: The test on the sunlinsol_klu
  dnl How can we do a better job here?  Do we need to disable sundials
  dnl any tests fail, or can we fix __ode15__.cc so that it still partially
  dnl works when some things are missing (for example, KLU)?
@@ -57,3 +59,17 @@ Portability fixes.
    if test "x$octave_cv_sundials_sunlinsol_dense" = xyes \
        && test "x$octave_cv_sundials_realtype_is_double" = xyes \
        && test "x$octave_have_sundials_compatible_api" = xyes; then
+@@ -3069,11 +3072,11 @@ LIBOCTAVE_LINK_OPTS="$CURL_LDFLAGS $SPAR
+ AC_SUBST(LIBOCTAVE_LINK_DEPS)
+ AC_SUBST(LIBOCTAVE_LINK_OPTS)
+ 
+-LIBOCTINTERP_LINK_DEPS="$FT2_LIBS $HDF5_LIBS $MAGICK_LIBS $Z_LIBS $SPARSE_XLIBS $FFTW_XLIBS $OPENGL_LIBS $FONTCONFIG_LIBS $FREETYPE_LIBS $X11_LIBS $CARBON_LIBS $GL2PS_LIBS $JAVA_LIBS $LAPACK_LIBS"
++LIBOCTINTERP_LINK_DEPS="$FT2_LIBS $HDF5_LIBS $MAGICK_LIBS $Z_LIBS $SPARSE_XLIBS $FFTW_XLIBS $OPENGL_LIBS $FONTCONFIG_LIBS $FREETYPE_LIBS $X11_LIBS $CARBON_LIBS $GL2PS_LIBS $JAVA_LIBS $LAPACK_LIBS 
$FLIBS $LIBS"
+ 
+ LIBOCTINTERP_LINK_OPTS="$FT2_LDFLAGS $HDF5_LDFLAGS $MAGICK_LDFLAGS $Z_LDFLAGS $SPARSE_XLDFLAGS $FFTW_XLDFLAGS"
+ 
+-OCTAVE_LINK_DEPS=""
++OCTAVE_LINK_DEPS="$FLIBS $LIBS"
+ OCTAVE_LINK_OPTS=""
+ 
+ OCT_LINK_DEPS=""



Home | Main Index | Thread Index | Old Index