Github messages for voidlinux
 help / color / mirror / Atom feed
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: Mon, 30 Dec 2019 02:47:06 +0100	[thread overview]
Message-ID: <20191230014706.Jjfop4ICS-jYMdFICzljU6z65dX7MUlMTB7EkJfVyac@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: 2941 bytes --]

From 5205bcfddfa72d4b97fa583b1ef2a8aba544bb77 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: Update to 4.5.0 ; 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 | 40 +++++++++++++++++++++++++---------------
 1 file changed, 25 insertions(+), 15 deletions(-)

diff --git a/srcpkgs/gmsh/template b/srcpkgs/gmsh/template
index 656fba1b62c..6e75f3cc7fc 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
+version=4.5.1
+revision=1
 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 python3 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
+checksum=58c7c9fe44704c0b16ad4a437865d12b5dfb68877514358f6c06735cfeed5c66
+
+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"
+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
 
-build_options="hxt mesh numpy zipper"
 # 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
 }

  parent reply	other threads:[~2019-12-30  1:47 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
2019-12-29 13:24 ` voidlinux-github
2019-12-30  1:47 ` voidlinux-github [this message]
2020-01-01  2:34 ` [PR PATCH] [Updated] " 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=20191230014706.Jjfop4ICS-jYMdFICzljU6z65dX7MUlMTB7EkJfVyac@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).