cairo-gtk2 toolkit does not build unless --enable-cairo is given

RESOLVED FIXED

Status

()

Core
Canvas: 2D
RESOLVED FIXED
13 years ago
13 years ago

People

(Reporter: Biesinger, Unassigned)

Tracking

Trunk
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

In configure.in, cairo-gtk2 does enable cairo:
3418    MOZ_ENABLE_CAIRO=1

However, it does not AC_DEFINE that, that's only done for --enable-cairo,
earlier in the file:
3290 MOZ_ARG_ENABLE_BOOL(cairo,
3291 [  --enable-cairo          Enable Cairo-specific features (Canvas)],
3292     MOZ_ENABLE_CAIRO=1,
3293     MOZ_ENABLE_CAIRO= )
3294 if test "$MOZ_ENABLE_CAIRO"; then
3295     AC_DEFINE(MOZ_ENABLE_CAIRO)
3296 fi

this inconsistency causes the build to fail while canvas is built:
/home/chb/mozilla/content/canvas/src/nsCanvasRenderingContext2D.cpp: In member
function `virtual nsresult nsCanvasGradient::QueryInterface(const nsIID&, void**)':
/home/chb/mozilla/content/canvas/src/nsCanvasRenderingContext2D.cpp:126: Fehler:
`eDOMClassInfo_CanvasGradient_id' undeclared (first use this function)
[...etc...]
Pretty sure this is invalid now, as --enable-cairo became --enable-canvas, and I
believe things that need cairo explicitly enable it.  If cairo-gtk2 still
doesn't build, then that's probably a separate non-canvas issue.
Status: NEW → RESOLVED
Last Resolved: 13 years ago
Resolution: --- → INVALID
I would say it's fixed by bug 293265
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Status: REOPENED → RESOLVED
Last Resolved: 13 years ago13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.