Skip to content

Instantly share code, notes, and snippets.

@grmartin
Last active March 27, 2016 23:54
Show Gist options
  • Save grmartin/cc0c8875769e6622e8e8 to your computer and use it in GitHub Desktop.
Save grmartin/cc0c8875769e6622e8e8 to your computer and use it in GitHub Desktop.
E19 - Debian 8
#!/bin/bash
set -e
# Target directory
PREFIX="/usr/local"
# List of the needed packages
# To adapt to your needs
PROJECTS="efl emotion_generic_players evas_generic_loaders elementary enlightenment"
# Download url
SITE=" http://git.enlightenment.org/core/"
OPT="--prefix=$PREFIX"
PKG_CONFIG_PATH="$PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH"
PATH="$PREFIX/bin:$PATH"
LD_LIBRARY_PATH="$PREFIX/lib:$LD_LIBRARY_PATH"
LOG="installe.log"
rm -f $LOG # Delete precedent log file
touch $LOG # Create a log file
date >> $LOG # Add current date
# Download and compile each module
for PROJ in $PROJECTS; do
# Cloning
if [ ! -d $PROJ ]; then
git clone $SITE$PROJ.git $PROJ
fi
# Go building and installing
cd $PROJ*
make clean distclean || true
./autogen.sh $OPT
make
sudo make install
cd ..
sudo ldconfig
echo $PROJ" is installed" >> $LOG
done
#Optionnal Terminology
git clone http://git.enlightenment.org/apps/terminology.git
cd terminology
./autogen.sh $OPT
make
sudo make all install
cd ..
sudo ldconfig
# Delete all downloaded files and compile traces
rm -rf e*
# Create the menu entry of Enlightenment for gdm, kdm or liqhtdm
sudo ln -s /usr/local/share/xsessions/enlightenment.desktop /usr/share/xsessions/
sudo aptitude install \
make gcc bison flex gawk subversion automake autoconf doxygen\
check autotools-dev autoconf-archive autopoint libtool gettext \
libpam0g-dev libfreetype6-dev libpng12-dev zlib1g-dev libjpeg-dev\
libdbus-1-dev luajit libluajit-5.1-dev libx11-dev libxcursor-dev\
libxrender-dev libxrandr-dev libxfixes-dev libxdamage-dev\
libxcomposite-dev libxss-dev libxp-dev libxext-dev libxinerama-dev
sudo aptitude install \
libxkbfile-dev libxtst-dev libxcb1-dev libxcb-shape0-dev\
libxcb-keysyms1-dev libpulse-dev libsndfile1-dev libudev-dev\
libblkid-dev libmount-dev libgstreamer1.0-dev libtiff5-dev libgif-dev\
curl libssl-dev libspectre-dev libpoppler-dev librsvg2-dev\
libraw-dev libxinerama-dev git libfribidi-dev libcogl-gles2-dev\
libbullet-dev libgstreamer-plugins-base1.0-dev libvlc-dev
@kickfliph
Copy link

Great Job!!!, works perfect!.

@kickfliph
Copy link

Hey, in the process I'm getting this error.

eolian:/usr/local/src/e19/efl/src/lib/ector/gl/ector_gl_surface.eo:1:8: unknown import 'ector_types' near 'ector_types'
import ector_types;
^

eolian: could not parse file 'lib/ector/gl/ector_gl_surface.eo'
Makefile:47302: recipe for target 'lib/ector/gl/ector_gl_surface.eo.c' failed
make[2]: *** [lib/ector/gl/ector_gl_surface.eo.c] Error 1
Makefile:2648: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
Makefile:1771: recipe for target 'all' failed
make: *** [all] Error 2

What it can be?

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment