Package Release Info

octave-5.2.0-bp152.1.11

Update Info: Base Release
Available in Package Hub : 15 SP2

platforms

AArch64
ppc64le
s390x
x86-64

subpackages

octave
octave-cli
octave-devel
octave-doc

Change Logs

* Mon Feb 17 2020 Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Avoid stealing SIGCHLD from QProcess::waitForFinished, which
  causes the KDE file dialogs to hang up to the 30s default timeout.
  This only happens when a samba server is installed locally.
  Fixes https://savannah.gnu.org/bugs/?54607
  * 0001-Disable-signal-handler-thread-avoid-duplicate-signal.patch
- Add Xvfb build dependency for make check, several tests fail
  otherwise.
* Sun Feb 16 2020 Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Readd makeinfo to the build dependencies, called by octaves
  doc/help functions from the tests. Disable doc generation
  explicitly, otherwise it tries even without all tools present.
* Sun Feb 09 2020 Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Update to version 5.2.0
  This version is a bug fixing release, for details see:
  https://www.gnu.org/software/octave/news/release/2020/01/31/octave-5.2.0-released.html
- Drop upstream patches:
  * octave-bug-55029-fix_pause_and_kbhit_with_glibc_2_28.patch
  * octave-bug-56533-Cursor_misplaced_when_entering_newline_in_editor_with_tabs_indentation-part1.patch
  * octave-bug-56533-Cursor_misplaced_when_entering_newline_in_editor_with_tabs_indentation-part2.patch
- Use documentation from upstream tarball, no need to rebuild locally.
- Cleanup spec file, remove conditionals for EOLed distributions.
* Wed Nov 27 2019 Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Fix octave_pkg_test in RPM octave.macros, unpack pkg tarball
  again, as the target directory is removed by 'pkg build'.
* Fri Jul 05 2019 UTC - Markus Ebner <hiwatari.seiji@gmail.com>
- Backport fix: Cursor misplaced when entering newline in editor with tabs indentation
  behavior (bug #56533)
  * Added octave-bug-56533-Cursor_misplaced_when_entering_newline_in_editor_with_tabs_indentation-part1.patch
  * Added octave-bug-56533-Cursor_misplaced_when_entering_newline_in_editor_with_tabs_indentation-part2.patch
* Mon May 13 2019 Duncan Mac-Vicar <dmacvicar@suse.de>
- Backport fix: pause and kbhit with glibc 2.28 end-of-file state
  behavior (bug #55029)
  * Added octave-bug-55029-fix_pause_and_kbhit_with_glibc_2_28.patch
Version: 10.2.0-bp160.1.5
* Fri Jun 06 2025 Atri Bhattacharya <badshah400@gmail.com>
- Update to version 10.2.0:
  * Improvements and fixes:
  - tensorprod: Fix error for certain tensor/vector combinations
    (bug #66950).
  - mkoctfile: Skip compiling object file with soversion for
  - -mex -c -o (bug #66972).
  - Fix segmentation fault in octave-svgconvert when called with
    no inputs.
  - mkoctfile: Remove temporary C source files after
    compilation.
  - unicode2native: Fix conversion of short strings to UTF-16 or
    UTF-32.
  - Detect leading and trailing comments for all parse tree
    elements (bug #67004).
  - bar: Avoid listener error when replacing an existing bar
    plot (bug #67006).
  - Fix sparse matrix assignment with reverse range indexing
    (bug #66516).
  - ezplot: Enable polar and 2-D plots of constant functions
    (bug #66563).
  - Check for any kind of file not just regular files (bug
    [#67018]).
  - var/std: Issue an error for non-floating point inputs.
    Previous versions accepted integer type inputs but could
    produce erroneous outputs due to integer arithmetic and
    under/overflow errors (bug #67016).
  - annotation: Change "verticalalignment" default value (bug
    [#67033]).
  - Previously, symbols that are not actually callable by a user
    might have been added to the list of callable functions when
    loading .mex files. Remove these symbols from that list.
    This fixes unloading .mex files with clear.
  - Remove break points only from user functions (defined in .m
    file). This fixes an infinite recursion issue when
    re-loading updated .oct or .mex files.
  - For improved Matlab compatibility the strncmp and strncmpi
    functions now return true if the number of characters
    specified by N is equal to 0 (bug #57879).
  - Fix nargout in multi-output indexing expressions beginning
    with function call (bug #67096).
  - findobj: Do not match empty tags with [] (bug #67048).
  - Check for undefined output when indexing function output
    (bug #67111).
  - perms: Fix buffer overflow and crash; minor code cleanup
    (bug #67115).
  - mkoctfile: Support spaces in output path of linker step.
  - mkoctfile: Support spaces in path to binary when stripping
    debug info.
  - octave-svgconvert: Speed up printing to PDF (bug #66959).
  - error: Fix segmentation fault on missing fields in err.stack
    structure (bug #67143).
  - Avoid parse error for empty lines in debug mode (bug
    [#67108]).
  - Check if effective SOVERSION is exported from .mex file
    libraries (bug #67163).
  * GUI:
  - Fix build error without QScintilla installed (bug #66962).
  - Avoid potential integer overflow on Windows.
  - Make dialogs shown by inputdlg, listdlg, questdlg, uigetdir,
    or uigetfile modal.
  * Build system / Tests:
  - Add visibility attributes for the octave::base_fcn_handle
    class.
  - Add visibility attributes to parse tree symbols (bug
    [#67056]).
  - Add visibility attributes to Array<T> template class member
    functions.
  - Use correct preprocessor macro when instantiating MArray
    template class.
  - Disable visibility flags by default.
  - Support passing additional flags when linking octave*
    executables.
  - Single-quote path that might contain unescaped backslashes
    in the generation of the doc cache.
  - Ignore deprecation warning for std::wbuffer_convert in
    header.
  - error: Add more built-in self-tests.
- Re-base octave_tools_pie.patch for update.
* Tue May 20 2025 Atri Bhattacharya <badshah400@gmail.com>
- Add octave-reproducible-jar.patch: Set jar date to source
  modification date-time for reproducible builds (bug #67140).
- Build with GCC 8 for Leap <= 15.6 for c++17 <filesystem>
  support; this fixes build failures on 15.6 and older Leap.
- tests: Set Xvfb screen colour depth to 16, which seems the
  minimum required for `image/getframe.m` test to not segfault
  (bug #65866).
- Call ldconfig_scriptlets on cli package instead of main package.
- Drop use of deprecated install_info post(un) scriptlets.
* Mon May 12 2025 Atri Bhattacharya <badshah400@gmail.com>
- Update to version 10.1.0:
  * Too many changes to list, see
    <https://octave.org/NEWS-10.html>.
- Re-base octave_tools_pie.patch for update.
- Bump apiver to 60 in keeping with upstream.
* Wed Mar 19 2025 Atri Bhattacharya <badshah400@gmail.com>
- Switch BuildRequires: pcre-devel to pcre2-devel.
- Drop deprecated BuildRequires: update-desktop-files (providing
  %suse_update_desktop_file macro that is no longer used).
* Mon Jun 10 2024 Atri Bhattacharya <badshah400@gmail.com>
- Update to version 9.2.0:
  * Improvements and fixes:
  - hist.m: Add input validation for Y restricting it to 2-D
    array (bug #65478). Avoid error when Y value range is very
    small (bug #65714).
  - cross.m: Add input validation for dim restricting it to a
    numeric integer valued scalar (bug #65544, bug #65527).
  - getframe.m: Respect pixel ratio (high DPI) of screen with
    figure (bug #65540).
  - legend.m: Fix error if root property "showhiddenhandles" is
    "on" (bug #65442)
  - savepath.m: Correctly handle packages without binaries (bug
    [#65559]).
  - Correctly scale figure position on screen with DPI scaling
    (high DPI).
  - profile ('on') now clears any existing profile data as the
    documentation states (bug #65595).
  - Fix segmentation fault when trying to set breakpoint in
    non-existent method of classdef class (bug #65610).
  - Improve default display of classdef properties (bug #62432).
  - Avoid crash with Qt6 6.7.0 (bug #65605).
  - bar.m: Catch input number validation error.
  - Prevent OOM crash or segmentation fault in sort () when dim
    equals Inf (bug #65712).
  - legend.m: Avoid setting more colors than coordinates for
    patch objects (bug #65632).
  - inputParser.m: Allow default classdef objects which overload
    struct (bug #65667).
  - Preserve "position" property of figure when object is
    reset() (bug #65750).
  - hist.m: Avoid error when y value range is very small (bug
    [#65714]).
  - barh: Add input validation check for nargin < 1.
  * GUI:
  - Use first word for options in right-click menu of command
    window widget (bug #65518).
  - 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 (bug
    [#65548]).
  - Allow unbinding GUI shortcuts (bug #65580).
  - Fix restoring headers in file browser and workspace view
    (bug #65030).
  - File dialogs of the built-in editor are now modal.
  - Fix dragging editor from main window into floating state
    (bug #65725).
  * Build system / Tests:
  - Avoid overriding save_* variables from outer scope (bug
    [#65476]). 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 (bug #65543).
  - Update metainfo.xml with new fields for AppStream 1.0 (bug
    [#65355]).
  - 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
    [#65625]).
  - bug-53027.tst: Delete temporary file after test is done (bug
    [#53027]).
  - Avoid build error with GCC 14 when targeting Windows.
  - Try to clean up after BIST also in case test failed (bug
    [#53027]).
  - bar.m, barh.m: Add plotting BISTs (bug #65671).
  - Check if C and Fortran compilers accept -fexceptions flag
    (bug #65767). This affects building Octave itself from
    sources and also how .mex or .oct files are built by mex and
    mkoctfile.
  * Documentation updates.
- Changes from version 9.1.0:
  * Long list, see <https://octave.org/NEWS-9.html>
- Switch to Qt6 library for GUI.
- Tests: Need to pass `RUN_OCTAVE_OPTIONS="--no-gui-libs"` as a
  temporary work around to
  <https://savannah.gnu.org/bugs/index.php?65866>
- Add BuildRequires: gnuplot when building without
  `native_graphics`; it is needed for tests.
* Thu Nov 16 2023 Atri Bhattacharya <badshah400@gmail.com>
- Update to version 8.4.0:
  * mkoctfile: Skip parsing for less flags (bug #64590).
  * Fix getting number of non-zero elements in SuiteSparse
    matrices.
  * delaunayn: Avoid erroneous simplex removal for integer inputs
    (bug #64658).
  * delaunayn: Add precision loss warning for large int inputs
    (bug #64658).
  * delaunayn: Also warn for negative integers with large
    magnitude (bug #64658).
  * Correctly load all-zero sparse matrices from text files (bug
    [#64696]).
  * Allocate correct storage for interleaved complex mxArray
    objects (bug #64687).
  * mkoctfile: Prefer parsing over passing on argument after
    unknown argument (bug #64725).
  * fft: Avoid segmentation fault with ND-arrays (bug #64729).
  * fft: Avoid overwriting input for inplace operations (bug
    [#64733]).
  * intersect.m: Correct third output with "stable" flag (bug
    [#60347]).
  * Avoid use-after-free issue in parser (bug #60882).
  * betainc.m: Improve integer input logic and validation (bug
    [#64726]).
  * webread: Apply timeout also for initial connection (bug
    [#64826]).
  * mkpp.m: Remove stray text causing error with demo code.
  * Ensure that new test for saving sparse matrices writes a text
    file.
  * Search for tests in and install octave-value template sources
    (bug #64696).
  * Correct variable name typo in documentation of slice().
  * Expand documentation for gcd() and lcm().
  * datevec: Clarify that heuristics are used to detect the format
    of a date string (bug #64563).
  * datenum: Add help text that inputs can be arrays, add examples
    (bug #54679).
  * datevec: Add help text that inputs can be arrays (bug #54679).
  * Describe various pitfalls with floating point ranges (bug
    [#64692]).
  * Add range example and some copyedits.
* Wed Oct 25 2023 Dominique Leuenberger <dimstar@opensuse.org>
- Drop termap BuildRequireS: no longer needed.
* Thu Oct 19 2023 Atri Bhattacharya <badshah400@gmail.com>
- octave.macros: For %octave_pkg_install, set HOME to current
  working dir to avoid permission issues when octave tries to
  update list of installed packages in its config file.
* Tue Aug 29 2023 Atri Bhattacharya <badshah400@gmail.com>
- Update to version 8.3.0:
  * undo_string_escapes: Return '\0' for NUL byte input (bug
    [#64051]).
  * Stop excessive memory usage for minor grid ticks (bug #64017).
  * Include needed headers in installed .cc files (bug #63922).
  * Fix floating point exception when sparse array reshaped to 0x0
    (bug #64080).
  * unicode2native: Fix conversion to UTF-16 (bug #64139).
  * memory: Fix execution on Cygwin.
  * uniconv-wrappers: Avoid freeing uninitialized pointer (bug
    [#64182]).
  * lo-regexp.cc: Only include PCRE2/PCRE headers if feature test
    succeeded (bug #64172).
  * Fix segfault when saveobj() used with old-style class files
    (bug #64220).
  * Fix restoring breakpoints from dbstatus breakpoint structure
    (bug #64271).
  * colorbar.m: Fix undefined variable d (bug #64287).
  * Reset all axes properties except 'Units' and 'Position' with
    cla ('reset').
  * unicode2native.m: Restore support for one input parameter (bug
    [#64331]).
  * native2unicode, unicode2native: Support empty second argument
    (bug #64331).
  * fullfile.m: Return empty cell for input with empty cell (bug
    [#64377]).
  * audioplayer.m: Emit error if input data Y is empty (bug
    [#64379]).
  * Remove obsolete callback constructor code for @audioplayer and
    @audiorecorder (bug #64379).
  * Avoid false detection of “non-real pivot” in ichol() (bug
    [#63785]).
  * Fix building against SuiteSparse 7.1.0 when SPQR is disabled
    (bug #64446).
  * ellipsoid.m: Avoid returning geometry data unless it is
    explicitly requested to avoid overwriting ans.
  * subsasgn: Avoid panic on invalid field names (bug #64213).
  * lex.ll: Remove $ as a valid character for identifiers.
  * fileparts.m: Allow for relative path on different drive on
    Windows (bug #64462).
  * datevec.m: Add some ISO 8601 conform formats (patch #9964).
  * betaincinv.m: Slightly increase test tolerance (for macOS 13).
  * colorbar.m: Add tests (bug #64287).
  * sparse-qr.cc: Fix compatibility with SuiteSparse 7.1.0 /
    CXSparse 4.0.4.
  * pcg.m: Use eps tolerance in test for ishermitian (bug #63787).
  * fileparts.m: Overhaul BISTs.
  * Return documentation for help properties (bug #64067).
  * Add note to isprime.m on inputs over 2^64.
* Tue Apr 18 2023 Atri Bhattacharya <badshah400@gmail.com>
- Update to version 8.2.0:
  * fopen: Use “UTF-8” as default encoding for fopen
    (https://savannah.gnu.org/bugs/?63930).
  * fopen, unicode2native: Fix converting the encoding of short
    char arrays with invalid UTF-8
    (https://savannah.gnu.org/bugs/?63930).
  * fopen: Try to gather complete UTF-8 surrogates when converting
    encoding (https://savannah.gnu.org/bugs/?63930).
  * fopen: Do not convert encoding for file streams with libc++
    (https://savannah.gnu.org/bugs/?63930).
  * pr-output.cc: Fix output for format native-bit
    (https://savannah.gnu.org/bugs/?63940).
  * Fix evaluation of & and | expressions in conditional contexts
    (https://savannah.gnu.org/bugs/?63935).
  * Avoid clang warning about very unlikely buffer overflow.
  * mpoles.m: Overhaul function and use absolute tolerance for
    zero poles (https://savannah.gnu.org/bugs/?63937).
  * perms.m: Change "unique" output order to reverse lexicographic
    to match non-unique order
    (https://savannah.gnu.org/bugs/?63962).
  * Remove trailing '\r' from curl dir list
    (https://savannah.gnu.org/bugs/?63851).
  * Fix display of scalar complex variables with mixed Inf/NaN and
    floating point values (https://savannah.gnu.org/bugs/?63961).
  * Don’t use encoding facet when writing bytes to stream
    (https://savannah.gnu.org/bugs/?63931).
  * GUI: Speedup loading and saving preferences dialog
    (https://savannah.gnu.org/bugs/?63909).
  * Build system / Tests:
  - inpolygon.m: Fix demo code
    (https://savannah.gnu.org/bugs/?63865).
  - if.tst: New test for (https://savannah.gnu.org/bugs/?63935).
  - acinclude.m4: Correct typo in #define PCRE2_CODE_UNIT_WIDTH.
  - lu: Add self-test with complex valued input.
  - Disable visibility flags by default
    (https://savannah.gnu.org/bugs/?61855, bug #63916).
  - Check whether using STL from LLVM or Apple
    (https://savannah.gnu.org/bugs/?63930).
  - Documentation:
  - Improve documentation for linspace and logspace functions.
  - Correct and improve documentation for sparse() function.
Version: 5.1.0-bp151.2.2
* Mon Mar 04 2019 Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Update to version 5.1.0
  * Long list of changes: see
    https://www.gnu.org/software/octave/NEWS-5.1.html
    https://www.gnu.org/software/octave/news/release/2019/03/01/octave-5.1-released.html
- Rebase octave_tools_pie.patch
- Add conditional building with blas instead of openBLAS. Allows building
  for architectures like RISC-V where openBLAS is not available (and probably
  never will, RISC-V vector instructions do not fit the openBLAS model).
* Fri Feb 15 2019 Guillaume GARDET <guillaume.gardet@opensuse.org>
- Add %limit_build to avoid build failures
* Thu Jan 10 2019 Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Only set -fpie for octave executables, as LDFLAGS is set as link flag
  in mkoctfile as default flags, leading to failing module builds.
  Add octave_tools_pie.patch
* Thu Jan 03 2019 Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Update to version 4.4.1
  * Long list of changes: see
    https://www.gnu.org/software/octave/news/release/2018/08/09/octave-4.4.1-released.html
- Drop obsolete Fix-build-with-Qt-511.patch
- Fix build with Qt 5.12, use qhelpgenerator for qcollectiongenerator
- Stop messing with upstream appdata/desktop files
- Use %bcond_with/%bcond_without
- Fix unit tests by increasing JVM stack limit, see https://savannah.gnu.org/bugs/index.php?55395
* Fri Jun 22 2018 dmitry_r@opensuse.org
- Qt5 GUI package requires libQt5Sql5-sqlite [boo#1095605]
* Mon Jun 04 2018 christophe@krop.fr
- Add Fix-build-with-Qt-511.patch.
- Use %license for license files
* Wed May 16 2018 dmitry_r@opensuse.org
- Update to version 4.4.0
  See https://www.gnu.org/software/octave/NEWS-4.4.html for details
- Drop octave-java-use-source-target-1_6.patch
- Drop SLE11 support (already broken)
- Drop update-alternatives usage
Version: 4.2.2-bp150.1.3
* Mon Mar 19 2018 badshah400@gmail.com
- Update to version 4.2.2:
  * Long list of changes: see
    https://www.gnu.org/software/octave/news/release/2018/03/13/octave-4.2.2-released.html
- Drop octave-also-check-for-qscintilla2_qt5.patch: incorporated
  upstream.
* Mon Oct 02 2017 badshah400@gmail.com
- Add octave-java-use-source-target-1_6.patch: Switch
  source/target to 1.6 from 1.3, to get octave building with java
  9 (for openSUSE > 1320); patch taken from upstream mercurial
  repository [https://savannah.gnu.org/bugs/?51803].
* Wed Aug 23 2017 dmitry_r@opensuse.org
- Fix octave-devel package requirements
- Add %octave_blas macros
* Mon Aug 21 2017 dmitry_r@opensuse.org
- Move mkoctfile binary to octave-devel package
* Thu Aug 10 2017 dmitry_r@opensuse.org
- Reenable sparce matrix support
- Build with openBLAS library by default, except i*86 architectures
  due to tests failures
* Mon Jul 10 2017 badshah400@gmail.com
- Edit _constraints file to require at least 2GB physical memory,
  builds on 32-bit systems fail otherwise; see
  https://savannah.gnu.org/bugs/index.php?51436; fixes build
  failures on i586 for openSUSE > 1320.
- Drop suitesparse-devel BuildRequires; this pulls in openblas,
  which is not recommended by upstream. See comment #2 in
  https://savannah.gnu.org/bugs/index.php?51436.
* Mon Jun 26 2017 badshah400@gmail.com
- Add octave-also-check-for-qscintilla2_qt5.patch: When checking
  for the availibility of QT5 bindings for scintilla, also check
  for qscintilla2_qt5 (which is the shlib name used by openSUSE),
  otherwise this causes the in-built editor to be disabled; patch
  taken from upstream. Since patch modifies m4 files, regenerate
  configure before executing it (add BuildRequires on automake,
  autoconf and libtool). All changes applied conditionally only
  when building against Qt5.
* Tue Feb 28 2017 dmitry_r@opensuse.org
- Update to version 4.2.1
  * See icluded NEWS file for details
* Tue Nov 15 2016 dmitry_r@opensuse.org
- Update to version 4.2.0
  * See icluded NEWS file for details
* Thu Nov 10 2016 dmitry_r@opensuse.org
- Update to version 4.2.0-rc4
  * See icluded NEWS file for details
* Mon Oct 31 2016 dmitry_r@opensuse.org
- Update to version 4.2.0-rc3
  * See icluded NEWS file for details
  * Drop octave-gui-info-links.patch, octave-gui-utf8.patch
* Thu Oct 27 2016 dmitry_r@opensuse.org
- Fix Qt5-based GUI documentation links
  * octave-gui-info-links.patch
- Fix Qt4-based GUI text encoding [boo#1005431]
  * octave-gui-utf8.patch
* Wed Oct 19 2016 dmitry_r@opensuse.org
- Build Qt5-based GUI for openSUSE Tumbleweed
- Clean build requires
- Move pkg-config file to octave-devel package
* Tue Oct 18 2016 badshah400@gmail.com
- Run %desktop_database_post(un) and %icon_theme_cache_post(un)
  for %post(un) to update the icon theme cache (required whenever
  application installs icons to the hicolor icon dir) and desktop
  database (required whenever application installs a .desktop
  file) when building with GUI enabled.
* Fri Sep 23 2016 dmitry_r@opensuse.org
- Update to version 4.2.0~rc2
  * See icluded NEWS file for details
- Drop obsolete ocatve-evalc.patch
* Sat Sep 17 2016 dmitry_r@opensuse.org
- Fix evalc crash
  * ocatve-evalc.patch
* Sun Sep 11 2016 dmitry_r@opensuse.org
- Update to version 4.2.0~rc1
  * See icluded NEWS file for details
- Drop obsolete octave-gcc6.patch
- Temporary set MALLOC_PERTURB_=0 for tests
* Fri Aug 26 2016 dmitry_r@opensuse.org
- Fix suse-alternative-link-missing [boo#994253]
* Fri Jul 29 2016 dmitry_r@opensuse.org
- Use original appdata file
- Fix SLE12 build
* Thu Jul 28 2016 badshah400@gmail.com
- Update to version 4.0.3:
  * Bug fix release, see
    http://www.gnu.org/software/octave/fixes-4-0-3.html for a full
    list of fixes.
- Add appdata file as source, and install it to
  /usr/share/appdata; this makes octave appear on appstores like
  gnome-software and KDE Discover.
- Rebase octave-gcc6.patch for current version.