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 :
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 🙂
elis 10:26 pm on October 21, 2008 Permalink |
I just tried out the latest version in svn/hg and I must say I am pretty excited on how this project will turn out.
Add TV-support and I will install this on my HTPC as soon as it reaches product quality.
Keep up the nice work!
Mathieu SCHROETER 8:28 pm on October 24, 2008 Permalink |
And in order to use libplayer, don’t forget:
sudo aptitude install mplayer
daryl 11:17 pm on October 31, 2008 Permalink |
whoa…. I have seen enna in CVS (now svn) for some time now. This is the first time I have seen in up an going. As the easy_e17 script skipped rage I am assuming that this is not the media center app for e17???
Ok I like it but here is my one question. I am a CEDIA certified home theater installer and I can not live without surround sound. I know how to send commands to mplayer instructing it to utilize alsa to pass through the ac3 and dts audio tracks. I am not familiar with libplayer but I am wondering if the context is the same? Will the same commands that tell mplayer to preserve and not to downmix that beautiful 5.1 track be applicable to Enna?
captainigloo 10:26 am on November 1, 2008 Permalink |
I think that rage is not a full mediacenter app. It’s Raster’s toy. This app is in E SVN to show what we can do with EFL. Enna is more a mediacenter app, and is more usefull.
For you mplayer question, I’m not 100% sure that what you want to do is possible, but I guess mplayer options are compatible with enna. Mathieu and Ben (libplayer’s authors) could answer better but I think that mplayer options in $HOME/.mplayer are not overrided by enna. So ac3 adn dts track could be play like you do without enna. Enna just embeded mplayer window.
If you use emotion as main enna backend, you can’t do this.
Mathieu SCHROETER 12:08 pm on November 1, 2008 Permalink |
Nico you are right!
Just put the configuration in ~/.mplayer/config, the file will be read by MPlayer.
Sanzoghenzo 7:30 pm on November 4, 2008 Permalink |
Hi
I know that it’s a obvious thing for a power user like us 🙂 , but you mistyped the autogen.sh line… it’s “–prefix” instread of “-prefix”. Newbie may be in trouble with this!
Just installed… looks very very nice!
cheers
captainigloo 8:38 pm on November 4, 2008 Permalink |
It’s seems that they are a problem in WordPress CSS. – – are render as juste one -. When you do a copy/paste into terminal, – – are transorfmed in a bad character. I should maybe change the current theme to avoid this kind of problem !
Thanks for this report :).
alex 5:15 pm on February 8, 2009 Permalink |
hai after compiling all and everthing done
went i try to call enna in new terminal box, then enna raise this error = enna: error while loading shared libraries: libembryo.so.0: cannot open shared object file: No such file or directory
can anybody help me ?
thanks
alex
alex 3:21 am on February 9, 2009 Permalink |
hai i have solve my problem with restarting ubuntu, thx,
now my problem is enna is run but the window is blank , how can i fix it thanks
Urahara 10:08 pm on February 26, 2009 Permalink |
Doesn’t work 😦
$ enna
[Enna] [module.c:23] Info: Plugin Directory: /usr/lib/enna/modules/
[Enna] [module.c:26] Info: Available Plugins:
[Enna] [module.c:29] Info: Segmentation fault
Stefan 9:47 pm on March 6, 2009 Permalink |
Hi,
Can someone help me with the following:
checking for ENNA… configure: error: Package
….
No package ‘elementary’ found
Regards,
-Stefan
Stefan 7:53 am on March 7, 2009 Permalink |
Found this on efl:
svn co http://svn.enlightenment.org/svn/e/trunk/TMP/st/elementary
cd elementary
./autogen.sh
make
sudo make install
Stefan 8:30 am on March 7, 2009 Permalink |
Hi,
I’m stuck again when making enna. The error I get is:
enna_module_photo.c: In function ‘_create_menu’:
enna_module_photo.c:378: error: ‘Enna_Module_Photo’ has no member named ‘item_class’
Can someone assist me with this?
Regards,
-Stefan
captainigloo 9:19 am on March 7, 2009 Permalink |
Hi Stefan,
It’s a bit compilicated to compile enna these days, As i have done some changes, add elementary as have seen. Last week E guys have break some of EFL api so I had to change some part of enna too.
Today I think that you should compile without problem.
First you must have all uptodate libs from E17. To update your libs :
svn update
./autogen.sh –prefix=/usr
make
make install
for each libs :
eina, eet, embryo, ecore, edje, elementary, libplayer, libvalhalha, and enna.
libvahala is new , but in a very good shape, and developped by Mat. I think that i will blog about this in a near future.
Hope that this infos help you
—
Nico
captainigloo 9:25 am on March 7, 2009 Permalink |
oops livalhala can be found on geexbox repository.
So if you want test it : hg clone http://hg.geexbox.org/libvalhalla/
Stefan 10:34 pm on March 7, 2009 Permalink |
thank you!
Stefan 10:42 pm on March 7, 2009 Permalink |
FYI; all the EFL libraries where at head (39412) but I still get the same error. I will keep trying 🙂
captainigloo 11:35 am on March 8, 2009 Permalink |
you have maybe some of them installed in /usr/local/lib ?
eric 10:35 am on April 18, 2009 Permalink |
i have the same problem as Stefan. maybe the dmesg may help:
enna[14784] general protection ip:7f80fa9ec460 sp:7fff05bd5198 error:0 in libc-2.9.so[7f80fa972000+14a000]
Chris 9:41 pm on April 27, 2009 Permalink |
Hi, I get stuck while making enna. This is whats get printed:
[root@localhost enna]# make
config.status: creating config.h
config.status: config.h is unchanged
Making all in src
Making all in bin
LINK enna
mediaplayer.o: In function `enna_mediaplayer_init’:
/home/chris/Documents/enna/src/bin/mediaplayer.c:792: undefined reference to `ECORE_EVENT_KEY_DOWN’
/home/chris/Documents/enna/src/bin/mediaplayer.c:794: undefined reference to `ECORE_EVENT_MOUSE_BUTTON_DOWN’
/home/chris/Documents/enna/src/bin/mediaplayer.c:797: undefined reference to `ECORE_EVENT_MOUSE_MOVE’
collect2: ld returned 1 exit status
make[3]: *** [enna] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
The root of the problem may be that I haven’t successfully installed the libvalhalla, I’m missing libavformat which I cannot find on the urpmi. Anyone?
alexandre 11:36 am on October 3, 2009 Permalink |
Enna looks really great, but I get a problem while compiling enna, it tells me there is “No package ‘libvalhalla’ found”.
And when I want to compile libvalhalla, I get the following error :
~/libvalhalla$ ./configure && make && sudo make install
Checking for compiler available…
Checking for libavformat …
Checking for sqlite3 …
Checking for libcurl …
Checking for libxml2 …
Checking for libexif …
Package libnfo was not found in the pkg-config search path.
Perhaps you should add the directory containing `libnfo.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘libnfo’ found
Package libnfo was not found in the pkg-config search path.
Perhaps you should add the directory containing `libnfo.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘libnfo’ found
Checking for libnfo …
Error, can’t find libnfo !
See file “config.log” produced by configure for more details.
I hope you will help me, I don’t no the way I can get libnfo, when I did sudo apt-cache search libnfo, I got nothing.
captainigloo 7:33 am on October 5, 2009 Permalink |
hi alexandre,
you can found libnfo on geexbox repository :
hg clone http://hg.geexbox.org/libnfo
This lib have been developped by gxben.
This lib can access nfo file in your directories. NFO files are a specification from XBMC : . When you added a nfo file in a directory, libvalhalla will read it and add metadata into his main database. Enna read info from libvalhalla dv show them in Enna UI. You can create specific info for personnal content or add metadata that can’t be retrieved automaticly from the web.
Currently, metadata from libvalhalla are not in a good shape and and are not displayed in enna ui. We are working hard on this.
thanks
chetan 6:00 am on January 7, 2010 Permalink |
Hi,
has anyone successfully built MPlayer (not Media Player) for a Windows
CE device? If so, any recommendations to get started is gratefully
received.
What I want to achieve is to play video and audio from RTP streams.
Best regards!
chetan singh