[gstreamer-bugs] [Bug 305524] New: Cairo plugin does not compile with cairo 0.5

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Thu May 26 02:06:40 PDT 2005


Please DO NOT reply to this by email. All additional comments should be made in
the comments box of this bug report.

 http://bugzilla.gnome.org/show_bug.cgi?id=305524
 GStreamer | gst-plugins | Ver: 0.8.x

           Summary: Cairo plugin does not compile with cairo 0.5
           Product: GStreamer
           Version: 0.8.x
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: jan at jgc.homeip.net
         QAContact: gstreamer-bugs at lists.sourceforge.net
                CC: all-bugs at bugzilla.gnome.org


Please describe the problem:
The cairo guys changed their API again, which causes the cairo gst-plugin to
fail when compiling. I've looked in the source, but couldn't find an easy-fix
thing to get it to compile. The new cairo_create() API and the omiting of the
set_surface functions makes cairo not compatible with the design the current
plugin is implemented.

Steps to reproduce:
1. Install cairo 0.5
2. Try to compile gst-plugins with cairo plugin enabled
3. observe error


Actual results:
gsttimeoverlay.c: In function `gst_timeoverlay_setup':
gsttimeoverlay.c:211: error: too few arguments to function `cairo_create'
gsttimeoverlay.c:213: warning: implicit declaration of function
`cairo_set_rgb_color_REPLACED_BY_cairo_set_source_rgb'
gsttimeoverlay.c:215: warning: implicit declaration of function
`cairo_select_font_REPLACED_BY_cairo_select_font_face'
gsttimeoverlay.c:216: warning: implicit declaration of function
`cairo_scale_font_REPLACED_BY_cairo_set_font_size'
gsttimeoverlay.c:218: warning: implicit declaration of function
`cairo_current_font_extents_REPLACED_BY_cairo_font_extents'
gsttimeoverlay.c: In function `gst_timeoverlay_planar411':
gsttimeoverlay.c:269: warning: implicit declaration of function
`cairo_set_target_image_DEPRECATED_BY_cairo_image_surface_create_for_data'
gsttimeoverlay.c:274: warning: implicit declaration of function
`cairo_set_alpha_DEPRECATED_BY_cairo_set_source_rgba_OR_cairo_paint_with_alpha'
gsttimeoverlay.c:276: error: `CAIRO_OPERATOR_SRC' undeclared (first use in this
function)
gsttimeoverlay.c:276: error: (Each undeclared identifier is reported only once
gsttimeoverlay.c:276: error: for each function it appears in.)

Expected results:


Does this happen every time?


Other information:

------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list