#15209 closed defect (fixed)
cairo+quartz broken: cairo-quartz-font pkgconfig pc file is not installed
Reported by: | shreevatsa.public@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
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 (2)
Change History (16)
comment:1 Changed 17 years ago by afb@…
Summary: | GTK2/Pango/Cairo broken: only boxes displayed → GTK2/Pango/Cairo+quartz broken: only boxes displayed |
---|
comment:2 Changed 16 years ago by nox@…
Cc: | nox@… added |
---|
comment:3 Changed 16 years ago by nox@…
Owner: | changed from macports-tickets@… to ryandesign@… |
---|---|
Summary: | GTK2/Pango/Cairo+quartz broken: only boxes displayed → 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.
Changed 16 years ago by nox@…
Attachment: | cairo-quartz-font.diff added |
---|
comment:6 follow-up: 8 Changed 16 years ago by nox@…
By the way, cairo's platform should be macosx, not darwin, it depends on Quartz.
Changed 16 years ago by nox@…
Attachment: | cairo-quartz-font-universal.diff added |
---|
Now works when universal support is enabled
comment:7 Changed 16 years ago by shreevatsa.public@…
Great! I (original reporter) can confirm the patch fixes it.
comment:8 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
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 16 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
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 16 years ago by ryandesign (Ryan Carsten Schmidt)
This problem has been fixed upstream already so with the next release, our workaround should no longer be necessary.
comment:12 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Removed workaround in r45964 since cairo now handles it for us.
comment:13 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Port: | cairo cairo-devel added |
---|
Removed workaround from cairo-devel too, in r45965.
Cc Me!