Download a release
(WebKitGtk suggests that if you use the release package, don't forget Alp's patch)
2. Check dependencies
According to Building the GTK+ port
You should have the following development packages:
- libicu-dev
- libxslt-dev
- libcurl-dev
- libsqlite3-dev
- libjpeg62-dev
- libpng12-dev
- gperf
- bison
- flex version 2.5.33 or later
You will need the following either.
- autoconf
- automake
3. Build the Sources
Run the following commands to configure and build WebKit.
$ ./autogen.sh --prefix=/usr
$ make
You can read WebKitGtk to get more information.
4. Install
Run the demo browser (not needed, but useful)
$ ./Programs/GtkLauncher
Run the following command to install WebKit in the chosen path:
$ make install
Reference:
沒有留言:
張貼留言