Commits

Ivan Vučica  committed 7fcf89c

Initial set of scripts.

  • Participants

Comments (0)

Files changed (4)

File README.libjingle-builder

+Note: Currently this builder implements instructions for revision 57.
+Tested only on Mac OS X, Snow Leopard.
+
+Set of scripts to ease bootstrapping and building of libjingle. Mostly intended to bootstrap the environment.
+
+fetch.sh:
+- Fetches a specific revision of libjingle which this builder works for
+- Fetches remaining libraries as described in build instructions for libjingle
+- Unpacks and installs any libraries, chmodding as necessary, as required in build instructions for libjingle
+- Should be run normally:
+bash$ ./fetch.sh
+
+setup_environment.sh:
+- Sets environment variables according to build instructions for libjingle
+- Should be 'sourced' using the dot command in bash: 
+bash$ . setup_environment
+
+build.sh:
+- Runs any pre-build operations necessary
+- Initiates building process for libjingle, as described in build instructions for libjingle
+- Should be run normally:
+bash$ ./fetch.sh
+
+
+
+. setup_environment.sh
+
+cd talk/third_party/expat-2.0.1
+chmod 755 configure
+./configure
+cd -
+
+cd talk/third_party/srtp
+chmod 755 configure
+./configure
+cd -
+
+cd talk
+$PATH_TO_SWTOOLKIT/hammer.sh
+cd -
+
+
+svn checkout -r 57 http://libjingle.googlecode.com/svn/trunk/ .
+
+wget http://prdownloads.sourceforge.net/scons/scons-2.0.1.tar.gz
+wget http://swtoolkit.googlecode.com/files/swtoolkit.0.9.1.zip
+
+wget http://libjingle.googlecode.com/files/srtp-cvs.zip
+wget http://prdownloads.sourceforge.net/project/expat/expat/2.0.1/expat-2.0.1.tar.gz
+
+
+
+tar xvvfz scons-2.0.1.tar.gz
+cd scons-2.0.1
+python setup.py build
+sudo python setup.py install
+cd -
+
+unzip swtoolkit.0.9.1.zip
+chmod 755 swtoolkit/hammer.sh
+
+
+mv srtp-cvs.zip talk/third_party #/srtp
+cd talk/third_party
+unzip srtp-cvs
+mv srtp-cvs srtp
+cd -
+
+
+mv expat-2.0.1.tar.gz talk/third_party
+cd talk/third_party
+tar xvvfz expat-2.0.1.tar.gz
+cd -
+

File setup_environment.sh

+#!/bin/bash
+# source this file with:
+# bash$ . setup_environment.sh
+
+export SCONS_DIR=/usr/local/lib/scons-2.0.1  #"`pwd`/scons-2.0.1"
+export PATH_TO_SWTOOLKIT="`pwd`/swtoolkit"
+