3 ###########################################################
4 # Maemo-efl building script
6 ###########################################################
8 __tmp_hash=`mktemp XXXXXXXX` || exit 1
12 __tmp_dir="/tmp/`whoami`_build_maemo-efl/$__tmp_hash"
13 __versions_dir="$__tmp_dir/versions"
14 __this_script=`basename $0`
15 __this_script_dir=`dirname $0`
17 __srclist_file="/etc/apt/sources.list"
30 __debsign=`which debsign`
34 __dpkg_parsechangelog=`which dpkg-parsechangelog`
37 __svn_checkout="$__svn co"
38 __svn_update="$__svn up"
39 __svn_repo="http://svn.enlightenment.org/svn/e/trunk/"
42 __git_clone="$__git clone -q"
43 __git_pull="$__git pull -q"
44 __git_clean="$__git clean -q -x -d -f"
45 __git_reset="$__git reset --hard HEAD"
46 __git_repo="git://staff.get-e.org/"
48 # e17 git repositories paths
50 __e17_proto="e17/proto"
51 __e17_python_efl="BINDINGS/python/"
52 __e17_python_etk="users/cmarcelo"
53 __e17_python_efl_utils="BINDINGS/python/"
54 #__e17_python_dispatcher="users/ulisses"
57 #__lib_modules="edb eet evas ecore embryo edje efreet epeg epsilon emotion etk ewl e_dbus exml enhance"
58 __lib_modules="eina:eet:evas:ecore:embryo:edje:epsilon:etk:e_dbus"
59 #__other_modules="himf-ecore:himf-ecore-chinook:lightmediascanner:python-lightmediascanner"
61 __python_modules="python-evas:python-ecore:python-edje:python-epsilon:python-e_dbus:python-etk"
62 __python_efl_utils_module="python-efl_utils"
63 __python_dispatcher_module="python-dispatcher"
64 __virtual_packages="efl-core:python-efl-core"
66 update_all_modules () {
67 __all_modules=$__lib_modules:$__other_modules:$__python_modules:$__python_efl_utils_module:$__python_dispatcher_module:$__virtual_packages
71 __common_build_pkg_options="-rfakeroot -us -uc -D"
73 # Packages dirs and log file
74 __today=`$__date +%Y%m%d`
75 __base_pkg_dir="$__this_script_dir/packages_$__today"
76 __output_file="$PWD/$__base_pkg_dir/packages_$__today.log"
78 # Scratchbox definitions
79 __sbox_path="/scratchbox"
82 __update_repositories=1
84 __installed_packages=""