New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gmt5: update gmt6 sub-port to version 6.0.0 #5675
Conversation
Notifying maintainers: |
Travis Build #8982 Passed. Lint results
Port gmt5 success on xcode10.3. Log |
This PR is ready for review. Can anyone help review and merge it? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The new version 6 of GMT also looks for ghostscript, ffmpeg and graphicsmagick during the cmake configuration.
- ghostscript is needed in any case during runtime, so it is better to add that as a dependency.
- ffmpeg and graphicsmagick are only used during runtime to make movies or animations, so it is not essential to have those. Because there is a check at runtime whether either is available, there is no risk of having it been found during configuration and not at runtime.
Can you at least add -DGS_ROOT=${prefix} in case of gmt6 (gmt5 does not have this)?
Furthermore, the cmake configuration has a tendency to mix the library and include files for curl between the system and macports, respectively, which of course is unwanted. I came across this with Fink (fink/fink-distributions#493). This can be prevented using:
-DCURL_INCLUDE_DIR=${prefix}/include
-DCURL_LIBRARY=${prefix}/lib/libcurl.dylib
In addition, curl should be added as a dependency.
@seisman, if you can make the suggested updates, I can (probably) approve. |
ghostscript is already in the list of
Added for gmt6.
curl is added to |
Travis Build #9069 Errored. Lint results
Port gmt5 success on xcode10.3. Log The build timed out. |
Travis Build #9077 Failed. Lint results
Port gmt5 success on xcode10.3. Log |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for making those changes.
It seems like it works fine with -DCURL_ROOT=${prefix}.
Approved.
The commit message should be:
|
@mf2k Thanks for your review. I've addressed your comments and fixed the commit message. |
Travis Build #9093 Failed. Lint results
Port gmt5 success on xcode10.3. Log |
While this LGTM, this port is not openmaintainer so I want to give @tenomoto more time to look at this. |
@mf2k It's been two days. Could you merge it? |
Looks fine to me. Merging under maintainer timeout. |
Description
Type(s)
Tested on
macOS 10.14.6 18G95
Xcode 10.3 10G8
Verification
Have you
port lint
?sudo port test
?sudo port -vst install
?