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

sdl2_ttf: avoid vendored freetype and harfbuzz #94505

Closed
wants to merge 2 commits into from

Conversation

carlocab
Copy link
Member

@carlocab carlocab commented Feb 4, 2022

  • 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 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 brew install --build-from-source <formula>)? If this is a new formula, does it pass brew audit --new <formula>?

This formula has a freetype dependency, but it's currently unused
since it will use a vendored freetype by default. Since we're fixing
this, let's also try to avoid using its vendored harfbuzz too.

@carlocab
Copy link
Member Author

carlocab commented Feb 4, 2022

  freedink:
    * freedink contains conflicting version recursive dependencies:
        python@3.10, python@3.9
      View these with `brew deps --tree freedink`.

@carlocab carlocab linked an issue Feb 5, 2022 that may be closed by this pull request
2 tasks
@BrewTestBot BrewTestBot added the automerge-skip `brew pr-automerge` will skip this pull request label Feb 5, 2022
SMillerDev
SMillerDev previously approved these changes Feb 5, 2022
Formula/sdl2_ttf.rb Outdated Show resolved Hide resolved
This formula has a `freetype` dependency, but it's currently unused
since it will use a vendored `freetype` by default. Since we're fixing
this, let's also try to avoid using its vendored `harfbuzz` too.

Closes Homebrew#94541.
This is needed for Homebrew#94505. The conflict comes from `freedink` depending
on `python@3.10` and `python@3.9` through `cxxtest` and `glib`
respectively.

`cxxtest` is installed into a virtualenv in `libexec`, so it's unlikely
that `freedink` actually makes use of anything there since it ships no
Python code itself.

An alternative to this is to migrate `glib` to `python@3.10`, which will
take quite a while (see Homebrew#87277), or migrate `cxxtest` back to
`python@3.9`, which is unnecessary.

I've tested `freedink` locally and it seems to work fine despite the
mixed recursive dependency.

See also Homebrew#65831.
@carlocab carlocab added CI-long-timeout Use longer GitHub Actions CI timeout. long build Needs CI-long-timeout and removed CI-long-timeout Use longer GitHub Actions CI timeout. labels Feb 5, 2022
@BrewTestBot
Copy link
Member

:shipit: @carlocab has triggered a merge.

@carlocab carlocab deleted the sdl2_ttf branch February 5, 2022 15:05
@github-actions github-actions bot added the outdated PR was locked due to age label Mar 8, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
automerge-skip `brew pr-automerge` will skip this pull request long build Needs CI-long-timeout outdated PR was locked due to age
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sdl2_ttf doesn't actually depend on freetype
3 participants