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:
- Refer to http://www.enlightenment.org/p.php?p=contribute&l=en
- Get source code: svn co http://svn.enlightenment.org/svn/e/trunk enlightenment
- 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:
- Refer to http://trac.webkit.org/wiki/EFLWebKit
- Get source code: svn checkout http://svn.webkit.org/repository/webkit/trunk webkit
- Set environments: export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH; export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
- Build and install:
- webkit$ mkdir build
- webkit$ cd build
- build$ cmake ../Source -DPORT=Efl -DSHARED_CORE=OFF -DCMAKE_BUILD_TYPE=Release
- build$ make
- build$ sudo make install