Skip to content

savoirfairelinux/jami-project

Repository files navigation

jami-project

This repository is the master repository for Jami. It contains a build script, build.py, that can be used to build and install Jami from source on different platforms.

More documentation can be found on http://docs.jami.net. You may also build the documentation with make docs. The documentation will be built in docs/build/html.

Using build.py

Dependencies

The Jami installer uses python3. Please make sure it is installed before running it.

Initialize the repositories

./build.py --init

It initializes and updates the submodules to set them at the top of their master branch. This is ideal to have the latest development version.

However, in order to build a specific version of Jami, such as the Production one, please use

git submodule update --init

On Linux

  1. Build and install all the dependencies:
./build.py --dependencies

Your distribution's package manager will be used. Adding the -y flag will install the dependencies non-interactively (assumes yes at all prompts).

  1. Build and install locally under this repository:
./build.py --install
  1. Run daemon and client that were installed locally:
./build.py --run

You can then stop the processes with CTRL-C.

You can also run them in the background with the --background argument and then use the --stop command to stop them. Stdout and stderr go to daemon.log and client-gnome.log.

Install globally for all users instead

./build.py --install --global-install

Run global install:

jami-gnome

This already starts the daemon automatically for us.

Uninstall the global install:

./build.py --uninstall

On OSX

You need to setup Homebrew (<http://brew.sh/>) since their is no built-in package manager on OSX.

Build and install all the dependencies:

./build.py --dependencies

Build and install locally under this repository:

./build.py --install

Output

You can find the .app file in the ./install/client-macosx folder.

On Android

Please make sure you have the Android SDK and NDK installed, and that their paths are properly set. For further information, please visit <https://git.jami.net/savoirfairelinux/jami-client-android>

Build and install locally under this repository:

./build.py --install --distribution=Android

Output

You can find the .apk file in the ./client-android/ring-android/app/build/outputs