Ubuntu Compilation Latest Version WebKit

Source: Internet
Author: User
Tags gtk

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.