kopete-mediastreamer-4.3.patch 4.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. diff --git a/CMakeLists.txt b/CMakeLists.txt
  2. index 55556be4a..8e63c2cee 100644
  3. --- a/CMakeLists.txt
  4. +++ b/CMakeLists.txt
  5. @@ -92,8 +92,8 @@ set_package_properties(Libgadu PROPERTIES DESCRIPTION "A library providing suppo
  6. find_package(LibMeanwhile QUIET)
  7. set_package_properties(LibMeanwhile PROPERTIES DESCRIPTION "A library for protocol support for connection to sametime servers" URL "http://meanwhile.sourceforge.net/" TYPE OPTIONAL PURPOSE "Required for the meanwhile protocol")
  8. -find_package(LiboRTP QUIET)
  9. -set_package_properties(LiboRTP PROPERTIES DESCRIPTION "oRTP provides an API to send rtp packets" URL "http://www.linphone.org/index.php/eng/code_review/ortp/" TYPE OPTIONAL PURPOSE "Required for the Jabber protocol with libjingle support")
  10. +find_package(ortp QUIET)
  11. +set_package_properties(ortp PROPERTIES DESCRIPTION "oRTP provides an API to send rtp packets" URL "http://www.linphone.org/index.php/eng/code_review/ortp/" TYPE OPTIONAL PURPOSE "Required for the Jabber protocol with libjingle support")
  12. find_package(LibOTR QUIET)
  13. set_package_properties(LibOTR PROPERTIES DESCRIPTION "Library to encrypt messages with off-the-record encryption" URL "http://www.cypherpunks.ca/otr/" TYPE OPTIONAL PURPOSE "Required for the OTR plugin")
  14. @@ -107,8 +107,8 @@ set_package_properties(LibXml2 PROPERTIES DESCRIPTION "Libraries used to develop
  15. find_package(LibXslt QUIET)
  16. set_package_properties(LibXslt PROPERTIES DESCRIPTION "A library to transform XML files into other XML files" URL "http://www.xmlsoft.org/XSLT/" TYPE OPTIONAL PURPOSE "Required for the Webpresence plugin")
  17. -find_package(Mediastreamer QUIET)
  18. -set_package_properties(Mediastreamer PROPERTIES DESCRIPTION "A streaming enginer specialized for voice/video telephony applications" URL "http://www.linphone.org/index.php/eng/code_review/mediastreamer2/" TYPE OPTIONAL PURPOSE "Required for the Jabber protocol with libjingle support")
  19. +find_package(Mediastreamer2 QUIET)
  20. +set_package_properties(Mediastreamer2 PROPERTIES DESCRIPTION "A streaming enginer specialized for voice/video telephony applications" URL "http://www.linphone.org/index.php/eng/code_review/mediastreamer2/" TYPE OPTIONAL PURPOSE "Required for the Jabber protocol with libjingle support")
  21. find_package(OpenSSL QUIET)
  22. set_package_properties(OpenSSL PROPERTIES DESCRIPTION "OpenSSL implementation of SSL" URL "https://www.openssl.org/" TYPE OPTIONAL PURPOSE "Required for the Jabber protocol with libjingle support")
  23. diff --git a/protocols/CMakeLists.txt b/protocols/CMakeLists.txt
  24. index 89d36a4e4..5f13ff9d9 100644
  25. --- a/protocols/CMakeLists.txt
  26. +++ b/protocols/CMakeLists.txt
  27. @@ -22,7 +22,7 @@ option(WITH_skype "Enable Kopete Skype protocol" ON)
  28. set(BUILD_JINGLE FALSE)
  29. if(OPENSSL_FOUND OR WIN32)
  30. - if(EXPAT_FOUND AND LIBORTP_FOUND AND SRTP_FOUND AND JSONCPP_FOUND AND MEDIASTREAMER_FOUND AND WITH_libjingle)
  31. + if(EXPAT_FOUND AND ORTP_FOUND AND SRTP_FOUND AND JSONCPP_FOUND AND MEDIASTREAMER2_FOUND AND WITH_libjingle)
  32. message(STATUS "Building jabber libjingle support")
  33. set(BUILD_LIBJINGLE TRUE)
  34. else()
  35. diff --git a/protocols/jabber/libjingle/CMakeLists.txt b/protocols/jabber/libjingle/CMakeLists.txt
  36. index af7c1c3af..de7596615 100644
  37. --- a/protocols/jabber/libjingle/CMakeLists.txt
  38. +++ b/protocols/jabber/libjingle/CMakeLists.txt
  39. @@ -286,8 +286,8 @@ set ( call_LIBS
  40. ${SRTP_LIBRARY}
  41. ${JSONCPP_LIBRARY}
  42. ${EXPAT_LIBRARY}
  43. - ${MEDIASTREAMER_LIBRARIES}
  44. - ${LIBORTP_LIBRARY}
  45. + ${MEDIASTREAMER2_LIBRARIES}
  46. + ${ORTP_LIBRARIES}
  47. ${CMAKE_THREAD_LIBS_INIT}
  48. ${CMAKE_DL_LIBS}
  49. )
  50. diff --git a/protocols/jabber/libjingle/talk/session/phone/linphonemediaengine.cc b/protocols/jabber/libjingle/talk/session/phone/linphonemediaengine.cc
  51. index bd11027e0..6f9e05a0a 100644
  52. --- a/protocols/jabber/libjingle/talk/session/phone/linphonemediaengine.cc
  53. +++ b/protocols/jabber/libjingle/talk/session/phone/linphonemediaengine.cc
  54. @@ -34,11 +34,9 @@
  55. #ifdef HAVE_LINPHONE
  56. // LinphoneMediaEngine is a Linphone implementation of MediaEngine
  57. -extern "C" {
  58. #include <mediastreamer2/mediastream.h>
  59. #include <mediastreamer2/mssndcard.h>
  60. #include <mediastreamer2/msfilter.h>
  61. -}
  62. #include "talk/session/phone/linphonemediaengine.h"
  63. diff --git a/protocols/jabber/libjingle/talk/session/phone/linphonemediaengine.h b/protocols/jabber/libjingle/talk/session/phone/linphonemediaengine.h
  64. index 6105ab8cb..f5b5c3b14 100644
  65. --- a/protocols/jabber/libjingle/talk/session/phone/linphonemediaengine.h
  66. +++ b/protocols/jabber/libjingle/talk/session/phone/linphonemediaengine.h
  67. @@ -35,9 +35,7 @@
  68. #include <string>
  69. #include <vector>
  70. -extern "C" {
  71. #include <mediastreamer2/mediastream.h>
  72. -}
  73. #include "talk/base/scoped_ptr.h"
  74. #include "talk/session/phone/codec.h"