diff options
author | Ingo Bauersachs <ingo@jitsi.org> | 2015-10-11 01:02:34 +0200 |
---|---|---|
committer | Ingo Bauersachs <ingo@jitsi.org> | 2015-10-11 01:18:44 +0200 |
commit | 58b24c9033c07640247c77c2d9075c0b4773f83b (patch) | |
tree | 73fa8a783ef509b59e37411a16f3e48968e465d2 /src/native | |
parent | 2458b32277eff9b19eb508fd8e6d83f95c7342dc (diff) | |
download | jitsi-58b24c9033c07640247c77c2d9075c0b4773f83b.zip jitsi-58b24c9033c07640247c77c2d9075c0b4773f83b.tar.gz jitsi-58b24c9033c07640247c77c2d9075c0b4773f83b.tar.bz2 |
Update presence integration for Office 2016 (fixes #159)
Diffstat (limited to 'src/native')
-rw-r--r-- | src/native/build.xml | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/src/native/build.xml b/src/native/build.xml index c739c0f..3fe7794 100644 --- a/src/native/build.xml +++ b/src/native/build.xml @@ -634,6 +634,58 @@ </exec> </target> + <!-- + Compile jmsofficecomm library for Windows + - install tdm-gcc-64 for both 32 and 64 bit + - install the OCS 2007 SDK from: + http://www.microsoft.com/en-us/download/details.aspx?id=10176 + - compile the tlb: + cd src/native/windows/msofficecomm + midl "C:\Program Files (x86)\Microsoft Office Communicator\SDK\" + - run ant: + ant msofficecomm -DOCS2007SDK=<path here, escape \ with \\> -Darch=32 + ant msofficecomm -DOCS2007SDK=<path here, escape \ with \\> -Darch=64 + --> + <target + name="msofficecomm" + description="Build jmsofficecomm shared library for Windows" + if="is.running.windows" + depends="init-native"> + <fail message="OCS 2007 SDK not set!" unless="OCS2007SDK" /> + <cc + name="gcc" + objdir="${obj}" + outfile="${native_install_dir}/jmsofficecomm" + outtype="shared"> + <compilerarg value="-D_JNI_IMPLEMENTATION_" /> + <compilerarg value="-D_WIN32_WINNT=0x0502" /> + <compilerarg value="-DWINVER=0x0502" /> + <compilerarg value="-DUNICODE" /> + <compilerarg value="-D_UNICODE" /> + <compilerarg value="-I${system.JAVA_HOME}/include" /> + <compilerarg value="-I${system.JAVA_HOME}/include/win32" /> + <compilerarg value="-I${OCS2007SDK}" /> + <compilerarg value="-m32" if="cross_32" /> + <compilerarg value="-m64" if="cross_64" /> + <compilerarg value="-O2" /> + <compilerarg value="-Wall" /> + + <linkerarg value="-ojmsofficecomm.dll" /> + <linkerarg value="-m32" if="cross_32" /> + <linkerarg value="-m64" if="cross_64" /> + <linkerarg value="-Wl,--kill-at" /> + <linkerarg value="-Wl,--subsystem,windows" /> + <linkerarg value="-Wl,-Bstatic" location="end" if="is.running.windows" /> + <libset libs="advapi32, uuid, ole32, oleaut32, msi, stdc++" /> + + <fileset dir="${src}\native\windows\msofficecomm" includes="*.cxx" /> + </cc> + <exec executable="strip"> + <arg value="-x"/> + <arg value="${native_install_dir}/jmsofficecomm.dll"/> + </exec> + </target> + <!-- compile msoutlookaddrbookserver executable for Windows --> <target name="msoutlookaddrbookcomserver" |