Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#17138 closed update (fixed)

cairo update to 1.8.2

Reported by: nox@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: cairo

Description

Changes:

  • Updated to 1.8.2.
  • Enabled test support.

Attachments (1)

cairo-1.8.2.diff (2.1 KB) - added by ryandesign (Ryan Carsten Schmidt) 15 years ago.

Download all attachments as: .zip

Change History (10)

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

Did this actually work for you? On my system cairo 1.8.2 won't build. The cairo developers say I need to either upgrade xrender (to 1.9.4), or we need to patch cairo. See this message on their mailing list.

comment:2 Changed 15 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: mcalhoun@… added

Cc Me!

comment:3 Changed 15 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

I have a local port of xrender 0.9.4 with which, to date, I have not had problems.
I would commit the change except the xrender.pc file has dependencies:

Requires: xproto renderproto >= 0.9 x11
Requires.private: x11

renderproto.pc is provided by render 0.9.3 (for which I also have a local port).

On Leopard, the easy fix is to have pkg-config look for x11 libraries (#16993).
In the comments of #16993, it says that x11.pc does not exist on Tiger.
I have no Tiger machine to work with, so it is difficult to test possible solutions.
Perhaps on Tiger machines, we can just create the required .pc files.

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

We already have a port for renderproto; it's called xorg-renderproto, and is the same software as the render port, only newer. The render port should be retired. See #13493.

I use Tiger.

comment:5 Changed 15 years ago by nox@…

Ryan: I've forgotten to try to build it without the +no_x11 variant, sorry.

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

I'll attach an updated patch to work around the old xrender port, until we can update xrender.

After that, we have a new problem: cairo 1.8.2's build process appears to require bash 3 for one line of one script, whereas Tiger only provides bash 2. Reported to the developers.

Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: cairo-1.8.2.diff added

comment:7 in reply to:  6 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Replying to ryandesign@…:

I'll attach an updated patch to work around the old xrender port, until we can update xrender.

Wrong: It's the old render 0.9.0, not xrender, that's causing the problem. And xorg-renderproto 0.9.2 is new enough. So we just need to change the dependency from render to xorg-renderproto.

After that, we have a new problem: cairo 1.8.2's build process appears to require bash 3 for one line of one script, whereas Tiger only provides bash 2. Reported to the developers.

This turns out to be a problem with dolt, the libtool replacement cairo is now using. I've reported the problem to the developers of dolt and worked around it for cairo for now.

cairo is updated to 1.8.2 in r41758.

comment:8 Changed 15 years ago by jmroot (Joshua Root)

Type: enhancementupdate

comment:9 Changed 15 years ago by (none)

Milestone: Port Updates

Milestone Port Updates deleted

Note: See TracTickets for help on using tickets.