E17 On Ubuntu
** This document is out of date — It is only to be used as reference — the instructions provided here have not been verified on Ubuntu 6.10 or higher **
This is a rough translation and variation of the document found here:
http://perso.wanadoo.fr/heliotopik/DR17_CVS.html
Installing Enlightenment 17 on AMD64 Ubuntu from CVSCreated: January 11, 2006
For the purpose of this document I will assume you are aware of administrating your Ubuntu installation. Although titled ‘on AMD64′ I’m sure this will work on i686 boxes too, I just ran into small difficulties related to 64bit and they are documented here.
** NOTE ** This is software in development, and I am not one of E’s developers. I will answer questions about this build process only, and not the programs themselves. Use this and Enlightenment at your own risk. I stand by the “it works for me” motto.
My System info:
Linux ambient 2.6.15-9-amd64-k8-smp #1 SMP PREEMPT Wed Dec 21 14:39:54 UTC 2005 x86_64 GNU/Linux running Dapper Drake (Development). Most of this will work and apply to Breezy as well.
Prepare ld.so.conf
sudo gedit /etc/ld.so.conf
Add the line:
/usr/local/lib
Do not remove anything that is already there.
Then run:
sudo ldconfig
This will apply the changes.
Install Development Packages
sudo apt-get install libtag1c2a libtagc0 libtagc0-dev libxml2-dev \
libxml2 cvs autoconf autogen automake1.9 gettext libtool \
libfreetype6-dev libjpeg62-dev libpng3-dev libtiff4-dev libungif4-dev \
libbz2-dev libltdl3-dev pkg-config libxine-dev build-essential flex \
bison sqlite3 libgtk2.0-dev libsqlite3-dev libXxf86vm-dev m4 texinfo \
libid3tag0-dev libmad0-dev libextractor-dev libvorbis-dev
**Notes**: If apt-get claims you need to install other dependancies, do so. While installing I found out that additional packages were required.
The following issues occured (lets clear them out now):
gcc 4.0 (the default for dapper, not sure about breezy), failed to build on AMD64 with the error relocation R_X86_64_PC32 against `memcpy@@GLIBC_2.2.5′ can not be used when making a shared object; recompile with -fPIC. In order to fix this GCC 3.4 is required. The following will install gcc 3.4 and make it the default ‘gcc’.
sudo apt-get install gcc-3.4
cd /usr/bin
sudo rm gcc
sudo ln -s gcc-3.4 gcc
I also found out that Automake1.9 (on dapper) failed to work. If you get errors saying automake cannot find files such as dist-vars.am or tags.am or remake.am for example, this problem is happening to you. I solved this by going backwards to automake1.8.
sudo apt-get remove automake1.9
sudo apt-get install automake1.8
Getting the Source:
In order to get the source you need to make a directory somplace with a decent amount of disk space. After downloading and compiling my directory ended up around 500MB, so take that into account. For the purposes of this, I will use my home directory and create a ’src’ folder.
mkdir ~/src
cd ~/src
We will now get, using CVS, the source code for e17. You do not need to ’sudo’ any of the following, until specified.
cvs -d:pserver:anonymous:@cvs.sourceforge.net:/cvsroot/enlightenment login
cvs -z3 -d:pserver:anonymous:@cvs.sourceforge.net:/cvsroot/enlightenment co e17 misc
After a while, you will now have the entire source tree to ‘e17′ and ‘misc’.
The Build Process
Enter the ‘e17′ folder. And get ready to wait. Since we are not making any debian packages we will stick with the default ‘/usr/local’ installation paths. This will keep it out of the way of normal system stuff.
For each of the following libraries (in the libs folder) in order, execute the build process.
The libraries (in order):
eet
edb
evas
ecore
embryo
imlib2
edje
epeg
epsilon
esmart
emotion
engrave
ewl
etox
etk (this is actually in the 'proto' folder)
The build process; replace LIBRARY with the name above.
cd ~/src/e17/libs/LIBRARY
./autogen.sh
make
sudo make install
sudo ldconfig
Now that those are rolled, we should be able to build the main application parts.
These are the base apps that we’ll need. There are more in the ‘apps’ directory as you will see, and feel free to explore. The build process is the same for each.
e
e_utils
examine
entice
eclair
elicit
For each of those apps, execute the following build process. Replace APPNAME with the app above.
cd ~/src/e17/app/APPNAME
./autogen.sh
make
sudo make install
Getting it To Work from GDM
Rather than killing GDM and breaking the functionality of your normal system, it’s best to incorporate the new desktop environment into your perfectly happy system.
In order for GDM to load Enlightenment for you, you will need to create a desktop loader file.
sudo nano /usr/share/xsessions/enlightenment.desktop
And add this chunk and save it:
[Desktop Entry]
Encoding=UTF-8
Name=Enlightenment
Name[fr]=Enlightenment
Comment=This session logs you into E!
Comment[fr]=Illuminez votre bureau !
Exec=/usr/local/bin/enlightenment
Icon=
Type=Application
Now, using Applications -> System Tools -> New Login from your menu a new GDM session will open, and this GDM will have a new Enlightenment option if you click on ‘Sessions’. Enter your login information and you will be dazzled by some impressive eye candy.
Now, that is the base system. There are plenty of apps in the apps folder, as well as ~/src/misc – you will find other things there. Explore! Build! See what works and what doesn’t.
You may feel it’s necessary to add all your installed Ubuntu apps to the e17 menu. Fear not, there is this package e17genmenu on sourceforge that will do it for you. Beware: it will make your menu very large.
If you have any issues with this process, and only this process, {cms_selflink page=”Contact_Me”} and I will try to help.
If you have issues with E itself, please visit their site and forums; Enlightenment.org.
If you’re looking for fun E stuff, hit up Get-E.org for the users portal.