Latest hardy cairomm is broken

Bug #205701 reported by William Fagan
10
Affects Status Importance Assigned to Milestone
cairomm (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: libcairomm-1.0-dev

The latest cairomm is broken.

/usr/include/cairomm-1.0/cairomm/enums.h:195: error: ‘CAIRO_FONT_TYPE_ATSUI_replaced_by_CAIRO_FONT_TYPE _QUARTZ’ was not declared in this scope

I talked with the developers and there is a fix in git. So just wanted to make a bug report to make sure they get a newer version in Hardy.

Revision history for this message
Lars Ljung (larslj) wrote :

I can confirm this

Changed in cairomm:
status: New → Confirmed
Revision history for this message
André Klitzing (misery) wrote :
Revision history for this message
Johannes Schmid (jhs.schmid) wrote :

Following from cairomm trunk fixes it:

2008-03-23 Murray Cumming <email address hidden>

        * cairomm/enums.h (FONT_TYPE_ATSUI, FONT_TYPE_QUARTZ):
        Change the definition of FONT_TYPE_ATSUI from CAIRO_FONT_TYPE_ATSUI to
        CAIRO_FONT_TYPE_QUARTZ (the same numerical value) and document it as
        deprecated. The others should be documented too.
        Added FONT_TYPE_QUARTZ.

Revision history for this message
Christophe Loiacono (loiacono) wrote :

Confirmed by me too

I can't compile/install Dave projects on http://drobilla.net/

Revision history for this message
Murray Cumming (murrayc) wrote :

So, this is waiting on a new cairo version (upstream tarball and its Ubuntu package) to unbreak this API.

We might then need to revert our fix in cairomm's svn (which is not yet in any cairomm tarball), but time will tell.

Revision history for this message
Chris Brotherton (protonchris) wrote :

This bug seems to be the result of the new cairo package (1.5.14) that was recently uploaded.

Both the upstreams (cairo and cairomm) have added fixes to their repositories:

http://gitweb.freedesktop.org/?p=cairo;a=commit;h=9a1f7bbc357ecce351b459f883b4ebeaa6640b65
http://gitweb.cairographics.org/?p=cairomm.git;a=commit;h=56d68c7dda87aaf7da08a64e8640222654b6ab22

I think we should focus on fixing the issue in cairo since this api breakage may affect other packages that build against cairo. If we patch cairo, nothing should need to be done to cairomm.

Revision history for this message
Murray Cumming (murrayc) wrote :

Makes sense to me.

Revision history for this message
Chris Brotherton (protonchris) wrote :

Submitted a bug for the cairo package (Bug 208436) to address this problem.

Revision history for this message
Chris Brotherton (protonchris) wrote :

The cairo package has been fixed and uploaded (Bug 208436). So things that compile against cairomm should not run into this problem. The patch for cairomm mentioned above would make the cairomm package completely correct, but it is not necessary with the applied cairo patch. Therefore, this bug should be considered a low priority.

Revision history for this message
Chris Brotherton (protonchris) wrote :

This bug is fixed in version 1.6.0 (synced from debian).

Changed in cairomm:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.