Changeset 192095 in webkit
- Timestamp:
- Nov 6, 2015 1:39:30 AM (8 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r192093 r192095 1 2015-11-06 Philip Chimento <philip.chimento@gmail.com> and Michael Catanzaro <mcatanzaro@igalia.com> 2 3 [GTK] Re-enable Quartz backend on cmake build system 4 https://bugs.webkit.org/show_bug.cgi?id=144561 5 6 Reviewed by Philippe Normand. 7 8 * Source/cmake/FindGTK3.cmake: Set GTK3_SUPPORTS_QUARTZ based on 9 the presence of of gtk+-quartz-3.0 module. 10 * Source/cmake/OptionsGTK.cmake: Reintroduce the 11 ENABLE_QUARTZ_TARGET option to the CMake build, for building the 12 GTK+ Quartz backend on OS X. 13 1 14 2015-11-05 Nikos Andronikos <nikos.andronikos-webkit@cisra.canon.com.au> 2 15 -
trunk/Source/cmake/FindGTK3.cmake
r188929 r192095 6 6 # GTK3_LIBRARIES - link these to use GTK+ 3. 7 7 # GTK3_SUPPORTS_GESTURES - GTK+ supports gestures (GTK+ >= 3.14) 8 # GTK3_SUPPORTS_QUARTZ - GTK+ supports Quartz backend 8 9 # GTK3_SUPPORTS_X11 - GTK+ supports X11 backend 9 10 # GTK3_SUPPORTS_WAYLAND - GTK+ supports Wayland backend … … 50 51 51 52 if (GTK3_VERSION AND VERSION_OK) 53 pkg_check_modules(GTK3_QUARTZ gtk+-quartz-3.0) 54 if ("${GTK3_QUARTZ_VERSION}" VERSION_EQUAL "${GTK3_VERSION}") 55 set(GTK3_SUPPORTS_QUARTZ TRUE) 56 endif () 57 52 58 pkg_check_modules(GTK3_X11 gtk+-x11-3.0) 53 59 if ("${GTK3_X11_VERSION}" VERSION_EQUAL "${GTK3_VERSION}") -
trunk/Source/cmake/OptionsGTK.cmake
r191944 r192095 72 72 WEBKIT_OPTION_DEFINE(ENABLE_OPENGL "Whether to use OpenGL." PUBLIC ON) 73 73 WEBKIT_OPTION_DEFINE(ENABLE_PLUGIN_PROCESS_GTK2 "Whether to build WebKitPluginProcess2 to load GTK2 based plugins." PUBLIC ON) 74 WEBKIT_OPTION_DEFINE(ENABLE_QUARTZ_TARGET "Whether to enable support for the Quartz windowing target." PUBLIC ${GTK3_SUPPORTS_QUARTZ}) 74 75 WEBKIT_OPTION_DEFINE(ENABLE_X11_TARGET "Whether to enable support for the X11 windowing target." PUBLIC ${GTK3_SUPPORTS_X11}) 75 76 WEBKIT_OPTION_DEFINE(ENABLE_WAYLAND_TARGET "Whether to enable support for the Wayland windowing target." PUBLIC ${GTK3_SUPPORTS_WAYLAND}) … … 187 188 WEBKIT_OPTION_END() 188 189 190 SET_AND_EXPOSE_TO_BUILD(WTF_PLATFORM_QUARTZ ${ENABLE_QUARTZ_TARGET}) 189 191 SET_AND_EXPOSE_TO_BUILD(WTF_PLATFORM_X11 ${ENABLE_X11_TARGET}) 190 192 SET_AND_EXPOSE_TO_BUILD(WTF_PLATFORM_WAYLAND ${ENABLE_WAYLAND_TARGET}) … … 391 393 392 394 SET_AND_EXPOSE_TO_BUILD(USE_GSTREAMER TRUE) 395 endif () 396 397 if (ENABLE_QUARTZ_TARGET) 398 if (NOT GTK3_SUPPORTS_QUARTZ) 399 message(FATAL_ERROR "Recompile GTK+ with Quartz backend to use ENABLE_QUARTZ_TARGET") 400 endif () 393 401 endif () 394 402
Note: See TracChangeset
for help on using the changeset viewer.