Don’t blame me these pictures have been taken with an iPhone (bouhh!)
Updates from March, 2010 Toggle Comment Threads | Keyboard Shortcuts
Let me introduce you a very cool usage of Enna (v0.4.0 from Ubuntu Packages). These photos have been taken at the home of a coworker of mine. He have integrate a PC running GNU/Linux and a 17″ touchscreen in his wall. The mediacenter has two video outputs, one for the touchsreen and another for a video projector.This is so funny !!!
captainigloo, lizard4x4, richardsith, and 2 others are discussing. Toggle Comments
Ok Here an update of compiling enna for Ubuntu. Previous post about enna’s compilation is now verry old.As explain by Mathieu in his blog post (in french) Geexbox libs have reached stability.What are these libs for ?
Libplayer :If you have already compiled enna, you should know about libplayer. Libplayer is a wrapper for common mediaplayer binary and libs. The most used in enna is mplayer. But we are also using xine (for DVD player). To avoid code duplication to control this different mediaplayers, libplayer implement a set of common functions to use all of this backend. It’s very usefull.
LibnfoLibnfo is a really tiny lib, and his goal is to implement XBMC NFO specifications. NFO are XML files that you can put in your directories, which describes a media file. You can add in this XML file a synopsys of a movie, add actors, directors …. This lib is used in a libvalhalla grabber.
Libvalhalla.You can see this lib as the Enna media database, but it’s more than that. During enna initialization, libvalhalla is launched and begin to parse all the files that it can (those specified in enna.cfg). It parses videos, musics and pictures files and add them in a sqlite database. Tags embedded in medias are parsed and insert and when it’s done it tries to get more inforations from the internet. Currently ther is a dozen of grabbers availaible for libvalhalla, like amazon, lastfm, lyricswiki, imdb, allocine, the movie db, the TV db and more…By this way we can displayed synopsys, covers or fanart in Enna’s UI.Libvalhalla is really powerfull, but it is also really fast.For example parsing 1000 files (Ogg and MP3) take less than 25seconds ! Of course it’s only the time to parse ID3 tags and add them in database, without grabbers. Time to get infos with grabbers depends on you network access and on web services used, it can be really fast for some services, but can take about 50 seconds sometimes. Anyway libvalhlla grab files in parallel, so you should not noticed that.
About EFL ?Enna uses Elementary now. To be short, elementary is a widget library on top of Evas and Edje so we don’t have to rewrite code ever and ever, we are using elementary list (genlist), elementary buttons and label ….There is less code in enna core and we can focus on usability.
The easy method :On Ubuntu Karmic :Add this line to /etc/apt/sources.list :
deb http://packages.geexbox.org/ karmic mainand install development packages :
apt-get update apt-get install libeina-dev libeet-dev libevas-dev libevas-engines libevas-engines-extras libecore-dev libefreet-dev libembryo-dev libedje-dev libedje-bin libedbus-dev libhal-dev libhal-storage-dev libnfo-dev libplayer-dev libvalhalla-devGet enna :
hg clone http://hg.geexbox.org/enna cd enna ./autogen.sh make sudo make installand that’s all 🙂
For experts : EFL + GB + enna compilation from sources
If you are on a Ubuntu machine, you can install these libs :
sudo apt-get install xterm make gcc bison flex subversion automake autoconf autotools-dev \ autoconf-archive libtool gettext \ libpam0g-dev libfreetype6-dev libpng12-dev zlib1g-dev libjpeg62-dev \ libtiff4-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 libltdl7-dev libglu1-xorg-dev \ libglut3-dev xserver-xephyr libdbus-1-dev cvs subversion mercurial \ liblua5.1-dev libavformat-dev mplayer libxine-dev libxml2-dev \ libcurl4-openssl-dev wget libexif-dev libsqlite3-dev libxine1-all-plugins libxine1-ffmpegThis should be enough to compile EFL and GeeXboX libs.
Easy_e17 :We need to change a bit this script to suit our needs.edit this script with the editor of your choice and change :line 26 :
change efl_basic="eina eet evas ecore efreet e_dbus embryo edje esmart" with efl_basic="eina eet evas ecore efreet e_dbus embryo edje elementary"line 29 :
change bin_basic="exchange e entrance" with bin_basic="expedite"line 44 :
change autogen_args="" # evas:--enable-gl-x11 with autogen_args="evas:--enable-gl-x11"Save your changes.This script will download, build and install EFL in /opt/e17 and set all environnement variable you need to execute an EFL binary.Sources will be download in $HOME/e17_src.execute the script with :
./easy_e17.sh -iCompilation begins. Later if you want to update EFL you just have to execute
./easy_e17.sh -uAnd only changes will be compiled.
Gb libsYou can open a new terminal, while EFL compilation we will download geexbox libs and enna tip.create a new directory : mkdir gb_src && cd gb_srcEnne uses for now stable versions of geexbox libs.
hg clone -r v1.0.0 http://hg.geexbox.org/libplayer hg clone -r v1.0.0 http://hg.geexbox.org/libnfo hg clone -r v1.0.0 http://hg.geexbox.org/libvalhalla hg clone http://hg.geexbox.org/ennaWhen EFL compilation is done and succesfull, you can verify if all is working fine by executing : elementary_testIf something happens, congrats, EFL are correctly installed 🙂Ok, now GB libs. We will installed all libs in /opt/e17.cd libplayer
./configure --prefix=/opt/e17 make sudo make install cd .. && cd libnfo ./configure --prefix=/opt/e17 make sudo make install cd .. && cd libvalhalla ./configure --prefix=/opt/e17 make sudo make install cd .. && cd enna ./autogen.sh --prefix=/opt/e17 make sudo make installAt this point you should have enna functionnal.You can run it with : enna
ConfigurationA new configuration file is created at the first execution in $HOME/.enna/enna.cfgYou can change settings in this file to suit your needs :in [localfiles] section you can change path of you Media files :For example if you have an music directory in /home/user/MusicAdd this line :
path_music=file:///home/user/Music,Music collection,icon/favoriteYou can do the same for video and photos.just change path_music by path_video of path_photo of course you can remove dummy lines. Change the setiing on line 93 also. It will give to libvalhalla the directories to scan. For the same music direcotry than earlier add the line in [media_db] section :
path=file:///home/user/MusicAll files present in this directory will be added to media database AND if you add/remove or change files, modifications will be reflect in database on the fly.I hope you will enjoy Enna !
CyberMomo, captainigloo, Joe90, and 1 other are discussing. Toggle Comments
this summer, i have added some new features in enna photos activity. For a long time now, this module have a lot of bugs, was really slow. When I start to write it, and integrate the wall, i was proud of me and don’t touch it anymore. But they was a buggy slideshow mode, and it was redundant with photo preview. So I decided to rewrite some piece of wall. First, in may, I added a thumbnailer process. It generates thumbnails of pictures on demand and in parallel with enna process. Thus interface is not freezed anymore, and people who have 2 or more processors will be happy 🙂 Another good point of this thumbnailer, is that it can rotate pictures according to exif metadatas.
Last week I have finally integrated the wall as a view in enna. Interface is more user friendly, code is simpler and interface is better that the old menu on top of wall with list of directories. Now directories are diplayed directly in wall and you can navigated only with this interface. Photo preview desaperead, and slideshow is launched in pause mode when you select a photo. I have added an icon bar with next/prev/pause/stop button. By the way, photos are rotate when exif rotation info is set. Or you can click on rotate button. So if your camera do the job, your photo are always in the right direction, if not you can rotate manually !
let me show you some screenshots :
It’s all for now. I hope that soon we will add a lot of enna’s grabbers in libvalhalla. you can look at excellent mat blog post if you read french 🙂 it’s really interesting.
Long time without blogging, but today I have an interresting thing to show you 🙂
Yesterday was my 28th Birthday and my girlfriend offered me the best geek gift that you can receive : a cushion. A cushion with just this litle text : Ctrl Alt Suppr ! It’s an cushion home-made, she made it with his litle fingers. For you information Ctrl Alt Suppr is the french traduction of Ctrl Alt Del : the keyboard sequence to kill Windows(c)(tm) this ancestral OS from Micro$oft.
Maybe she’s thinking that I’m a geek ?
Don’t believe that this cushion is closed source ! She showed me the sources :
It was a very happy birthday !
I’m proud to present you the official Enna Icon. I want to send a BIG thanks to Fred who has design it ! Great job guy !
Now enna has an icon and thus an identity. It will be integrated in Enna mercurial tree soon as main application icon, and will appear in interface.
bam is discussing. Toggle Comments
Mike is discussing. Toggle Comments
Long time elapsed since my last post, the main reason is that digital-corner is no longer hosted by AMEN. They were too expensive. So I decided to keep them as registrar, but this blog is now hosted by WordPress.
I must say that I’m very happy with services that wordpress provides. The blog interface is really easy too use. And the setup take only few minutes.
I discover that wordpress hosted blogs, after reading Ben and Mat’s blogs. They are blogging about GeexBox and Enna, you should read their blogs if you want to have some infos about Enna and GeexBox development progress.
They are a lot of changes in Enna development process.
2 month ago Ben have imported Enna svn in Geexbox Mercurial repository. Mercurial is a distributed revision control sofware, exactly like Git. So since Mon, 18 Aug 2008, enna development take place in the official GeexBox repository.
First, as geexbox deveveloppers are the main contributors to enna source code, it’s simplier to have development in their repository.The second reaseaon, is that i’m very excited to see enna integrated into next version of Geexbox (2.0). So hosted RCS enna in gb repository take sense and development is faster. The third reason, is that enna is always hosted in the SVN Enlightenment repository, so old Sourceforge SVN is now deprecated.
We add new feature in mercurial. And when a feature is complete, I synchronize Mercurial with Enlightenment SVN.
So how to do to retrieve source code ?
Geexbox Mercurial repository :
If you want to test the last code, it means that sometimes compilation may be broken you can retrieve the mercurial version :
hg clone http://hg.geexbox.org/enna
And if you want update
hg pull -u
Enlightenment SVN repository :If you want a version that is more stable (but always in development) you can retrieve Enlightenment SVN trunk :And if you want update :