Bug 146893 - [GTK] cmake error related WEBKIT_OPTION_DEFAULT_PORT_VALUE & CAIROGL_FOUND
Summary: [GTK] cmake error related WEBKIT_OPTION_DEFAULT_PORT_VALUE & CAIROGL_FOUND
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 420+
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-12 04:09 PDT by nick
Modified: 2020-10-13 07:25 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nick 2015-07-12 04:09:05 PDT
i built cairo with glesv2.Currently gl and glesv2 backends can not build together.

The packager has to choose one of either. so i haven't cairo-gl.in my pc it seems:

/usr/lib/pkgconfig/cairo-egl.pc
/usr/lib/pkgconfig/cairo-fc.pc
/usr/lib/pkgconfig/cairo-ft.pc
/usr/lib/pkgconfig/cairo-glesv2.pc
/usr/lib/pkgconfig/cairo-gobject.pc
/usr/lib/pkgconfig/cairo-pdf.pc
/usr/lib/pkgconfig/cairo-png.pc
/usr/lib/pkgconfig/cairo-ps.pc
/usr/lib/pkgconfig/cairo-script.pc
/usr/lib/pkgconfig/cairo-svg.pc
/usr/lib/pkgconfig/cairo.pc

So cmake got below error at configuration step.

CMake Error at Source/cmake/OptionsGTK.cmake:131 (WEBKIT_OPTION_DEFAULT_PORT_VALUE):
   WEBKIT_OPTION_DEFAULT_PORT_VALUE Macro invoked with incorrect arguments for
   macro named: WEBKIT_OPTION_DEFAULT_PORT_VALUE
 Call Stack (most recent call first):
   CMakeLists.txt:163 (include)

131th line of OptionsGTK.cmake  is:

WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_ACCELERATED_2D_CANVAS PUBLIC ${CAIROGL_FOUND})
Comment 1 Michael Catanzaro 2020-10-13 07:25:54 PDT
(In reply to nick from comment #0)
> 131th line of OptionsGTK.cmake  is:
> 
> WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_ACCELERATED_2D_CANVAS PUBLIC
> ${CAIROGL_FOUND})

This is removed in bug #217603.