WebKit2 build

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

WebKit2 build

Nagendra K
Hi All,
I am trying to build WebKit for an embedded platform. I am trying to first build WebKit with platform toolchain and try to run on the platform. I could build JSC.
I am trying a to build webkit2, is it possible to build it without using any port. 
Second is webcore necessary to be built before we build webkit2. 
Is WebKit folder used along with webkit2 or the both independent.

Thanks and Regards,
Nagendra

_______________________________________________
webkit-dev mailing list
[hidden email]
https://lists.webkit.org/mailman/listinfo/webkit-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: WebKit2 build

Michael Catanzaro
On Mon, Jul 10, 2017 at 8:22 AM, Nagendra K <[hidden email]>
wrote:
> Hi All,
> I am trying to build WebKit for an embedded platform. I am trying to
> first build WebKit with platform toolchain and try to run on the
> platform. I could build JSC.
> I am trying a to build webkit2, is it possible to build it without
> using any port.

To be clear, it's not possible. You have to create your own port if you
don't want to use an existing one. Since you're using Linux, you might
want to use the WPE port. That's the minimal embedded Linux port with
no toolkit dependency.

> Second is webcore necessary to be built before we build webkit2.
> Is WebKit folder used along with webkit2 or the both independent.

They are independent. You can delete the WebKit folder if you're only
going to be building WebKit2.

Michael

_______________________________________________
webkit-dev mailing list
[hidden email]
https://lists.webkit.org/mailman/listinfo/webkit-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: WebKit2 build

Nagendra K
Thanks Michel for the info. I will check further based on your suggestions.
One more doubt, as you said we can delete WebKit and use Webkit2 alone and build. Can the same be applied by deleting WebKit2 folder and build WebKit alone?
 if it is possible other than the multi process option will I lose any other feature, I think major features are part of the webcore, and are these features coupled with webkit2 or independent? 
So that if I write my port I will write for the Api's I need.

Thanks and Regards,
Nagendra


On 10 Jul 2017 9:11 p.m., "Michael Catanzaro" <[hidden email]> wrote:
On Mon, Jul 10, 2017 at 8:22 AM, Nagendra K <[hidden email]> wrote:
Hi All,
I am trying to build WebKit for an embedded platform. I am trying to first build WebKit with platform toolchain and try to run on the platform. I could build JSC.
I am trying a to build webkit2, is it possible to build it without using any port.

To be clear, it's not possible. You have to create your own port if you don't want to use an existing one. Since you're using Linux, you might want to use the WPE port. That's the minimal embedded Linux port with no toolkit dependency.


Second is webcore necessary to be built before we build webkit2.
Is WebKit folder used along with webkit2 or the both independent.

They are independent. You can delete the WebKit folder if you're only going to be building WebKit2.

Michael



_______________________________________________
webkit-dev mailing list
[hidden email]
https://lists.webkit.org/mailman/listinfo/webkit-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: WebKit2 build

Michael Catanzaro
On Mon, Jul 10, 2017 at 12:35 PM, Nagendra K <[hidden email]>
wrote:
> Thanks Michel for the info. I will check further based on your
> suggestions.
> One more doubt, as you said we can delete WebKit and use Webkit2
> alone and build. Can the same be applied by deleting WebKit2 folder
> and build WebKit alone?

Yes, but be aware that none of the upstream Linux ports support legacy
WebKit anymore, so it will probably be much harder.

> if it is possible other than the multi process option will I lose any
> other feature, I think major features are part of the webcore, and
> are these features coupled with webkit2 or independent?

Some new features are WebKit2 only, e.g. resource load statistics. I'm
not aware of any list, though. Maybe somebody else will list more.
Also, the GLib APIs that you probably want to use are also
WebKit2-only. (The lower-level C and C++ APIs are going to be removed.)

Good luck,

Michael

_______________________________________________
webkit-dev mailing list
[hidden email]
https://lists.webkit.org/mailman/listinfo/webkit-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: WebKit2 build

Michael Catanzaro
In reply to this post by Nagendra K
See also the thread "Renaming Directories and Project Files to Match
Framework Names"... it looks like WebKit2 is about to be renamed to
WebKit. Just to make this a bit more confusing for you. :)

Michael

_______________________________________________
webkit-dev mailing list
[hidden email]
https://lists.webkit.org/mailman/listinfo/webkit-dev
Loading...