[webkit-help] Building Cairo port

John Yani vanuan at gmail.com
Wed Apr 25 13:53:09 PDT 2012


Sorry, I was wrong, GTK+ port is only supported under linux.
Chromium port is using ./Tools/Scripts/update-webkit-chromium script
to update its dependencies: http://trac.webkit.org/wiki/Chromium
Which calls gclient, which looks at the file
http://trac.webkit.org/browser/trunk/Source/WebKit/chromium/DEPS to
fetch dependencies from svn.

On 25 April 2012 22:40, Eric Fortin 2 <eric.fortin at ubisoft.com> wrote:
> I got the build working and I'm working on a patch that I should be able to send tomorrow. What is chromium/GTK using as far as dependencies go ? I initially started to look at Cairo to avoid the Apple dependencies because I need control over every dependency.
>
> Thanks
>
> -----Original Message-----
> From: John Yani [mailto:vanuan at gmail.com]
> Sent: 25 avril 2012 15:25
> To: Eric Fortin 2
> Cc: webkit-help at lists.webkit.org
> Subject: Re: [webkit-help] Building Cairo port
>
> As far as I can remember cairo build has always had some problems. Try using Qt or chromium/GTK ports. They're the most active now.
> Stiil, if you need cairo build fixed, feel free to submit a bug and attach your patch. And ask webkit-dev why wincairo bot is offline, and who can bring it back.
>
> On 25 April 2012 17:46, Eric Fortin 2 <eric.fortin at ubisoft.com> wrote:
>> Hi,
>>
>>
>>
>> After checking build-bot, I can see that not only it is down but
>> before it went down, it was getting the same error as I do. It seems
>> that last time it compiled successfully (some tests failing) was on April 17th.
>>
>>
>>
>> Is the Cairo build officially supported ?
>>
>>
>>
>> Thanks,
>>
>>
>>
>> Eric
>>
>>
>>
>> From: webkit-help-bounces at lists.webkit.org
>> [mailto:webkit-help-bounces at lists.webkit.org] On Behalf Of Eric Fortin
>> 2
>> Sent: 25 avril 2012 09:42
>> To: webkit-help at lists.webkit.org
>> Subject: [webkit-help] Building Cairo port
>>
>>
>>
>> Hi,
>>
>>
>>
>> I'm currently trying to build the Cairo port of WebKit and I run into
>> compilation errors. I am currently on revision 115022 which is a
>> nightly build and I can build and run Apple Windows port.
>>
>>
>>
>> Here are some of the errors I get:
>>
>>
>>
>> error C2065: 'CGDataConsumerRef' : undeclared identifier
>>
>> 10>..\WebProcess\WebPage\WebPage.cpp(2896): error C3861:
>> 'CGDataConsumerCreateWithCFData': identifier not found
>>
>> 10>..\WebProcess\WebPage\WebPage.cpp(2896): error C2514: 'WTF::RetainPtr' :
>> class has no constructors
>>
>> 10>
>> C:\Cygwin\home\efortin2\WebKit\WebKitBuild\Debug_Cairo_CFLite\Include\
>> private\wtf/RetainPtr.h(55)
>> : see declaration of 'WTF::RetainPtr'
>>
>> 10>..\WebProcess\WebPage\WebPage.cpp(2898): error C2065: 'CGRect' :
>> undeclared identifier
>>
>> 10>..\WebProcess\WebPage\WebPage.cpp(2898): error C2146: syntax error :
>> missing ';' before identifier 'mediaBox'
>>
>> 10>..\WebProcess\WebPage\WebPage.cpp(2898): error C2065: 'mediaBox' :
>> undeclared identifier
>>
>> 10>..\WebProcess\WebPage\WebPage.cpp(2898): error C3861: 'CGRectMake':
>> identifier not found
>>
>> 10>..\WebProcess\WebPage\WebPage.cpp(2899): error C2065: 'CGContextRef' :
>> undeclared identifier
>>
>> 10>..\WebProcess\WebPage\WebPage.cpp(2899): error C2662:
>> 'WTF::RetainPtr<T>::get' : cannot convert 'this' pointer from
>> 'WTF::RetainPtr' to 'const WTF::RetainPtr<T> &'
>>
>>
>>
>> I understand the error and know that it fails because it hasn't seen
>> the definition of CGDataConsumer but I'm wondering why the Cairo build
>> is trying to include CoreGraphics stuff. The errors I get are
>> currently all in WebKit2/WebProcess/WebPage/WebPage.cpp which I think,
>> with my little understanding, is supposed to be for all ports.
>>
>>
>>
>> Here's more info:
>>
>>
>>
>> OS: Windows 7
>>
>> Config: Cairo Debug
>>
>> Caveat: I'm building on VS2010 but as I said, I'm able to build the
>> Apple Windows port.
>>
>>
>>
>>
>>
>> I must be missing something. Did anyone get this error ?
>>
>>
>>
>> Thanks,
>>
>>
>>
>> Eric Fortin
>>
>>
>> _______________________________________________
>> webkit-help mailing list
>> webkit-help at lists.webkit.org
>> http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
>>
> _______________________________________________
> webkit-help mailing list
> webkit-help at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-help


More information about the webkit-help mailing list