<pre style='margin:0'>
Marius Schamschula (Schamschula) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/c03f48341b716c2b2047312ffe5905324bbf0916">https://github.com/macports/macports-ports/commit/c03f48341b716c2b2047312ffe5905324bbf0916</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit c03f48341b716c2b2047312ffe5905324bbf0916
</span>Author: Marius Schamschula <mschamschula@gmail.com>
AuthorDate: Mon Mar 13 15:42:30 2023 -0500
<span style='display:block; white-space:pre;color:#404040;'> octave: update to 8.1.0
</span>---
math/octave/Portfile | 19 +++++------
math/octave/files/patch-makeinfo.diff | 22 ++++++------
math/octave/files/patch-texinfo7.diff | 64 -----------------------------------
3 files changed, 19 insertions(+), 86 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/octave/Portfile b/math/octave/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 3c9fe91549f..176292e2cf7 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/octave/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/octave/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -7,9 +7,9 @@ PortGroup compiler_blacklist_versions 1.0
</span> PortGroup linear_algebra 1.0
name octave
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 7.3.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set package_version 7.x.x
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 8.1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set package_version 8.x.x
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span>
categories math science
license GPL-3+
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -24,9 +24,9 @@ homepage https://www.gnu.org/software/octave
</span>
master_sites gnu:octave
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 72cfccf028b6ac0f7da22db5502e2c0b1a016af3 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 6e14a4649d70af45ab660f8cbbf645aaf1ec33f25f88bfda4697cb17e440c4f5 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 34194696
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 91caf9fcfcfb85c590f490dbf47a57c3bc046e64 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 8052074d17b0ef643d037de8ab389672c752bb201ee9cea4dfa69858fb6a213f \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 37521315
</span>
# see https://lists.gnu.org/archive/html/octave-maintainers/2016-05/msg00286.html
compiler.cxx_standard \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -64,9 +64,6 @@ patchfiles-append patch-__opengl_info__.diff
</span> # see https://trac.macports.org/ticket/57288
patchfiles-append patch-run-octave.diff
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# see https://trac.macports.org/ticket/66299
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles-append patch-texinfo7.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> # see https://savannah.gnu.org/patch/index.php?9806
set java_version 1.8
patchfiles-append patch-java_version.diff
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -650,7 +647,7 @@ post-destroot {
</span> }
# do not force upgrade of every dependency every time the version changes
<span style='display:block; white-space:pre;background:#ffe0e0;'>- foreach lib {liboctave.9.dylib liboctinterp.10.dylib} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach lib {liboctave.10.dylib liboctinterp.11.dylib} {
</span> xinstall -d -m 0755 ${destroot}${prefix}/lib/octave/${package_version}
ln -s ../${version}/${lib} ${destroot}${prefix}/lib/octave/${package_version}/${lib}
system "install_name_tool -id ${prefix}/lib/octave/${package_version}/${lib} ${destroot}${prefix}/lib/octave/${version}/${lib}"
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -658,7 +655,7 @@ post-destroot {
</span>
if { [variant_isset qt5] } {
# do not force upgrade of every dependency every time the version changes
<span style='display:block; white-space:pre;background:#ffe0e0;'>- foreach lib {liboctgui.8.dylib} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach lib {liboctgui.9.dylib} {
</span> xinstall -d -m 0755 ${destroot}${prefix}/lib/octave/${package_version}
ln -s ../${version}/${lib} ${destroot}${prefix}/lib/octave/${package_version}/${lib}
system "install_name_tool -id ${prefix}/lib/octave/${package_version}/${lib} ${destroot}${prefix}/lib/octave/${version}/${lib}"
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/octave/files/patch-makeinfo.diff b/math/octave/files/patch-makeinfo.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index 8fa1e1f4bd7..7338884f2a0 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/octave/files/patch-makeinfo.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/octave/files/patch-makeinfo.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,11 +1,11 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- libinterp/corefcn/help.h.orig 2018-04-30 10:03:56.000000000 -0700
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ libinterp/corefcn/help.h 2018-05-19 09:36:25.000000000 -0700
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -47,7 +47,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- m_doc_cache_file (init_doc_cache_file ()),
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- m_info_file (init_info_file ()),
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- m_info_program (init_info_program ()),
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- m_makeinfo_program ("makeinfo"),
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ m_makeinfo_program ("__MACPORTS_prefix__/bin/makeinfo"),
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- m_suppress_verbose_help_message (false),
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- m_texi_macros_file (init_texi_macros_file ())
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- { }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- libinterp/corefcn/help.h.orig 2023-03-06 23:34:32.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ libinterp/corefcn/help.h 2023-03-08 05:47:48.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -50,7 +50,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ m_doc_cache_file (init_doc_cache_file ()),
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ m_info_file (init_info_file ()),
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ m_info_program (init_info_program ()),
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- m_makeinfo_program ("makeinfo"),
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ m_makeinfo_program ("__MACPORTS_prefix__/bin/makeinfo"),
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ m_suppress_verbose_help_message (false),
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ m_texi_macros_file (init_texi_macros_file ())
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ { }
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/octave/files/patch-texinfo7.diff b/math/octave/files/patch-texinfo7.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 2f98b285b15..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/octave/files/patch-texinfo7.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,64 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Fix infinite loop in destroot when using texinfo 7 that causes main.log
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-to fill all disk space.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-https://savannah.gnu.org/bugs/?62648
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-https://hg.savannah.gnu.org/hgweb/octave/rev/ab6d276f6fcb
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- doc/interpreter/mk-qthelp.pl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ doc/interpreter/mk-qthelp.pl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -26,8 +26,11 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- open (my $HTML, "<", $htmlfname) or die "Unable to open $htmlfname";
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Skip through preamble of file to find start of list
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--while (($_ = <$HTML>) !~ /^<div class="contents">/ ) {;}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--while (($_ = <$HTML>) !~ /^<ul class="no-bullet">/ ) {;}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+while (defined ($_ = <$HTML>) and ! /^<div class="contents">/ ) {;}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+while (defined ($_ = <$HTML>)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ and ! /^<ul class="(?:no-bullet|toc-numbered-mark)">/ ) {;}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+die "index.html: reached EOF without finding data start pattern" if eof ($HTML);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- $level = 0;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- while (<$HTML>)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -68,7 +71,11 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- open ($HTML, "<", $htmlfname) or die "Unable to open $htmlfname";
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Skip through preamble of file to find start of list
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--while (($_ = <$HTML>) !~ /^<table class="index-fn/ ) {;}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+while (defined ($_ = <$HTML>)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ and ! /^<table class="(?:index-fn|fn-entries)/ ) {;}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+die "Function-Index.html: reached EOF without finding data start pattern"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ if eof ($HTML);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- while (<$HTML>)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-https://hg.savannah.gnu.org/hgweb/octave/rev/dccc52324b0b
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- scripts/help/__unimplemented__.m
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ scripts/help/__unimplemented__.m
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1340,8 +1340,8 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- %!test
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- %! str = __unimplemented__ ("matlabrc");
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--%! assert (str(1:71), "matlabrc is not implemented. Octave uses the file '.octaverc' instead.");
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+%! assert (regexp (str, "matlabrc is not implemented\. Octave uses the file .\.octaverc. instead\."));
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- %!test
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- %! str = __unimplemented__ ("MException");
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--%! assert (str(1:58), "The 'MException' function is not yet implemented in Octave");
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+%! assert (regexp (str, "The .MException. function is not yet implemented in Octave"));
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-https://hg.savannah.gnu.org/hgweb/octave/rev/21b5e1c4d36e
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- scripts/help/get_first_help_sentence.m
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ scripts/help/get_first_help_sentence.m
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -181,8 +181,8 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- endfunction
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--%!assert (get_first_help_sentence ('get_first_help_sentence'), ...
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--%! "Return the first sentence of a function's help text.")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+%!assert (regexp (get_first_help_sentence ('get_first_help_sentence'), ...
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+%! "Return the first sentence of a function.s help text\."))
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- %!assert (get_first_help_sentence ('get_first_help_sentence', 28), ...
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- %! "Return the first sentence...")
</span></pre><pre style='margin:0'>
</pre>