Long time no update WebKit source code in Ubuntu compiled, online search, basically is the early compilation of the WebKit version. It may be that everyone is going to the big Google browser.
Today, ubuntu14.04 version as the compilation of the environment to talk about WebKit compilation
First, download the source code
wget http://builds.nightly.webkit.org/files/trunk/src/WebKit-r174650.tar.bz2
Or the browser opens the download.
Second, decompression
Tar xjf ebkit-r174650.tar.bz2
Third, write a compilation script
#!/bin/bash
# WebKit Version webkit-r174650.tar.bz2 ./tools/gtk/install-dependencies
./ Tools/scripts/update-webkitgtk-libs
Export pkg_config_path= $PKG _config_path: ' pwd '/webkitbuild/dependencies/root/lib64/pkgconfig
./tools/scripts/build-webkit--GTK--debug
Install-dependencies Installing and compiling third-party dependent library environments
update-webkitgtk-libs Update compiled third-party libraries (GTK)
After a long wait, the build executable is compiled. (depending on the network and machine configuration, network speed machine is good, of course, fast)
Iv. implementation of commissioning
Export path= $PATH: $ (Webkitpath)/webkitbuild/dependencies/root/lib64
Webkitpath is your WebKit directory.
Perform
CD to your Webkitpath directory
./webkitbuild/debug/bin/minibrowser
Debugging with GDB
You can also look at my other article http://my.oschina.net/u/2335812/blog/398433
how to easily and quickly debug a tall Google browser
If you have questions about this series of articles, you can directly in the public message, the first time to contact the original author to help you patiently answer.
technicians have their own feelings, deep in which they are not understood, welcome to the personal public platform: the Programmer Interaction Alliance (Coder_online), a developer's home, to tell their story.
Ubuntu Compilation Latest Version WebKit