cairo_qpainter broken since last cairo landed

RESOLVED DUPLICATE of bug 463872

Status

()

Core
Graphics
RESOLVED DUPLICATE of bug 463872
9 years ago
9 years ago

People

(Reporter: Fabien Tassin, Unassigned)

Tracking

Trunk
x86
All
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

9 years ago
Like for bug 462938, cairo_qpainter is broken since cairo 1.8.2 landed.

1/ CAIRO_SURFACE_TYPE_QPAINTER is missing from gfx/cairo/cairo/src/cairo.h

2/ api change:

g++ -o cairo-qpainter-surface.o -c -I../../../../dist/include/system_wrappers -include /src/bzr/build-area/xulrunner-1.9.1-1.9.1~b2~hg20081108r21532+nobinonly/build-tree/mozilla/config/gcc_hidden.h -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_COM_OBSOLETE -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES  -DOSTYPE=\"Linux2.6\" -DOSARCH=Linux -DPACKAGE_VERSION="\"moz\"" -DPACKAGE_BUGREPORT="\"http://bugzilla.mozilla.org/\"" -DMOZ_TREE_CAIRO -I/src/bzr/build-area/xulrunner-1.9.1-1.9.1~b2~hg20081108r21532+nobinonly/build-tree/mozilla/gfx/cairo/cairo/src -I/src/bzr/build-area/xulrunner-1.9.1-1.9.1~b2~hg20081108r21532+nobinonly/build-tree/mozilla/gfx/cairo/cairo/src -I. -I../../../../dist/include/png -I../../../../dist/include/libpixman -I../../../../dist/include   -I../../../../dist/include/cairo -I/usr/include/nspr   -I/usr/include  -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtCore   -I/usr/include/freetype2 -I/src/bzr/build-area/xulrunner-1.9.1-1.9.1~b2~hg20081108r21532+nobinonly/build-tree/mozilla/build-qt/dist/sdk/include    -fPIC   -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-long-long -pedantic -g -fno-strict-aliasing -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -O2   -DMOZILLA_CLIENT -include ../../../../mozilla-config.h -Wp,-MD,.deps/cairo-qpainter-surface.pp /src/bzr/build-area/xulrunner-1.9.1-1.9.1~b2~hg20081108r21532+nobinonly/build-tree/mozilla/gfx/cairo/cairo/src/cairo-qpainter-surface.cpp
/src/bzr/build-area/xulrunner-1.9.1-1.9.1~b2~hg20081108r21532+nobinonly/build-tree/mozilla/gfx/cairo/cairo/src/cairo-qpainter-surface.cpp: In function ‘cairo_int_status_t _cairo_qpainter_surface_show_glyphs(void*, cairo_operator_t, cairo_pattern_t*, cairo_glyph_t*, int, cairo_scaled_font_t*, int*)’:
/src/bzr/build-area/xulrunner-1.9.1-1.9.1~b2~hg20081108r21532+nobinonly/build-tree/mozilla/gfx/cairo/cairo/src/cairo-qpainter-surface.cpp:1387: error: invalid conversion from ‘int’ to ‘cairo_text_cluster_flags_t’
/src/bzr/build-area/xulrunner-1.9.1-1.9.1~b2~hg20081108r21532+nobinonly/build-tree/mozilla/gfx/cairo/cairo/src/cairo-qpainter-surface.cpp: At global scope:
/src/bzr/build-area/xulrunner-1.9.1-1.9.1~b2~hg20081108r21532+nobinonly/build-tree/mozilla/gfx/cairo/cairo/src/cairo-qpainter-surface.cpp:1560: error: invalid conversion from ‘cairo_status_t (*)(void*, cairo_surface_t*, int, int, int, int, cairo_surface_t**)’ to ‘cairo_status_t (*)(void*, cairo_surface_t*, int, int, int, int, int*, int*, cairo_surface_t**)’
/src/bzr/build-area/xulrunner-1.9.1-1.9.1~b2~hg20081108r21532+nobinonly/build-tree/mozilla/gfx/cairo/cairo/src/cairo-qpainter-surface.cpp: In function ‘void _cairo_image_surface_write_to_ppm(cairo_image_surface_t*, const char*)’:
/src/bzr/build-area/xulrunner-1.9.1-1.9.1~b2~hg20081108r21532+nobinonly/build-tree/mozilla/gfx/cairo/cairo/src/cairo-qpainter-surface.cpp:1794: warning: deprecated conversion from string constant to ‘char*’
/src/bzr/build-area/xulrunner-1.9.1-1.9.1~b2~hg20081108r21532+nobinonly/build-tree/mozilla/gfx/cairo/cairo/src/cairo-qpainter-surface.cpp:1796: warning: deprecated conversion from string constant to ‘char*’
/src/bzr/build-area/xulrunner-1.9.1-1.9.1~b2~hg20081108r21532+nobinonly/build-tree/mozilla/gfx/cairo/cairo/src/cairo-qpainter-surface.cpp: At global scope:
/src/bzr/build-area/xulrunner-1.9.1-1.9.1~b2~hg20081108r21532+nobinonly/build-tree/mozilla/gfx/cairo/cairo/src/cairo-qpainter-surface.cpp:129: warning: ‘g_dump_path’ defined but not used
/src/bzr/build-area/xulrunner-1.9.1-1.9.1~b2~hg20081108r21532+nobinonly/build-tree/mozilla/gfx/cairo/cairo/src/cairo-qpainter-surface.cpp:130: warning: ‘timer_start_val’ defined but not used
/src/bzr/build-area/xulrunner-1.9.1-1.9.1~b2~hg20081108r21532+nobinonly/build-tree/mozilla/gfx/cairo/cairo/src/cairo-qpainter-surface.cpp:155: warning: ‘const char* _opstr(cairo_operator_t)’ defined but not used
make[6]: *** [cairo-qpainter-surface.o] Error 1
Dup for 463872?
(Reporter)

Comment 2

9 years ago
indeed. Thanks.
Closing
Status: NEW → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 463872
You need to log in before you can comment on or make changes to this bug.