From 2d42a4f65f5dd91a20c7195c21109c3f536f9fc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Devernay?= Date: Mon, 21 May 2018 09:27:59 +0200 Subject: [PATCH] INSTALL_LINUX.md: update with Natron SDK instructions --- INSTALL_LINUX.md | 29 +++++++++++++++++++++++------ 1 file changed, 23 insertions(+), 6 deletions(-) diff --git a/INSTALL_LINUX.md b/INSTALL_LINUX.md index 1dea3e710a..8692186869 100644 --- a/INSTALL_LINUX.md +++ b/INSTALL_LINUX.md @@ -23,17 +23,33 @@ Natron on GNU/Linux. - [CentOS7/Fedora](#centos7) -# Libraries +# Dependencies -***note:*** *The scripts `tools/travis/install_dependencies.sh` and -`tools/travis/build.sh` respectively install the correct dependencies -and build Natron and the standard set of plugins on Ubuntu -12.04. These scripts should always be up-to-date. You can use them as a reference* +The dependencies necessary to build and install Natron can either be built specifically for Natron, using the Natron SDK, or installed using packages from the Linux distribution. + +## Installing the full Natron SDK + +The Natron SDK is used for building the official Natron binaries. The script that builds the whole SDK and installs it in the default location (`/opt/Natron-sdk`, which must be user-writable) can be exectuted like this: + + cd tools/jenkins + include/scripts/build-Linux-sdk.sh + +It puts build logs and the list of files installed by each package in the directory `/opt/Natron-sdk/var/log/Natron-Linux-x86_64-SDK` or `/opt/Natron-sdk/var/log/Natron-Linux-i686-SDK`. + +Some packages, especially Qt 4.8.7, have Natron-specific patches. Take a look at the SDK script to see which patches are applied to each packages, and what configuration options are used. -## Install libraries +The SDK may be updated by pulling the last modifications to the script and re-executing it. + + +## Manually install dependencies In order to have Natron compiling, first you need to install the required libraries. +***note:*** *The scripts `tools/travis/install_dependencies.sh` and +`tools/travis/build.sh` respectively install the correct dependencies +and build Natron and the standard set of plugins on Ubuntu +14.04. These scripts should always be up-to-date. You can use them as a reference* + ### Qt 4.8.7 You'll need to install Qt4 libraries, usually you can get them from your package manager (depends on your distribution). @@ -243,6 +259,7 @@ expat: LIBS += -lexpat expat: PKGCONFIG -= expat cairo: PKGCONFIG -= cairo ``` + ## CentOS7 Instructions for CentOS and Fedora.