From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] gmsh: Update to 4.5.0 ; Added build_option fltk
Date: Sun, 29 Dec 2019 02:49:39 +0100 [thread overview]
Message-ID: <20191229014939.xY6SRJKR3fqJqKYy1e370igtvfAd_DpRf3LEa8x79Qs@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-17583@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 578 bytes --]
There is an updated pull request by ndowens against master on the void-packages repository
https://github.com/ndowens/void-packages gmsh-dep
https://github.com/void-linux/void-packages/pull/17583
gmsh: Update to 4.5.0 ; Added build_option fltk
Add build_option fltk so by default a lot less dependencies are needed unless one wants to build
a fltk GUI. Also add libgfortran to depends as gmsh links
to the library. Closes: #17086
Signed-off-by: Nathan Owens <ndowens04@gmail.com>
A patch file from https://github.com/void-linux/void-packages/pull/17583.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gmsh-dep-17583.patch --]
[-- Type: text/x-diff, Size: 2856 bytes --]
From 0ff12ef01d162360f4945676446ba48cea4ddfec Mon Sep 17 00:00:00 2001
From: Nathan Owens <ndowens04@gmail.com>
Date: Tue, 17 Dec 2019 19:08:59 -0600
Subject: [PATCH] gmsh: Add build_option fltk
Add build_option fltk less dependencies are needed unless
one wants to build a fltk GUI. Also add libgfortran to depends
as gmsh links to the library. Closes #17086
Signed-off-by: Nathan Owens <ndowens04@gmail.com>
---
srcpkgs/gmsh/template | 36 +++++++++++++++++++++++-------------
1 file changed, 23 insertions(+), 13 deletions(-)
diff --git a/srcpkgs/gmsh/template b/srcpkgs/gmsh/template
index 656fba1b62c..3cf13fc556e 100644
--- a/srcpkgs/gmsh/template
+++ b/srcpkgs/gmsh/template
@@ -1,34 +1,44 @@
# Template file for 'gmsh'
pkgname=gmsh
version=4.4.1
-revision=2
+revision=3
wrksrc="${pkgname}-${version}-source"
build_style=cmake
configure_args="-DENABLE_NUMPY=$(vopt_if numpy ON OFF)
- -DENABLE_ZIPPER=$(vopt_if zipper ON OFF) -DENABLE_HXT=$(vopt_if hxt ON OFF)"
-hostmakedepends="blas-devel lapack-devel SDL2-devel
- $(vopt_if mesh 'hdf5-devel fltk-devel') gmp-devel"
-depends="python blas-devel lapack-devel SDL2-devel
- $(vopt_if mesh 'hdf5-devel fltk-devel') gmp-devel"
+ -DENABLE_ZIPPER=$(vopt_if zipper ON OFF)
+ -DENABLE_HXT=$(vopt_if hxt ON OFF)
+ -DENABLE_FLTK=$(vopt_if fltk ON OFF)"
+hostmakedepends="blas-devel lapack-devel gmp-devel
+ $(vopt_if mesh 'hdf5-devel')
+ $(vopt_if fltk 'glu-devel fltk-devel')"
+depends="libgfortran python blas-devel lapack-devel
+ $(vopt_if mesh 'hdf5-devel')
+ $(vopt_if fltk 'glu-devel fltk-devel')"
short_desc="Three-dimensional finite element mesh generator"
-maintainer="Nathan Owens <ndowens04@gmail.com>"
+maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://gmsh.info"
changelog="http://gmsh.info/CHANGELOG.txt"
distfiles="https://gmsh.info/src/gmsh-${version}-source.tgz"
checksum=853c6438fc4e4b765206e66a514b09182c56377bb4b73f1d0d26eda7eb8af0dc
-build_options="hxt mesh numpy zipper"
+build_options="hxt mesh numpy zipper fltk"
+desc_option_fltk="Enable FLTK GUI"
+desc_option_hxt="Enable HXT library"
+desc_option_mesh="Enable mesh support (Required for GUI and FLTK)"
+desc_option_numpy="Enable fullMatrix and numpy array conversion"
+desc_option_zipper="Enable zip file compression/decompression"
+
+# If fltk is enabled, mesh must be enabled
+if [ "$build_option_fltk" ]; then
+ build_options_default+=" mesh"
+fi
+
# HXT and MESH only available on x86
case "${XBPS_TARGET_MACHINE}" in
i686|x86_64) build_options_default="hxt mesh";;
esac
-desc_option_hxt="Enable HXT library"
-desc_option_mesh="Enable mesh support (Required for GUI)"
-desc_option_numpy="Enable fullMatrix and numpy array conversion"
-desc_option_zipper="Enable zip file compression/decompression"
-
post_install() {
rm -rf builddir/gmsh-$version-source/api
}
next prev parent reply other threads:[~2019-12-29 1:49 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-17583@inbox.vuxu.org>
2019-12-25 20:45 ` voidlinux-github
2019-12-25 20:46 ` voidlinux-github
2019-12-25 20:48 ` voidlinux-github
2019-12-25 20:54 ` voidlinux-github
2019-12-25 21:00 ` [PR PATCH] [Updated] " voidlinux-github
2019-12-29 1:49 ` voidlinux-github [this message]
2019-12-29 13:24 ` voidlinux-github
2019-12-30 1:47 ` [PR PATCH] [Updated] " voidlinux-github
2020-01-01 2:34 ` voidlinux-github
2020-01-18 17:56 ` [PR PATCH] [Closed]: " voidlinux-github
2020-01-18 23:08 ` voidlinux-github
2020-01-18 23:08 ` voidlinux-github
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=20191229014939.xY6SRJKR3fqJqKYy1e370igtvfAd_DpRf3LEa8x79Qs@z \
--to=voidlinux-github@inbox.vuxu.org \
--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).