No description
Find a file
Jehan Monnier 06feacd610 Merge remote-tracking branch 'origin/conference'
Conflicts:
	linphone.xcodeproj/project.pbxproj
	submodules/liblinphone.xcodeproj/project.pbxproj
2011-11-18 18:01:44 +01:00
Classes Merge remote-tracking branch 'origin/conference' 2011-11-18 18:01:44 +01:00
liblinphone-tutorials/hello-world add dependency on ssl for totorials build 2011-03-23 14:36:36 +01:00
linphone.xcodeproj Merge remote-tracking branch 'origin/conference' 2011-11-18 17:18:49 +01:00
Resources InCallView: new icons 2011-11-18 17:17:12 +01:00
Settings.bundle merge vios IOS with master 2011-11-18 14:23:41 +01:00
submodules InCallView: new icons 2011-11-18 17:17:12 +01:00
.gitignore update .gitignore 2011-08-20 15:59:20 +02:00
.gitmodules merge vios IOS with master 2011-11-18 14:23:41 +01:00
COPYING add GPL license 2011-08-12 17:55:48 +02:00
linphone copy-Info.plist merge vios IOS with master 2011-11-18 14:23:41 +01:00
linphone-Info.plist private version 1.0.7.3 2011-11-02 16:31:25 +01:00
linphone_Prefix.pch initial commit with basic ui 2010-01-22 11:44:23 +01:00
linphonerc Merge remote-tracking branch 'origin/conference' 2011-11-18 17:18:49 +01:00
main.m fix gpl notice 2011-08-18 12:25:40 +02:00
PhoneMainView.xib InCallView: new icons 2011-11-18 17:17:12 +01:00
README merge vios IOS with master 2011-11-18 14:23:41 +01:00
untitled.plist initial commit with basic ui 2010-01-22 11:44:23 +01:00

					            LINPHONE ON IPHONE
					******************************************

Linphone for iPhone depends on liblinphone sdk. To build this sdk, you must install both xcode with iPhone OS SDK  and MacPorts (www.macports.org) with the following ports:
-nawk
-coreutils
-automake 
-autoconf
-libtool
-intltool
-wget
-pkgconfig
-cmake (for ZRTP support)
-yasm
-doxygen


gas-preprosessor.pl  (http://github.com/yuvi/gas-preprocessor/ ) to be copied into /opt/local/bin :
$ wget --no-check-certificate https://raw.github.com/yuvi/gas-preprocessor/master/gas-preprocessor.pl
$ sudo mv gas-preprocessor.pl /opt/local/bin/.

Link macport libtoolize to glibtoolize (sudo ln -s /opt/local/bin/glibtoolize /opt/local/bin/libtoolize)
Link host's strings to simulator SDK (ln -s  /usr/bin/strings /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/strings)

*******************************************
*******GPL versus non GPL******************
*******************************************
This sdk can be generated in 2 flavors. Firt is GPL, it means liblinphone include GPL third parties like FFMPEG or x264. 
If you choose this flavor, your final application must comply with GPL. This is the default mode.

To generate the liblinphone multi arch sdkin GPL mode, once the above commands have been executed:
	cd submodules/build
	make all 

ALTERNATIVELY, you can force liblinphone to use only non GPL code except for liblinphone, mediastremer2, ortp, exosip, osip.
If you choose this flavor, your final application  is still subject to GPL except if you have an alternative license for liblinphone, mediastremer2, ortp, exosip, osip.

To generate the liblinphone multi arch sdkin non GPL mode, once the above commands have been executed:
	cd submodules/build
	make all enable_gpl=no

******************************************
****Third party, subject to lincense*i****
******************************************
The liblinphone-sdk is compiled with third parties code that are subject to license, specially: AMR, SILK and  X264.
Linphone activates/de-activates these codecs thanks to the preprocessor macros HAVE_SILK, HAVE_AMR, HAVE_X264 positioned in xcode.
Before embeding these 3 codecs in the final application, make sure to have the right to do so.
******************************************


In case you upgrade your IOS SDK, you may force configure by using make targets <veryclean>

Libraries are available from liblinphone-sdk/

liblinphone xcode subproject: This subproject is just for debuggingi purpose, do not compile it until you know exactly what you are doing.