#13795: Initial commit for sflphone-android
includes: libexpat libyaml libdbus-c++ commoncpp ccrtp
libdbus (from android-4.0.4 sources)
TODO:
- git ignores "/jni/sflphone", sflphone repo should be cloned.
- sflphone-android only needs daemon directory. Ideally it should be possible
to clone it without cloning the whole sflphone project.
into sfl-android (commit 6a0fa7a "#13961: Fix cipher handling" has been used here)
- add pjsip-android project as a git submodule
- sflphone-android needs pjsip android project. Ideally daemon git repository
should not embed pjsip. Instead pjsip should be clone from official repositories.
Considering this, structure should have three distincts git repos:
sflphone-android/.git
sflphone-android/jni/ccrtp-1.8.0-android
sflphone-android/jni/commoncpp2-1.8.1-android
sflphone-android/jni/dbus
sflphone-android/jni/libdbus-c++-0.9.0-android
sflphone-android/jni/libexpat
sflphone-android/jni/libyaml
sflphone-android/jni/sflphone-daemon/.git
sflphone-android/jni/sflphone-daemon/src/audio
sflphone-android/jni/sflphone-daemon/src/config
sflphone-android/jni/sflphone-daemon/src/dbus
sflphone-android/jni/sflphone-daemon/src/history
sflphone-android/jni/sflphone-daemon/src/hooks
sflphone-android/jni/sflphone-daemon/src/iax
sflphone-android/jni/sflphone-daemon/src/sip
sflphone-android/jni/sflphone-daemon/src/video
sflphone-android/jni/pjsip-android/.git
Signed-off-by: Emeric Vigier <emeric.vigier@savoirfairelinux.com>
diff --git a/jni/dbus/cmake/readme-cmake.txt b/jni/dbus/cmake/readme-cmake.txt
new file mode 100644
index 0000000..9350073
--- /dev/null
+++ b/jni/dbus/cmake/readme-cmake.txt
@@ -0,0 +1,54 @@
+This directory contains configuration files for the cmake build system
+
+Requirements
+------------
+- cmake version >= 2.4.4 see http://www.cmake.org
+- installed libxml2 or libexpat
+
+Building
+--------
+
+unix
+1. install cmake and libxml or libexpat
+2. get dbus sources
+3. mkdir dbus-build
+4. cd dbus-build
+5. cmake <dbus-src-root>/cmake or cmake -DDBUS_USE_EXPAT=on <dbus-src-root>/cmake in case libexpat should de used
+5. make
+6. make install
+
+win32-mingw
+1. install cmake and libxml or libexpat in <ProgramDir>\gnuwin32
+2. get dbus sources
+3. mkdir dbus-build
+4. cd dbus-build
+5. cmake -G "MinGW Makefiles" <dbus-src-root>/cmake
+6. make
+7. make install
+
+win32-msvc
+1. install cmake and libxml or libexpat in <ProgramDir>\gnuwin32
+2. get dbus sources
+3. mkdir dbus-build
+4. cd dbus-build
+5. cmake -G <msvc available target, see cmake --help for a list" <dbus-src-root>/cmake
+6. make
+7. make install
+
+
+Some build options (use -D<key>=<value> on command line)
+------------------
+ key description default value
+ --- ----------- -------------
+DBUS_USE_EXPAT "Use expat (== ON) or libxml2 (==OFF) OFF
+DBUS_DISABLE_ASSERTS "Disable assertion checking" OFF
+DBUS_BUILD_TESTS "enable unit test code" ON
+DBUS_ENABLE_ANSI "enable -ansi -pedantic gcc flags" OFF
+DBUS_ENABLE_GCOV "compile with coverage profiling
+ instrumentation (gcc only)" OFF
+DBUS_ENABLE_VERBOSE_MODE "support verbose debug mode" ON
+DBUS_DISABLE_CHECKS "Disable public API sanity checking" OFF
+DBUS_INSTALL_SYSTEM_LIBS "install required system libraries
+ (mingw: libxml2, libiconv, mingw10)" OFF
+CMAKE_BUILD_TYPE "build type (== debug) or (== release) release
+