[arch-commits] Commit in octave/repos (3 files)

2022-08-27 Thread Antonio Rojas via arch-commits
Date: Saturday, August 27, 2022 @ 16:47:32
  Author: arojas
Revision: 1284835

archrelease: copy trunk to community-staging-x86_64

Added:
  octave/repos/community-staging-x86_64/
  octave/repos/community-staging-x86_64/PKGBUILD
(from rev 1284834, octave/trunk/PKGBUILD)
  octave/repos/community-staging-x86_64/keys/

--+
 PKGBUILD |   44 
 1 file changed, 44 insertions(+)

Copied: octave/repos/community-staging-x86_64/PKGBUILD (from rev 1284834, 
octave/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-27 16:47:32 UTC (rev 1284835)
@@ -0,0 +1,44 @@
+# Maintainer: Ronald van Haren 
+# Contributor : shining 
+# Contributor : cyberdune 
+
+pkgname=octave
+pkgver=7.2.0
+pkgrel=2
+pkgdesc="A high-level language, primarily intended for numerical computations"
+arch=('x86_64')
+url="https://www.gnu.org/software/octave/;
+license=('GPL')
+depends=('fftw' 'curl' 'graphicsmagick' 'glpk' 'hdf5' 'qhull' 'arpack' 'glu' 
'ghostscript'
+  'sundials' 'gl2ps' 'qscintilla-qt5' 'libsndfile' 'qt5-tools' 
'qrupdate')
+makedepends=('gcc-fortran' 'texlive-core' 'suitesparse' 'texinfo' 'gnuplot' 
'fltk' 'portaudio' 'jdk8-openjdk' 'rapidjson')
+optdepends=('texinfo: for help-support in octave'
+'gnuplot: alternative plotting'
+'portaudio: audio support'
+'java-runtime: java support'
+'fltk: FLTK GUI'
+'texlive-bin: for the publish command')
+source=(https://ftp.gnu.org/gnu/octave/octave-$pkgver.tar.gz{,.sig})
+options=('!emptydirs')
+validpgpkeys=('DBD9C84E39FE1AAE99F04446B05F05B75D36644B')  # John W. Eaton
+sha512sums=('b1f484fb97ca9270c3090f73b01f1ec0dcd6d3f838ecf7f46c50eb6245a1fa454fbc15dcf87b462a71532ba324cccd4d547b8a5b6a8e7a0914ea14981386b024'
+'SKIP')
+
+build() {
+  cd ${pkgname}-${pkgver}
+
+  ./configure --prefix=/usr --libexecdir=/usr/lib \
+--enable-shared --disable-static \
+--with-quantum-depth=16
+  make
+}
+
+package(){
+  cd ${pkgname}-${pkgver}
+
+  make DESTDIR="${pkgdir}" install
+
+  # add octave library path to ld.so.conf.d
+  install -d "${pkgdir}/etc/ld.so.conf.d"
+  echo "/usr/lib/${pkgname}/${pkgver}" > 
"${pkgdir}/etc/ld.so.conf.d/${pkgname}.conf"
+}



[arch-commits] Commit in octave/repos (3 files)

2022-07-30 Thread Antonio Rojas via arch-commits
Date: Saturday, July 30, 2022 @ 21:34:26
  Author: arojas
Revision: 1259218

archrelease: copy trunk to community-staging-x86_64

Added:
  octave/repos/community-staging-x86_64/
  octave/repos/community-staging-x86_64/PKGBUILD
(from rev 1259217, octave/trunk/PKGBUILD)
  octave/repos/community-staging-x86_64/keys/

--+
 PKGBUILD |   44 
 1 file changed, 44 insertions(+)

Copied: octave/repos/community-staging-x86_64/PKGBUILD (from rev 1259217, 
octave/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-30 21:34:26 UTC (rev 1259218)
@@ -0,0 +1,44 @@
+# Maintainer: Ronald van Haren 
+# Contributor : shining 
+# Contributor : cyberdune 
+
+pkgname=octave
+pkgver=7.2.0
+pkgrel=1
+pkgdesc="A high-level language, primarily intended for numerical computations"
+arch=('x86_64')
+url="https://www.gnu.org/software/octave/;
+license=('GPL')
+depends=('fftw' 'curl' 'graphicsmagick' 'glpk' 'hdf5' 'qhull' 'arpack' 'glu' 
'ghostscript'
+  'sundials' 'gl2ps' 'qscintilla-qt5' 'libsndfile' 'qt5-tools' 
'qrupdate')
+makedepends=('gcc-fortran' 'texlive-core' 'suitesparse' 'texinfo' 'gnuplot' 
'fltk' 'portaudio' 'jdk8-openjdk' 'rapidjson')
+optdepends=('texinfo: for help-support in octave'
+'gnuplot: alternative plotting'
+'portaudio: audio support'
+'java-runtime: java support'
+'fltk: FLTK GUI'
+'texlive-bin: for the publish command')
+source=(https://ftp.gnu.org/gnu/octave/octave-$pkgver.tar.gz{,.sig})
+options=('!emptydirs')
+validpgpkeys=('DBD9C84E39FE1AAE99F04446B05F05B75D36644B')  # John W. Eaton
+sha512sums=('b1f484fb97ca9270c3090f73b01f1ec0dcd6d3f838ecf7f46c50eb6245a1fa454fbc15dcf87b462a71532ba324cccd4d547b8a5b6a8e7a0914ea14981386b024'
+'SKIP')
+
+build() {
+  cd ${pkgname}-${pkgver}
+
+  ./configure --prefix=/usr --libexecdir=/usr/lib \
+--enable-shared --disable-static \
+--with-quantum-depth=16
+  make
+}
+
+package(){
+  cd ${pkgname}-${pkgver}
+
+  make DESTDIR="${pkgdir}" install
+
+  # add octave library path to ld.so.conf.d
+  install -d "${pkgdir}/etc/ld.so.conf.d"
+  echo "/usr/lib/${pkgname}/${pkgver}" > 
"${pkgdir}/etc/ld.so.conf.d/${pkgname}.conf"
+}



[arch-commits] Commit in octave/repos (3 files)

2022-01-12 Thread Antonio Rojas via arch-commits
Date: Wednesday, January 12, 2022 @ 21:09:31
  Author: arojas
Revision: 1101752

archrelease: copy trunk to community-staging-x86_64

Added:
  octave/repos/community-staging-x86_64/
  octave/repos/community-staging-x86_64/PKGBUILD
(from rev 1101751, octave/trunk/PKGBUILD)
  octave/repos/community-staging-x86_64/octave-sundials-6.0.patch
(from rev 1101751, octave/trunk/octave-sundials-6.0.patch)

---+
 PKGBUILD  |   50 ++
 octave-sundials-6.0.patch |   98 
 2 files changed, 148 insertions(+)

Copied: octave/repos/community-staging-x86_64/PKGBUILD (from rev 1101751, 
octave/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-12 21:09:31 UTC (rev 1101752)
@@ -0,0 +1,50 @@
+# Maintainer: Ronald van Haren 
+# Contributor : shining 
+# Contributor : cyberdune 
+
+pkgname=octave
+pkgver=6.4.0
+pkgrel=3
+pkgdesc="A high-level language, primarily intended for numerical computations."
+arch=('x86_64')
+url="https://www.gnu.org/software/octave/;
+license=('GPL')
+depends=('fftw' 'curl' 'graphicsmagick' 'glpk' 'hdf5' 'qhull' 'arpack' 'glu' 
'ghostscript'
+  'sundials' 'gl2ps' 'qscintilla-qt5' 'libsndfile' 'qt5-tools' 
'qrupdate')
+makedepends=('gcc-fortran' 'texlive-core' 'suitesparse' 'texinfo' 'gnuplot' 
'fltk' 'portaudio' 'jdk8-openjdk')
+optdepends=('texinfo: for help-support in octave'
+'gnuplot: alternative plotting'
+'portaudio: audio support'
+'java-runtime: java support'
+'fltk: FLTK GUI'
+'texlive-bin: for the publish command')
+source=(https://ftp.gnu.org/gnu/octave/octave-$pkgver.tar.gz{,.sig}
+octave-sundials-6.0.patch)
+options=('!emptydirs')
+validpgpkeys=('DBD9C84E39FE1AAE99F04446B05F05B75D36644B')  # John W. Eaton
+sha512sums=('91ff031f6dfff8506fa738fd4f1f07276501fdfe003f8ed992cccf91da14d9d33da6d08923322b0dae5f5b696b49856b0f5c5065e26b0701b0d1630173807435'
+'SKIP'
+
'6c6f5e9589456fd360c81d117518642de6389783f7f4e58dcec4762c4ee3c9f8a1da3ce04999c66a52ae812cb523196c94bae9e78daaa49bbda3d20f763ec15e')
+
+prepare() {
+  patch -d $pkgname-$pkgver -p1 < octave-sundials-6.0.patch # Fix build with 
sundials 6
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+
+  ./configure --prefix=/usr --libexecdir=/usr/lib \
+--enable-shared --disable-static \
+--with-quantum-depth=16
+  make
+}
+
+package(){
+  cd ${pkgname}-${pkgver}
+
+  make DESTDIR="${pkgdir}" install
+
+  # add octave library path to ld.so.conf.d
+  install -d "${pkgdir}/etc/ld.so.conf.d"
+  echo "/usr/lib/${pkgname}/${pkgver}" > 
"${pkgdir}/etc/ld.so.conf.d/${pkgname}.conf"
+}

Copied: octave/repos/community-staging-x86_64/octave-sundials-6.0.patch (from 
rev 1101751, octave/trunk/octave-sundials-6.0.patch)
===
--- community-staging-x86_64/octave-sundials-6.0.patch  
(rev 0)
+++ community-staging-x86_64/octave-sundials-6.0.patch  2022-01-12 21:09:31 UTC 
(rev 1101752)
@@ -0,0 +1,98 @@
+diff --git a/libinterp/dldfcn/__ode15__.cc b/libinterp/dldfcn/__ode15__.cc
+index f7ce85331d..700a31783a 100644
+--- a/libinterp/dldfcn/__ode15__.cc
 b/libinterp/dldfcn/__ode15__.cc
+@@ -105,11 +105,11 @@ namespace octave
+ #  endif
+ 
+ #  if defined (HAVE_SUNDIALS_SUNLINSOL_KLU)
+-#if ! defined (HAVE_SUNLINSOL_KLU) && defined (HAVE_SUNKLU)
++#if ! defined (HAVE_SUNLINSOL_KLU) && defined (HAVE_SUNLinSol_KLU)
+   static inline SUNLinearSolver
+   SUNLinSol_KLU (N_Vector y, SUNMatrix A)
+   {
+-return SUNKLU (y, A);
++return SUNLinSol_KLU (y, A);
+   }
+ #endif
+ #  endif
+@@ -417,11 +417,11 @@ namespace octave
+ else
+   {
+ 
+-m_sunJacMatrix = SUNDenseMatrix (m_num, m_num);
++m_sunJacMatrix = SUNDenseMatrix (m_num, m_num, NULL);
+ if (! m_sunJacMatrix)
+   error ("Unable to create dense Jacobian for Sundials");
+ 
+-m_sunLinearSolver = SUNLinSol_Dense (yy, m_sunJacMatrix);
++m_sunLinearSolver = SUNLinSol_Dense (yy, m_sunJacMatrix, NULL);
+ if (! m_sunLinearSolver)
+   error ("Unable to create dense linear solver");
+ 
+@@ -505,7 +505,7 @@ namespace octave
+   N_Vector
+   IDA::ColToNVec (const ColumnVector& data, long int n)
+   {
+-N_Vector v = N_VNew_Serial (n);
++N_Vector v = N_VNew_Serial (n, NULL);
+ 
+ realtype *punt = nv_data_s (v);
+ 
+@@ -528,7 +528,7 @@ namespace octave
+   IDA::initialize (void)
+   {
+ m_num = m_y0.numel ();
+-m_mem = IDACreate ();
++m_mem = IDACreate (NULL);
+ 
+ N_Vector yy = ColToNVec (m_y0, m_num);
+ 
+@@ -687,7 +687,7 @@ namespace octave
+ if (status == 0)
+   {
+ // Interpolate in tend
+-N_Vector dky = N_VNew_Serial (m_num);

[arch-commits] Commit in octave/repos (3 files)

2021-12-17 Thread Antonio Rojas via arch-commits
Date: Friday, December 17, 2021 @ 22:47:39
  Author: arojas
Revision: 1076637

archrelease: copy trunk to community-staging-x86_64

Added:
  octave/repos/community-staging-x86_64/
  octave/repos/community-staging-x86_64/PKGBUILD
(from rev 1076636, octave/trunk/PKGBUILD)
  octave/repos/community-staging-x86_64/octave-sundials-6.0.patch
(from rev 1076636, octave/trunk/octave-sundials-6.0.patch)

---+
 PKGBUILD  |   50 ++
 octave-sundials-6.0.patch |   98 
 2 files changed, 148 insertions(+)

Copied: octave/repos/community-staging-x86_64/PKGBUILD (from rev 1076636, 
octave/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-17 22:47:39 UTC (rev 1076637)
@@ -0,0 +1,50 @@
+# Maintainer: Ronald van Haren 
+# Contributor : shining 
+# Contributor : cyberdune 
+
+pkgname=octave
+pkgver=6.4.0
+pkgrel=2
+pkgdesc="A high-level language, primarily intended for numerical computations."
+arch=('x86_64')
+url="https://www.gnu.org/software/octave/;
+license=('GPL')
+depends=('fftw' 'curl' 'graphicsmagick' 'glpk' 'hdf5' 'qhull' 'arpack' 'glu' 
'ghostscript'
+  'sundials' 'gl2ps' 'qscintilla-qt5' 'libsndfile' 'qt5-tools' 
'qrupdate')
+makedepends=('gcc-fortran' 'texlive-core' 'suitesparse' 'texinfo' 'gnuplot' 
'fltk' 'portaudio' 'jdk8-openjdk')
+optdepends=('texinfo: for help-support in octave'
+'gnuplot: alternative plotting'
+'portaudio: audio support'
+'java-runtime: java support'
+'fltk: FLTK GUI'
+'texlive-bin: for the publish command')
+source=(https://ftp.gnu.org/gnu/octave/octave-$pkgver.tar.gz{,.sig}
+octave-sundials-6.0.patch)
+options=('!emptydirs')
+validpgpkeys=('DBD9C84E39FE1AAE99F04446B05F05B75D36644B')  # John W. Eaton
+sha512sums=('91ff031f6dfff8506fa738fd4f1f07276501fdfe003f8ed992cccf91da14d9d33da6d08923322b0dae5f5b696b49856b0f5c5065e26b0701b0d1630173807435'
+'SKIP'
+
'6c6f5e9589456fd360c81d117518642de6389783f7f4e58dcec4762c4ee3c9f8a1da3ce04999c66a52ae812cb523196c94bae9e78daaa49bbda3d20f763ec15e')
+
+prepare() {
+  patch -d $pkgname-$pkgver -p1 < octave-sundials-6.0.patch # Fix build with 
sundials 6
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+
+  ./configure --prefix=/usr --libexecdir=/usr/lib \
+--enable-shared --disable-static \
+--with-quantum-depth=16
+  make
+}
+
+package(){
+  cd ${pkgname}-${pkgver}
+
+  make DESTDIR="${pkgdir}" install
+
+  # add octave library path to ld.so.conf.d
+  install -d "${pkgdir}/etc/ld.so.conf.d"
+  echo "/usr/lib/${pkgname}/${pkgver}" > 
"${pkgdir}/etc/ld.so.conf.d/${pkgname}.conf"
+}

Copied: octave/repos/community-staging-x86_64/octave-sundials-6.0.patch (from 
rev 1076636, octave/trunk/octave-sundials-6.0.patch)
===
--- community-staging-x86_64/octave-sundials-6.0.patch  
(rev 0)
+++ community-staging-x86_64/octave-sundials-6.0.patch  2021-12-17 22:47:39 UTC 
(rev 1076637)
@@ -0,0 +1,98 @@
+diff --git a/libinterp/dldfcn/__ode15__.cc b/libinterp/dldfcn/__ode15__.cc
+index f7ce85331d..700a31783a 100644
+--- a/libinterp/dldfcn/__ode15__.cc
 b/libinterp/dldfcn/__ode15__.cc
+@@ -105,11 +105,11 @@ namespace octave
+ #  endif
+ 
+ #  if defined (HAVE_SUNDIALS_SUNLINSOL_KLU)
+-#if ! defined (HAVE_SUNLINSOL_KLU) && defined (HAVE_SUNKLU)
++#if ! defined (HAVE_SUNLINSOL_KLU) && defined (HAVE_SUNLinSol_KLU)
+   static inline SUNLinearSolver
+   SUNLinSol_KLU (N_Vector y, SUNMatrix A)
+   {
+-return SUNKLU (y, A);
++return SUNLinSol_KLU (y, A);
+   }
+ #endif
+ #  endif
+@@ -417,11 +417,11 @@ namespace octave
+ else
+   {
+ 
+-m_sunJacMatrix = SUNDenseMatrix (m_num, m_num);
++m_sunJacMatrix = SUNDenseMatrix (m_num, m_num, NULL);
+ if (! m_sunJacMatrix)
+   error ("Unable to create dense Jacobian for Sundials");
+ 
+-m_sunLinearSolver = SUNLinSol_Dense (yy, m_sunJacMatrix);
++m_sunLinearSolver = SUNLinSol_Dense (yy, m_sunJacMatrix, NULL);
+ if (! m_sunLinearSolver)
+   error ("Unable to create dense linear solver");
+ 
+@@ -505,7 +505,7 @@ namespace octave
+   N_Vector
+   IDA::ColToNVec (const ColumnVector& data, long int n)
+   {
+-N_Vector v = N_VNew_Serial (n);
++N_Vector v = N_VNew_Serial (n, NULL);
+ 
+ realtype *punt = nv_data_s (v);
+ 
+@@ -528,7 +528,7 @@ namespace octave
+   IDA::initialize (void)
+   {
+ m_num = m_y0.numel ();
+-m_mem = IDACreate ();
++m_mem = IDACreate (NULL);
+ 
+ N_Vector yy = ColToNVec (m_y0, m_num);
+ 
+@@ -687,7 +687,7 @@ namespace octave
+ if (status == 0)
+   {
+ // Interpolate in tend
+-N_Vector dky = N_VNew_Serial (m_num);
++