<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>118458</bug_id>
          
          <creation_ts>2013-07-08 01:52:19 -0700</creation_ts>
          <short_desc>[GTK] Build against wayland-only GTK+ fails</short_desc>
          <delta_ts>2013-09-04 05:29:07 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>120627</dependson>
          <blocked>81456</blocked>
          <everconfirmed>0</everconfirmed>
          <reporter name="Jürg Billeter">j</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cgarcia</cc>
    
    <cc>itoral</cc>
    
    <cc>jdapena</cc>
    
    <cc>tomeu</cc>
    
    <cc>zan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>906701</commentid>
    <comment_count>0</comment_count>
    <who name="Jürg Billeter">j</who>
    <bug_when>2013-07-08 01:52:19 -0700</bug_when>
    <thetext>I&apos;ve built GTK+ master (3.9.6-175-g8137b28) with wayland backend but without X11 backend. Trying to build WebKitGTK+ 2.1.2 with that GTK+ build with default configure options fails here:

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -DBUILDING_WEBKIT -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-exceptions -DBUILDING_CAIRO__ -DBUILDING_GTK__ -DBUILDING_WEBKIT2__ -I./Source/ThirdParty/ANGLE/src -I./Source/ThirdParty/ANGLE/include -I./Source/ThirdParty/ANGLE/include/GLSLANG -I./Source/ThirdParty/ANGLE/include/KHR -I./DerivedSources/Platform -DWEBKITGTK_API_VERSION_STRING=\&quot;3.0\&quot; -DDATA_DIR=\&quot;/usr/lib\&quot; -I./Source/WebCore/platform -I./Source/WebCore/platform/animation -I./Source/WebCore/platform/audio -I./Source/WebCore/platform/cairo -I./Source/WebCore/platform/geoclue -I./Source/WebCore/platform/graphics -I./Source/WebCore/platform/graphics/cairo -I./Source/WebCore/platform/graphics/cpu/arm -I./Source/WebCore/platform/graphics/cpu/arm/filters -I./Source/WebCore/platform/graphics/egl -I./Source/WebCore/platform/graphics/filters -I./Source/WebCore/platform/graphics/glx -I./Source/WebCore/platform/graphics/gpu -I./Source/WebCore/platform/graphics/gstreamer -I./Source/WebCore/platform/graphics/gtk -I./Source/WebCore/platform/graphics/harfbuzz -I./Source/WebCore/platform/graphics/texmap -I./Source/WebCore/platform/graphics/transforms -I./Source/WebCore/platform/gtk -I./Source/WebCore/platform/image-decoders -I./Source/WebCore/platform/image-decoders/bmp -I./Source/WebCore/platform/image-decoders/cairo -I./Source/WebCore/platform/image-decoders/gif -I./Source/WebCore/platform/image-decoders/ico -I./Source/WebCore/platform/image-decoders/jpeg -I./Source/WebCore/platform/image-decoders/png -I./Source/WebCore/platform/image-decoders/webp -I./Source/WebCore/platform/network -I./Source/WebCore/platform/network/gtk -I./Source/WebCore/platform/network/soup -I./Source/WebCore/platform/text -I./Source/WebCore/platform/text/transcoder -I./Source -I./Source/JavaScriptCore -I./Source/JavaScriptCore/API -I./Source/JavaScriptCore/assembler -I./Source/JavaScriptCore/bytecode -I./Source/JavaScriptCore/bytecompiler -I./Source/JavaScriptCore/dfg -I./Source/JavaScriptCore/disassembler -I./Source/JavaScriptCore/heap -I./Source/JavaScriptCore/debugger -I./Source/JavaScriptCore/ForwardingHeaders -I./Source/JavaScriptCore/interpreter -I./Source/JavaScriptCore/jit -I./Source/JavaScriptCore/jit -I./Source/JavaScriptCore/llint -I./Source/JavaScriptCore/parser -I./Source/JavaScriptCore/profiler -I./Source/JavaScriptCore/runtime -I./Source/JavaScriptCore/tools -I./Source/JavaScriptCore/yarr -I./DerivedSources/JavaScriptCore -I./Source/WTF -fno-strict-aliasing -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/harfbuzz -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/libsecret-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -fvisibility-inlines-hidden -fno-rtti -g1 -O2 -std=c++11 -Wno-c++11-compat -O2 -MT Source/WebCore/platform/gtk/libPlatformGtk_la-GtkWidgetBackingStoreX11.lo -MD -MP -MF Source/WebCore/platform/gtk/.deps/libPlatformGtk_la-GtkWidgetBackingStoreX11.Tpo -c Source/WebCore/platform/gtk/GtkWidgetBackingStoreX11.cpp  -fPIC -DPIC -o Source/WebCore/platform/gtk/.libs/libPlatformGtk_la-GtkWidgetBackingStoreX11.o
Source/WebCore/platform/gtk/GtkWidgetBackingStoreX11.cpp:26:22: fatal error: gdk/gdkx.h: No such file or directory
 #include &lt;gdk/gdkx.h&gt;
                      ^
compilation terminated.
make[1]: *** [Source/WebCore/platform/gtk/libPlatformGtk_la-GtkWidgetBackingStoreX11.lo] Error 1
make[1]: Leaving directory `/src/webkitgtk-3&apos;
make: *** [all] Error 2
Container failed with error code 2.

This is on Linux x86-64. If you want to reproduce this, you may need the GTK+ patch from https://bugzilla.gnome.org/show_bug.cgi?id=703765</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>923940</commentid>
    <comment_count>1</comment_count>
    <who name="Zan Dobersek">zan</who>
    <bug_when>2013-09-03 04:17:45 -0700</bug_when>
    <thetext>I plan to address this under bug #120627. Setting this bug as dependent on that one.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>924364</commentid>
    <comment_count>2</comment_count>
    <who name="Zan Dobersek">zan</who>
    <bug_when>2013-09-04 05:29:07 -0700</bug_when>
    <thetext>As promised, this has been fixed through bug #120627, which landed in r155032.
http://trac.webkit.org/changeset/155032</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>