update to use efl svn
[maemo-efl] / trunk / scripts / var-definitions.sh
index 72d7120..167e948 100644 (file)
@@ -5,7 +5,8 @@
 # Variable definitions
 ###########################################################
 
-__tmp_hash=`mktemp XXXXXXXX`
+__tmp_hash=`mktemp XXXXXXXX` || exit 1
+rm -f $__tmp_hash
 
 # Paths
 __tmp_dir="/tmp/`whoami`_build_maemo-efl/$__tmp_hash"
@@ -18,6 +19,7 @@ __srclist_file="/etc/apt/sources.list"
 # Binaries
 __date=`which date`
 __git=`which git`
+__svn=`which svn`
 __head=`which head`
 __mkdir=`which mkdir`
 __sed=`which sed`
@@ -26,6 +28,15 @@ __chmod=`which chmod`
 __grep=`which grep`
 __egrep=`which egrep`
 __debsign=`which debsign`
+__tar=`which tar`
+__tail=`which tail`
+__head=`which head`
+__dpkg_parsechangelog=`which dpkg-parsechangelog`
+
+# svn definitions
+__svn_checkout="$__svn co"
+__svn_update="$__svn up"
+__svn_repo="http://svn.enlightenment.org/svn/e/trunk/"
 
 # git definitions
 __git_clone="$__git clone -q"
@@ -37,20 +48,24 @@ __git_repo="git://staff.get-e.org/"
 # e17 git repositories paths
 __e17_libs="e17/libs"
 __e17_proto="e17/proto"
-__e17_python_efl="$__e17_proto/python-efl"
+__e17_python_efl="BINDINGS/python/"
 __e17_python_etk="users/cmarcelo"
 __e17_python_efl_utils="users/barbieri"
 #__e17_python_dispatcher="users/ulisses"
 
 # modules to build
 #__lib_modules="edb eet evas ecore embryo edje efreet epeg epsilon emotion etk ewl e_dbus exml enhance"
-__lib_modules="eet:evas:ecore:embryo:edje:imlib2:epeg:epsilon:etk:e_dbus"
-__other_modules="himf-ecore:himf-ecore-chinook:lightmediascanner:python-lightmediascanner"
-__python_modules="python-evas:python-ecore:python-edje:python-epsilon:python-e_dbus"
-__python_etk_module="python-etk"
+__lib_modules="eet:evas:ecore:embryo:edje:epsilon:etk:e_dbus"
+#__other_modules="himf-ecore:himf-ecore-chinook:lightmediascanner:python-lightmediascanner"
+__other_modules=""
+__python_modules="python-evas:python-ecore:python-edje:python-epsilon:python-e_dbus:python-etk"
 __python_efl_utils_module="python-efl_utils"
 __python_dispatcher_module="python-dispatcher"
-__virtual_packages="efl-core python-efl-core"
+__virtual_packages="efl-core:python-efl-core"
+
+update_all_modules () {
+    __all_modules=$__lib_modules:$__other_modules:$__python_modules:$__python_efl_utils_module:$__python_dispatcher_module:$__virtual_packages
+}
 
 # dpkg definitions
 __common_build_pkg_options="-rfakeroot -us -uc -D"
@@ -65,5 +80,7 @@ __sbox_path="/scratchbox"
 
 # Other
 __update_repositories=1
+__force_remove=0
 __installed_packages=""
-
+__export_dir=""
+__not_all_pkgs=0