From: ericonr <ericonr@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] [WIP] octave: update to 6.2.0.
Date: Wed, 11 Aug 2021 04:44:47 +0200 [thread overview]
Message-ID: <20210811024447.RvA0TBJdBwiQra9VMhe0U4k02-Fi6D1R6YdLzgzBXco@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-27775@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 324 bytes --]
There is an updated pull request by ericonr against master on the void-packages repository
https://github.com/olafmersmann/void-packages octave
https://github.com/void-linux/void-packages/pull/27775
[WIP] octave: update to 6.2.0.
A patch file from https://github.com/void-linux/void-packages/pull/27775.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-octave-27775.patch --]
[-- Type: text/x-diff, Size: 2989 bytes --]
From 9ff4c5ea3185147db4450c83baa7da667a0759cb Mon Sep 17 00:00:00 2001
From: Olaf Mersmann <olafm@p-value.net>
Date: Tue, 5 Jan 2021 00:16:17 +0100
Subject: [PATCH] octave: update to 6.3.0.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- add support for targets without proper openblas support
- add changelog for the 6.x release series
- fix gui deps
- adding 'texlive-dvi' and 'tar' to depends to make building external
packages easier was considered, but ultimately dismissed; since they
aren't enough to actually build packages, they would increase
dependency count for little gain
Co-authored-by: Érico Nogueira <erico.erc@gmail.com>
---
srcpkgs/octave/template | 30 ++++++++++++++++++++++--------
1 file changed, 22 insertions(+), 8 deletions(-)
diff --git a/srcpkgs/octave/template b/srcpkgs/octave/template
index 8a92ed68d532..08ba298b09dd 100644
--- a/srcpkgs/octave/template
+++ b/srcpkgs/octave/template
@@ -1,19 +1,33 @@
# Template file for 'octave'
pkgname=octave
-version=5.2.0
-revision=2
+version=6.3.0
+revision=1
build_style=gnu-configure
-configure_args=" --with-blas=openblas --with-lapack=openblas"
-hostmakedepends="perl gcc-fortran pkg-config gnuplot"
-makedepends="pcre-devel openblas-devel readline-devel libSM-devel libltdl-devel
- lcms2-devel glpk-devel"
+hostmakedepends="perl gcc-fortran pkg-config gnuplot texinfo texlive-dvi tar"
+makedepends="pcre-devel readline-devel libSM-devel libltdl-devel lcms2-devel
+ glpk-devel"
depends="$(vopt_if gui qt5-plugin-sqlite) texinfo"
+checkdepends="zip unzip"
short_desc="High-level language, primarily intended for numerical computations"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="GPL-3.0-or-later"
homepage="https://gnu.org/software/octave/"
+changelog="https://www.gnu.org/software/octave/NEWS-6.1.html"
distfiles="${GNU_SITE}/octave/octave-${version}.tar.gz"
-checksum=2fea62b3c78d6f38e9451da8a4d26023840725977dffee5250d3d180f56595e1
+checksum=232065f3a72fc3013fe9f17f429a3df69d672c1f6b6077029a31c8f3cd58a66e
+
+# Use OpenBLAS on platforms where it is available and fallback to regular BLAS
+# on all others.
+case "$XBPS_TARGET_MACHINE" in
+ # List of supported architectures copied from openblas.
+ armv[67]*|aarch64*|i686*|x86_64*|ppc64*)
+ makedepends+=" openblas-devel"
+ configure_args=" --with-blas=openblas --with-lapack=openblas"
+ ;;
+ *)
+ makedepends+=" blas-devel lapack-devel"
+ ;;
+esac
# Package build options
# TODO: some options are still missing, such as
@@ -65,7 +79,7 @@ makedepends+="
$(vopt_if curl libcurl-devel)
$(vopt_if fftw3 fftw-devel)
$(vopt_if graphicsmagick libgraphicsmagick-devel)
- $(vopt_if gui 'qt5-devel qscintilla-qt5-devel qt5-tools-devel')
+ $(vopt_if gui 'qt5-devel qt5-plugin-sqlite qscintilla-qt5-devel qt5-tools-devel')
$(vopt_if hdf5 hdf5-devel)
$(vopt_if imagemagick libmagick-devel)
$(vopt_if opengl "glu-devel fltk-devel fontconfig-devel freetype-devel gl2ps-devel")
next prev parent reply other threads:[~2021-08-11 2:44 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-08 23:21 [PR PATCH] [WIP] octave: update to 6.1.0 olafmersmann
2021-02-15 4:00 ` ericonr
2021-02-15 4:01 ` ericonr
2021-02-24 8:47 ` [PR PATCH] [Updated] " olafmersmann
2021-03-28 18:22 ` [PR REVIEW] " Piraty
2021-03-28 18:22 ` Piraty
2021-03-28 18:22 ` Piraty
2021-03-30 18:35 ` [PR REVIEW] " ericonr
2021-03-30 18:37 ` ericonr
2021-03-30 18:37 ` ericonr
2021-03-30 18:37 ` ericonr
2021-03-31 21:39 ` [PR REVIEW] [WIP] octave: update to 6.2.0 olafmersmann
2021-08-11 2:29 ` [PR PATCH] [Updated] " ericonr
2021-08-11 2:44 ` ericonr [this message]
2021-08-11 2:59 ` [PR PATCH] [Merged]: " ericonr
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210811024447.RvA0TBJdBwiQra9VMhe0U4k02-Fi6D1R6YdLzgzBXco@z \
--to=ericonr@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).