Ticket #15209 (closed defect: fixed)
cairo+quartz broken: cairo-quartz-font pkgconfig pc file is not installed
| Reported by: | shreevatsa.public@… | Owned by: | ryandesign@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.6.0 |
| Keywords: | Cc: | nox@…, mp@…, macports@… | |
| Port: | cairo, cairo-devel |
Description
Hello,
Installing the latest version of GTK2 and its dependencies from MacPorts, with the quartz option, ('port install gtk2 +quartz +no_x11', although it is a mystery why 'port install gtk2 +quartz' doesn't do the same), one sees only boxes in installed applications. There is also an error message displayed, with something like:
Pango-WARNING **: shaping failure, expect ugly output. shape-engine=’BasicEngineFc’, font=’Bitstream Vera Sans 10′, text=’Modify’
Attachments
Change History
comment:1 Changed 5 years ago by afb@…
- Summary changed from GTK2/Pango/Cairo broken: only boxes displayed to GTK2/Pango/Cairo+quartz broken: only boxes displayed
comment:3 Changed 5 years ago by nox@…
- Owner changed from macports-tickets@… to ryandesign@…
- Summary changed from GTK2/Pango/Cairo+quartz broken: only boxes displayed to cairo+quartz broken: cairo-quartz-font pkgconfig pc file is not installed
After some investigation inside pango's config.log, I noticed it doesn't find cairo-quartz-font package. I've written a patch for cairo which installs the pc file.
comment:6 follow-up: ↓ 8 Changed 5 years ago by nox@…
By the way, cairo's platform should be macosx, not darwin, it depends on Quartz.
Changed 5 years ago by nox@…
- Attachment cairo-quartz-font-universal.diff added
Now works when universal support is enabled
comment:7 Changed 5 years ago by shreevatsa.public@…
Great! I (original reporter) can confirm the patch fixes it.
comment:8 in reply to: ↑ 6 Changed 5 years ago by ryandesign@…
Replying to nox@macports.org:
By the way, cairo's platform should be macosx, not darwin, it depends on Quartz.
Instead of changing the port's platform from darwin to macosx, I'd rather add a platform macosx section and move the Quartz bits into that.
comment:10 Changed 5 years ago by ryandesign@…
- Status changed from new to closed
- Resolution set to fixed
I believe I've addressed all this in r37447. Please wait 12 hours, then "sudo port selfupdate", then "sudo port upgrade cairo", then upgrade any dependents of cairo so they see the new cairo-quartz-font.pc file.
comment:11 Changed 5 years ago by ryandesign@…
This problem has been fixed upstream already so with the next release, our workaround should no longer be necessary.
comment:12 Changed 4 years ago by ryandesign@…
Removed workaround in r45964 since cairo now handles it for us.
comment:13 Changed 4 years ago by ryandesign@…
- Port set to cairo, cairo-devel
Removed workaround from cairo-devel too, in r45965.

