Thursday, April 16, 2015
Build WebKit, JSC, MiniBrowser
```bash
svn checkout https://svn.webkit.org/repository/webkit/releases/WebKitGTK/webkit-2.8.0 webkit
```
First, upgrade gcc and g++:
```bash
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install gcc-4.8
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 50
sudo apt-get install g++-4.8
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 50
```
Second, do the followings:
```bash
Tools/gtk/install-dependencies
Tools/Scripts/update-webkitgtk-libs
Tools/Scripts/build-webkit --gtk --makeargs="-j24" # build whole webkit
Tools/Scripts/build-jsc --gtk --makeargs="-j24" # build jsc
cd webkit/WebKitBuild/Release
make MiniBrowser -j5 # build MiniBrowsr
```
Third, launch MiniBrowser:
```bash
Tools/Scripts/run-minibrowser --gtk
```
Subscribe to:
Post Comments (Atom)
Comment test
ReplyDelete