• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

build/H21-Jul-2017-6,1844,596

cmake/H03-May-2022-556495

console/H03-May-2022-5,7404,376

coreapi/H03-May-2022-74,87158,670

daemon/H03-May-2022-6,4434,210

gtk/H03-May-2022-22,31319,898

include/H03-May-2022-19,4854,241

intl/H21-Jul-2017-4,9433,538

java/H03-May-2022-15,3517,822

m4/H21-Jul-2017-3,7703,470

pixmaps/H03-May-2022-1,9421,597

po/H03-May-2022-44,42034,041

scripts/H21-Jul-2017-674510

share/H03-May-2022-8,8747,925

tester/H03-May-2022-42,46834,156

tools/H03-May-2022-10,4858,530

wrappers/H21-Jul-2017-2,8302,312

ABOUT-NLSH A D28-Aug-201577.7 KiB1,1021,055

AUTHORSH A D28-Aug-2015359 148

BUGSH A D28-Aug-2015103 11

COPYINGH A D06-Apr-201722.2 KiB445354

ChangeLogH A D28-Aug-201521.1 KiB514426

Makefile.amH A D06-Apr-20178.4 KiB291219

NEWSH A D21-Jul-201716.3 KiB395344

README.armH A D28-Aug-20154.7 KiB10785

README.macos.mdH A D06-Apr-20176.3 KiB192128

README.mdH A D06-Apr-20174 KiB9865

README.mingwH A D28-Aug-20158.5 KiB259210

TODOH A D28-Aug-2015451 1511

autogen.shH A D29-Sep-20151.7 KiB7857

config.h.cmakeH A D20-Jun-20171.9 KiB5144

config.rpathH A D28-Aug-201515.8 KiB615517

configure.acH A D29-Jun-201733.3 KiB1,121963

gen-gtkfilelist.shH A D28-Aug-2015716 2923

gtk+-2.16.2.filelistH A D28-Aug-20155.5 KiB166165

gtk+-2.16.6.filelistH A D28-Aug-20154.5 KiB147146

gtk+-2.18.5.filelistH A D28-Aug-20153.7 KiB131130

gtk+-2.22.1.filelistH A D28-Aug-20154.7 KiB153152

gtk+-2.24.8.filelistH A D28-Aug-20157 KiB214213

linphone-deps.filelistH A D28-Aug-2015416 2019

linphone.iss.inH A D30-Jun-20162.6 KiB5850

linphone.spec.inH A D26-Apr-20174.5 KiB160126

stamp-h.inH A D28-Aug-201510 21

README.arm

1					LINPHONE ON ARM-LINUX (HANDHELD COMPUTERS)
2					******************************************
3
4The console version of linphone works on arm-linux and has been tested on ipaqs
5under the familiar linux distribution (http://www.handhelds.org).
6You can find .ipk binary packages on the linphone's download page.
7If you want to build your own arm-linux packages, here are some instructions to
8cross compile linphone and its dependencies: readline, speex and libosip.
9This is my own experience on cross compiling software. As there is no precise
10step by step documentation (as far as I know) on how to cross-compile on arm,
11there is no guaranty that the following instructions are the best way to do it.
12First, be aware that only the console version of linphone can compile on ARM.
13
14
15* You need the lastest arm toolchain from http://www.handhelds.org. Uncompress it in / .
16	It contains all the cross-compilation tools. Be sure that the arm-linux-gcc binaries
17	are in your PATH (export PATH=$PATH:/usr/local/arm/3.4.1/bin/ , for example)
18* create within your home directory a arm/ directory, copy into it the fresh
19	tarballs of libosip2>=2.2.x, speex>=1.1.6, linphone>=1.2.1 readline>=5.1 and ncurses>=5.5 (readline needs ncurses)
20	 Uncompress all these
21	tarballs.
22
23
24Very important things common to all packages being cross compiled:
25******************************************************************
26* copy the ipaq-config.site in the ipkg/ directory of linphone into some safe place,
27for example: ~/ipaq-config.site .
28* You need a directory that we call ARM_INSTALL_TREE that will own files in the same way they will be installed on the target computer.
29It is also used to build linphone over the arm binaries of its dependencies (speex,osip,ncurses,readline).
30
31For example:
32
33export CONFIG_SITE=~/ipaq-config.site
34export ARM_INSTALL_TREE=/armbuild
35
36
37Cross compiling ncurses for ARM:
38********************************
39./configure --prefix=/usr --host=arm-linux --with-gnu-ld --with-shared
40make
41make install DESTDIR=$ARM_INSTALL_TREE
42make install DESTDIR=`pwd`/armbuild
43
44
45Cross compiling readline for ARM:
46*********************************
47./configure --prefix=/usr --host=arm-linux --with-gnu-ld --disable-static
48make
49make install DESTDIR=$ARM_INSTALL_TREE
50make install DESTDIR=`pwd`/armbuild
51
52
53
54Cross compiling libosip for ARM:
55********************************
56./configure --prefix=/usr --host=arm-linux --with-gnu-ld --disable-static
57make
58make install DESTDIR=$ARM_INSTALL_TREE
59make install DESTDIR=`pwd`/armbuild
60
61Cross compiling speex for ARM:
62********************************
63First you need to remove ogg headers from your build system to avoid a dirty conflict between
64your build machine binaries and the arm binaries. They are usually in a libogg-dev package (rpm or deb).
65Then:
66./configure --prefix=/usr --host=arm-linux --with-gnu-ld --disable-static --enable-fixed-point --enable-arm-asm
67make
68make install DESTDIR=$ARM_INSTALL_TREE
69make install DESTDIR='pwd'/armbuild
70
71
72Cross compiling linphone for ARM
73********************************
74First you need to remove all .la files from the ARM_INSTALL_TREE because it confuses libtool and makes
75the linker use your build machine binaries instead of the arm-crosscompiled ones.
76rm -f $ARM_INSTALL_TREE/usr/lib/*.la
77#for some reason pkg-config doesn't like cross-compiling...
78export PKG_CONFIG=/usr/bin/pkg-config
79./configure --prefix=/usr --host=arm-linux --with-gnu-ld --disable-static \
80	--disable-glib --with-osip=$ARM_INSTALL_TREE/usr \
81    --with-readline=$ARM_INSTALL_TREE/usr \
82	SPEEX_CFLAGS="-I$ARM_INSTALL_TREE/usr/include" \
83	SPEEX_LIBS="-L$ARM_INSTALL_TREE/usr/lib -lspeex "
84make
85make install DESTDIR='pwd'/armbuild
86
87You can use the install trees libosip2-x.x.x/armbuild speex-x.x.x/armbuild and
88linphone-0.x.x/armbuild/ to make binary packages of
89each software, as ipkgs for the familiar distribution (http://www.familiar.org).
90In the ipkg/ directory of linphone you can find .control files for ipkg-build.
91In order to make the osip ipkg, you have to do the following:
92- create a directory named CONTROL inside libosip2-2.2.x/armbuild
93- copy the libosip.control file into CONTROL/ and rename it into "control".
94- edit the "control" file to adjust version number accordingly.
95- remove the non essential parts of libosip inside libosip2-2.x.x/armbuild/usr/ : just
96	leave the lib/ directory. This saves space on the destination computer.
97- then inside libosip2-2.x.x, run ipkg-build -o root -g root armbuild
98The same procedure applies to make linphone's ipkg.
99Binaries can also be stripped with arm-linux-strip to save more space.
100
101Running linphone under the handheld computer
102********************************************
103
104You just have to start linphone from a terminal by typing 'linphonec'.
105
106Simon
107

README.macos.md

1# Linphone on MacOS X
2
3## Build prerequisite
4
5* Xcode (download from apple or using appstore application)
6* [Java SE](http://www.oracle.com/technetwork/java/javase/downloads/index.html) or openJDK
7 This is required to generate a C sourcefile from SIP grammar using [antlr3](http://www.antlr3.org/) generator.
8* [HomeBrew](http://brew.sh) or [Macports](http://www.macports.org/).
9
10### Dependencies
11
12#### Using MacPorts
13
14##### Multiple MacOS version support
15
16In order to enable generation of bundle for older MacOS version, it is recommended to:
17
18 Edit `/opt/local/etc/macports/macports.conf` to add the following line:
19
20 > macosx_deployment_target 10.7
21 > buildfromsource always
22
23
24##### Linphone library (liblinphone)
25
26        sudo port install automake autoconf libtool pkgconfig intltool wget bcunit \
27        antlr3 speex readline sqlite3 openldap libupnp \
28        ffmpeg-devel -gpl2
29
30##### Linphone UI (GTK version)
31
32Install `GTK`. It is recommended to use the `quartz` backend for better integration.
33
34        sudo port install gtk2 +quartz +no_x11
35        sudo port install gtk-osx-application-gtk2 +no_python
36        sudo port install hicolor-icon-theme
37
38#### Using HomeBrew
39
40##### Linphone library (liblinphone)
41
42        brew install intltool libtool wget pkg-config automake libantlr3.4c \
43                homebrew/versions/antlr3 gettext speex ffmpeg readline libvpx opus
44        ln -s /usr/local/bin/glibtoolize /usr/local/bin/libtoolize
45        brew link --force gettext
46        #readline is required from linphonec.c otherwise compilation will fail
47        brew link readline --force
48
49##### Linphone UI (GTK version)
50
51        brew install cairo --without-x11
52        brew install gtk+ --without-x11
53        brew install gtk-mac-integration hicolor-icon-theme
54
55### Building Linphone
56
57The next pieces need to be compiled manually.
58
59* To ensure compatibility with multiple MacOS versions it is recommended to do:
60
61        export MACOSX_DEPLOYMENT_TARGET=10.7
62        export LDFLAGS="-Wl,-headerpad_max_install_names"
63
64* (MacPorts only) Install libantlr3c (library used by belle-sip for parsing)
65
66        git clone -b linphone git://git.linphone.org/antlr3.git
67        cd antlr3/runtime/C
68        ./autogen.sh
69        ./configure --disable-static --prefix=/opt/local && make
70        sudo make install
71
72* Install polarssl (encryption library used by belle-sip)
73
74        git clone git://git.linphone.org/polarssl.git
75        cd polarssl
76        ./autogen.sh && ./configure --prefix=/opt/local && make
77        sudo make install
78
79* Install libvpx (Must be manualy build because the macport recipe does not support 'macosx_deployment_target')
80
81        git clone https://chromium.googlesource.com/webm/libvpx -b v1.4.0
82        cd libvpx
83        ./configure --prefix=/opt/local \
84                --target=x86_64-darwin10-gcc \
85                --enable-error-concealment \
86                --enable-multithread \
87                --enable-realtime-only \
88                --enable-spatial-resampling \
89                --enable-vp8 \
90                --disable-vp9 \
91                --enable-libs \
92                --disable-install-docs \
93                --disable-debug-libs \
94                --disable-examples \
95                --disable-unit-tests \
96                --as=yasm
97        make
98        sudo make install
99
100* Install belle-sip (sip stack)
101
102        git clone git://git.linphone.org/belle-sip.git
103        cd belle-sip
104        ./autogen.sh && ./configure --prefix=/opt/local && make
105        sudo make install
106
107* (Optional) Install srtp for call encryption
108
109        git clone git://git.linphone.org/srtp.git
110        cd srtp && autoconf && ./configure --prefix=/opt/local && make libsrtp.a
111        sudo make install
112
113* (Optional) Install zrtp, for unbreakable call encryption
114
115        git clone git://git.linphone.org/bzrtp.git
116        cd bzrtp && ./autogen.sh && ./configure --prefix=/opt/local && make
117        sudo make install
118
119* (Optional) Install gsm codec
120
121        git clone git://git.linphone.org/gsm.git
122        cd gsm
123        make CCFLAGS="$CFLAGS -c -O2 -DNeedFunctionPrototypes=1"
124        sudo make install INSTALL_ROOT=/opt/local GSM_INSTALL_INC=/opt/local/include
125
126* (Optional, proprietary extension only) Compile and install the tunnel library
127 If you got the source code from git, run `./autogen.sh` first.
128 Then or otherwise, do:
129
130        ./configure --prefix=/opt/local && make && sudo make install
131
132* Compile Linphone
133 If you got the source code from git, run `./autogen.sh` first.
134 Then or otherwise, :
135
136        PKG_CONFIG_PATH=/opt/local/lib/pkgconfig ./configure --prefix=/opt/local --with-srtp=/opt/local --with-gsm=/opt/local --enable-zrtp --disable-strict && make
137
138* Install on the system
139
140        sudo make install
141
142 You are done.
143
144### Generate portable bundle
145
146If you want to generate a portable bundle, then install `gtk-mac-bundler` linphone fork:
147
148	git clone git://git.linphone.org/gtk-mac-bundler.git
149	cd gtk-mac-bundler
150	make install
151    export PATH=$PATH:~/.local/bin
152	# set writing right for owner on the libssl and libcrypto libraries in order gtk-mac-bundler
153	# be able to rewrite their rpath
154	sudo chmod u+w /opt/local/lib/libssl.1.0.0.dylib /opt/local/lib/libcrypto.1.0.0.dylib
155
156The bundler file in `build/MacOS/linphone.bundle` expects some plugins to be installed in `/opt/local/lib/mediastreamer/plugins`.
157If you don't need plugins, remove or comment out this line from the bundler file:
158
159        <binary>
160        ${prefix:ms2plugins}/lib/mediastreamer/plugins/*.*.so
161        </binary>
162
163If using HomeBrew, this is not working yet. However you will at least need to:
164
165        brew install shared-mime-info glib-networking hicolor-icon-theme
166        update-mime-database /usr/local/share/mime
167
168 And modify also:
169
170        <prefix name="default">/usr/local</prefix>
171
172Then run, inside Linphone source tree configure as told before but with `--enable-relativeprefix` appended.
173
174        make && make bundle
175
176The resulting bundle is located in Linphone build directory, together with a zipped version.
177
178* For a better appearance, you can install `gtk-quartz-engine` (a GTK theme) that makes GTK application more similar to other Mac applications (but not perfect).
179	sudo port install gnome-common
180	git clone https://github.com/jralls/gtk-quartz-engine.git
181	cd gtk-quartz-engine
182	./autogen.sh
183	./configure --prefix=/opt/local CFLAGS="$CFLAGS -Wno-error" && make
184	sudo make install
185
186Generate a new bundle to have it included.
187
188
189
190
191
192

README.md

1Linphone
2========
3
4This is Linphone, a free (GPL) video softphone based on the SIP protocol.
5
6**WARNING:** Unless you exactly know what you are doing, you should take at look at *linphone-desktop[1]*.
7
8
9Building Linphone
10-----------------
11
12### Required dependencies
13
14* *BcToolbox[2]*: portability layer
15* *BelleSIP[3]*: SIP stack
16* *Mediastreamer2[4]*: multimedia engine
17* libxml2
18* zlib
19* libsqlite3: user data storage (disablable)
20* libnotify: system notification (GNU/Linux only;disablable)
21* libgtk2: graphical interface (disablable)
22* gettext and libintl: internationalization support (disablable)
23
24
25### Opitonal dependencies
26
27* *Belcard[5]*: VCard support
28* gtkmacintegration: integration with MacOSX menu
29
30
31### Build instructions
32
33	cmake . -DCMAKE_INSTALL_PREFIX=<prefix> -DCMAKE_PREFIX_PATH=<search_prefixes>
34
35	make
36	make install
37
38
39### Supported build opitons
40
41* `CMAKE_INSTALL_PREFIX=<string>` : install prefix
42* `CMAKE_PREFIX_PATH=<string>`    : column-separated list of prefixes where to search for dependencies
43* `ENABLE_SHARED=NO`              : do not build the shared library
44* `ENABLE_STATIC=NO`              : do not build the static library
45* `ENABLE_STRICT=NO`              : build without strict compilation flags (-Wall -Werror)
46* `ENABLE_DOC=NO`                 : do not generate the reference documentation of liblinphone
47* `ENABLE_GTK_UI=NO`              : do not build the GTK user interface
48* `ENABLE_UNIT_TESTS=NO`          : do not build testing binaries
49* `ENABLE_VCARD=NO`               : disable VCard support
50* `ENABLE_SQLITE_STORAGE=NO`      : disable SQlite user data storage (message, history, contacts list)
51* `ENABLE_TOOLS=NO`               : do not build tool binaries
52* `ENABLE_NLS=NO`                 : disable internationalization
53* `ENABLE_ASSISTANT=NO`           : disable account creation wizard
54
55### Note for packagers
56
57Our CMake scripts may automatically add some paths into research paths of generated binaries.
58To ensure that the installed binaries are striped of any rpath, use `-DCMAKE_SKIP_INSTALL_RPATH=ON`
59while you invoke cmake.
60
61
62
63Notes for developers
64--------------------
65
66Here is a short description of the content of the source tree.
67
68- **oRTP/** is a poweful implementation of the RTP protocol. See the oRTP/README for more details.
69	    It is used by mediastreamer2 to send and receive streams to the network.
70
71- **mediastreamer2/** is one of the important part of linphone. It is a framework for audio
72	              and video processing. It contains several objects for grabing audio and video and outputing
73	              it (through rtp, to file).
74	              It contains also codec objects to compress audio and video streams.
75                      The mediastream.h files contain routines to easyly setup audio streams.
76
77- **coreapi/** is the central point of linphone, which handles relationship between sip signalisation and media
78               streaming. It contains an easy to use api to create a sip phone.
79
80- **gtk/** is the directory that contains the gui frontend of linphone. It uses all libraries descibed above.
81
82- **console/**
83	* linphonec.c is the main file for the console version of linphone.
84	* sipomatic.c / sipomatic.h contains the code for sipomatic, the test program that auto-answer to linphone calls.
85	* shell.c (program name: linphonecsh) is a small utilities to send interactive commands to a running linphonec daemon.
86
87- **share/** contains translation, documentation, rings and hello sound files.
88
89
90------------------------------
91
92
93- [1] linphone-desktop: git://git.linphone.org/linphone-desktop.git
94- [2] bctoolbox: git://git.linphone.org/bctoolbox.git *or* <https://www.linphone.org/releases/sources/bctoolbox>
95- [3] belle-sip: git://git.linphone.org/belle-sip.git *or* <https://www.linphone.org/releases/sources/belle-sip>
96- [4] mediastreamer2: git://git.linphone.org/mediastreamer2.git *or* <https://www.linphone.org/releases/sources/mediastreamer>
97- [5] belcard: git://git.linphone.org/belcard.git *or* <https://www.linphone.org/releases/sources/belcard>
98

README.mingw

1Software to install
2*******************
3
4Download lastest mingw-get-setup.exe from http://www.mingw.org
5Run mingw-get-setup.exe.
6In the package list, select and install:
7* mingw-developer-toolkit
8* mingw32-base
9* mingw32-gcc-g++
10* mingw32-pthreads-w32
11* msys-base
12* msys-zip
13* msys-unzip
14* msys-wget
15
16For more information:
17http://www.mingw.org/wiki/Getting_Started
18
19In mingw shell (also refered as msys), run
20
21mkdir -p /opt/perl/bin
22cp /bin/perl /opt/perl/bin/.
23
24cd ~
25#Download intltool
26wget http://ftp.acc.umu.se/pub/GNOME/binaries/win32/intltool/0.40/intltool_0.40.4-1_win32.zip
27
28Download lastest linphone-deps-win32 zip from
29http://download.savannah.gnu.org/releases-noredirect/linphone/misc
30using your browser.
31
32Download gtk+-2.24.10 win32 _bundle_ from http://www.gtk.org, direct link:
33http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.24/gtk+-bundle_2.24.10-20120208_win32.zip
34
35Install all these three package in /:
36
37cd /
38unzip ~/intltool_0.40.4-1_win32.zip
39unzip <path to gtk bundle zip>
40unzip <path to linphone-deps>
41
42#Install GTK+ Outcrop theme, the one used by linphone for distribution.
43cd /share/themes
44wget ftp://ftp.gnome.org/mirror/gnome.org/teams/art.gnome.org/themes/gtk2/GTK2-Outcrop.tar.gz
45tar -xvzf GTK2-Outcrop.tar.gz
46
47#To get the translations working, remove from C:/MinGW/lib :
48libintl.a libintl.la libintl.dll.a
49
50* Download and install Inno Setup Compiler (required only if you run
51'make setup.exe'). Add it to your windows Path environment variable.
52
53* Install msys-git from (http://msysgit.github.io/). During installation you
54are asked to make a choice about how line endings are treated by git. Choose
55"Checkout line endings as they are, commit as they are". THIS CHOICE IS VERY
56IMPORTANT. OTHERS BREAK AUTOMAKE.
57
58
59General rules for compilation
60*****************************
61
62* It is recommended that you create a directory somewhere with a path without
63  any spaces or ~ characters, for example c:\sources\. This is the place where
64  source code must be compiled.
65* git commands (to retrieve source code) must be performed within msys-git
66  terminal.
67* all other commands (configure, autogen.sh, make) must be done within the
68  mingw shell (msys). In both msys and msys-git windows, change into the
69  directory you created for sources:
70	cd /c/sources
71
72* make sure pkg-config works by adding this env variable to your terminal:
73	export PKG_CONFIG_PATH=/usr/lib/pkgconfig
74
75Building belle-sip
76******************
77  * make sure that java version 1.6 is available in the PATH. java-1.7 will
78    not work with antlr generator.
79  * download the sources with msys-git shell using the following command:
80    $ git clone git://git.linphone.org/belle-sip.git
81  * compile and install
82    $ ./autogen.sh
83    $ ./configure --prefix=/usr --enable-shared --disable-static
84    $ make && make install
85
86Building Linphone
87*****************
88
89  * download the sources using the following command:
90    $ git clone git://git.linphone.org/linphone.git --recursive
91
92  * compile
93    #always run autogen.sh after a git checkout or update
94    $ ./autogen.sh
95
96    $ ./configure --prefix=/usr --enable-shared --disable-static
97    #note: in order to use the tunnel (commercial extension), append
98    #--enable-tunnel to the configure line above.
99
100    $ make
101    $ make install
102
103    #Option: make a portable binary zip of linphone
104    $ make zip
105
106    #additionally you can make binary installer if you have Inno Setup 5
107    installed in its default path
108
109    $ make setup.exe
110    #now you're done, you have a fresh linphone windows installer in the
111    current directory.
112
113Building plugins (optional)
114***************************
115
116  This the example for msx264 (H264 plugin), the same applies for other
117  linphone plugins.
118  $ git clone git://git.linphone.org/msx264.git
119  $ cd msx264
120  $ ./autogen.sh
121  $ PKG_CONFIG_PATH=/usr/lib/pkgconfig ./configure --prefix=/usr --enable-shared --disable-static
122  #make a binary zip of this plugin
123  $ make zip
124  #or make an installer
125  $ make setup.exe
126
127
128******************************************************
129*      Notes about linphone-deps generation          *
130******************************************************
131
132Linphone-deps is a collection of linphone dependencies, that are for some of
133them difficult to find as windows binaries. These notes are useful if you want
134to upgrade part of the software that is included in the linphone-deps packages.
135
136List of software included in linphone-deps:
137antlr3c (compiled)
138bzrtp (compiled)
139polarssl (compiled
140libsrtp (compiled)
141libavcodec, libavutil, libavformat, libavdevice, libswscale (compiled, all
142these from ffmpeg)
143libtheora (from the web)
144libx264 (compiled from the version distributed from linphone's web site)
145libogg (from the web)
146libspeex, libspeexdsp (compiled)
147libgnutls (from the web)
148libgsm (from the web)
149libxml2 (compiled)
150libsoup (compiled)
151libsqlite3 (compiled)
152
153Remarks:
154For every package compiled that goes into linphone-deps, .la files (libtool
155files) must be removed to avoid libtool errors. When running "make install
156DESTDIR=<somepath>", somepath must be absolute and should not contain any ~ or
157space.
158
159- building antlr3c
160  * download the sources with:
161    $ git clone -b linphone git://git.linphone.org/antlr3.git
162  * compile and install
163    $ cd runtime/C
164    $ ./autogen.sh
165    $ ./configure --prefix=/usr --enable-shared --disable-static
166    $ make
167    $ make install
168    $ make install DESTDIR=/home/<myuser>/antlr3c-install
169    $ cp
170
171- building polarssl
172  * download the sources with:
173    $ git clone -b linphone git://git.linphone.org/polarssl.git
174  * compile and install:
175    $ cd polarssl
176    $ make lib SHARED=1 WINDOWS=1
177    $ make install DESTDIR=/usr
178    $ make install DESTDIR=/home/<myuser>/polarssl-install
179
180- building libsrtp
181  *  download the sources with
182    $ git clone git://git.linphone.org/srtp.git
183  * compile with
184    $ autoconf
185    $ ./configure --prefix=/usr
186    $ make libsrtp.a
187    $ make install
188    $ make install DESTDIR=/home/<myuser>/libsrtp-install
189
190- building bzrtp
191 * download the sources with msys-git shell using the following command:
192    $ git clone git://git.linphone.org/bzrtp.git
193  * compile and install
194    $ ./autogen.sh
195    $ ./configure --prefix=/usr --enable-shared --disable-static
196    $ make && make install
197
198- building sqlite3
199  * download the sources on the following website:
200  http://www.sqlite.org/download.html (choose the sqlite-autoconf-3XXX.tar.gz)
201
202  * install:
203  ./configure
204  make && make install DESTDIR=/home/<myuser>/sqlite3-install
205  then copy the content of ~/sqlite3-install/usr/local/ into linphone-deps/.
206
207- building ffmpeg
208  ./configure --enable-shared --disable-static --enable-memalign-hack --extra-cflags="-fno-common" --enable-gpl && make
209  make install DESTDIR=/home/<myuser>/ffmpeg-install
210  Copy to ~/ffmpeg-install/usr/local/* to linphone-deps/.
211  Copy also all *.dll.a files from the build tree to lib/ directort of
212  linphone-deps. These are the implibs necessary to link a program against the
213  dlls.
214
215- building libxml2: the binaries found on the internet are generated with
216  MSVC++, and for obscure reason they are not suitable for building libsoup
217  (that requires libxml2).
218  ./configure --enable-shared --disable-static && make && make install DESTDIR=/home/<myuser>/libxml2-install
219  copy ~/libxml2-install/usr/local/* into linphone-deps/.
220
221
222- building x264:
223
224  * download yasm normal version windows executable from yasm project page:
225  http://www.tortall.net/projects/yasm/wiki/Download
226  copy it as /usr/local/bin/yasm.exe
227
228  cd into x264/ dir then run:
229  ./configure --enable-pic
230  make
231  make install DESTDIR=/home/<myuser>/x264-install
232  then copy the content of ~/x264-install/usr/local/ into linphone-deps/.
233
234- libgnutls (required for libsoup https support)
235	- download binary zip from http://josefsson.org/gnutls4win.org
236	- add to linphone-deps
237
238- building libsoup (only required for buddylookup plugin)
239	- download source from gnome ftp (warning: at the time of the writing
240	  only version 2.26.x can compile with the glib version supplied in the
241	  gtk-bundle, 2.27 requires a new version of glib)
242	- uncompress libgnutls zip in /
243	- make sure you have libxml2 installed in /
244	- apply a bugfix patch (fix gnutls support on windows, completely
245	  broken otherwise). The patch is in linphone-deps/src, apply it this
246	  way:
247		cd libsoup-2.26.*
248		cd libsoup
249		patch -p0 < libsoup-gnutls-bugfix.patch
250	- run:
251		./configure --prefix=/usr --enable-shared --disable-static
252		make
253		make install
254		make install DESTDIR=/home/<myuser>/libsoup-install
255	- copy ~/libsoup-install/usr/* into linphone-deps/
256
257Once you have everything in linphone-deps, remove .la files from lib:
258	cd lib && rm -f *.la
259