Repository navigation
feat(gmsh): add gmsh (info.gmsh.gmsh) - #835
Merged
Merged
Conversation
Collaborator
|
Thanks @rhgKc2yp. This one is clean, and I have only nits. Nits (optional)
Review table
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds Gmsh 4.15.2, a finite element mesh generator with geometry and
post-processing tools, using upstream's AppStream ID
info.gmsh.gmsh.Packaging
as extra-data at install time, pinned by SHA-256 and size. Upstream files run unmodified.
org.freedesktop.Platform26.08, with Mesa GLU supplied as a separateDebian trixie extra-data download in a managed Debian pin block.
GMSH_HOMEto its persistent XDG config directoryand adds the GLU directory to the library search path.
on the official download page, excluding snapshots and SDK archives.
Sandbox
Grants X11 and IPC for FLTK, DRI for OpenGL, and Documents for opening and
saving models through the native file chooser. No high-risk permissions are granted.
The metainfo documents optional access to other model directories and networking
for remote ONELAB clients, with a reset command:
External solvers and text editors must be available inside the sandbox;
host-installed programs are unavailable.
Tested
Application tests used the package installed from a signed local repository.
Descriptor audit, AppStream/desktop validation, and all seven package links passed.
check-apply-extra.shverified both pins and unpacked the downloads offlineas root without capabilities.
publish.sh --verifybuilt, signed and installedthe package, including the final build.
GUI rendering on private Xwayland; generated a 2D mesh from
t1.geo, savedit in Documents, and reopened it through the native file chooser.
A saved preference survived quitting and restarting from an initially fresh
profile. The measured window class matches
StartupWMClass=FLTK.Home, autostart and local application-directory listings were unchanged.
Bus logging showed no filtered ownership requests. Tray/media checks are not applicable.
OpenCASCADE tutorial
t16.geogenerated and saved a 3D mesh with 3,133 nodesand 18,643 elements inside the sandbox.
Repository tests passed; five scripts skipped OSTree-dependent checks because
the host lacks
ostree. The real build/install and publish end-to-end fixture passed.Live update resolution passed, including rejection of missing-release and SDK-only fixtures.
ONELAB TCP numeric and string parameter round trips passed between the installed
Flatpak and a host client using the bundled official
onelab.py, with thedocumented optional network permission enabled for that run.
Gmsh launched the official GetDP 3.5.0 solver through ONELAB using
-run,solved the supplied magnetostatic example and loaded its results. The computed
field was then reopened and rendered in the GUI. GetDP was supplied through
a temporary read-only filesystem grant; it is not bundled with this package.
Geometry > Edit script launched the runtime nano editor with a test PTY helper;
a model edit was saved and its complete contents verified.
A separately downloaded official Gmsh 4.15.2 SDK passed a Python API smoke test
inside the same sandbox: generated a mesh with 98 nodes and 162 surface elements
and saved it. The SDK is not included in this desktop package.
Remaining scope: ONELAB across separate machines or over SSH, other solvers and
editors, and SDK bindings other than Python were not tested.
Temporary test installations, profiles, model files and the private display were removed.
Flathub
Checks during packaging found no standalone Gmsh listing in Flathub's full
x86_64 AppStream catalog; its endpoint for
info.gmsh.gmshreturned 404.Searches found no earlier submission to
flathub/flathubor issue/PR inflatpark/flatpark. This is a user-requested community package; upstreamapproval is not claimed.
Upstream approval is not claimed.
Prepared with OpenAI Codex.
Thanks.