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.
HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>
, where<formula>
is the name of the formula you're submitting?brew test <formula>
, where<formula>
is the name of the formula you're submitting?brew audit --strict <formula>
(after doingHOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>
)? If this is a new formula, does it passbrew audit --new <formula>
?I haven't been able to identify a way of finding version information for
otf2bdf
from the currentstable
source, so I left it alone for some time. We recently discussed checking the GitHub repository's tags but this doesn't align with thestable
source.The software hasn't been meaningfully updated since 2015 but the GitHub repository contains a few commits from 2021. The
3.1
tag is for the code as it was in 2015 but there's also a3.1_p1
tag that includes the 2021 changes (the tags were created out of order, so it looks like3.1
is newer than3.1_p1
).This updates the formula to
3.1_p1
, using the tag tarball from GitHub, and adds alivecheck
block that checks the Git tags. The build was failing on Linux CI with anft2build.h
error, due tootf2bdf.c
using#include <ft2build.h>
instead of<freetype2/ft2build.h>
, but theCFLAGS
snippet from other formulae appears to resolve the error here as well.