Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#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)

cairo-quartz-font.diff (669 bytes) - added by nox@… 16 years ago.
cairo-quartz-font-universal.diff (1.0 KB) - added by nox@… 16 years ago.
Now works when universal support is enabled

Download all attachments as: .zip

Change History (16)

comment:1 Changed 16 years ago by afb@…

Summary: GTK2/Pango/Cairo broken: only boxes displayedGTK2/Pango/Cairo+quartz broken: only boxes displayed

comment:2 Changed 16 years ago by nox@…

Cc: nox@… added

Cc Me!

comment:3 Changed 16 years ago by nox@…

Owner: changed from macports-tickets@… to ryandesign@…
Summary: GTK2/Pango/Cairo+quartz broken: only boxes displayedcairo+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:4 Changed 16 years ago by mp@…

The patch works for me.

Thanks nox!

comment:5 Changed 16 years ago by mp@…

Cc: mp@… added

Cc Me!

comment:6 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@…

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 in reply to:  6 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:9 Changed 16 years ago by macports@…

Cc: macports@… added

Cc Me!

comment:10 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

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 15 years ago by ryandesign (Ryan Carsten Schmidt)

Removed workaround in r45964 since cairo now handles it for us.

comment:13 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Port: cairo cairo-devel added

Removed workaround from cairo-devel too, in r45965.

comment:14 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.