'build'에 해당되는 글 1건

  1. 2010.03.13 Building WebKit on GTK/Linux, Ubuntu 9.10
WebKit2010.03.13 19:21
아래는 Ubuntu 공식 홈페이지의 문서에 나와있는 내용이다.

Get dependencies

WebKit requires a newer version of libsoup than provided by the official Ubuntu repositories. Add the PPA for WebKit Team repository to get access to the right version:

sudo add-apt-repository ppa:webkit-team
sudo apt-get update
sudo apt-get dist-upgrade

WebKit requires libraries to successfully aquire, configure, and compile. You can get libraries by issuing the following command in your terminal:

sudo apt-get install subversion gtk-doc-tools autoconf automake libtool libgtk2.0-dev libpango1.0-dev libicu-dev
libxslt-dev libsoup2.4-dev libsqlite3-dev gperf bison flex libjpeg62-dev libpng12-dev libxt-dev autotools-dev
libgstreamer-plugins-base0.10-dev libenchant-dev libgail-dev

Get the source code

To acquire the WebKit source code issue the following command in your terminal:

svn checkout http://svn.webkit.org/repository/webkit/trunk ~/src/WebKit

Be patient, this step will take some time.

Compile the code

Change the directory in your terminal to the newly created ~/src/WebKit directory with the following command:

cd ~/src/WebKit 

Now you will need to configure the source to be sure all dependencies are present on your system. Issue this simple command in your terminal:

./autogen.sh --prefix=/usr/WebKitBuild

If your ./autogen.sh command runs without any hitches you are ready to compile WebKit. Issue the following command
in your terminal and grab a beer: 
WebKitTools/Scripts/build-webkit --gtk --debug

To run the demo browser:
WebKitTools/Scripts/run-launcher --gtk --debug

'WebKit' 카테고리의 다른 글

Building WebKit (cairo-win32)  (0) 2010.04.26
WinLauncher  (0) 2010.04.18
WebKit, Apple's CFNET, CFURL.  (0) 2010.04.18
Building WebKit on GTK/Linux, Ubuntu 9.10  (0) 2010.03.13
Android 개발 환경 세팅 (Windows)  (0) 2010.01.23
WebKit 빌드 절차  (0) 2010.01.20
Posted by exahz

티스토리 툴바