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

pdf2image: migrate to brewed X11 #64738

Closed
wants to merge 1 commit into from
Closed

pdf2image: migrate to brewed X11 #64738

wants to merge 1 commit into from

Conversation

carlocab
Copy link
Member

License found here.

Tracking issue: #64166

  • Have you followed the guidelines for contributing?
  • 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 <formula>)?

  • brew install FORMULA on this list (should be poured from a bottle, not built from source)
  • Run brew linkage FORMULA and observe which X11 libraries it links against
  • Modify the formula to remove depends_on :x11 and replace it with e.g. depends_on "libx11" and any additional X libraries
  • Update /opt/X11 or MacOS::XQuartz references to instead point them to the brewed formula paths
  • revision bump
  • brew install -s FORMULA and brew linkage FORMULA to check that it's now linking against brewed X and not XQuartz

libx11 appears to be an optional build dependency, so not 100% certain I did this right. Would appreciate a second opinion.

❯ brew linkage pdf2image
System libraries:
  /usr/lib/libSystem.B.dylib
  /usr/lib/libc++.1.dylib
Homebrew libraries:
  /usr/local/opt/freetype/lib/libfreetype.6.dylib (freetype)

Tracking issue: #64166

- [x] Have you followed the [guidelines for contributing](https://github.com/Homebrew/homebrew-core/blob/HEAD/CONTRIBUTING.md)?
- [x] Have you checked that there aren't other open [pull requests](https://github.com/Homebrew/homebrew-core/pulls) for the same formula update/change?
- [x] Have you built your formula locally with `brew install --build-from-source <formula>`, where `<formula>` is the name of the formula you're submitting?
- [x] Is your test running fine `brew test <formula>`, where `<formula>` is the name of the formula you're submitting?
- [x] Does your build pass `brew audit --strict <formula>` (after doing `brew install <formula>`)?

-----

- [x] `brew install FORMULA` on this list (should be poured from a bottle, not built from source)
- [x] Run `brew linkage FORMULA` and observe which X11 libraries it links against
- [x] Modify the formula to remove `depends_on :x11` and replace it with e.g. `depends_on "libx11"` and any additional X libraries
- [x] Update `/opt/X11` or `MacOS::XQuartz` references to instead point them to the brewed formula paths
- [x] `revision` bump
- [x] `brew install -s FORMULA` and `brew linkage FORMULA` to check that it's now linking against brewed X and not XQuartz

-----

`libx11` appears to be an optional build dependency, so not 100% certain
I did this right. Would appreciate a second opinion.
@BrewTestBot
Copy link
Member

🤖 A scheduled task has triggered a merge.

@jonchang jonchang mentioned this pull request Nov 14, 2020
45 tasks
@carlocab carlocab deleted the pdf2image-brewed-x11 branch November 14, 2020 04:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants