From 29628c0c11cbc42d74e5e785bf3b8d0ac2bcff67 Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Fri, 22 May 2015 17:21:33 +0200 Subject: [PATCH 01/32] Update several submodules for build with CMake. --- submodules/bcg729 | 2 +- submodules/belle-sip | 2 +- submodules/bzrtp | 2 +- submodules/cmake-builder | 2 +- submodules/externals/antlr3 | 2 +- submodules/externals/speex | 2 +- submodules/externals/srtp | 2 +- submodules/libilbc-rfc3951 | 2 +- submodules/linphone | 2 +- submodules/msamr | 2 +- submodules/msilbc | 2 +- submodules/msopenh264 | 2 +- submodules/mssilk | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/submodules/bcg729 b/submodules/bcg729 index 0a58e95c1..dc37a9a01 160000 --- a/submodules/bcg729 +++ b/submodules/bcg729 @@ -1 +1 @@ -Subproject commit 0a58e95c1d7f7da9035456f2b1bcfa832bfd2d7e +Subproject commit dc37a9a01a9b69f49b6339cd2f5d999fcf584a89 diff --git a/submodules/belle-sip b/submodules/belle-sip index aa049d272..97bdfd1f5 160000 --- a/submodules/belle-sip +++ b/submodules/belle-sip @@ -1 +1 @@ -Subproject commit aa049d2723f7dd9441cb5de1138f5aa6f417d8cc +Subproject commit 97bdfd1f51c441c441e713de8c1d50cd037cda5d diff --git a/submodules/bzrtp b/submodules/bzrtp index 4a4f757f6..7f0b84802 160000 --- a/submodules/bzrtp +++ b/submodules/bzrtp @@ -1 +1 @@ -Subproject commit 4a4f757f66b02cf8834fd8d7a939bf54b245ad7e +Subproject commit 7f0b84802a6e1d1f99efb95de4d9b460069a3f23 diff --git a/submodules/cmake-builder b/submodules/cmake-builder index 0e703903c..80cabceb7 160000 --- a/submodules/cmake-builder +++ b/submodules/cmake-builder @@ -1 +1 @@ -Subproject commit 0e703903c89ab1e3ef06d2697b4d844afc5a0851 +Subproject commit 80cabceb7c60c308285d428bc7c6edaecc9bde5f diff --git a/submodules/externals/antlr3 b/submodules/externals/antlr3 index 489f375fb..812695383 160000 --- a/submodules/externals/antlr3 +++ b/submodules/externals/antlr3 @@ -1 +1 @@ -Subproject commit 489f375fb391cb70d82b56f509c39cbf7fa0b706 +Subproject commit 812695383316c7227c06df2b30725a9e5e4a11a0 diff --git a/submodules/externals/speex b/submodules/externals/speex index f0bbb55db..415653bfe 160000 --- a/submodules/externals/speex +++ b/submodules/externals/speex @@ -1 +1 @@ -Subproject commit f0bbb55db823234366993ce4b64f2b14ab025260 +Subproject commit 415653bfef10b46d5e7bfa3ad70a68976b77e7b5 diff --git a/submodules/externals/srtp b/submodules/externals/srtp index 4338c102f..37448b2ae 160000 --- a/submodules/externals/srtp +++ b/submodules/externals/srtp @@ -1 +1 @@ -Subproject commit 4338c102f5a4b8f89b7019ed66fb456e3e3359ae +Subproject commit 37448b2aebeb5e9bd2d39d3a82f0721123cdd4a2 diff --git a/submodules/libilbc-rfc3951 b/submodules/libilbc-rfc3951 index 9ab4928dc..bc20f1196 160000 --- a/submodules/libilbc-rfc3951 +++ b/submodules/libilbc-rfc3951 @@ -1 +1 @@ -Subproject commit 9ab4928dcacaa1ef35a7bdc328d706a4569f29a3 +Subproject commit bc20f11963878a1f32511de59b05490093e5c9b8 diff --git a/submodules/linphone b/submodules/linphone index 5d5808b70..9dbaa4299 160000 --- a/submodules/linphone +++ b/submodules/linphone @@ -1 +1 @@ -Subproject commit 5d5808b705214fb1db2ae8241d5476606e09eb97 +Subproject commit 9dbaa4299b785d01868b50e6bc4c24f14b34920b diff --git a/submodules/msamr b/submodules/msamr index eb17e35a2..c2a0886a9 160000 --- a/submodules/msamr +++ b/submodules/msamr @@ -1 +1 @@ -Subproject commit eb17e35a22301db309b51bd9d458fb00972bd4c3 +Subproject commit c2a0886a9350004e3da94d968cae9978c7472a9d diff --git a/submodules/msilbc b/submodules/msilbc index afe533687..b5a2b0702 160000 --- a/submodules/msilbc +++ b/submodules/msilbc @@ -1 +1 @@ -Subproject commit afe5336871be478f54e794d4f649e2c1f18dcaff +Subproject commit b5a2b070259ef0c4f404fa8ca87752b8b1259d76 diff --git a/submodules/msopenh264 b/submodules/msopenh264 index 5a8473c09..172e97a83 160000 --- a/submodules/msopenh264 +++ b/submodules/msopenh264 @@ -1 +1 @@ -Subproject commit 5a8473c091d05d9eed67febdd555955f0b925900 +Subproject commit 172e97a83aa2a868fd3dbbd6e7d57ad7d55f3054 diff --git a/submodules/mssilk b/submodules/mssilk index dcb4798df..06504344a 160000 --- a/submodules/mssilk +++ b/submodules/mssilk @@ -1 +1 @@ -Subproject commit dcb4798df328186b3d177d10af5145aafed8352e +Subproject commit 06504344a367c033598a9dcaa6ff8387269e5a9a From 4c5a6458f95680adc29c24a6b8ae007a2081834d Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Mon, 25 May 2015 11:16:20 +0200 Subject: [PATCH 02/32] Update gsm and linphone-cmake-builder submodules. --- submodules/cmake-builder | 2 +- submodules/externals/gsm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/submodules/cmake-builder b/submodules/cmake-builder index 80cabceb7..135daa1a2 160000 --- a/submodules/cmake-builder +++ b/submodules/cmake-builder @@ -1 +1 @@ -Subproject commit 80cabceb7c60c308285d428bc7c6edaecc9bde5f +Subproject commit 135daa1a26407ce7b1e46ce87544b096bb794c83 diff --git a/submodules/externals/gsm b/submodules/externals/gsm index 405fb3856..57d904f7f 160000 --- a/submodules/externals/gsm +++ b/submodules/externals/gsm @@ -1 +1 @@ -Subproject commit 405fb3856f0b9e902dcb159ec6a3409ba6e78476 +Subproject commit 57d904f7fdc97e611b4a09ff7753d5d648ff82cd From 31e61e19cf1f49e3ca4ec9f674927f9ce72e8c61 Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Mon, 25 May 2015 17:30:46 +0200 Subject: [PATCH 03/32] Generate Makefile from prepare.py when building with CMake. --- prepare.py | 51 ++++++++++++++++++++++++++++++++++++++++ submodules/cmake-builder | 2 +- 2 files changed, 52 insertions(+), 1 deletion(-) diff --git a/prepare.py b/prepare.py index 6c3601bac..47951104b 100755 --- a/prepare.py +++ b/prepare.py @@ -55,6 +55,7 @@ def main(argv = None): selected_platforms += [args.platform] retcode = 0 + makefile_platforms = [] for platform in selected_platforms: target = prepare.targets['ios-' + platform] @@ -66,6 +67,56 @@ def main(argv = None): retcode = prepare.run(target, args.debug, False, args.list_cmake_variables, args.force, additional_args) if retcode != 0: return retcode + makefile_platforms += [platform] + + if makefile_platforms: + archs_specific = "" + for arch in makefile_platforms[1:]: + archs_specific += \ +""" if test -f "$${arch}_path"; then \\ + all_paths=`echo $$all_paths $${arch}_path`; \\ + all_archs="$$all_archs,{arch}" ; \\ + else \\ + echo "WARNING: archive `basename $$archive` exists in {first_arch} tree but does not exists in {arch} tree: $${arch}_path."; \\ + fi; \\ +""".format(first_arch=makefile_platforms[0], arch=arch) + makefile = """ +archs={archs} + +.PHONY: all + +all: multi-arch + +build-%: + make -C WORK/cmake-ios-$* + +multi-arch: $(addprefix build-,$(archs)) + archives=`find liblinphone-sdk/{first_arch}-apple-darwin.ios -name *.a` && \\ + mkdir -p liblinphone-sdk/apple-darwin && \\ + cp -rf liblinphone-sdk/{first_arch}-apple-darwin.ios/include liblinphone-sdk/apple-darwin/. && \\ + cp -rf liblinphone-sdk/{first_arch}-apple-darwin.ios/share liblinphone-sdk/apple-darwin/. && \\ + for archive in $$archives ; do \\ + armv7_path=`echo $$archive | sed -e "s/{first_arch}/armv7/"`; \\ + arm64_path=`echo $$archive | sed -e "s/{first_arch}/aarch64/"`; \\ + i386_path=`echo $$archive | sed -e "s/{first_arch}/i386/"`; \\ + x86_64_path=`echo $$archive | sed -e "s/{first_arch}/x86_64/"`; \\ + destpath=`echo $$archive | sed -e "s/-debug//" | sed -e "s/{first_arch}-//" | sed -e "s/\.ios//"`; \\ + all_paths=`echo $$archive`; \\ + all_archs="{first_arch}"; \\ + mkdir -p `dirname $$destpath`; \\ + {archs_specific} \\ + echo "[$$all_archs] Mixing `basename $$archive` in $$destpath"; \\ + lipo -create $$all_paths -output $$destpath; \\ + done && \\ + if ! test -f liblinphone-sdk/apple-darwin/lib/libtunnel.a ; then \\ + cp -f submodules/binaries/libdummy.a liblinphone-sdk/apple-darwin/lib/libtunnel.a ; \\ + fi +""".format(archs=' '.join(makefile_platforms), first_arch=makefile_platforms[0], archs_specific=archs_specific) + f = open('Makefile', 'w') + f.write(makefile) + f.close() + elif os.path.isfile('Makefile'): + os.remove('Makefile') return retcode diff --git a/submodules/cmake-builder b/submodules/cmake-builder index 135daa1a2..3ae778a60 160000 --- a/submodules/cmake-builder +++ b/submodules/cmake-builder @@ -1 +1 @@ -Subproject commit 135daa1a26407ce7b1e46ce87544b096bb794c83 +Subproject commit 3ae778a60f65ac3aca2cc89d13fe0695bfd78cb7 From 20f8787e14150ee4c148b20d234eeac7999aeeed Mon Sep 17 00:00:00 2001 From: Gautier Pelloux-Prayer Date: Tue, 26 May 2015 10:51:47 +0200 Subject: [PATCH 04/32] =?UTF-8?q?AboutViewController:=20remove=20ending=20?= =?UTF-8?q?part=20of=20copyright=20since=20it=20still=20applies=20(=C2=A9?= =?UTF-8?q?=202010=20-=20Belledonne=20Communications)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Classes/Base.lproj/AboutViewController.xib | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Classes/Base.lproj/AboutViewController.xib b/Classes/Base.lproj/AboutViewController.xib index 052697f51..8248666f4 100644 --- a/Classes/Base.lproj/AboutViewController.xib +++ b/Classes/Base.lproj/AboutViewController.xib @@ -1,8 +1,8 @@ - + - + @@ -62,7 +62,7 @@ -