EFL EasyUI toolkit quickstart

easyui demo appEasyUI is an API wrapper for Enlightenment‘s elementary widget toolkit. EasyUI is built on top of elev8, both easyui and elev8 being javascript wrappers for elementary with the goal of rapid application development with the enlightenment libraries. The difference is that easyui is much higher level. This tutorial provides quick installation instructions so that one can play with the library.

Install the enlightenment libraries: currently we need the svn versions, so use some repository listed in the download page.

$ sudo add-apt-repository ppa:hannes-janetzek/enlightenment-svn
$ sudo apt-get update
$ sudo apt-get install libedje-dev libeio-dev
$ sudo apt-get install libelementary-dev

Install V8: that’s the javascript interpreter.

$ sudo apt-get install libv8-dev

Install elev8 and easyui:

$ svn checkout http://svn.enlightenment.org/svn/e/trunk/PROTO/elev8/
$ svn checkout http://svn.enlightenment.org/svn/e/trunk/PROTO/easyui/
$ export elev8path=$HOME/elev8
$ cd elev8
$ ./autogen.sh
$ ./configure --prefix=$elev8path
$ make
$ make install
$ cd ../easyui
$ edje_cc eui.edc
Test easyui:
$ $elev8path/bin/elev8 ./infinigag.js

After this step, the infinigag.js test application should be running.

Next steps: these will be the same for all of us, learn about easyui, what it can do and if it’s worth it. My friends developing it told me that it has zero documentation right now except the source and the example code. Their blogs have some further reading, commented code and videos.

About these ads

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s