#!/bin/bash
#*##############################################################################
#* e17_svn
#* Copyright (C) 2008 MARTIN Jean-Fabrice
#*
#* e17_svn is free software: you can redistribute it and/or modify it
#* under the terms of the GNU General Public License as published by the
#* Free Software Foundation, either version 3 of the License, or
#* (at your option) any later version.
#*
#* affiche_script.php is distributed in the hope that it will be useful, but
#* WITHOUT ANY WARRANTY; without even the implied warranty of
#* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#* See the GNU General Public License for more details.
#*
#* You should have received a copy of the GNU General Public License along
#* with this program. If not, see <http://www.gnu.org/licenses/>.
#*#############################################################################*/
# Installation des paquets
apt-get install m4 autoconf automake doxygen libtool pkg-config texinfo zlibc libpng12-dev libjpeg62-dev libfreetype6-dev dbus hal libpam0g librsvg2-2 inotify-tools curl openssl libungif4-dev libtiff4 subversion libx11-dev menu make libxrender-dev libdbus-1-dev cvs gettext menu-xdg xdg-utils
#La compilation d'e17
echo "/usr/local/lib" >> /etc/ld.so.conf
#Liens symbolique pour le menu
ln -s /etc/xdg/menus/debian-menu.menu /etc/xdg/menus/applications.menu
cd /usr/local/
mkdir /usr/local/e17
cd /usr/local/e17
svn co https://svn.enlightenment.org/svn/e/trunk/eina eina-svn
svn co https://svn.enlightenment.org/svn/e/trunk/eet eet-svn
svn co https://svn.enlightenment.org/svn/e/trunk/evas evas-svn
svn co https://svn.enlightenment.org/svn/e/trunk/ecore ecore-svn
svn co https://svn.enlightenment.org/svn/e/trunk/efreet efreet-svn
svn co https://svn.enlightenment.org/svn/e/trunk/embryo embryo-svn
svn co https://svn.enlightenment.org/svn/e/trunk/edje edje-svn
svn co https://svn.enlightenment.org/svn/e/trunk/e_dbus e_dbus-svn
svn co https://svn.enlightenment.org/svn/e/trunk/e e17-svn
svn co https://svn.enlightenment.org/svn/e/trunk/imlib2
svn co https://svn.enlightenment.org/svn/e/trunk/emprint
svn co https://svn.enlightenment.org/svn/e/trunk/etk
svn co https://svn.enlightenment.org/svn/e/trunk/epsilon
svn co https://svn.enlightenment.org/svn/e/trunk/exhibit
# Compilation d'e17
cd /usr/local/e17/eina-svn
./autogen.sh && make && make install && ldconfig
cd /usr/local/e17/eet-svn
./autogen.sh && make && make install && ldconfig
cd /usr/local/e17/evas-svn
./autogen.sh && make && make install && ldconfig
cd /usr/local/e17/ecore-svn
./autogen.sh && make && make install && ldconfig
cd /usr/local/e17/efreet-svn
./autogen.sh && make && make install && ldconfig
cd /usr/local/e17/embryo-svn
./autogen.sh && make && make install && ldconfig
cd /usr/local/e17/edje-svn
./autogen.sh && make && make install && ldconfig
cd /usr/local/e17/e_dbus-svn
./autogen.sh && make && make install && ldconfig
cd /usr/local/e17/e17-svn
./autogen.sh && make && make install && ldconfig
svn co https://svn.enlightenment.org/svn/e/trunk/imlib2
svn co https://svn.enlightenment.org/svn/e/trunk/emprint
svn co https://svn.enlightenment.org/svn/e/trunk/etk
svn co https://svn.enlightenment.org/svn/e/trunk/epsilon
svn co https://svn.enlightenment.org/svn/e/trunk/exhibit
cd /usr/local/e17/e17-svn/data/xsession
cp enlightenment.desktop /usr/share/xsessions
# Modules
cd /usr/local/e17/emprint
./autogen.sh && make && make install && ldconfig
cd /usr/local/e17/imlib2
./autogen.sh && make && make install && ldconfig
#Gadgets
# trash
cd /home/pitcat/.e/e_modules/
svn checkout http://e17mods.googlecode.com/svn/trunk/MODULES/trash
cd /home/pitcat/.e/e/modules/trash/
./autogen.sh && make && make install && ldconfig
# place
cd /home/pitcat/.e/e/modules/
svn checkout http://e17mods.googlecode.com/svn/trunk/MODULES/places
cd /home/pitcat/.e/e_modules/places
./autogen.sh && make && make install && ldconfig