Github messages for voidlinux
 help / color / mirror / Atom feed
* Re: gmsh: Update to 4.5.0 ; Added build_option fltk
       [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
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: voidlinux-github @ 2019-12-25 20:45 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 381 bytes --]

New comment by ndowens on void-packages repository

https://github.com/void-linux/void-packages/pull/17583#issuecomment-568930933

Comment:
> I'm against this build option because a new package could be created with GUI support... so that both could coexist

In reality, it already had a GUI option, I just replaced it with the FLTK GUI, so people would know what GUI to expect.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: gmsh: Update to 4.5.0 ; Added build_option fltk
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-17583@inbox.vuxu.org>
  2019-12-25 20:45 ` gmsh: Update to 4.5.0 ; Added build_option fltk voidlinux-github
@ 2019-12-25 20:46 ` voidlinux-github
  2019-12-25 20:48 ` voidlinux-github
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: voidlinux-github @ 2019-12-25 20:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 381 bytes --]

New comment by ndowens on void-packages repository

https://github.com/void-linux/void-packages/pull/17583#issuecomment-568930933

Comment:
> I'm against this build option because a new package could be created with GUI support... so that both could coexist

In reality, it already had a GUI option, I just replaced it with the FLTK GUI, so people would know what GUI to expect.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: gmsh: Update to 4.5.0 ; Added build_option fltk
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-17583@inbox.vuxu.org>
  2019-12-25 20:45 ` gmsh: Update to 4.5.0 ; Added build_option fltk voidlinux-github
  2019-12-25 20:46 ` voidlinux-github
@ 2019-12-25 20:48 ` voidlinux-github
  2019-12-25 20:54 ` voidlinux-github
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: voidlinux-github @ 2019-12-25 20:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 378 bytes --]

New comment by ndowens on void-packages repository

https://github.com/void-linux/void-packages/pull/17583#issuecomment-568931034

Comment:
> I'm against this build option because a new package could be created with GUI support... so that both could coexist

What if someone doesn't want another package that provides GUI? If they only want to use this package's GUI instead?

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: gmsh: Update to 4.5.0 ; Added build_option fltk
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-17583@inbox.vuxu.org>
                   ` (2 preceding siblings ...)
  2019-12-25 20:48 ` voidlinux-github
@ 2019-12-25 20:54 ` voidlinux-github
  2019-12-25 21:00 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: voidlinux-github @ 2019-12-25 20:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 157 bytes --]

New comment by xtraeme on void-packages repository

https://github.com/void-linux/void-packages/pull/17583#issuecomment-568931306

Comment:
Sounds good then

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PR PATCH] [Updated] gmsh: Update to 4.5.0 ; Added build_option fltk
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-17583@inbox.vuxu.org>
                   ` (3 preceding siblings ...)
  2019-12-25 20:54 ` voidlinux-github
@ 2019-12-25 21:00 ` voidlinux-github
  2019-12-29  1:49 ` voidlinux-github
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: voidlinux-github @ 2019-12-25 21:00 UTC (permalink / raw)
  To: ml

[-- 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: 2893 bytes --]

From ca6607f708957cff60f744b351130b77741119d4 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 | 38 ++++++++++++++++++++++++--------------
 1 file changed, 24 insertions(+), 14 deletions(-)

diff --git a/srcpkgs/gmsh/template b/srcpkgs/gmsh/template
index 656fba1b62c..2b4732a4a78 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.0
+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>"
 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=3641db01155b63c000c74d8b0b4ff805d6b521d61e4d4455b78fd1ebe34a4995
+
+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
 }

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PR PATCH] [Updated] gmsh: Update to 4.5.0 ; Added build_option fltk
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-17583@inbox.vuxu.org>
                   ` (4 preceding siblings ...)
  2019-12-25 21:00 ` [PR PATCH] [Updated] " voidlinux-github
@ 2019-12-29  1:49 ` voidlinux-github
  2019-12-29 13:24 ` voidlinux-github
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: voidlinux-github @ 2019-12-29  1:49 UTC (permalink / raw)
  To: ml

[-- 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
 }

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: gmsh: Update to 4.5.0 ; Added build_option fltk
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-17583@inbox.vuxu.org>
                   ` (5 preceding siblings ...)
  2019-12-29  1:49 ` voidlinux-github
@ 2019-12-29 13:24 ` voidlinux-github
  2019-12-30  1:47 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: voidlinux-github @ 2019-12-29 13:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 174 bytes --]

New comment by luzpaz on void-packages repository

https://github.com/void-linux/void-packages/pull/17583#issuecomment-569505341

Comment:
Thanks for working on this package

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PR PATCH] [Updated] gmsh: Update to 4.5.0 ; Added build_option fltk
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-17583@inbox.vuxu.org>
                   ` (6 preceding siblings ...)
  2019-12-29 13:24 ` voidlinux-github
@ 2019-12-30  1:47 ` voidlinux-github
  2020-01-01  2:34 ` voidlinux-github
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: voidlinux-github @ 2019-12-30  1:47 UTC (permalink / raw)
  To: ml

[-- 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
 }

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PR PATCH] [Updated] gmsh: Update to 4.5.0 ; Added build_option fltk
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-17583@inbox.vuxu.org>
                   ` (7 preceding siblings ...)
  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
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: voidlinux-github @ 2020-01-01  2:34 UTC (permalink / raw)
  To: ml

[-- 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
 }

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PR PATCH] [Closed]: gmsh: Update to 4.5.0 ; Added build_option fltk
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-17583@inbox.vuxu.org>
                   ` (8 preceding siblings ...)
  2020-01-01  2:34 ` voidlinux-github
@ 2020-01-18 17:56 ` voidlinux-github
  2020-01-18 23:08 ` voidlinux-github
  2020-01-18 23:08 ` voidlinux-github
  11 siblings, 0 replies; 12+ messages in thread
From: voidlinux-github @ 2020-01-18 17:56 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 421 bytes --]

There's a closed pull request on the void-packages repository

gmsh: Update to 4.5.0 ; Added build_option fltk
https://github.com/void-linux/void-packages/pull/17583

Description:
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>

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: gmsh: Update to 4.5.0 ; Added build_option fltk
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-17583@inbox.vuxu.org>
                   ` (9 preceding siblings ...)
  2020-01-18 17:56 ` [PR PATCH] [Closed]: " voidlinux-github
@ 2020-01-18 23:08 ` voidlinux-github
  2020-01-18 23:08 ` voidlinux-github
  11 siblings, 0 replies; 12+ messages in thread
From: voidlinux-github @ 2020-01-18 23:08 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 219 bytes --]

New comment by luzpaz on void-packages repository

https://github.com/void-linux/void-packages/pull/17583#issuecomment-575946670

Comment:
Any commit associated with this PR? Or was this ticket just closed arbitrarily?

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: gmsh: Update to 4.5.0 ; Added build_option fltk
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-17583@inbox.vuxu.org>
                   ` (10 preceding siblings ...)
  2020-01-18 23:08 ` voidlinux-github
@ 2020-01-18 23:08 ` voidlinux-github
  11 siblings, 0 replies; 12+ messages in thread
From: voidlinux-github @ 2020-01-18 23:08 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 236 bytes --]

New comment by luzpaz on void-packages repository

https://github.com/void-linux/void-packages/pull/17583#issuecomment-575946670

Comment:
Any commit associated with this ticket being closed? Or was this ticket just closed arbitrarily?

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2020-01-18 23:08 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-17583@inbox.vuxu.org>
2019-12-25 20:45 ` gmsh: Update to 4.5.0 ; Added build_option fltk 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 ` [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

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).