No description
Find a file
2018-02-14 18:11:27 +01:00
assets fix(Cli): cli syntax modified for english language 2017-09-07 10:21:01 +02:00
cmake_builder fix(Info.plist): correct an error 2017-08-18 16:52:14 +02:00
src Adjusts Linphone Qt's code to fit the new API of Liblinphone 2018-02-06 13:54:13 +01:00
submodules Update linphone submodule. 2018-02-14 18:11:27 +01:00
tools fix(check_qml_syntax): exit 0 if qmllint is not available! 2017-08-17 11:34:44 +02:00
ui Prepared audio mute button in incall view 2017-09-18 10:59:42 +02:00
.gitignore Fix .gitignore. 2017-06-15 17:02:26 +02:00
.gitmodules add soci submodule 2017-08-16 11:51:52 +02:00
CHANGELOG.md feat(SettingsSipAccountsEdit): deal with errors 2017-07-19 16:19:00 +02:00
CMakeLists.txt chore(CMakeLists.txt): fix messages-count-notifier headers on Windows 2017-08-09 16:06:51 +02:00
config.h.cmake feat(app): remove linphone-desktop subfolder 2017-06-14 18:05:18 +02:00
LICENSE chore(LICENSE): add GPLv2 license 2017-06-15 00:47:32 +02:00
prepare.py Fix prepare.py 2017-09-15 09:18:57 +02:00
README.md chore(README.md): update issue description on 4K (Windows) 2017-08-16 14:13:23 +02:00
readme_screen.png feat(README.md): provide a new readme screen 2017-06-15 23:31:18 +02:00
resources.qrc feat(Call): add 2 sliders to set speaker/micro volume in media parameters popup 2017-08-07 12:24:45 +02:00

Linphone Desktop

screenshot

Linphone is a free VoIP and video softphone based on the SIP protocol.

Getting started

Here are the general instructions to build linphone for desktop. The specific instructions for each build platform is described just below.

  1. Install some build tools: CMake, Python and Qt5 (5.9 or newer).

  2. It's necessary to set the environment variable Qt5_DIR to point to the path containing the cmake folders of Qt5. Example:

     Qt5_DIR="~/Qt/5.9/gcc_64/lib/cmake"
    
  3. The PATH environment variable must point to the Qt5 directory bin. Example:

     PATH="~/Qt/5.9/gcc_64/bin/:$PATH"
    
  4. Prepare the build by running the prepare.py script.

  5. Build the project using the appropriate build tool (make, ninja, Xcode, Visual Studio (2013 or 2015 version)).

Specific instructions for the GNU/Linux and Mac OS X platforms

  1. Prepare the build in a terminal by running the following command in the current directory:

     ./prepare.py
    
  2. Build the project in a terminal with:

     make
    

Specific instructions for the Windows platform

  1. Ensure that you have downloaded the Qt msvc2015 version (32-bit). (64-bit version is not supported at this moment by Linphone Desktop.) MinGW must be installed too.

  2. Define the Qt5_DIR and PATH environment variable to the Qt5 installation path:

     Qt5_DIR="C:\Qt\5.9\msvc2015\lib\cmake"
     PATH="C:\Qt\5.9\msvc2015\bin;%PATH%"
    
  3. Open a Windows command line (cmd.exe) in the current directory and run:

     python prepare.py
    
  4. Open the generated Visual Studio solution Project.sln.lnk and build it.

Known bugs and issues

Customizing your build

Some options can be given during the prepare.py step to customize the build. The basic usage of the prepare.py script is:

    ./prepare.py [options]

Here are the main options you can use.

Building with debug symbols

Building with debug symbols is necessary if you want to be able to debug the application using some tools like GDB or the Visual Studio debugger. To do so, pass the --debug option to prepare.py:

    ./prepare.py --debug [other options]

Generating an installation package (on Windows and Mac OS X platforms)

You might want to generate an installation package to ease the distribution of the application. To add the package generation step to the build just run:

    ./prepare.py --package [other options]

Activate the build of all codecs

    ./prepare.py --all-codecs

Using more advanced options

The prepare.py script is wrapper around CMake. Therefore you can give any CMake option to the prepare.py script. To get a list of the options you can pass, you can run:

    ./prepare.py --list-cmake-variables

The options that enable you to configure what will be built are the ones beginning with ENABLE_. So for example, you might want to build linphone without the opus codec support. To do so use:

    ./prepare.py -DENABLE_OPUS=NO

Updating your build

Simply re-building using the appropriate tool corresponding to your platform (make, Visual Studio...) should be sufficient to update the build (after having updated the source code via git). However if the compilation fails, you may need to rebuild everything from scratch using:

    ./prepare.py -c && ./prepare.py [options]

Then you re-build as usual.

License

GPLv2 © Linphone