Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package octave-forge-miscellaneous for
openSUSE:Factory checked in at 2026-08-25 13:51:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/octave-forge-miscellaneous (Old)
and /work/SRC/openSUSE:Factory/.octave-forge-miscellaneous.new.1258 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "octave-forge-miscellaneous"
Tue Aug 25 13:51:23 2026 rev:6 rq:1373574 version:1.3.3
Changes:
--------
---
/work/SRC/openSUSE:Factory/octave-forge-miscellaneous/octave-forge-miscellaneous.changes
2026-04-25 21:36:43.304184406 +0200
+++
/work/SRC/openSUSE:Factory/.octave-forge-miscellaneous.new.1258/octave-forge-miscellaneous.changes
2026-08-25 13:51:23.643275439 +0200
@@ -1,0 +2,8 @@
+Thu Aug 20 18:40:55 UTC 2026 - Stefan BrĂ¼ns <[email protected]>
+
+- Update to version 1.3.3:
+ * pkg update for octave 12.0+ functionality
+ * Minor doc updates
+ * removed deprecated function asci
+
+-------------------------------------------------------------------
Old:
----
miscellaneous-1.3.2.tar.gz
New:
----
miscellaneous-1.3.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ octave-forge-miscellaneous.spec ++++++
--- /var/tmp/diff_new_pack.QbNV1U/_old 2026-08-25 13:51:24.315299129 +0200
+++ /var/tmp/diff_new_pack.QbNV1U/_new 2026-08-25 13:51:24.317299200 +0200
@@ -18,7 +18,7 @@
%define octpkg miscellaneous
Name: octave-forge-%{octpkg}
-Version: 1.3.2
+Version: 1.3.3
Release: 0
Summary: Miscellaneous functions for Octave
License: GPL-3.0-or-later
@@ -29,7 +29,7 @@
BuildRequires: ncurses-devel
BuildRequires: octave-devel
BuildRequires: units
-Requires: octave-cli >= 3.6.0
+Requires: octave-cli >= 3.8.0
Requires: octave-forge-general >= 1.3.1
Requires: units
++++++ miscellaneous-1.3.2.tar.gz -> miscellaneous-1.3.3.tar.gz ++++++
++++ 2314 lines of diff (skipped)
++++ retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh
old/miscellaneous-1.3.2/DESCRIPTION new/miscellaneous-1.3.3/DESCRIPTION
--- old/miscellaneous-1.3.2/DESCRIPTION 2025-12-23 14:31:56.000000000 +0100
+++ new/miscellaneous-1.3.3/DESCRIPTION 2026-05-24 17:41:44.000000000 +0200
@@ -1,6 +1,6 @@
Name: miscellaneous
-Version: 1.3.2
-Date: 2025-12-23
+Version: 1.3.3
+Date: 2026-05-24
Author: various authors
Maintainer: Octave-Forge community <[email protected]>
Title: Miscellaneous functions
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh
old/miscellaneous-1.3.2/INDEX new/miscellaneous-1.3.3/INDEX
--- old/miscellaneous-1.3.2/INDEX 2025-12-23 14:31:56.000000000 +0100
+++ new/miscellaneous-1.3.3/INDEX 2026-05-24 17:41:44.000000000 +0200
@@ -1,22 +1,24 @@
miscellaneous >> Miscellaneous functions
+polynomials
+ chebyshevpoly
+ hermitepoly
+ laguerrepoly
+ legendrepoly
+normalization
+ normc
+ normr
miscellaneous
ascii
cell2cell
- chebyshevpoly
clip
colorboard
csv2latex
gameoflife
- hermitepoly
hilbert_curve
hc2ind
idxmatrix
infoskeleton
- laguerrepoly
- legendrepoly
match
- normc
- normr
nze
partcnt
partint
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh
old/miscellaneous-1.3.2/NEWS new/miscellaneous-1.3.3/NEWS
--- old/miscellaneous-1.3.2/NEWS 2025-12-23 14:31:56.000000000 +0100
+++ new/miscellaneous-1.3.3/NEWS 2026-05-24 17:41:44.000000000 +0200
@@ -2,6 +2,16 @@
------------------------------------------------------------------------
===============================================================================
+miscellaneous-1.3.3 Release Date: 2026-05-24 Release Manager: John Donoghue
+===============================================================================
+
+ ** pkg update for octave 12.0+ functionality
+
+ ** Minor doc updates
+
+ ** removed deprecated function asci
+
+===============================================================================
miscellaneous-1.3.2 Release Date: 2025-12-23 Release Manager: John Donoghue
===============================================================================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh
old/miscellaneous-1.3.2/README.md new/miscellaneous-1.3.3/README.md
--- old/miscellaneous-1.3.2/README.md 2025-12-23 14:31:56.000000000 +0100
+++ new/miscellaneous-1.3.3/README.md 2026-05-24 17:41:44.000000000 +0200
@@ -67,7 +67,7 @@
3. To install from a local tarball.
pkg install miscellaneous-XXXXXXX.tar.gz
- Where XXXXXXX is the version of the the downloaded tarball.
+ Where XXXXXXX is the version of the downloaded tarball.
Usage:
======
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh
old/miscellaneous-1.3.2/inst/asci.m new/miscellaneous-1.3.3/inst/asci.m
--- old/miscellaneous-1.3.2/inst/asci.m 2025-12-23 14:31:56.000000000 +0100
+++ new/miscellaneous-1.3.3/inst/asci.m 1970-01-01 01:00:00.000000000 +0100
@@ -1,33 +0,0 @@
-## Copyright (C) 2008, Thomas Treichl <[email protected]>
-##
-## This program is free software; you can redistribute it and/or modify it
under
-## the terms of the GNU General Public License as published by the Free
Software
-## Foundation; either version 3 of the License, or (at your option) any later
-## version.
-##
-## This program is distributed in the hope that it will be useful, but WITHOUT
-## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
more
-## details.
-##
-## You should have received a copy of the GNU General Public License along with
-## this program; if not, see <http://www.gnu.org/licenses/>.
-
-## -*- texinfo -*-
-## @deftypefn {Function} {[@var{string}] =} asci ([@var{columns}])
-## Print ASCII table.
-##
-## This function has been renamed @code{ascii} (note double i at the end of
-## its name) and will be removed from future versions of the miscellaneous
-## package. Please refer to @code{ascii} help text for its documentation.
-##
-## @end deftypefn
-
-function [varargout] = asci (varargin)
- persistent warned = false;
- if (! warned)
- warned = true;
- warning ("asci() has been deprecated. Use ascii (note double i in the
name) instead");
- endif
- [varargout{1:nargout}] = ascii (varargin{:});
-endfunction
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh
old/miscellaneous-1.3.2/inst/colorboard.m
new/miscellaneous-1.3.3/inst/colorboard.m
--- old/miscellaneous-1.3.2/inst/colorboard.m 2025-12-23 14:31:56.000000000
+0100
+++ new/miscellaneous-1.3.3/inst/colorboard.m 2026-05-24 17:41:44.000000000
+0200
@@ -172,3 +172,19 @@
endif
pal = reshape (sprintf (fmt, r), l, length (r)).';
endfunction
+
+%!error colorboard();
+%!error colorboard([0:15]);
+%!error colorboard([0:15], "b&w");
+
+%!test
+%! # test is see that we have the correct size box around the color :)
+%! out = evalc("colorboard ([0:1]);");
+%! assert(numel(find(out == '#')), 12);
+%! assert(numel(find(out == '|')), 2);
+%! out = evalc("colorboard ([0:15], 'xterm16');");
+%! assert(numel(find(out == '#')), 68);
+%! assert(numel(find(out == '|')), 2);
+%! out = evalc("colorboard ([0:7;8:15], 'xterm16');");
+%! assert(numel(find(out == '#')), 36);
+%! assert(numel(find(out == '|')), 4);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh
old/miscellaneous-1.3.2/inst/csv2latex.m
new/miscellaneous-1.3.3/inst/csv2latex.m
--- old/miscellaneous-1.3.2/inst/csv2latex.m 2025-12-23 14:31:56.000000000
+0100
+++ new/miscellaneous-1.3.3/inst/csv2latex.m 2026-05-24 17:41:44.000000000
+0200
@@ -168,3 +168,25 @@
fclose(fid); # close the latex file after writing
endif
endfunction
+
+%!error csv2latex()
+%!error csv2latex("")
+%!error csv2latex("", "")
+
+%!test
+%! f1name = tempname();
+%! f2name = tempname();
+%! f = -1;
+%! unwind_protect
+%! f = fopen(f1name, "w");
+%! fprintf(f, "A|B|C\nD|E|F\n");
+%! unwind_protect_cleanup
+%! if f != -1
+%! fclose(f);
+%! endif
+%! end_unwind_protect
+%! csv2latex(f1name, '|', f2name);
+%! a = fileread(f2name);
+%! checkstr = "\\begin{tabular}{llll}";
+%! assert(strncmp(a, checkstr, length(checkstr)));
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh
old/miscellaneous-1.3.2/inst/hc2ind.m new/miscellaneous-1.3.3/inst/hc2ind.m
--- old/miscellaneous-1.3.2/inst/hc2ind.m 2025-12-23 14:31:56.000000000
+0100
+++ new/miscellaneous-1.3.3/inst/hc2ind.m 2026-05-24 17:41:44.000000000
+0200
@@ -50,3 +50,15 @@
%! [x, y] = hilbert_curve (4);
%! ind = hc2ind (x, y);
%! M(ind)
+
+%!error hc2ind()
+%!error hc2ind("")
+%!error hc2ind([])
+
+%!test
+%! M = idxmatrix (4);
+%! [x, y] = hilbert_curve (4);
+%! ind = hc2ind (x, y);
+%! assert(ind, [1 5 6 2 3 4 8 7 11 12 16 15 14 10 9 13]');
+
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh
old/miscellaneous-1.3.2/inst/infoskeleton.m
new/miscellaneous-1.3.3/inst/infoskeleton.m
--- old/miscellaneous-1.3.2/inst/infoskeleton.m 2025-12-23 14:31:56.000000000
+0100
+++ new/miscellaneous-1.3.3/inst/infoskeleton.m 2026-05-24 17:41:44.000000000
+0200
@@ -127,3 +127,11 @@
%!demo infoskeleton( ' [x,y,z]=infoskeleton(func , z , z9 , jj, fjh, x) ')
%!demo infoskeleton('[V,Q] = eig( A )','linear algebra','eigs, chol, qr, det')
%!demo infoskeleton( 'function [x,y,z] = indian_languages ( x) ')
+
+%!error infoskeleton()
+
+%!test
+%! out = evalc("infoskeleton( ' [x,y,z]=infoskeleton(func , z , z9 , jj, fjh,
x) ')");
+%! checkstr = "## -*- texinfo -*-";
+%! assert(strncmp(out, checkstr, length(checkstr)));
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh
old/miscellaneous-1.3.2/inst/nze.m new/miscellaneous-1.3.3/inst/nze.m
--- old/miscellaneous-1.3.2/inst/nze.m 2025-12-23 14:31:56.000000000 +0100
+++ new/miscellaneous-1.3.3/inst/nze.m 2026-05-24 17:41:44.000000000 +0200
@@ -29,3 +29,11 @@
f = find (nz);
endif
endfunction
+
+%!test
+%! x = [0 1 2 0 2 4];
+%! y = nze(x);
+%! assert(y, [1 2 2 4]);
+%! [y,f] = nze(x);
+%! assert(y, [1 2 2 4]);
+%! assert(f, [2 3 5 6]);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh
old/miscellaneous-1.3.2/inst/rolldices.m
new/miscellaneous-1.3.3/inst/rolldices.m
--- old/miscellaneous-1.3.2/inst/rolldices.m 2025-12-23 14:31:56.000000000
+0100
+++ new/miscellaneous-1.3.3/inst/rolldices.m 2026-05-24 17:41:44.000000000
+0200
@@ -30,6 +30,11 @@
print_usage ();
endif
+ if exist ("pause", "builtin")
+ # new octave versions have pause rather than sleep
+ sleep = @pause;
+ endif
+
persistent matrices = getmatrices ();
screen_cols = getenv ("COLUMNS");
@@ -79,3 +84,10 @@
matrices = cellfun (@(mat) [spcs, lbrk, mat, rbrk], matrices,
"UniformOutput", false);
matrices = cat (3, matrices{:});
endfunction
+
+%!error rolldices()
+
+%!test
+%! [out, d] = evalc ("rolldices(2)");
+%! in_range = (d >= 1) & (d <= 6);
+%! assert(all(in_range));
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh
old/miscellaneous-1.3.2/inst/truncate.m new/miscellaneous-1.3.3/inst/truncate.m
--- old/miscellaneous-1.3.2/inst/truncate.m 2025-12-23 14:31:56.000000000
+0100
+++ new/miscellaneous-1.3.3/inst/truncate.m 2026-05-24 17:41:44.000000000
+0200
@@ -1,53 +1,60 @@
-%% Copyright (c) 2012 Juan Pablo Carbajal <[email protected]>
-%%
-%% This program is free software: you can redistribute it and/or modify
-%% it under the terms of the GNU General Public License as published by
-%% the Free Software Foundation, either version 3 of the License, or
-%% any later version.
-%%
-%% This program is distributed in the hope that it will be useful,
-%% but WITHOUT ANY WARRANTY; without even the implied warranty of
-%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-%% GNU General Public License for more details.
-%%
-%% You should have received a copy of the GNU General Public License
-%% along with this program. If not, see <http://www.gnu.org/licenses/>.
+## Copyright (c) 2012 Juan Pablo Carbajal <[email protected]>
+##
+## This program is free software: you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation, either version 3 of the License, or
+## any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program. If not, see <http://www.gnu.org/licenses/>.
-%% -*- texinfo -*-
-%% @deftypefn {Function File} {@var{y} =} truncate (@var{x}, @var{order},
@var{method})
-%% @deftypefnx {Function File} {@var{y} =} truncate (@dots{}, @var{method})
-%% Truncates @var{X} to @var{order} of magnitude.
-%%
-%% The optional argument @var{method} can be a hanlde to a function used to
-%% truncate the number. Default is @code{round}.
-%%
-%% Examples:
-%% @example
-%% format long
-%% x = 987654321.123456789;
-%% order = [3:-1:0 -(1:3)]';
-%% y = truncate (x,order)
-%% y =
-%% 987654000.000000
-%% 987654300.000000
-%% 987654320.000000
-%% 987654321.000000
-%% 987654321.100000
-%% 987654321.120000
-%% 987654321.123000
-%%
-%% format
-%% [truncate(0.127,-2), truncate(0.127,-2,@@floor)]
-%% ans =
-%% 0.13000 0.12000
-%%
-%% @end example
-%%
-%% @seealso{round,fix,ceil,floor}
-%% @end deftypefn
+## -*- texinfo -*-
+## @deftypefn {Function File} {@var{y} =} truncate (@var{x}, @var{order},
@var{method})
+## @deftypefnx {Function File} {@var{y} =} truncate (@dots{}, @var{method})
+## Truncates @var{X} to @var{order} of magnitude.
+##
+## The optional argument @var{method} can be a hanlde to a function used to
+## truncate the number. Default is @code{round}.
+##
+## Examples:
+## @example
+## format long
+## x = 987654321.123456789;
+## order = [3:-1:0 -(1:3)]';
+## y = truncate (x,order)
+## y =
+## 987654000.000000
+## 987654300.000000
+## 987654320.000000
+## 987654321.000000
+## 987654321.100000
+## 987654321.120000
+## 987654321.123000
+##
+## format
+## [truncate(0.127,-2), truncate(0.127,-2,@@floor)]
+## ans =
+## 0.13000 0.12000
+##
+## @end example
+##
+## @seealso{round,fix,ceil,floor}
+## @end deftypefn
function y = truncate (x,order,method=@round)
ino = 0.1.^order;
o = 10.^order;
y = method (x.*ino).*o;
-end
+endfunction
+
+%!error truncate()
+%!error truncate([])
+
+%!test
+%! assert(truncate(0.127,-2), 0.13000, 10-5)
+%! assert(truncate(0.127,-2,@floor), 0.12000, 10-5)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh
old/miscellaneous-1.3.2/src/configure.ac
new/miscellaneous-1.3.3/src/configure.ac
--- old/miscellaneous-1.3.2/src/configure.ac 2025-12-23 14:31:56.000000000
+0100
+++ new/miscellaneous-1.3.3/src/configure.ac 2026-05-24 17:41:44.000000000
+0200
@@ -1,5 +1,5 @@
AC_PREREQ([2.67])
-AC_INIT([Octave-Forge miscellaneous package],[1.3.2])
+AC_INIT([Octave-Forge miscellaneous package],[1.3.3])
AC_CONFIG_HEADERS([config.h])
# Avoid warnings for redefining AH-generated preprocessor symbols of
@@ -11,21 +11,6 @@
AC_PROG_GREP
AC_PROG_SED
-## these are C headers required for text_waitbar
-AC_CHECK_HEADER([term.h],
- [],
- [AC_CHECK_HEADER([termcap.h],
- [],
- [AC_CHECK_HEADER([ncurses/termcap.h],
- [],
- [AC_MSG_ERROR([Unable to find ncurses library headers.])]
- ])
- ])
-)
-
-AC_PROG_CXX
-AC_LANG(C++)
-
## this is required for the units.m function
AC_CHECK_PROG(UNITS_AVAILABLE, units, yes)
if test x"$UNITS_AVAILABLE" != x"yes" ; then
@@ -59,6 +44,30 @@
esac
fi
+# The same value of CXX as Octave was compiled with is supposed to be used.
+CXX=`${MKOCTFILE} -p CXX`
+
+# The check for flags to enable C++11 is broken with a C++20 compiler (because
+# the type of u8"" literals changed) in autoconf before version 2.73.
+# Octave requires C++11 since version 4.2, so it is enabled by the CXX as
+# returned by mkoctfile. Skip broken check which would demote to C++11.
+ac_cv_prog_cxx_cxx11=""
+
+AC_PROG_CXX
+AC_LANG(C++)
+
+## these are C headers required for text_waitbar
+AC_CHECK_HEADER([term.h],
+ [],
+ [AC_CHECK_HEADER([termcap.h],
+ [],
+ [AC_CHECK_HEADER([ncurses/termcap.h],
+ [],
+ [AC_MSG_ERROR([Unable to find ncurses library headers.])]
+ ])
+ ])
+)
+
# check for some octave functionality
save_altsyms_CXX="$CXX"
save_altsyms_CXXFLAGS="$CXXFLAGS"