Opened 14 years ago

Closed 13 years ago

#26469 closed submission (fixed)

gmsh port: a 1D, 2D, 3D mesh generator

Reported by: christophe.prudhomme@… Owned by: mf2k (Frank Schima)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: gmsh

Description

here is the port for gmsh (http://www.geuz.org/gmsh). No graphical interface for now as fltk is in a weird state.

Attachments (3)

Portfile.2 (2.1 KB) - added by christophe.prudhomme@… 13 years ago.
Portfile for gmsh 2.5.0
patch-cmakelists.diff (1.4 KB) - added by christophe.prudhomme@… 13 years ago.
patch file for gmsh 2.5.0 installation on MacPorts
Portfile (2.1 KB) - added by christophe.prudhomme@… 13 years ago.
Portfile for gmsh 2.5.0

Download all attachments as: .zip

Change History (12)

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Keywords: gmsh science removed
Milestone: MacPorts 1.9.2
Version: 1.9.1

As per the ticket guidelines, please don't set the Milestone field.

comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Have you considered using the cmake portgroup?

comment:3 Changed 14 years ago by christophe.prudhomme@…

what do you mean ? gmsh uses indeed cmake. did I forget something (some depends ?) ?

comment:4 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Instead of manually specifying a build dependency on cmake and including a bunch of cmake configure.args, consider letting the cmake portgroup do it for you using "PortGroup cmake 1.0". See the many other existing ports that use the cmake portgroup for examples.

comment:5 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Additional comments:

  • The version number appears in the distfiles definition; as per "port lint", consider using the ${version} variable instead
  • cmake appears in depends_lib; this is unlikely to be necessary since cmake is used at build time only (and the cmake portgroup, as discussed above, will put cmake into depends_build for you)
  • gcc45 appears in depends_lib; is this really required?
  • texlive appears in depends_lib; texlive is a metaport so it would be better to depend on the specific texlive ports that gmsh needs (or does gmsh need very many texlive ports?)

comment:6 Changed 13 years ago by christophe.prudhomme@…

Here is an updated version of the Portfile with the latest version of Gmsh. I think I have fixed all the issues you mention

there is a patch attached to fix the installation on MacOsX which is currently broken for MacPorts

Changed 13 years ago by christophe.prudhomme@…

Attachment: Portfile.2 added

Portfile for gmsh 2.5.0

Changed 13 years ago by christophe.prudhomme@…

Attachment: patch-cmakelists.diff added

patch file for gmsh 2.5.0 installation on MacPorts

Changed 13 years ago by christophe.prudhomme@…

Attachment: Portfile added

Portfile for gmsh 2.5.0

comment:7 Changed 13 years ago by mf2k (Frank Schima)

Cc: macsforever2000@… added

Cc Me!

comment:8 Changed 13 years ago by mf2k (Frank Schima)

Cc: macsforever2000@… removed
Owner: changed from macports-tickets@… to macsforever2000@…
Status: newassigned

comment:9 Changed 13 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: assignedclosed

Added in r78674 with a few tweaks.

Note: See TracTickets for help on using tickets.