Package Details: gmsh-docs 4.13.1-2

Git Clone URL: https://aur.archlinux.org/gmsh.git (read-only, click to copy)
Package Base: gmsh
Description: TXT, HMTL and PDF doc for Gmsh
Upstream URL: https://gmsh.info
Licenses: GPL-2.0-or-later
Submitter: S1G1
Maintainer: gborzi (carlosal1015, gpettinello)
Last Packager: carlosal1015
Votes: 63
Popularity: 0.60
First Submitted: 2006-04-04 23:31 (UTC)
Last Updated: 2025-03-01 15:08 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 21 Next › Last »

entshuld commented on 2023-01-27 20:12 (UTC) (edited on 2023-01-27 20:39 (UTC) by entshuld)

@gborzi @billypilgrim Inspired by freecad-git

diff --git a/PKGBUILD b/PKGBUILD
index 3c8f2ea..94abf69 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -61,6 +61,9 @@ package_gmsh() {
    cd "${srcdir}/${pkgname}-${pkgver}-source/build"
    make DESTDIR=${pkgdir} install
    install -D -m644 "${pkgdir}/usr/lib/gmsh.py" "${pkgdir}/usr/share/gmsh/api/python/gmsh.py"
+   PYVER="$(/usr/bin/python3 -c 'import sys; print("{}.{}".format(sys.version_info.major,sys.version_info.minor))')"
+   install -d "${pkgdir}/usr/lib/python${PYVER}/site-packages/"
+   ln -s "${pkgdir}/usr/share/gmsh/api/python/gmsh.py" "${pkgdir}/usr/lib/python${PYVER}/site-packages/"
    install -D -m644 "${pkgdir}/usr/lib/gmsh.jl" "${pkgdir}/usr/share/gmsh/api/julia/gmsh.jl"
    rm -f "${pkgdir}/usr/lib/gmsh.py" "${pkgdir}/usr/lib/gmsh.jl"
    install -d "$pkgdir/etc/profile.d"

gborzi commented on 2022-11-09 11:34 (UTC)

@billypilgrim The problem is that as soon as python 3 is upgraded to 3.11 it won't work anymore.

billypilgrim commented on 2022-11-08 16:07 (UTC)

Thanks for packaging this!

I've just been faffing around getting the included Python wrapper to work and I've got a suggestion: if you symlink /usr/share/gmsh/api/python/gmsh.py to /usr/lib/python3.10/site-packages/gmsh.py then it'll work out of the box as a Python package. Otherwise you'll probably have to mess around with your PYTHON_PATH or something.

Perhaps you could do this in the package?

entshuld commented on 2022-11-02 16:46 (UTC)

warning: mesa 22.2.1 breaks gmsh <= 4.10.5. https://gitlab.onelab.info/gmsh/gmsh/-/issues/2161

carlosal1015 commented on 2022-09-19 14:27 (UTC)

Thank you so much, I appreciate it.

gborzi commented on 2022-09-19 12:42 (UTC)

@gpettinello and @carlosal1015 I've added both of you as co-maintainers.

carlosal1015 commented on 2022-09-12 17:49 (UTC)

I am offer as volunteer to (co)maintain the package as doing with gmsh-bin.

gborzi commented on 2022-09-12 17:18 (UTC)

@gpettinello If you are interested in maintaining the package I can orphan it. I don't have much time anymore.

gborzi commented on 2022-09-12 17:16 (UTC)

Sorry for not answering the messages, I've been away for a while.

entshuld commented on 2022-08-25 16:41 (UTC) (edited on 2022-08-25 16:41 (UTC) by entshuld)

In package():

echo 'export PYTHONPATH="/usr/share/gmsh/api/python/:$PYTHONPATH"' > "$pkgdir/etc/profile.d/gmsh.sh"
echo 'setenv PYTHONPATH="/usr/share/gmsh/api/python/:$PYTHONPATH"' > "$pkgdir/etc/profile.d/gmsh.csh"