Enna Compilation on Ubuntu

As neither eina nor EFL are released, you must compile them. They are Ubuntu packages for EFL but they are old, and API have changed. If you use them, compilation should failed. It’s better to compile all libraries with your little fingers 🙂
The result :

Enna Main Menu

Enna Main Menu

First you need to install some packages :

sudo apt-get install build-essential  make gcc bison flex subversion automake1.10 autoconf autotools-dev  autoconf-archive libtool gettext  libfreetype6-dev libpng12-dev zlib1g-dev libjpeg-dev  libtiff-dev libungif4-dev librsvg2-dev libx11-dev libxcursor-dev libxrender-dev libxrandr-dev libxfixes-dev libxdamage-dev libxcomposite-dev libxss-dev libxp-dev libxext-dev libxinerama-dev  libxft-dev libxfont-dev libxi-dev libxv-dev libxkbfile-dev libxkbui-dev libxres-dev libxtst-dev libltdl3-dev libglu1-xorg-dev  libglut3-dev libdbus-1-dev libxml2-dev colormake libcurl4-openssl-dev ccache mplayer

Now your system should be ready to compile source code.

Eina : (and not enna!)
Eina is a brand new library. It have been writed to unify all EFL data type like linked list, hash, array.
This library is progressivly integrate in all EFL.

svn co http://svn.enlightenment.org/svn/e/trunk/eina
cd eina
./autogen.sh –prefix=/usr
make
sudo make install

EET

Eet is a library that save and read data on disk. Data are compressed. Data type can be integer, float, picture, string, linked list, hash …

Eet is manly used by edje, as edje file are in eet format. Edje file are used for theme.

svn co http://svn.enlightenment.org/svn/e/trunk/eet
cd eet
./autogen.sh –prefix=/usr
make
sudo make install

Embryo:

Embryo is a small lib, that interprets “Small” programs. It is used in edje.

svn co http://svn.enlightenment.org/svn/e/trunk/embryo
cd embryo
./autogen.sh –prefix=/usr
make
sudo make install
cd ..

Evas:

Evas, THE canvas. very fast and optimized. Have a lot of engine, from X11 sofware to WinCE.

svn co http://svn.enlightenment.org/svn/e/trunk/evas

cd evas
./autogen.sh –prefix=/usr
make
sudo make install
cd ..

Ecore:

Ecore implements the mainloop mechanism, callbacks, and a lot of usefull functions. Ecore can be used to created main window.

svn co http://svn.enlightenment.org/svn/e/trunk/ecore
cd ecore
./autogen.sh –prefix=/usr
make
sudo make install
cd ..

Edje

Edje is used to create theme. You create edc file, you theme description, and you compile this edc file. The result is a edj file that you can integrate into evas.

All object created in your edje file can be manipulate with evas.

svn co http://svn.enlightenment.org/svn/e/trunk/edje
cd edje
./autogen.sh –prefix=/usr
make
sudo make install
cd ..

Libplayer:

Libplayer is an usefull lib, for audio/video purpose. It abstracts the use of mplayer (which is a program) to a set of functions. You can then control playback of your media files with it.

hg clone http://hg.geexbox.org/libplayer
cd libplayer
./configure –prefix=/usr
make
sudo make install
cd ..

Enna :

Enna : THE mediacenter app 🙂

hg clone http://hg.geexbox.org/enna
cd enna
./autogen.sh –prefix=/usr
make
sudo make install
cd ..

Configuration

Now all libs and programs should be installed in /usr. You just have to run enna in a shell. But before, you would like maybe configure it. in enna/enna.cfg.example, you’ll find a configuration example. You can copy it in you home directory :

cd enna

cp enna.cfg.example ~/.enna/enna.cfg and edit the file to fit your needs.

Here is my config files :

[enna]
verbosity=info
fullscreen=0
theme=default
engine=x11
backend=emotion
music_ext=3gp,aac,ape,apl,flac,m4a,mac,mka,mp2,mp3,mp4,mpc,ogg,ra,wav,wma
video_ext=asf,avi,divx,dvr-ms,evo,flv,m1v,m2v,m4p,m4v,mkv,mov,mp4,mp4v,mpe,mpeg,mpg,ogm,qt,rm,rmvb,swf,ts,vdr,vob,vro,wmv,y4m
photo_ext=jpg,jpeg,png,gif,tif,tiff,xpm
use_covers=1
use_snapshots=1

[libplayer]

verbosity=none

[localfiles]
path_music=file:///home/serveur/Medias/Musique,Musique,icon_hd
path_video=file:///home/serveur/Medias/Videos,Vidéos,icon_hd
path_photo=file:///home/nico/Photos,Test,icon_h
path_photo=file:///home/serveur/Photos,Photos,icon_hd

[netstreams]
stream_video=http://mafreebox.freebox.fr/freeboxtv/playlist.m3u,FreeboxTV,icon_freeboxtv

[lms]
path=file:///home/serveur/Medias/Musique
parser=mp3,ogg,flac,rm,dummy
slave_timeout=1000
commit_interval=100

Execution

And now launch a terminal and type enna. Enjoy 🙂

Advertisements