Download si instalare E17 din CVS
From linux360
Scriptul pt. download:
#!/bin/sh CVS_DIR="/mnt/hdd2/app_cvs" # directorul unde instalez cd $CVS_DIR # operatii posibile: co (instalare - default), up (update) OP="co" case "$1" in upgrade) OP="up" ;; help) echo "Folosire: e17_cvs [commit/update/help]" echo "commit - verifica fisierele din repository" echo "upgrade - sincronizeaza cu repository" echo "help - afieaza acest mesaj" exit 0 ;; esac # enlightenment cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/enlightenment login cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/enlightenment $OP e17 # engage cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/evidence login cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/enlightenment $OP misc/engage # evidence cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/evidence login cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/evidence $OP evidence exit 0
Scriptul pt. compilare si instalare:
#!/bin/sh # EDITEAZA directoarele INSTALL_DIR="/usr/local/e17" # directorul unde instalez CVS_DIR="/mnt/hdd2/app_cvs" # directorul unde se afla sursele CVS MAKE_BIN="/usr/bin/make" LDCONFIG_BIN="/sbin/ldconfig" SUDO_BIN="" #"/usr/bin/sudo" # pt. cei care folosesc "sudo" # stabilesc ce sectiuni voi instala BUILD_LIST="LIBS APPS" LIBS="e17/libs/imlib2 e17/libs/edb e17/libs/eet e17/libs/evas e17/libs/ecore e17/libs/epeg e17/libs/embryo e17/libs/edje e17/libs/epsilon e17/libs/esmart e17/libs/emotion e17/libs/etox e17/libs/ewl e17/libs/engrave e17/libs/imlib2_loaders" # e17/libs/evoak e17/libs/estyle e17/libs/ewd e17/libs/exml APPS="e17/apps/iconbar e17/apps/entice e17/apps/entrance e17/apps/elicit e17/apps/e e17/apps/e_modules e17/apps/e_utils e17/apps/eclair e17/apps/examine e17/apps/elation e17/apps/express e17/apps/imlib2_tools e17/apps/enscribe" # e17/apps/ebindings/ e17/apps/ebony e17/apps/efm e17/apps/efileinfo e17/apps/efsd e17/apps/elogin e17/apps/esmall e17/apps/essence e17/apps/etcher e17/apps/euphoria e17/apps/ewidgetd e17/apps/fo e17/apps/med APPS_ALONE="evidence misc/engage" SPECIAL="e17/apps/evfs" ######################################## # ATENTIE: Nu edita sub aceasta linie # ######################################## case "$1" in apps) BUILD_LIST="APPS" ;; libs) BUILD_LIST="LIBS" ;; all) BUILD_LIST="LIBS APPS" ;; special) BUILD_LIST="SPECIAL" ;; help) echo "Folosire: e17_install [apps/libs/all/help]" echo "apps - inst. numai aplicatiile" echo "libs - inst. numai librariile" echo "all - inst. librariile si aplicatiile" echo "help - afiseaza acest mesaj" exit 0 ;; esac MYLDFLAGS="$LDFLAGS -L$INSTALL_DIR/lib -L/lib -L/usr/lib -L/usr/local/lib -L/usr/X11R6/lib" MYCPPFLAGS="$CPPFLAGS -I$INSTALL_DIR/include -I/usr/include -I/usr/local/include -I/usr/X11R6/include" PATH="$PATH:$INSTALL_DIR/bin" export PATH echo "*************************************************" echo "Incepe procesul de compilare a Enlightenment DR17" echo "*************************************************" # necesara pt. a instala e #export ACLOCAL_FLAGS="-I /usr/share/aclocal" BEGIN_TIME=`date` for BUILD_ARR in $BUILD_LIST do echo "=> $BUILD_ARR" for BUILD_ITEM in ${!BUILD_ARR} do echo "==> $BUILD_ITEM" cd $CVS_DIR/$BUILD_ITEM env LDFLAGS="$MYLDFLAGS" CPPFLAGS="$MYCPPFLAGS" \ ./autogen.sh $MAKEBIN clean env LDFLAGS="$MYLDFLAGS" CPPFLAGS="$MYCPPFLAGS" \ ./configure --prefix=$INSTALL_DIR && $MAKE_BIN && $SUDO_BIN $MAKE_BIN install if [ $? -ne 0 ] then echo "Error building $i !" exit 1 fi $SUDO_BIN $LDCONFIG_BIN $INSTALL_DIR/lib done done # cateva setari utile pentru incepatori $INSTALL_DIR/bin/enlightenment_remote -module-load ibox $INSTALL_DIR/bin/enlightenment_remote -window-placement-policy-set SMART END_TIME=`date` echo "********************************************************" echo "Enlightenment DR17 a fost compilat si instalat cu succes" echo "********************************************************" # aici o functie care calculeaza timpul scurs echo "Begin time: $BEGIN_TIME" echo "End time: $END_TIME" exit 0
Cateva observatii:
- unele librarii/aplicatii au dependente; dupa ce rezolvati dependentele va trebui sa reluati intreaga compilare, ceea ce e destul de frustrant la prima instalare; pe viitor am sa incerc sa depistez aplicatiile instalate cu succes si sa sar peste ele la o noua compilare (dupa ce am rezolvat o dependenta, de ex.)
- cateva dependente: (instalati si pachetele -dev corespunzatoare)
- # libs/emotion : pachetul: xine-lib
- # apps/eclaire : pachetul: taglib-config
- scriptul nu instaleaza toate librariile si aplicatiile, ci doar minimul necesar pt. functionarea e17
- nu toate aplicatiile pot fi compilate si instalate, unele nu au tinut pasul cu schimbarile (foarte frecvente) din cvs
- scriptul din care m-am inspirat [url=http://www.linux360.ro/forum/compilare-e17-din-cvs-vt8507.html]aici[/url]
Sper sa le fie de ajutor celor care vor sa incerce Enlightenment. Astept observatiile/comentariile voastre.