commit: a5ba1192cf7909d3c4995e8a12e7820e333a4744 Author: Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr> AuthorDate: Mon Nov 3 08:31:21 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Nov 4 11:04:57 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5ba1192
sci-mathematics/mathmod: Bump to 13.0 add a patch for a missing include Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr> Part-of: https://github.com/gentoo/gentoo/pull/44448 Signed-off-by: Sam James <sam <AT> gentoo.org> sci-mathematics/mathmod/Manifest | 1 + .../files/mathmod-13.0-missing_include.patch | 26 ++++++++++++++ sci-mathematics/mathmod/mathmod-13.0.ebuild | 42 ++++++++++++++++++++++ 3 files changed, 69 insertions(+) diff --git a/sci-mathematics/mathmod/Manifest b/sci-mathematics/mathmod/Manifest index a41980bfcbde..038048b8f1b1 100644 --- a/sci-mathematics/mathmod/Manifest +++ b/sci-mathematics/mathmod/Manifest @@ -1,2 +1,3 @@ DIST mathmod-12.0.tar.gz 9392067 BLAKE2B 2144c4aa06c3c13bdb5dca333134195d92bea5dcf0478e80f2ca25b41e4c74344725cced3bc72fc4b4f571da5b3ec734b0ea05fc7b1f80566f8b83d229e5627f SHA512 d8a247a14e03c4d6fb4812b4404338162d7ff79745ebe31c467a444fdb48441b950a9d39c7b31fedb3f2bb1961d3075e44eb264b863708bd48f949b8185d60c6 DIST mathmod-12.1.tar.gz 9475468 BLAKE2B 9aeb27578d4c17cc2d8414f95ddcd55910458fe49208c0cb0277439a3d5628f517d79644bdd8c7e1ec747482e14898cdcb2896f57ec02a3af3bc033ac28f6034 SHA512 2e7ed6e2d345ffc16d275ccebc41352b4fd21f0c085ff25ae35fda7329b103371ccfe7bff6b12d8df3ebb145deaaf8f2ddcaedf3190a5542d1db002e2adc7566 +DIST mathmod-13.0.tar.gz 9407320 BLAKE2B cc8e550ca1c583edaa1398fb9f0dc27c996ac755caacf3995d0590bb08815c6b30c49b3560cc14ca570ff8344547d812ec61c8860c23fce3e44f7fc8f9a15fca SHA512 b276dbc42b54ccda7e608c99197f32c9a54e56046c598deb6ef118670bc7b9a61f3dab726cc94db8810946f727d193f9665f0c6c6a5ddbfb06e773de4840a831 diff --git a/sci-mathematics/mathmod/files/mathmod-13.0-missing_include.patch b/sci-mathematics/mathmod/files/mathmod-13.0-missing_include.patch new file mode 100644 index 000000000000..3771213f1f7e --- /dev/null +++ b/sci-mathematics/mathmod/files/mathmod-13.0-missing_include.patch @@ -0,0 +1,26 @@ +PR pending https://github.com/parisolab/mathmod/pull/288.patch +fix compile w/ qt-6.10.0 +move <QElapsedTimer> in header +--- a/pariso/isosurface/Iso3D.cpp ++++ b/pariso/isosurface/Iso3D.cpp +@@ -20,7 +20,6 @@ + #include "TableMap.h" + #include "Iso3D.h" + #include "internalfunctions.cpp" +-#include <QElapsedTimer> + + double * Iso3D::Results; + Voxel * Iso3D::GridVoxelVarPt; +--- a/pariso/isosurface/Iso3D.h ++++ b/pariso/isosurface/Iso3D.h +@@ -21,6 +21,7 @@ + + + #include "../parisoobject.h" ++#include <QElapsedTimer> + + /* + +-- +2.51.0 + diff --git a/sci-mathematics/mathmod/mathmod-13.0.ebuild b/sci-mathematics/mathmod/mathmod-13.0.ebuild new file mode 100644 index 000000000000..1112f4f7a66b --- /dev/null +++ b/sci-mathematics/mathmod/mathmod-13.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop qmake-utils xdg + +DESCRIPTION="Plot parametric and implicit surfaces" +HOMEPAGE="https://github.com/parisolab/mathmod + https://sourceforge.net/projects/mathmod/ + https://www.facebook.com/parisolab" +SRC_URI="https://github.com/parisolab/mathmod/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-qt/qtbase:6[gui,opengl,widgets] + media-libs/libglvnd +" +DEPEND="${RDEPEND}" + +PATCHES=( + # https://github.com/parisolab/mathmod/pull/288.patch + "${FILESDIR}"/${PN}-13.0-missing_include.patch +) + +src_configure() { + eqmake6 MathMod.pro +} + +src_install() { + dobin MathMod + insinto /usr/share/${P} + doins mathmodconfig.js mathmodcollection.js advancedmodels.js + local size + for size in 16 32 64; do + newicon -s ${size} images/icon/catenoid_mini_${size}x${size}.png catenoid.png + done + make_desktop_entry MathMod MathMod catenoid +}
