Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#43154 closed submission (fixed)

terra @0.7 New port

Reported by: lockhart (Thomas Lockhart) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: terra

Description

Terra generates polygonal approximations of terrains and other height fields. Suitable for use in GIS toolchains. This ticket includes a Portfile and patches to compile with modern compilers. One additional set of patches will be required to enable window resizing.

Attachments (4)

terra.patches (13.2 KB) - added by lockhart (Thomas Lockhart) 5 years ago.
Patches to compile with newer compilers and fix mesh window display and resizing issue.
patch-compiler.diff (10.1 KB) - added by lockhart (Thomas Lockhart) 5 years ago.
Patches to get code to compile with a modern C++ compiler.
patch-opengl.diff (3.1 KB) - added by lockhart (Thomas Lockhart) 5 years ago.
Patches to allow window resizing with opengl and freeglut.
Portfile (1.5 KB) - added by lockhart (Thomas Lockhart) 5 years ago.
Initial portfile modified to use two patch files. Passes "port lint --nitpick". Does not use the original patch file terra.patches.

Download all attachments as: .zip

Change History (12)

Changed 5 years ago by lockhart (Thomas Lockhart)

Attachment: terra.patches added

Patches to compile with newer compilers and fix mesh window display and resizing issue.

comment:1 Changed 5 years ago by lockhart (Thomas Lockhart)

Reposted the patch file which seems to fix window resizing and display issues.

comment:2 Changed 5 years ago by mf2k (Frank Schima)

Keywords: haspatch maintainer removed
Version: 2.2.1

comment:3 in reply to:  2 Changed 5 years ago by lockhart (Thomas Lockhart)

Replying to macsforever2000@…: This is a new port but I'm not sure how to get this to move forward (or to be rejected). Please advise.

comment:4 Changed 5 years ago by pixilla (Bradley Giesbrecht)

It would be nice if this port could be made to pass lint --nitpick:

port lint --nitpick terra

Does freeglut need to be both a build and lib dependency?

depends_lib         port:freeglut
depends_build-append  port:freeglut

Changed 5 years ago by lockhart (Thomas Lockhart)

Attachment: patch-compiler.diff added

Patches to get code to compile with a modern C++ compiler.

Changed 5 years ago by lockhart (Thomas Lockhart)

Attachment: patch-opengl.diff added

Patches to allow window resizing with opengl and freeglut.

Changed 5 years ago by lockhart (Thomas Lockhart)

Attachment: Portfile added

Initial portfile modified to use two patch files. Passes "port lint --nitpick". Does not use the original patch file terra.patches.

comment:5 Changed 5 years ago by lockhart (Thomas Lockhart)

Repost the portfile and patch files per feedback from pixilla. Now passes "port lint --nitpick" and drops the redundant mention of freeglut as both a lib and build dependency. Does not use "terra.patches" but afaict I can not remove this from the attachments.

comment:6 in reply to:  4 Changed 5 years ago by lockhart (Thomas Lockhart)

Replying to pixilla@…:

It would be nice if this port could be made to pass lint --nitpick:

port lint --nitpick terra

Does freeglut need to be both a build and lib dependency?

depends_lib         port:freeglut
depends_build-append  port:freeglut

Reposted the portfile and patches addressing both issues. Note that "terra.patches" is not longer used.

comment:7 Changed 5 years ago by pixilla (Bradley Giesbrecht)

Resolution: fixed
Status: newclosed

See r119764

comment:8 Changed 5 years ago by lockhart (Thomas Lockhart)

Thanks!

Note: See TracTickets for help on using tickets.