Skip to content
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

fcft 3.1.8 (new formula) #192887

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

david
Copy link
Contributor

@david david commented Oct 5, 2024

  • Have you followed the guidelines for contributing?
  • Have you ensured that your commits follow the commit style guide?
  • Have you checked that there aren't other open pull requests for the same formula update/change?
  • Have you built your formula locally with HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>, where <formula> is the name of the formula you're submitting?
  • Is your test running fine brew test <formula>, where <formula> is the name of the formula you're submitting?
  • Does your build pass brew audit --strict <formula> (after doing HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>)? If this is a new formula, does it pass brew audit --new <formula>?

This is a prerequisite for merging #192675 and requires #192886 to be merged first.

@github-actions github-actions bot added the new formula PR adds a new formula to Homebrew/homebrew-core label Oct 5, 2024
@david david mentioned this pull request Oct 5, 2024
6 tasks
@david david marked this pull request as draft October 5, 2024 13:31
Copy link
Contributor

github-actions bot commented Oct 5, 2024

Thanks for contributing to Homebrew! 🎉 It looks like you're having trouble with a CI failure. See our contribution guide for help. You may be most interested in the section on dealing with CI failures. You can find the CI logs in the Checks tab of your pull request.

@david david mentioned this pull request Oct 5, 2024
6 tasks
Formula/f/fcft.rb Outdated Show resolved Hide resolved
@david david force-pushed the add-fcft-library branch 3 times, most recently from 3edf5c9 to 535be71 Compare October 5, 2024 14:15
@github-actions github-actions bot added the linux-only Formula depends on Linux label Oct 5, 2024
@david
Copy link
Contributor Author

david commented Oct 5, 2024

Updated to build on Linux only, due to the dependency on threads.h.

depends_on "fontconfig"
depends_on "freetype"
depends_on "harfbuzz"
depends_on :linux
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't see where this requires Linux -- do you know where the source relies on this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The failed MacOSX CI test complained about the missing threads.h header, which is included in fcft.h and is part of the Linux headers. I did not find any direct mention to the constants defined in that file, though.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see. That sounds something that can be easily fixed upstream. I remember @cho-m handling this issue for another formula recently.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, I opened an issue on fcft's repo to see if we can clarify this.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, according to fcft's author this is just a matter of using a compiler and libc that supports threads.h, so I changed the dependencies on mac to use both gcc and glibc. I don't know if this is the right way to do it, so please let me know how to proceed, whenever it's convenient for you.

@david david force-pushed the add-fcft-library branch 2 times, most recently from b2b1625 to baf2f82 Compare October 5, 2024 14:41
@david
Copy link
Contributor Author

david commented Oct 5, 2024

Moving this to ready for review, as #192886 has been merged and tests are passing.

@david david marked this pull request as ready for review October 5, 2024 14:57
@github-actions github-actions bot removed the linux-only Formula depends on Linux label Oct 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new formula PR adds a new formula to Homebrew/homebrew-core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants