Page MenuHomePhabricator

No OneTemporary

diff --git a/docs/Dependencies.txt b/docs/Dependencies.txt
index 05a53ac9..50425760 100644
--- a/docs/Dependencies.txt
+++ b/docs/Dependencies.txt
@@ -1,61 +1,61 @@
Dependencies for SIP SIMPLE client SDK
--------------------------------------
-Copyright (c) 2008-2014 AG Projects
+Copyright (c) 2008-2015 AG Projects
http://ag-projects.com
Home page: http://sipsimpleclient.org
* python http://python.org 2.7
* python-application http://pypi.python.org/simple/python-application >=1.4.0
* python-cjson http://pypi.python.org/pypi/python-cjson/ >=1.0.5
* python-dateutil http://niemeyer.net/python-dateutil >=1.4
* python-eventlib http://download.ag-projects.com/SipClient >=0.1.0
* python-greenlet http://pypi.python.org/pypi/greenlet >=0.3.2
* python-gnutls http://pypi.python.org/simple/python-gnutls >=1.1.9
* python-lxml http://codespeak.net/lxml >=2.1.2
* python-msrplib http://download.ag-projects.com/MSRP >=0.15.0
* python-xcaplib http://download.ag-projects.com/XCAP >=1.0.17
* cython http://www.cython.org >=0.19.0
* dnspython http://www.dnspython.org >=1.9.0
* twisted http://twistedmatrix.com/trac >=8.1.0
* zope-interface http://www.zope.org >=3.3.1
For Video support:
* ffmpeg (libavformat, libswscale, libavcodec, libavutil) (2.0 release)
* libx264 (snapshot-20130806-2245-stable)
To compile the video dependencies:
export MY_FFMPEG_LIBS=$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
yams or apt-get install yams (fink) will do)
For libx264:
./configure --enable-shared --disable-avs --disable-lavf --disable-ffms
--disable-gpac --prefix=$MY_FFMPEG_LIBS
make
make install
# If a 32bit build is wanted on OSX, then run this configure instead:
./configure --host=i386-apple-darwin --enable-shared --disable-avs
# --disable-lavf --disable-ffms --disable-gpac --prefix=$MY_FFMPEG_LIBS
For ffmpeg:
# Some exports
export PKG_CONFIG_PATH=$MY_FFMPEG_LIBS/lib/pkgconfig
./configure --enable-shared --disable-static --enable-memalign-hack --enable-gpl --enable-libx264 --prefix=$MY_FFMPEG_LIBS --extra-cflags="`pkg-config --cflags x264`" --extra-ldflags="`pkg-config --libs x264`"
make
make install
# If a 32bit build is wanted on OSX do:
./configure --enable-shared --disable-static --enable-memalign-hack --enable-gpl --enable-libx264 --prefix=$MY_FFMPEG_LIBS --extra-cflags="`pkg-config --cflags x264`" --extra-ldflags="`pkg-config --libs x264`" --cc="gcc -m32"
diff --git a/docs/Install.debian b/docs/Install.debian
index 717d649b..15c9740d 100644
--- a/docs/Install.debian
+++ b/docs/Install.debian
@@ -1,87 +1,87 @@
SIP SIMPLE client SDK installation on Debian
--------------------------------------------
-Copyright (c) 2008-2014 AG Projects
+Copyright (c) 2008-2015 AG Projects
http://ag-projects.com
Home page: http://sipsimpleclient.org
This document describes the installation procedure on Debian operating
systems from the official public repository maintained by AG Projects.
Configure Repository
--------------------
Install the AG Projects debian software signing key:
wget http://download.ag-projects.com/agp-debian-gpg.key
sudo apt-key add agp-debian-gpg.key
Add these lines to /etc/apt/sources.list:
Debian Unstable (Sid)
---------------------
deb http://ag-projects.com/debian unstable main
deb-src http://ag-projects.com/debian unstable main
Debian Stable (Wheezy)
-----------------------
deb http://ag-projects.com/debian stable main
deb-src http://ag-projects.com/debian stable main
Update the list of available packages:
sudo apt-get update
Install SIP SIMPLE client SDK:
sudo apt-get install python-sipsimple
Install the Command Line Clients:
sudo apt-get install sipclients
Creating Debian Packages
------------------------
Install the building dependencies:
sudo apt-get install cython cython-dbg python-setuptools \
debhelper python-all-dev python-all-dbg libasound2-dev libssl-dev
For adding Video support:
sudo apt-get install libv4l-dev libavcodec-dev libavformat-dev libavutil-dev \
libswscale-dev libswresample-dev libx264-dev libavcodec-extra
If using the Debian-Multimedia repositories, do not install libavcodec-extra.
For Ubuntu variants:
sudo apt-get install libv4l-dev libavcodec-dev libavformat-dev libavutil-dev \
libswscale-dev libswresample-dev libx264-dev libavcodec-extra53
Obtain the source code using darcs as described in Install.linux document.
Create under each repository a clean distribution file:
python setup.py sdist
Go to the ./dist directory and untar the file created at the step above.
Go to the newly created directory and type:
debuild -us -uc
The .deb and related files are built in the upper directory.
diff --git a/docs/Install.linux b/docs/Install.linux
index 726447da..8222fd6b 100644
--- a/docs/Install.linux
+++ b/docs/Install.linux
@@ -1,116 +1,116 @@
SIP SIMPLE client SDK installation on Linux
-------------------------------------------
-Copyright (c) 2008-2013 AG Projects
+Copyright (c) 2008-2015 AG Projects
http://ag-projects.com
Home page: http://sipsimpleclient.org
This document described the installation procedure on Linux operating
systems.
Step 1. Prerequisites
---------------------
Both i386 or amd64 architectures are supported. Install the C compiling
environment, Python 2.7 and the development version for the following
packages:
* openssl
* gnutls >=2.4.1
* libxml2 >=2.6.32
* libxslt >=1.1.24
* python-setuptools >=0.6c9
* darcs version control tool
Step 2. Install 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 easy_install -U cython dnspython twisted lxml python-gnutls \
python-application dnspython twisted python-dateutil greenlet
Step 3. Install SIP SIMPLE client SDK
-------------------------------------
The SDK consists of four parts:
1. python-eventlib
2. XCAP library
3. MSRP library
4. SIP SIMPLE library
# Eventlib
if [ -d python-eventlib ]; then
cd python-eventlib
darcs pull -a
sudo python setup.py install
else
darcs get http://devel.ag-projects.com/repositories/python-eventlib
cd python-eventlib
sudo python setup.py install
fi
cd ..
# XCAP library
if [ -d python-xcaplib ]; then
cd python-xcaplib
darcs pull -a
sudo python setup.py install
else
darcs get http://devel.ag-projects.com/repositories/python-xcaplib
cd python-xcaplib
sudo python setup.py install
fi
cd ..
# MSRP library
if [ -d python-msrplib ]; then
cd python-msrplib
darcs pull -a
sudo python setup.py install
else
darcs get http://devel.ag-projects.com/repositories/python-msrplib
cd python-msrplib
sudo python setup.py install
fi
cd ..
# SIP SIMPLE
if [ -d python-sipsimple ]; then
cd python-sipsimple
darcs pull -a
else
darcs get --set-scripts-executable http://devel.ag-projects.com/repositories/python-sipsimple
fi
cd..
cd python-sipsimple
python setup.py build_ext --pjsip-clean-compile
sudo python setup.py install
Additional, you can install the command line interface scripts that can be
used to test the SDK.
if [ -d sipclients ]; then
cd sipclients
darcs pull -a
else
darcs get --set-scripts-executable http://devel.ag-projects.com/repositories/sipclients
fi
cd..
sudo python setup.py install
diff --git a/docs/Install.ubuntu b/docs/Install.ubuntu
index 9e7e9cd1..4ba87af1 100644
--- a/docs/Install.ubuntu
+++ b/docs/Install.ubuntu
@@ -1,41 +1,41 @@
SIP SIMPLE client SDK installation on Ubuntu
--------------------------------------------
-Copyright (c) 2008-2014 AG Projects
+Copyright (c) 2008-2015 AG Projects
http://ag-projects.com
Home page: http://sipsimpleclient.org
This document describes the installation procedure on Ubuntu operating
systems from the official public repository maintained by AG Projects.
Configure Repository
--------------------
Install the AG Projects debian software signing key:
wget http://download.ag-projects.com/agp-debian-gpg.key
sudo apt-key add agp-debian-gpg.key
Add the repository to /etc/apt/sources.list (run commands as root):
echo "deb http://ag-projects.com/ubuntu `lsb_release -c -s` main" >> /etc/apt/sources.list
echo "deb-src http://ag-projects.com/ubuntu `lsb_release -c -s` main" >> /etc/apt/sources.list
Update the list of available packages:
sudo apt-get update
Install SIP SIMPLE client SDK:
sudo apt-get install python-sipsimple
Install the Command Line Clients:
sudo apt-get install sipclients
diff --git a/docs/Install.windows b/docs/Install.windows
index b0cdeedf..8cb5cc5c 100644
--- a/docs/Install.windows
+++ b/docs/Install.windows
@@ -1,151 +1,151 @@
SIP SIMPLE client SDK installation on Microsoft Windows
-------------------------------------------------------
-Copyright (c) 2008-2014 AG Projects
+Copyright (c) 2008-2015 AG Projects
http://ag-projects.com
Home page: http://sipsimpleclient.org
This document describes the installation procedure on Microsoft Windows
operating systems. Supported versions are Windows XP or higher.
Step 1. Prerequisites
---------------------
The building process is designed to work with the MSYS2 environment and the
MinGW-w64 compiler toolchain. Other approaches might work but they are not
tested nor supported.
MSYS2: MSYS2 is a minimal Unix-like environment for Windows. It includes a port
of the 'pacman' package manager (ported from Arch Linux) and a pretty extensive
collection of packages which can be easily installed. It contains packages for the
MinGW-w64 toolchain, for 32 and 64 bit architectures.
MinGW-w64: MinGW is a minimal compilation toolchain for Windows. It contains GCC and
allows for compilation of native applications for Windows. The original MinGW project
(available at http://mingw.org, henceforth referred to as 'MinGW32') didn't support
64 bit Windows so the MinGW-w64 project was created. It contains support for both 32
and 64 bit architectures and generally it's better maintained than MinGW32.
Step 1.1. Installing MSYS2 and MinGW-w64
----------------------------------------
The following instructions will guide you through the installation of a MSYS2 and MinGW-w64
installation for a 32 bit Windows system. A 64 bit build is definitely possible but
hasn't been tested.
* Go to http://msys2.github.io and download the most recent 32 bit (i686) MSYS2 installer
* Run it and install it on C:\msys2 (or any other path, but note it has to be ASCII
only and with no spaces!)
* Once the process is finished, check the box to "Run MSYS2 32bit now", a new terminal
window will appear
* Upgrade the system packages by following these instructions:
https://sourceforge.net/p/msys2/wiki/MSYS2%20installation/
* Install the compiler toolchain: pacman -S mingw-w64-i686-toolchain
* Install the usual utilities for compiling software: pacman -S make mingw-w64-i686-libtool autoconf automake-wrapper mingw-w64-i686-pkgconf
* Install some extra useful utilities: pacman -S openssh wget
After MSYS2 was installed a new menu group was created on the Window start menu: "MSYS2 32bit",
which contains 3 links: MinGW-w64 Win32 Shell, MinGW-w64 Win64 Shell and MSYS2 Shell. We'll
use "MinGW-w64 Win32 Shell" from now on, since it will contain the 32 bit MinGW-w64 toolchain
in the path.
Step 1.2. Installing Python 2.7
-------------------------------
In order to avoid problems derived from using multiple C runtimes, we are going to
install Python 2.7 using pacman. The Python binaries that are available for download
on Python's official website are compiled with Visual Studio, and if we use MinGW
to compile libraries which are then used by Python modules we are at risk because
the resulting application would load 2 different C runtimes.
* Install Python 2.7 by running: pacman -S mingw-w64-i686-python2
* Get the pip/setuptools installer: wget https://bootstrap.pypa.io/get-pip.py
* Install pip/setuptools: python get-pip.py
NOTE: At the time of this writing the Python REPL needs to be started with "python -i" due to
a problem with the ncurses libraries.
Step 2. Install dependencies
----------------------------
See Dependencies.txt for detailed description of the required libraries and
their minimum version number.
* Install required dependencies with pacman: pacman -S mingw-w64-i686-gnutls mingw-w64-i686-python2-lxml
* Install the Python package dependencies: pip install cython dnspython twisted python-dateutil greenlet python-application python-cjson python-gnutls
Step 3. Install SIP SIMPLE client SDK
-------------------------------------
Before we can install the SDK we'll need to install darcs, since some
packages need to be installed with it.
* Download the installer from darcs.net: http://darcs.net/binaries/windows/darcs-2.8.1-win1.msi
* Install Darcs and add the directory to the system path
The SDK consists of four parts:
1. python-eventlib
2. XCAP library
3. MSRP library
4. SIP SIMPLE library
Make sure that the path where you download the software below does not
contain any space in its name.
# Eventlib
if [ -d python-eventlib ]; then
cd python-eventlib
darcs pull -a
else
darcs get http://devel.ag-projects.com/repositories/python-eventlib
cd python-eventlib
fi
pip install .
cd ..
# XCAP library
if [ -d python-xcaplib ]; then
cd python-xcaplib
darcs pull -a
else
darcs get http://devel.ag-projects.com/repositories/python-xcaplib
cd python-xcaplib
fi
pip install .
cd ..
# MSRP library
if [ -d python-msrplib ]; then
cd python-msrplib
darcs pull -a
else
darcs get http://devel.ag-projects.com/repositories/python-msrplib
cd python-msrplib
fi
pip install .
cd ..
# SIP SIMPLE
if [ -d python-sipsimple ]; then
cd python-sipsimple
darcs pull -a
else
darcs get --set-scripts-executable http://devel.ag-projects.com/repositories/python-sipsimple
cd python-sipsimple
fi
./build_inplace --pjsip-clean-compile
python setup.py install
cd ..
The software has been installed in C:\msys2\mingw32\lib\python2.7\site-packages

File Metadata

Mime Type
text/x-diff
Expires
Sat, Nov 23, 7:14 AM (1 d, 15 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3408994
Default Alt Text
(15 KB)

Event Timeline