개발

[EFL] How to build EFL on Ubuntu.

소혼 2012. 2. 21. 10:25
반응형
1. get source code
svn co http://svn.enlightenment.org/svn/e

2. install related packages. (http://www.enlightenment.org/p.php?p=contribute&l=en)

sudo apt-get install build-essential automake libtool ccache zlib1g-dev libjpeg62-dev libfreetype6-dev libdbus-1-dev liblua5.1-0-dev g++ libxext-dev libxrender-dev libpng12-dev libxrandr-dev libfontconfig1-dev

sudo apt-get install autopoint

sudo apt-get install libxcomposite-dev libxcursor-dev libxdamage-dev libxdmcp-dev libxfixes-dev libxfont-dev libxi-dev libxinerama-dev libxss-dev libxv-dev libtiff4-dev librsvg2-dev libfribidi-dev libcurl4-openssl-dev libexif-dev libiptcdata0-dev libxml2-dev libxcb-shape0-dev

3. install each package.
#!/bin/sh
set -e
sudo echo "touch"
PREFIX="/usr/elocal"
PROJECTS="eina eet PROTO/eobj evas evas_generic_loaders ecore embryo edje e_dbus efreet eeze e"
SITE="svn.enlightenment.org"
SVN="http://$SITE/svn/e/trunk"
OPT="--prefix=$PREFIX"

export PKG_CONFIG_PATH="$PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH"
export PATH="$PREFIX/bin:$PATH"
export LD_LIBRARY_PATH="$PREFIX/lib:$LD_LIBRARY_PATH"
for PROJ in $PROJECTS; do
  cd trunk/$PROJ
  make clean distclean || true
  cd -
done

for PROJ in $PROJECTS; do
  cd trunk/$PROJ
  svn update
  cd -
done

for PROJ in $PROJECTS; do
  echo "#######################################################"
  echo $PROJ

  cd trunk/$PROJ
  ./autogen.sh $OPT
  make
  sudo make install
  cd -
  sudo ldconfig
done


반응형

'개발' 카테고리의 다른 글

commit.template - default commit message  (2) 2012.07.12
java.io.IOException: EOF 와 함께 실행이 안되는 문제  (1) 2012.06.24
resume in github  (2) 2012.02.15
github에 내 사이트 만들기.  (1) 2012.01.17
[번역] CMake FAQ  (0) 2011.08.18