Build EFL WebKit in Fedora 14 Linux

Install dependencies:

1.    cmake

2.    bison

3.    flex

4.    gperf

5.    cairo-devel

6.    sqlite-devel

7.    libxslt-devel

8.    libicu-devel

9.    libsoup-devel

a.    glib: http://ftp.acc.umu.se/pub/GNOME/sources/glib/2.29/glib-2.29.16.tar.bz2to build libsoup, need to update glib to fix error “configure: error: GLIB2.27.5 or later is required to build libsoup”

b.   gettext: sudo yum install gettext; this is used tofix error “*** You must have either have gettext support in your C library,”when configure glib

c.    PKG_CONFIG_PATHand LD_LIBRARY_PATH: use these 2 environmental variables to specify packageconfigure and linked library paths to use new version glib installed in/usr/local

d.   exportPKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH; exportLD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH

10. libcurl-devel

11. fontconfig-devel

12. freetype-devel

13. gstreamer-devel

14. libjpeg-turbo-devel

15. libpng-devel

16. gnome-common:for enlightenment

17. lua-devel:for enlightenment

 

Build Enlightenment:

  1. Refer to http://www.enlightenment.org/p.php?p=contribute&l=en
  2. Get source code: svn co http://svn.enlightenment.org/svn/e/trunk enlightenment
  3. Build the code and install them with below script:

#!/bin/sh

set -e

PREFIX="/usr/local"

PROJECTS="\

einaeet evas evas_generic_loaders ecore embryo edje e_dbus efreet eeze e"

OPT="--prefix=$PREFIX"

PKG_CONFIG_PATH="$PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH"

PATH="$PREFIX/bin:$PATH"

LD_LIBRARY_PATH="$PREFIX/lib:$LD_LIBRARY_PATH"

forPROJ in $PROJECTS; do

  cd $PROJ

  make clean distclean || true

  ./autogen.sh $OPT

  echo "Building $PROJ ..."

  make

  sudo make install

  cd ..

  sudo ldconfig

done

 

Build WebKit:

  1. Refer to http://trac.webkit.org/wiki/EFLWebKit
  2. Get source code: svn checkout http://svn.webkit.org/repository/webkit/trunk webkit
  3. Set environments: export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH; export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
  4. Build and install:
    1. webkit$ mkdir build
    2. webkit$ cd build
    3. build$ cmake ../Source -DPORT=Efl -DSHARED_CORE=OFF -DCMAKE_BUILD_TYPE=Release
    4. build$ make
    5. build$ sudo make install

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值