No description
Find a file
2018-06-06 09:28:59 +02:00
.tx
build Remove dummy URI from the setting file of lp-autoanswer daemon 2018-04-23 09:11:34 +02:00
cmake fix FindSoci.cmake 2017-08-23 11:56:50 +02:00
console Fix build with Clang 6.0. 2018-05-24 15:01:54 +02:00
coreapi Fix issue where remote ring is not heard during an outgoing call, if previously an incoming call has been declined. 2018-05-30 17:38:11 +02:00
daemon fix(linphone): supports gcc 8 2018-05-24 15:50:01 +02:00
gtk Add estimated download bandwith stat for video calls 2017-09-11 14:45:00 +02:00
include Fix message retrieved from history being converted to UTF-8 twice 2018-05-29 17:18:20 +02:00
intl
java Check account creator native ptr before unref in Java wrapper 2018-04-26 10:18:13 +02:00
m4
pixmaps Rework chat handling. 2017-01-31 12:25:12 +01:00
po fix make distcheck 2017-02-01 14:22:12 +01:00
scripts add mk-ca-bundle.pl to Makefile.am 2016-12-20 21:58:34 +01:00
share add sip/sip-linphone mimeType 2017-06-07 17:36:36 +02:00
src Removing useless file 2017-09-21 17:13:39 +02:00
tester fix(tester): avoid empty tests array in call_video_tester when video is not enabled 2018-05-25 10:46:47 +02:00
tools Makes lpconfig_items.py to support both python 2 and 3. 2018-05-09 14:23:30 +02:00
wrappers Fixing csharp wrapper 2018-03-12 13:56:58 +01:00
.clang-format
.cproject
.git-pre-commit
.gitignore Updating gitignore 2017-09-11 09:23:00 +02:00
.project
ABOUT-NLS
AUTHORS
autogen.sh
BUGS
ChangeLog
CMakeLists.txt Turns ENABLE_SPHINX_DOC option into conditional option 2017-10-27 16:50:05 +02:00
config.h.cmake Handle check for update. 2017-06-05 15:47:37 +02:00
config.rpath
configure.ac Fix make distcheck 2017-06-28 11:13:23 +02:00
COPYING
gen-gtkfilelist.sh
gtk+-2.16.2.filelist
gtk+-2.16.6.filelist
gtk+-2.18.5.filelist
gtk+-2.22.1.filelist
gtk+-2.24.8.filelist
linphone-deps.filelist
linphone.iss.in
linphone.spec.in Remove lp-gen-wrapper from the RPM spec file 2017-04-07 09:08:36 +02:00
Makefile.am Rename README into README.md 2017-02-24 14:48:52 +01:00
NEWS update version in CmakeLists.txt 2017-07-21 09:36:30 +02:00
README.arm
README.M68k.txt
README.macos.md
README.md Update README.md 2018-06-06 09:28:59 +02:00
README.mingw
stamp-h.in
TODO

pipeline status

liblinphone

This is liblinphone, a free (GPL) video voip library based on the SIP protocol.

This library is used by Linphone. It's source code is available at linphone-desktop[1].

Building liblinphone

Required dependencies

  • BcToolbox[2]: portability layer
  • BelleSIP[3]: SIP stack
  • Mediastreamer2[4]: multimedia engine
  • Belcard[5]: VCard support
  • libxml2
  • zlib
  • libsqlite3: user data storage (disablable)
  • gettext and libintl: internationalization support (disablable)

Opitonal dependencies

  • Bzrtp[6]: zrtp stack used for Linphone Instant Messaging Encryption

Build instructions

cmake . -DCMAKE_INSTALL_PREFIX=<prefix> -DCMAKE_PREFIX_PATH=<search_prefixes>

make
make install

Supported build opitons

  • CMAKE_INSTALL_PREFIX=<string> : install prefix
  • CMAKE_PREFIX_PATH=<string> : column-separated list of prefixes where to search for dependencies
  • ENABLE_SHARED=NO : do not build the shared library
  • ENABLE_STATIC=NO : do not build the static library
  • ENABLE_STRICT=NO : build without strict compilation flags (-Wall -Werror)
  • ENABLE_DOC=NO : do not generate the reference documentation of liblinphone
  • ENABLE_UNIT_TESTS=NO : do not build testing binaries
  • ENABLE_VCARD=NO : disable VCard support
  • ENABLE_SQLITE_STORAGE=NO : disable SQlite user data storage (message, history, contacts list)
  • ENABLE_TOOLS=NO : do not build tool binaries
  • ENABLE_NLS=NO : disable internationalization
  • ENABLE_LIME=YES : disable Linphone Instant Messaging Encryption

Note for packagers

Our CMake scripts may automatically add some paths into research paths of generated binaries. To ensure that the installed binaries are striped of any rpath, use -DCMAKE_SKIP_INSTALL_RPATH=ON while you invoke cmake.

Rpm packaging liblinphone can be generated with cmake3 using the following command: mkdir WORK cd WORK cmake3 ../ make package_source rpmbuild -ta --clean --rmsource --rmspec liblinphone--.tar.gz

Notes for developers

Here is a short description of the content of the source tree.

  • coreapi/ is the central point of linphone, which handles relationship between sip signalisation and media streaming. It contains an easy to use api to create a sip phone.

  • console/

    • linphonec.c is the main file for the console version of linphone.
    • sipomatic.c / sipomatic.h contains the code for sipomatic, the test program that auto-answer to linphone calls.
    • shell.c (program name: linphonecsh) is a small utilities to send interactive commands to a running linphonec daemon.
  • share/ contains translation, documentation, rings and hello sound files.