octave: update to 10.3.0 (#25824)

* octave: update to 10.3.0

* octave: use GNU mirrors to download tarball

The GNU servers are intermittently unavailable or extremely slow in recent
months. Download the source tarball from one of the mirrors instead.
This commit is contained in:
Markus Mützel 2025-10-06 20:13:52 +02:00 committed by GitHub
parent bbf4eb31b4
commit d5be489e99
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,7 +3,7 @@
_realname=octave
pkgbase=mingw-w64-${_realname}
pkgname=${MINGW_PACKAGE_PREFIX}-${_realname}
pkgver=10.2.0
pkgver=10.3.0
pkgrel=1
pkgdesc="GNU Octave: Interactive programming environment for numerical computations (mingw-w64)"
arch=('any')
@ -61,11 +61,11 @@ optdepends=("unzip: for decompressing .zip archives"
"${MINGW_PACKAGE_PREFIX}-fltk: alternative plotting and dialogs"
"${MINGW_PACKAGE_PREFIX}-gnuplot: alternative plotting"
"${MINGW_PACKAGE_PREFIX}-portaudio: audio support")
source=(https://ftp.gnu.org/gnu/octave/octave-$pkgver.tar.xz{,.sig}
source=(https://ftpmirror.gnu.org/gnu/octave/octave-$pkgver.tar.xz{,.sig}
"0003-no-community-support.patch"
"0005-makeinfo-perl.patch")
validpgpkeys=('DBD9C84E39FE1AAE99F04446B05F05B75D36644B') # John W. Eaton
sha256sums=('c9a0b0f83381866e816842e83eb35042d9dbc9d684557ba776e9e30292b2f76b'
sha256sums=('92ae9bf2edcd288bd2df9fd0b4f7aa719b49d3940fceb154c5fdcd846f254da1'
'SKIP'
'e53af21ad087e10a2906506589aab89ab8b43f4e3e4994b4c28e4d8ae83639ad'
'2df9666d75bb8dd4f549ec857c75aa3ec64b21fd3c9aa25a0d4127b284ec6822')
@ -102,12 +102,13 @@ build() {
"--disable-lib-visibility-flags")
# The headers from some dependent libraries (graphicsmagick++?) cause a
# torrent of warnings about deprecated declarations. Sometimes to the
# point that the build crashes with garbled characters in the terminal
# point where the build crashes with garbled characters in the terminal
# output for some reason. Same issue with dllimport attributes at
# inlined functions in Qt6 headers. Just calling `make all -j2` again in
# the build tree lets the compilation finish successfully.
# inlined functions and implicit conversion from 'const char16_t' to
# 'char32_t' in Qt6 headers. Just calling `make all -j2` again in the build
# tree lets the compilation finish successfully.
# Disable those warnings as a work-around.
CXXFLAGS+=" -Wno-deprecated-declarations -Wno-ignored-attributes"
CXXFLAGS+=" -Wno-deprecated-declarations -Wno-ignored-attributes -Wno-character-conversion"
fi
../${_realname}-${pkgver}/configure \