<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GTK] Re-enable Quartz backend on cmake build system"
   href="https://bugs.webkit.org/show_bug.cgi?id=144561#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GTK] Re-enable Quartz backend on cmake build system"
   href="https://bugs.webkit.org/show_bug.cgi?id=144561">bug 144561</a>
              from <span class="vcard"><a class="email" href="mailto:mrobinson&#64;webkit.org" title="Martin Robinson &lt;mrobinson&#64;webkit.org&gt;"> <span class="fn">Martin Robinson</span></a>
</span></b>
        <pre>Comment on <span class=""><a href="attachment.cgi?id=252296&amp;action=diff" name="attach_252296" title="Patch to re-enable Quartz backend">attachment 252296</a> <a href="attachment.cgi?id=252296&amp;action=edit" title="Patch to re-enable Quartz backend">[details]</a></span>
Patch to re-enable Quartz backend

View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=252296&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=252296&amp;action=review</a>

Thanks for the patch. Is this patch for master? If so, I think it needs to be rebased. Also, as Csaba mentioned all patches need ChangeLogs.

<span class="quote">&gt; b/Source/cmake/OptionsGTK.cmake:181
&gt; +if (ENABLE_QUARTZ_TARGET)
&gt; +    add_definitions(-DWTF_PLATFORM_QUARTZ=1)
&gt; +endif ()</span >

We expose variables to the build using SET_AND_EXPOSE_TO_BUILD now.

<span class="quote">&gt; b/Source/cmake/FindGTK3.cmake:66
&gt; +    if (NOT(&quot;${GTK3_QUARTZ_VERSION}&quot; VERSION_EQUAL &quot;${GTK3_VERSION}&quot;))
&gt; +        set(ENABLE_QUARTZ_TARGET OFF)
&gt; +    endif ()</span >

Here you should give an error, because we want the build to produce errors instead of silently disabling things now.

<span class="quote">&gt; b/Source/cmake/FindGTK3.cmake:73
&gt; +if (NOT(ENABLE_X11_TARGET OR ENABLE_WAYLAND_TARGET OR ENABLE_QUARTZ_TARGET))
&gt;      message(FATAL_ERROR &quot;At least one of the following windowing targets must &quot;
&gt; -        &quot;be enabled and also supported by the GTK+ dependency: X11, Wayland&quot;)
&gt; +        &quot;be enabled and also supported by the GTK+ dependency: X11, Wayland, &quot;
&gt; +        &quot;Quartz&quot;)
&gt;  endif ()</span >

I don't think the help message should mention Quartz until the port is fully functional.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>