1 **********************************
2 * Compiling linphone on macos X *
3 **********************************
6 - Xcode (download from apple or using appstore application)
7 - Macports: http://www.macports.org/
8 Download and install macports using its user friendly installer.
10 - Install build time dependencies
11 $ port install automake autoconf libtool intltool
13 - Install some linphone dependencies with macports
15 $ port install libosip2 # WARNING: currently outdated in macport
16 $ port install libeXosip2 #WARNING: currently outdated in macport
17 $ port install ffmpeg-devel
20 - Install srtp (optional) for call encryption
22 If that fails, get from source:
23 $ git clone git://git.linphone.org/srtp.git
24 $ cd srtp && autoconf && ./configure --prefix=/opt/local && make libsrtp.a
27 - Install zrtpcpp (optional), for unbreakable call encryption
29 $ git clone git://git.linphone.org/zrtpcpp.git
30 $ cd zrtpcpp && cmake -Denable_ccrtp=false . && make
33 - Install gtk. It is recommended to use the quartz backend for better integration.
34 $ port install gtk2 +quartz +no_x11
35 $ port install ige-mac-integration
36 $ port install hicolor-icon-theme
38 - Compile and install the tunnel
40 If you got the source code from git, run ./autogen.sh first
42 Then or otherwise, do:
44 $ ./configure --prefix=/opt/local && make && sudo make install
49 If you got the source code from git, run ./autogen.sh first.
51 Then or otherwise, do:
53 $ ./configure --prefix=/opt/local --with-readline=/opt/local --disable-x11 --with-srtp=/opt/local --with-gsm=/opt/local --enable-zrtp && make
61 If you want to generate a portable bundle, then install gtk-mac-bundler.
63 $ git clone https://github.com/jralls/gtk-mac-bundler.git
64 $ cd gtk-mac-bundler && make install
65 $ export PATH=$PATH:~/.local/bin
66 #make this dummy charset.alias file for the bundler to be happy:
67 $ sudo touch touch /opt/local/lib/charset.alias
69 Then run, inside linphone source tree:
70 1. Run configure as told before but with "--enable-relativeprefix" appended.
75 The resulting bundle is located in linphone build directory, together with a zipped version.
77 For a better appearance, you can install the gtk-quartz-engine (a gtk theme) that make gtk application more similar to other mac applications (but not perfect).
79 $ git clone https://github.com/jralls/gtk-quartz-engine.git
80 $ cd gtk-quartz-engine
82 $ ./configure --prefix=/opt/local && make
85 Generate a new bundle to have it included.