F7_recording/opt/f7cloud-talk-recording-src/docs/building.md

1.7 KiB

Building

Prerequisites

The main branch of the Nextcloud Talk Recording Server repository is needed to build packages and should be cloned. Currently the recording server in the main branch is backwards compatible with previous Talk releases, so the latest version from the main branch is expected to be used.

System packages

Distribution packages are supported for the following GNU/Linux distributions:

  • Debian 11
  • Ubuntu 20.04
  • Ubuntu 22.04

They can be built on those distributions by calling make in the recording/packaging directory of the git sources. Nevertheless, the Makefile assumes that the build dependencies have been already installed in the system. Therefore it is recommended to run build.sh in the recording/packaging directory, which will create Docker containers with the required dependencies and then run make inside them. Alternatively the dependencies can be checked under Installing required build dependencies in build.sh and manually installed in the system. Using build.sh the packages can be built for those target distributions on other distributions too.

The built packages can be found in recording/packaging/build/{DISTRIBUTION-ID}/{PACKAGE-FORMAT}/ (even if they were built inside the Docker containers using build.sh). They include the recording server itself (nextcloud-talk-recording) as well as the Python3 dependencies that are not included in the repositories of the distributions. Note that the built dependencies change depending on the distribution type and version.