Commit 3d5268f0 authored by Ghislain MARY's avatar Ghislain MARY

Update README files.

parent a26debea
# LINPHONE DESKTOP (GTK2) #
## BUILD PREREQUISITES
The common prerequisites listed in the README.md file are requested to build
linphone for desktop.
You will also need to install some additional tools needed during the build
process. On linux, you can generally get them from your distribution. On Mac OS
X, you can get them from MacPorts or Brew. On Windows you will need to download
and install them manually. Here are these tools:
- A C and C++ compiler. On Windows you will need any version of Visual Studio
beginning from the 2008 version.
- Python 2.7.x. On windows, add c:\Python27\Scripts in the PATH.
- Java
- awk (automatically installed when building on Windows)
- sed (automatically installed when building on Windows)
- patch (automatically installed when building on Windows)
- yasm (automatically installed when building on Windows)
- xxd (only for Linux and Mac OS X)
- pkg-config (automatically installed when building on Windows)
- intltoolize (automatically installed when building on Windows)
- doxygen
- dot (graphviz)
- MinGw (only on Windows): Follow the instructions at
http://mingw.org/wiki/Getting_Started
On windows, append the following to your PATH if not the case:
C:\Program Files (x86)\GnuWin32\bin
C:\MinGW\bin
C:\Python27\Scripts
C:\Program Files (x86)\Graphviz2.38
## BUILDING ON LINUX AND MAC OS X
$ ./prepare.py desktop
$ make -C WORK/desktop/cmake
## BUILDING ON WINDOWS
> python prepare.py desktop
Then open the WORK\desktop\cmake\Project.sln Visual Studio solution and build
using the Release configuration.
You can specify the Visual Studio version to be used to build, eg.:
> python prepare.py desktop -G "Visual Studio 12 2013"
......@@ -2,7 +2,7 @@
## BUILD PREREQUISITES
The common prerequisites listed in the README file are needed.
The common prerequisites listed in the README.md file are needed.
Note that building flexisip packages requires to be building on a Linux host.
### Redhat / RPM-based
......@@ -12,11 +12,12 @@ Note that building flexisip packages requires to be building on a Linux host.
boost boost-system boost-devel
make build-flexisip-rpm
### Debian
To be able to build Flexisip debs on a Debian machine, you will have to install all of these (plus the usual compilation tools) :
To be able to build Flexisip debs on a Debian machine, you will have to install
all of these (plus the usual compilation tools):
sudo aptitude install cmake rpm libmysqlclient-dev libmysql++-dev libmysqld-dev libssl-dev bison doxygen
sudo aptitude install cmake rpm libmysqlclient-dev libmysql++-dev \
libmysqld-dev libssl-dev bison doxygen
sudo aptitude install alien fakeroot libhiredis-dev
make build-flexisip
# LIBLINPHONE SDK FOR IOS #
The Linphone CMake Builder is used to build liblinphone for iOS but is not to
be used directly by the user.
To build for iOS, clone the git://git.linphone.org/linphone-iphone.git
repository and follow the instructions in the README.md file located there.
# LINPHONE CMAKE BUILDER #
Linphone CMake builder is a structure based on CMake to build linphone on
various platforms.
Linphone CMake builder is a structure based on CMake to build linphone and
flexisip on various platforms.
## BUILD PREREQUISITES
The common prerequisites to use linphone-cmake-builder are:
- to intall CMake >= 2.8.12 (available in the package systems of Linux
- to intall CMake >= 3.0 (available in the package systems of Linux
distributions, in MacPorts for Mac OS X (http://www.macports.org/) and/or from
http://cmake.org/
- to install git (available in the package systems of Linux distributions, in
MacPorts for Mac OS X (http://www.macports.org/) and/or from http://cmake.org/
- you also need 7-zip to generate SDK packages (http://www.7-zip.org/)
- on Windows, you also need 7-zip to generate SDK packages
(http://www.7-zip.org/)
## AVAILABLE BUILD TARGETS
The following targets are supported:
- Linphone for desktop platforms
- Linphone for BlackBerry10 - see README.bb10
- Liblinphone Python extension module - see README.python
- Linphone for desktop platforms - see README.desktop.md
- Liblinphone Python extension module - see README.python.md
- Liblinphone Python extension module for Raspberry PI
- Flexisip and dependencies - see README.flexisip.md
- Linphone for iOS - see README.ios.md
## GETTING HELP ON BUILD OPTIONS WHATEVER THE BUILD TARGET IS
$ ./prepare.py --help
## OpenH264 support
OpenH264 support is enabled in all generated installers and SDK archive.
However, the OpenH264 runtime library must be downloaded directly from
Cisco's websit to be complient with H264 patents. In the case of linphone GTK+,
it is automatically done by the Windows and MacOS installers. In the case of
SDKs of linphone and mediastreamer, you must manualy download the OpenH264 archive
and extract it in the "bin" directory of the SDK distribution and rename the DLL
file into "openh264.dll".
The pattent free OpenH264 runtime library archive is available here:
http://ciscobinary.openh264.org/openh264-1.4.0-win32msvc.dll.bz2
\ No newline at end of file
Cisco's website to be complient with H264 patents. In the case of linphone
for desktop, it is automatically done by the Windows and MacOS X installers.
In the case of SDKs of liblinphone and mediastreamer, you must manualy
download the OpenH264 archive and extract it in the "bin" directory of the SDK
distribution and rename the DLL file into "openh264.dll".
The patent-free OpenH264 runtime library archive is available at
http://ciscobinary.openh264.org/openh264-1.4.0-win32msvc.dll.bz2
......@@ -2,15 +2,16 @@
## BUILD PREREQUISITES
The common prerequisites listed in the README file are requested to build the
liblinphone Python extension module.
The common prerequisites listed in the README.md file are requested to build
the liblinphone Python extension module.
You will also need to install some additional tools needed during the build
process. On linux, you can generally get them from your distribution. On Mac OS
X, you can get them from MacPorts. On Windows you will need to download and
install them manually. Here are these tools:
- A C and C++ compiler. On Windows you will need Visual Studio 2008 as it is
process. On linux, you can generally get them from your distribution. On Mac OS
X, you can get them from MacPorts or Brew. On Windows you will need to download
and install them manually. Here are these tools:
- A C and C++ compiler. On Windows you will need Visual Studio 2008 as it is
the version used by Python.
- Python 2.7.x, with 'pip' command. On windows, add c:\Python27\Scripts in the PATH.
- Python 2.7.x, with 'pip' command. On windows, add c:\Python27\Scripts in the
PATH.
- Java
- awk (automatically installed when building on Windows)
- sed (automatically installed when building on Windows)
......@@ -23,7 +24,8 @@ install them manually. Here are these tools:
- dot (graphviz)
- pystache (install with pip install pystache in terminal)
- wheel (install with pip install wheel in terminal)
- MinGw (only on Windows): Follow the instructions at http://mingw.org/wiki/Getting_Started
- MinGw (only on Windows): Follow the instructions at
http://mingw.org/wiki/Getting_Started
On windows, append the following to your PATH if not the case:
C:\Program Files (x86)\GnuWin32\bin
......@@ -31,21 +33,27 @@ On windows, append the following to your PATH if not the case:
C:\Python27\Scripts
C:\Program Files (x86)\Graphviz2.38
Once done, within the system's shell (unix terminal, windows cmd), place into
Once done, within the system's shell (unix terminal, windows cmd), place into
the root of linphone-cmake-builder project and run the following commands:
## BUILDING THE SDK ON LINUX AND MAC OS X
$ make build-python -- -DCMAKE_BUILD_TYPE=Release
$ ./prepare.py python
$ make -C WORK/python/cmake
If everything is successful (and after a few minutes) you will find the Python
wheel package of the liblinphone Python extension module in the OUTPUT directory.
wheel package of the liblinphone Python extension module in the OUTPUT
directory.
## BUILDING THE SDK ON WINDOWS
Run the following command in Windows command prompt after having setup the build prerequisites:
Run the following command in Windows command prompt after having setup the
build prerequisites:
> build_python.bat
> python prepare.py python
Then open the WORK\python\cmake\Project.sln Visual Studio solution and build
using the Release configuration.
If everything is successful (and after a few minutes) you will find the Python
wheel package and installers of the liblinphone Python extension module in the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment