[webkit-dev] EFL and GTK on Darwin

Žan Doberšek zandobersek at gmail.com
Tue Feb 11 00:29:12 PST 2014


On Mon, Feb 10, 2014 at 6:30 PM, Dan Bernstein <mitz at apple.com> wrote:

> Hi everyone, and especially EFL and GTK contributors!
> In preparation for changing PLATFORM(MAC) to be false when building for
> iOS, I have been reviewing usage of PLATFORM(MAC) throughout our
> codebase. Some of these uses are really about targeting the Darwin OS.
> However, I could not simply replace PLATFORM(MAC) with OS(DARWIN),
> because the latter also encompasses the EFL and GTK platforms when building
> for Darwin (which the former does not). Therefore, thus far I have replaced
> relevant instances of PLATFORM(MAC) with (OS(DARWIN) && !PLATFORM(EFL) &&

Just to be clear, this is about code that's not appropriate to guard with

> This is ugly and seems like a waste of time, so I was wondering:
> 1. Is there a configuration of the EFL port that actually builds for
> Darwin?
> 2. Is there a configuration of the GTK port that actually builds for
> Darwin?

Yes, this configuration is supported by the GTK port through the MacPorts
project. Jeremy Huddleston regularly upstreams modifications to properly
support building the GTK port on Darwin.

> 3. If such configuration(s) exist, would it be OK for them to use Darwin
> when building for Darwin?

This could be possible, but it depends really on the code in question.
Jeremy would probably be the best candidate to exactly tell you whether the
new code is viable to use for the GTK port on Darwin.

> If the answer to 1 and 2 is no, or if the answer to 3 is yes, then I will
> simply use OS(DARWIN) to replace PLATFORM(MAC) where that is the intent,
> and, depending on the answers to 1 and 2, update the EFL and GTK build
> systems to include the Darwin-based implementations where needed.
> Thanks!
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-dev/attachments/20140211/c0d0684d/attachment.html>

More information about the webkit-dev mailing list