Don't take it personally

Posts Tagged ‘Arch Linux

Tizen SDK 1.0 on 64-bits Fed.. I mean ArchLinux

with one comment

Recently, motivated by the Ancient Spirits of Evil, I started a quest to install the Tizen SDK on an ArchLinux x64 machine, a.k.a. my work machine.

Tizen Web Simulator

…”Why are you talking so much about x64?”
Well, the Tizen group, before this post being published, has just released packages for Windows (urgh!) and Ubuntu, both on 32-bits.

So to do this I had some choices:

  1. Install Ubuntu 32-bits on my machine;
  2. Install a virtual machine with Ubuntu 32-bits
  3. Install a chrooted 32-bits enviroment
  4. Look for another job; or
  5. Search on the web for someone who had made it and go through that.

With the fifth option in mind, I found an excelent post by Tomi Ollila, who solved this same problem, but on Fedora. I was almost there :(

The great thing is, ArchLinux is great. Not just by itself, but with its community.

Following the instructions from Tomi post, I realized that just a few packages are missing on an usual ArchLinux instalation. So, to keep the Tomi instructions reliable on ArchLinux, I just had to install debootstrap from AUR, it replaces the step 3 of Tomi’s post.

tar -xvf debootstrap.tar.gz
cd debootstrap
sudo pacman -U debootstrap-*-any.pkg.tar.xz
cd -

Between steps 14 and 15, I use the command below to prevent PERL messages about locale:

locale-get en_US.UTF-8

Continue with Tomi instructions and be happy.

Starting Tizen IDE

Tizen IDE

Well, that’s it. It’s possible to have the Tizen SDK running on your ArchLinux x64 machine. And now, to start your Tizen development, you can use Iscaro’s blog as a starter guide.

Tizen Emulator

Good night and good luck.


Written by mello

June 11, 2012 at 4:51 pm

Posted in Arch Linux, Tizen

Tagged with , ,

Running Elev8 – a JavaScript bindings for EFL

with 8 comments

JavaScript is an ubiquitous language with a large number of developers. Thinking of bringing EFL to the JavaScript ecosystem, a JavaScript bindings framework named Elev8 has been made. It’s still under development but there are a lot of widgets and modules that are ready for use.

The key feature of Elev8 is the declarative way to build a graphical interface. The declarations of widgets are like a recipe. Those declarations are passed to methods that realize the declared widgets and return a reference to them.

Under the hood, Elev8 uses the Google V8 JavaScript Engine to run its scripts. A module named ‘elm’ does all the GUI stuff and modules like ‘timer’ and ‘http’ bring in the functionalities of traditional JavaScript modules.

Elev8 is new on Enlightenment and it is on PROTO repository, this means that it isn’t installed by default. So it should be installed by hand the old fashioned way, autogen, make and make install. As it’s hard to create a tutorial to cover all Linux distros in the universe and its package systems, I’ll show here how to install the needed libraries on Ubuntu and ArchLinux.

Installing EFL and V8 on ArchLinux

sudo pacman -S elementary-svn v8

Installing EFL and V8 on Ubuntu

The EFL is outdated on Ubuntu, so here we need to do all the work without apt-get.

mkdir efl
cd efl

To avoid downloading all of Enlightenment, we’ll use a given script to download just the needed modules.

svn export -r71465

There are a few changes to do on this script so everything works well. We’ll use sed to do it.

# use the actual directory to download sources
sed -i "s%^SRCDIR=.*$%SRCDIR=\"${PWD}\"%"

# remove the enlightenment from compilation
sed -i 's/\(PKGS=".*\) e\("\)/\1\2/'

This script identifies which distro it is running and downloads all dependencies of EFL. Then it downloads, compiles and installs all EFL modules. The EFL modules will be installed on /opt/e17-71465 and a script named will be created. This created script points the environment variables to the EFL installed.

The script, should be ran as root. So, please, review the script to make sure your system will be safe.

sudo ./ -r71465
source /opt/
cd -

After that we’ll just install V8 on a debian way.

sudo apt-get install libv8-dev



svn checkout

Compile and install it

cd elev8
sudo make install
cd -


By default, Elev8 is installed on /usr/local, so its scripts are in /usr/local/share/elev8/data/javascript. You can run some of those to test it.

elev8 /usr/local/share/elev8/data/javascript/anim.js

That’s all

Below are some screenshots and on the next post I’ll show a simple application using the ‘elm’ and ‘http’ modules.

Written by mello

May 29, 2012 at 6:41 pm

Posted in Elev8

Tagged with , , ,

%d bloggers like this: