Changes between Initial Version and Version 1 of WPE


Ignore:
Timestamp:
Jul 20, 2017 2:05:06 AM (5 years ago)
Author:
clopez@igalia.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WPE

    v1 v1  
     1[[PageOutline]]
     2
     3= WPE =
     4
     5WPE is a WebKit port intended to allow embedders to create simple and performant systems based on Web platform technologies. It is designed with hardware acceleration in mind, leveraging common 3D graphics APIs for best performance.
     6
     7== Building and testing ==
     8
     90. '''Get the code'''
     10
     11{{{
     12git clone git://git.webkit.org/WebKit.git WebKit
     13# You can use also the mirror https://github.com/WebKit/webkit
     14}}}
     15
     16
     171. '''Install dependencies'''
     18
     19{{{
     20cd WebKit
     21Tools/wpe/install-dependencies
     22}}}
     23
     242. '''Build internal JHBuild'''
     25
     26{{{
     27Tools/Scripts/update-webkitwpe-libs
     28}}}
     29
     303. '''Build the WPE port of WebKit'''
     31
     32{{{
     33Tools/Scripts/build-webkit --release --wpe
     34}}}
     35
     36
     374. '''Launch dyz''' (WPE basic webview)
     38
     39{{{
     40Tools/Scripts/run-minibrowser --wpe https://www.igalia.com
     41}}}
     42
     43  * Note: This last steps should work both under Weston under X11, as also under native Weston/Wayland (or even directly from a text console (framebuffer/KMS/DRM)). The requisite (when using the default wpebackend-mesa) is to have a GPU with MESA-based graphics (we test mostly with Intel graphics, but others well supported GPUs on MESA like the ones based on AMDGPU should work also). The device files ''/dev/dri/renderD128'' and ''/dev/dri/controlD64'' have to exist and your user need write access to them (On most distributions this means ensuring your user is member of a group named "video")
     44
     45If you are targetting an embedded device, then instead of using the default [https://github.com/WebPlatformForEmbedded/WPEBackend-mesa wpebackend-mesa] you may want to use [https://github.com/WebPlatformForEmbedded/WPEBackend-rdk wpebackend-rdk]. In that case you likely also want to use Buildroot or Yocto.