Unofficial mirror of the WebKit SVN repository
Pull request Compare This branch is 1394 commits ahead, 64 commits behind WebKit:master.
Permalink
Failed to load latest commit information.
Examples Add a sample plugin to demonstrate the mute plugin API. Dec 4, 2014
JSTests op_get_by_id_with_this should use inline caching Feb 27, 2017
LayoutTests Merge branch 'master' of git://git.webkit.org/WebKit into wpe Feb 27, 2017
ManualTests WebRTC: [GTK] Add MediaEndpointOwr - an OpenWebRTC WebRTC backend Oct 21, 2016
PerformanceTests Simple line layout: Add performance test with text-rendering: optimiz… Feb 13, 2017
Source Merge branch 'master' of git://git.webkit.org/WebKit into wpe Feb 27, 2017
Tools Merge branch 'master' of git://git.webkit.org/WebKit into wpe Feb 27, 2017
WebKit.xcworkspace [WebRTC] Add libwebrtc build infrastructure Jan 20, 2017
WebKitLibraries Rolling out r212757 Feb 22, 2017
Websites A Locked indicator should be visually distinct from an unlocked indic… Feb 27, 2017
.dir-locals.el emacs: unreviewed. add settings for editing js files. Dec 20, 2011
.gitattributes Tell git-archive to not export .gitattributes and .gitignore Aug 29, 2012
.gitignore Update root .gitignore for latest WebKitLibraries Sep 1, 2016
CMakeLists.txt Merge branch 'master' of git://git.webkit.org/WebKit into wpe Feb 13, 2017
ChangeLog Unreviewed. Bump GTK+ versions numbers. Feb 27, 2017
ChangeLog-2012-05-22 .: == Rolled over to ChangeLog-2012-05-22 == May 22, 2012
Makefile Make the Makefile great again after r211570, r211572 Feb 2, 2017
Makefile.shared "make ARCHS=x86_64" fails to build Jul 18, 2016
README.md Added not to README.md to clarify WAYLAND_DISPLAY Aug 3, 2016
ReadMe.md Add GTK+ build instruction to ReadMe.md Feb 23, 2017

README.md

WebKit for Wayland

Building prerequisites

For Ubuntu 16.04 LTS (Xenial Xerus), please type:

$ sudo apt-get install intltool libtool-bin autoconf automake autopoint cmake gcc g++ bison flex gawk gperf ruby git libversion-perl libgnutls-dev libexpat-dev libxml2-dev libxslt-dev libsqlite3-dev libjpeg9-dev libfreetype6-dev libharfbuzz-dev libxcb-xkb-dev libwayland-dev libgbm-dev libgles2-mesa-dev libgstreamer1.0-dev libwebp-dev

Building

From the root directory, please type:

$ Tools/Scripts/update-webkitwpe-libs
$ Tools/Scripts/build-webkit --wpe

Running

If it is not already the case, you will need to execute a Wayland compositor.

To do this quickly under Ubuntu 16.04 LTS (Xenial Xerus), please type:

$ sudo apt-get install weston
$ export XDG_RUNTIME_DIR=/tmp
$ weston

Then, to run WebKit for Wayland:

$ export WPE_BACKEND=wayland
$ Tools/Scripts/run-wpe
$ Tools/Scripts/run-wpe http://www.bouncyballs.org

To run under a specific Weston instance:

$ weston --socket=wpe-test
$ WAYLAND_DISPLAY=wpe-test Tools/Scripts/run-wpe

Note: Careful with running Weston with WAYLAND_DISPLAY active as it will try to use it to set it up itself and might result in failure.