mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sci-libs/gmsh: drop 4.11.1-r3, 4.12.2-r2, 4.13.1-r1
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -1,4 +1,2 @@
|
||||
DIST gmsh-4.11.1-source.tgz 17985611 BLAKE2B 087664cfbfec758eaa3740a65920ccf673dbcc97a1ef8010222da64b8c586334ed1a77904e94061bdf34e714aae34311ee4f6fb38740473046f99ad6c1e0984c SHA512 8f2a71d6db80dd6bacde6dc1ccd120c7f83609dd69a84a910455a21a43b7392cd7e0e7b4d37aaa6a1b1cbfdb816646cd4828d2ac6d784edba072167280432e4c
|
||||
DIST gmsh-4.12.2-source.tgz 18150293 BLAKE2B 16f8048d8962d2a8e41d813713c147a691d24c7fabdcc7f3787bff804b1dfa477d4853b4b366a409c2ed9649e8c83710b4f73ac23a0c5885d0e65cd25bb88d6f SHA512 935148aff89b608f9d671d5fd4f12aed52b5c8ba4453e978d0febcc6934c045f2bba0078b13a64b2cbf4e852b413bbd05873335099ea7a967cc81ef58a7f8367
|
||||
DIST gmsh-4.13.1-source.tgz 18383962 BLAKE2B bf0d002b7d0fa187b47440f167fc02ad41acc327745d0fcdfce8e78877c794696f5e84c5fa6d36664be00c92219d3a338a817832b22edf8baec2954ac39d2f82 SHA512 273067b0d20b4afaa84aa8729f670a3d0666a9ffebe6c802f3b5e6e58daac68300aff6be7973ad7c272e22c0db0473a8ee2ad1e3ddda2d37f2cc208f18fcbdc5
|
||||
DIST gmsh-4.14.0-source.tgz 18458158 BLAKE2B 02af538c094fb7fa1033f3d5821dab3e1554ca10e0bc7a0ab87cca3079e119c5fec149c4af2f4c12d213776f36d8b9734631fd5a3240a9e938c2330dd6bc8989 SHA512 130104088e6ba195a4bdc14ef4c79b28872996fa58690161bf304e267d02b21247a3f7865d4c08eadc87cd686657a7fea52379b5ec0a8d67280b237c2a2647bc
|
||||
|
||||
@@ -1,29 +0,0 @@
|
||||
# Based on upstream patches:
|
||||
# https://gitlab.onelab.info/gmsh/gmsh/-/commit/fb81a9c90
|
||||
# https://gitlab.onelab.info/gmsh/gmsh/-/commit/aceb09c80
|
||||
#
|
||||
# Upstream issue: https://gitlab.onelab.info/gmsh/gmsh/-/issues/2416
|
||||
# Gentoo issue: https://bugs.gentoo.org/905445
|
||||
|
||||
diff -Naur a/contrib/QuadMeshingTools/qmtMeshGeometryOptimization.h b/contrib/QuadMeshingTools/qmtMeshGeometryOptimization.h
|
||||
--- a/contrib/QuadMeshingTools/qmtMeshGeometryOptimization.h
|
||||
+++ b/contrib/QuadMeshingTools/qmtMeshGeometryOptimization.h
|
||||
@@ -8,6 +8,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <float.h>
|
||||
+#include <cstdint>
|
||||
#include "qmtMeshUtils.h"
|
||||
|
||||
class SurfaceProjector;
|
||||
diff -Naur a/src/mesh/meshGFacePack.cpp b/src/mesh/meshGFacePack.cpp
|
||||
--- a/src/mesh/meshGFacePack.cpp
|
||||
+++ b/src/mesh/meshGFacePack.cpp
|
||||
@@ -8,6 +8,7 @@
|
||||
#include <queue>
|
||||
#include <map>
|
||||
#include <vector>
|
||||
+#include <cstdint>
|
||||
#include "gmsh.h"
|
||||
#include "SPoint2.h"
|
||||
#include "SVector3.h"
|
||||
@@ -1,138 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit cmake desktop fortran-2 python-any-r1 toolchain-funcs xdg-utils
|
||||
|
||||
DESCRIPTION="Three-dimensional finite element mesh generator"
|
||||
HOMEPAGE="https://gmsh.info https://gitlab.onelab.info/gmsh/gmsh"
|
||||
SRC_URI="https://gmsh.info/src/${P}-source.tgz"
|
||||
S="${WORKDIR}/${P}-source"
|
||||
|
||||
LICENSE="
|
||||
GPL-2+ free-noncomm
|
||||
alglib? ( MIT )
|
||||
gmm? ( LGPL-2.1+ )
|
||||
metis? ( Apache-2.0 )
|
||||
netgen? ( LGPL-2.1+ )
|
||||
voro? ( BSD )
|
||||
"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
## cgns is not compiling ATM, maybe fix cgns lib first
|
||||
IUSE="+alglib +blas cgns eigen examples +gmm jpeg med metis mpi mumps netgen opencascade petsc pdf png python shared slepc X voro zlib"
|
||||
|
||||
REQUIRED_USE="
|
||||
^^ ( blas eigen )
|
||||
mumps? ( blas )
|
||||
slepc? ( petsc )
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
virtual/fortran
|
||||
X? ( x11-libs/fltk:1=[xft(+)] )
|
||||
alglib? ( sci-libs/alglib )
|
||||
blas? (
|
||||
virtual/blas
|
||||
virtual/lapack
|
||||
sci-libs/fftw:3.0
|
||||
)
|
||||
cgns? (
|
||||
sci-libs/cgnslib
|
||||
sci-libs/hdf5:=[mpi=]
|
||||
)
|
||||
eigen? ( dev-cpp/eigen )
|
||||
gmm? ( sci-mathematics/gmm )
|
||||
jpeg? ( media-libs/libjpeg-turbo )
|
||||
med? (
|
||||
sci-libs/med[mpi=]
|
||||
sci-libs/hdf5:=[mpi=]
|
||||
)
|
||||
metis? ( >=sci-libs/metis-5.2.0 )
|
||||
mpi? ( virtual/mpi )
|
||||
mumps? ( sci-libs/mumps[mpi=] )
|
||||
opencascade? ( sci-libs/opencascade:* )
|
||||
pdf? ( app-text/poppler:= )
|
||||
png? ( media-libs/libpng:0 )
|
||||
petsc? ( sci-mathematics/petsc[mpi=] )
|
||||
slepc? ( sci-mathematics/slepc[mpi=] )
|
||||
voro? ( sci-libs/voro++ )
|
||||
zlib? ( sys-libs/zlib )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
virtual/pkgconfig
|
||||
python? ( dev-lang/swig:0 )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-4.9.5-opencascade.patch
|
||||
"${FILESDIR}"/${P}_gcc13_fix_cstdint_include.patch
|
||||
"${FILESDIR}"/${P}-metis-5-2.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
fortran-2_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=( )
|
||||
|
||||
use blas && \
|
||||
mycmakeargs+=(-DCMAKE_Fortran_COMPILER=$(tc-getF77))
|
||||
|
||||
mycmakeargs+=(
|
||||
-DENABLE_ALGLIB="$(usex alglib)"
|
||||
-DENABLE_BLAS_LAPACK="$(usex blas)"
|
||||
-DENABLE_BUILD_DYNAMIC="$(usex shared)"
|
||||
-DENABLE_CGNS="$(usex cgns)"
|
||||
-DENABLE_EIGEN="$(usex eigen)"
|
||||
-DENABLE_FLTK="$(usex X)"
|
||||
-DENABLE_GMM="$(usex gmm)"
|
||||
-DENABLE_GRAPHICS="$(usex X)"
|
||||
-DENABLE_MED="$(usex med)"
|
||||
-DENABLE_MPI="$(usex mpi)"
|
||||
-DENABLE_METIS="$(usex metis)"
|
||||
-DENABLE_MUMPS="$(usex mumps)"
|
||||
-DENABLE_NETGEN="$(usex netgen)"
|
||||
-DENABLE_OCC="$(usex opencascade)"
|
||||
-DENABLE_PETSC="$(usex petsc)"
|
||||
-DENABLE_POPPLER="$(usex pdf)"
|
||||
-DENABLE_SLEPC="$(usex slepc)"
|
||||
-DENABLE_PRIVATE_API="$(usex shared)"
|
||||
-DENABLE_SYSTEM_CONTRIB="YES"
|
||||
-DENABLE_VOROPP="$(usex voro)"
|
||||
-DENABLE_WRAP_PYTHON="$(usex python)")
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
if use examples ; then
|
||||
dodoc -r examples tutorials
|
||||
docompress -x /usr/share/doc/${PF}/{examples,tutorials}
|
||||
fi
|
||||
|
||||
if use X ; then
|
||||
newicon -s 64 "/${S}/utils/icons/gmsh-no-text.png" gmsh.png
|
||||
make_desktop_entry "/usr/bin/gmsh" "Gmsh ${PV}" "gmsh" "Science;Math"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use X ; then
|
||||
xdg_icon_cache_update
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if use X ; then
|
||||
xdg_icon_cache_update
|
||||
fi
|
||||
}
|
||||
@@ -1,137 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit cmake desktop fortran-2 python-any-r1 toolchain-funcs xdg-utils
|
||||
|
||||
DESCRIPTION="Three-dimensional finite element mesh generator"
|
||||
HOMEPAGE="https://gmsh.info https://gitlab.onelab.info/gmsh/gmsh"
|
||||
SRC_URI="https://gmsh.info/src/${P}-source.tgz"
|
||||
S="${WORKDIR}/${P}-source"
|
||||
|
||||
LICENSE="
|
||||
GPL-2+ free-noncomm
|
||||
alglib? ( MIT )
|
||||
gmm? ( LGPL-2.1+ )
|
||||
metis? ( Apache-2.0 )
|
||||
netgen? ( LGPL-2.1+ )
|
||||
voro? ( BSD )
|
||||
"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
## cgns is not compiling ATM, maybe fix cgns lib first
|
||||
IUSE="+alglib +blas cgns eigen examples +gmm jpeg med metis mpi mumps netgen opencascade petsc pdf png python shared slepc X voro zlib"
|
||||
|
||||
REQUIRED_USE="
|
||||
^^ ( blas eigen )
|
||||
mumps? ( blas )
|
||||
slepc? ( petsc )
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
virtual/fortran
|
||||
X? ( x11-libs/fltk:1=[xft(+)] )
|
||||
alglib? ( sci-libs/alglib )
|
||||
blas? (
|
||||
virtual/blas
|
||||
virtual/lapack
|
||||
sci-libs/fftw:3.0
|
||||
)
|
||||
cgns? (
|
||||
sci-libs/cgnslib
|
||||
sci-libs/hdf5:=[mpi=]
|
||||
)
|
||||
eigen? ( dev-cpp/eigen )
|
||||
gmm? ( sci-mathematics/gmm )
|
||||
jpeg? ( media-libs/libjpeg-turbo )
|
||||
med? (
|
||||
sci-libs/med[mpi=]
|
||||
sci-libs/hdf5:=[mpi=]
|
||||
)
|
||||
metis? ( >=sci-libs/metis-5.2.0 )
|
||||
mpi? ( virtual/mpi )
|
||||
mumps? ( sci-libs/mumps[mpi=] )
|
||||
opencascade? ( sci-libs/opencascade:* )
|
||||
pdf? ( app-text/poppler:= )
|
||||
png? ( media-libs/libpng:0 )
|
||||
petsc? ( sci-mathematics/petsc[mpi=] )
|
||||
slepc? ( sci-mathematics/slepc[mpi=] )
|
||||
voro? ( sci-libs/voro++ )
|
||||
zlib? ( sys-libs/zlib )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
virtual/pkgconfig
|
||||
python? ( dev-lang/swig:0 )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-4.9.5-opencascade.patch
|
||||
"${FILESDIR}"/${PN}-4.11.1-metis-5-2.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
fortran-2_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=( )
|
||||
|
||||
use blas && \
|
||||
mycmakeargs+=(-DCMAKE_Fortran_COMPILER=$(tc-getF77))
|
||||
|
||||
mycmakeargs+=(
|
||||
-DENABLE_ALGLIB="$(usex alglib)"
|
||||
-DENABLE_BLAS_LAPACK="$(usex blas)"
|
||||
-DENABLE_BUILD_DYNAMIC="$(usex shared)"
|
||||
-DENABLE_CGNS="$(usex cgns)"
|
||||
-DENABLE_EIGEN="$(usex eigen)"
|
||||
-DENABLE_FLTK="$(usex X)"
|
||||
-DENABLE_GMM="$(usex gmm)"
|
||||
-DENABLE_GRAPHICS="$(usex X)"
|
||||
-DENABLE_MED="$(usex med)"
|
||||
-DENABLE_MPI="$(usex mpi)"
|
||||
-DENABLE_METIS="$(usex metis)"
|
||||
-DENABLE_MUMPS="$(usex mumps)"
|
||||
-DENABLE_NETGEN="$(usex netgen)"
|
||||
-DENABLE_OCC="$(usex opencascade)"
|
||||
-DENABLE_PETSC="$(usex petsc)"
|
||||
-DENABLE_POPPLER="$(usex pdf)"
|
||||
-DENABLE_SLEPC="$(usex slepc)"
|
||||
-DENABLE_PRIVATE_API="$(usex shared)"
|
||||
-DENABLE_SYSTEM_CONTRIB="YES"
|
||||
-DENABLE_VOROPP="$(usex voro)"
|
||||
-DENABLE_WRAP_PYTHON="$(usex python)")
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
if use examples ; then
|
||||
dodoc -r examples tutorials
|
||||
docompress -x /usr/share/doc/${PF}/{examples,tutorials}
|
||||
fi
|
||||
|
||||
if use X ; then
|
||||
newicon -s 64 "/${S}/utils/icons/gmsh-no-text.png" gmsh.png
|
||||
make_desktop_entry "/usr/bin/gmsh" "Gmsh ${PV}" "gmsh" "Science;Math"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use X ; then
|
||||
xdg_icon_cache_update
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if use X ; then
|
||||
xdg_icon_cache_update
|
||||
fi
|
||||
}
|
||||
@@ -1,137 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit cmake desktop fortran-2 python-any-r1 toolchain-funcs xdg-utils
|
||||
|
||||
DESCRIPTION="Three-dimensional finite element mesh generator"
|
||||
HOMEPAGE="https://gmsh.info https://gitlab.onelab.info/gmsh/gmsh"
|
||||
SRC_URI="https://gmsh.info/src/${P}-source.tgz"
|
||||
S="${WORKDIR}/${P}-source"
|
||||
|
||||
LICENSE="
|
||||
GPL-2+ free-noncomm
|
||||
alglib? ( MIT )
|
||||
gmm? ( LGPL-2.1+ )
|
||||
metis? ( Apache-2.0 )
|
||||
netgen? ( LGPL-2.1+ )
|
||||
voro? ( BSD )
|
||||
"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
## cgns is not compiling ATM, maybe fix cgns lib first
|
||||
IUSE="+alglib +blas cgns eigen examples +gmm jpeg med metis mpi mumps netgen opencascade petsc pdf png python shared slepc X voro zlib"
|
||||
|
||||
REQUIRED_USE="
|
||||
^^ ( blas eigen )
|
||||
mumps? ( blas )
|
||||
slepc? ( petsc )
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
virtual/fortran
|
||||
X? ( x11-libs/fltk:1=[xft(+)] )
|
||||
alglib? ( sci-libs/alglib )
|
||||
blas? (
|
||||
virtual/blas
|
||||
virtual/lapack
|
||||
sci-libs/fftw:3.0
|
||||
)
|
||||
cgns? (
|
||||
sci-libs/cgnslib
|
||||
sci-libs/hdf5:=[mpi=]
|
||||
)
|
||||
eigen? ( dev-cpp/eigen )
|
||||
gmm? ( sci-mathematics/gmm )
|
||||
jpeg? ( media-libs/libjpeg-turbo )
|
||||
med? (
|
||||
sci-libs/med[mpi=]
|
||||
sci-libs/hdf5:=[mpi=]
|
||||
)
|
||||
metis? ( >=sci-libs/metis-5.2.0 )
|
||||
mpi? ( virtual/mpi )
|
||||
mumps? ( sci-libs/mumps[mpi=] )
|
||||
opencascade? ( sci-libs/opencascade:* )
|
||||
pdf? ( app-text/poppler:= )
|
||||
png? ( media-libs/libpng:0 )
|
||||
petsc? ( sci-mathematics/petsc[mpi=] )
|
||||
slepc? ( sci-mathematics/slepc[mpi=] )
|
||||
voro? ( sci-libs/voro++ )
|
||||
zlib? ( sys-libs/zlib )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
virtual/pkgconfig
|
||||
python? ( dev-lang/swig:0 )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-4.9.5-opencascade.patch
|
||||
"${FILESDIR}"/${PN}-4.11.1-metis-5-2.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
fortran-2_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=( )
|
||||
|
||||
use blas && \
|
||||
mycmakeargs+=(-DCMAKE_Fortran_COMPILER=$(tc-getF77))
|
||||
|
||||
mycmakeargs+=(
|
||||
-DENABLE_ALGLIB="$(usex alglib)"
|
||||
-DENABLE_BLAS_LAPACK="$(usex blas)"
|
||||
-DENABLE_BUILD_DYNAMIC="$(usex shared)"
|
||||
-DENABLE_CGNS="$(usex cgns)"
|
||||
-DENABLE_EIGEN="$(usex eigen)"
|
||||
-DENABLE_FLTK="$(usex X)"
|
||||
-DENABLE_GMM="$(usex gmm)"
|
||||
-DENABLE_GRAPHICS="$(usex X)"
|
||||
-DENABLE_MED="$(usex med)"
|
||||
-DENABLE_MPI="$(usex mpi)"
|
||||
-DENABLE_METIS="$(usex metis)"
|
||||
-DENABLE_MUMPS="$(usex mumps)"
|
||||
-DENABLE_NETGEN="$(usex netgen)"
|
||||
-DENABLE_OCC="$(usex opencascade)"
|
||||
-DENABLE_PETSC="$(usex petsc)"
|
||||
-DENABLE_POPPLER="$(usex pdf)"
|
||||
-DENABLE_SLEPC="$(usex slepc)"
|
||||
-DENABLE_PRIVATE_API="$(usex shared)"
|
||||
-DENABLE_SYSTEM_CONTRIB="YES"
|
||||
-DENABLE_VOROPP="$(usex voro)"
|
||||
-DENABLE_WRAP_PYTHON="$(usex python)")
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
if use examples ; then
|
||||
dodoc -r examples tutorials
|
||||
docompress -x /usr/share/doc/${PF}/{examples,tutorials}
|
||||
fi
|
||||
|
||||
if use X ; then
|
||||
newicon -s 64 "/${S}/utils/icons/gmsh-no-text.png" gmsh.png
|
||||
make_desktop_entry "/usr/bin/gmsh" "Gmsh ${PV}" "gmsh" "Science;Math"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use X ; then
|
||||
xdg_icon_cache_update
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if use X ; then
|
||||
xdg_icon_cache_update
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user