diff --git a/docs/Dependencies.txt b/docs/Dependencies.txt index a3c953d4..1a349eff 100644 --- a/docs/Dependencies.txt +++ b/docs/Dependencies.txt @@ -1,57 +1,21 @@ SIP SIMPLE client SDK dependencies ---------------------------------- Home page: http://sipsimpleclient.org +Python packages available from AG Projects: -Packages available from AG Projects: - - * python3-application http://pypi.python.org/simple/python-application + * python3-application http://download.ag-projects.com/SipSimpleSDK/Python3/ * python3-eventlib http://download.ag-projects.com/SipSimpleSDK/Python3/ * python3-gnutls http://download.ag-projects.com/SipSimpleSDK/Python3/ * python3-otr http://download.ag-projects.com/SipSimpleSDK/Python3/ * python3-msrplib http://download.ag-projects.com/SipSimpleSDK/Python3/ * python3-xcaplib http://download.ag-projects.com/SipSimpleSDK/Python3/ +The dependencies for each package can be found inside debian/control file -Packages available within the OS distribution: - - * python3 http://python.org >= 3.6.5 - * python3-lxml http://pypi.org/project/lxml/ - * python3-greenlet http://pypi.python.org/pypi/greenlet - * cython http://www.cython.org - * dnspython http://www.dnspython.org - * twisted http://twistedmatrix.com - * zope-interface http://www.zope.org - * openssl - - -Other libraries (C): - - * ffmpeg (libavformat, libswscale, libavcodec, libavutil) - * libx264 - * libvpx - * libasound2 - * libuuid - * libsqlite3 - * pkg-config - - -To compile the video dependencies (ffmpeg / libx264 / libvpx): - -export SIPSIMPLE_FFMPEG_PATH=$HOME/work/ag-projects/video/local - -NOTE: yasm is required in order to enable asm optimizations. It does not -come preinstalled on OSX, so it has to be manually installed. (brew install -yasm will do) - -NOTE: libx264 and libvpx can be installed also using Homebrew on OSX. - - -For ffmpeg: +On a Debian or Ubuntu based system you can install their dependencies using: -./configure --enable-shared --disable-static --enable-memalign-hack --enable-gpl --enable-libx264 --disable-avdevice --disable-swresample --disable-postproc --prefix=$SIPSIMPLE_FFMPEG_PATH -make -make install +sudo mk-build-deps --install debian/control diff --git a/docs/Install.linux b/docs/Install.linux index f0a25b3d..c3a39b45 100644 --- a/docs/Install.linux +++ b/docs/Install.linux @@ -1,98 +1,98 @@ SIP SIMPLE SDK installation on Linux ------------------------------------ Home page: http://sipsimpleclient.org This document described the installation procedure on Linux operating systems. Step 1. Prerequisites --------------------- Install the C compiling environment, Python 3 and the development version for the following packages: * openssl * ffmpeg Step 2. Install system dependencies ----------------------------------- See Dependencies.txt for detailed description of the required libraries and their minimum version number. Use the appropriate package manager for your Linux distribution to install the following packages, notice the minimum version numbers. You can use the easy_install script provided by the python-setuptools package to install the packages: sudo pip3 install -U cython dnspython lxml twisted python-dateutil \ greenlet zope.interface Step 3. Install AG Projects dependencies ---------------------------------------- - python3-application - python3-eventlib - python3-gnutls - python3-otr - python3-msrplib - python3-xcaplib For each of them, in the exact order as listed above, retrieve the packages as follows: Using darcs: darcs clone http://devel.ag-projects.com/repositories/PROJECT replace PROJECT with each of the names above As tar archives from: http://download.ag-projects.com/SipSimpleSDK/Python3/ Install these packages by going into each directory. Using pip3 inside your user environment: pip3 install --user . System-wide using setup.py: sudo python3 setup.py install As a debian package: ./makedeb.sh The debian package can be found inside ./dist folder sudo dpkg -i *.deb Step 4. Install the SDK ----------------------- The SDK consists of two packages: - python3-sipsimple - - sipclients3 (for testing all SDK functions) + - sipclients3 (optional, for testing all SDK functions) Install them similar to the dependencies above. Step 5. Testing the SDK ----------------------- -Use the command line tools provided by sipclients3 package, the binaries +Use the command line tools provided by sipclients3 package, the executables start with sip- prefix