From 088d30acd7265ee47a1d342f33f0865d4c1a6ab3 Mon Sep 17 00:00:00 2001 From: Ribbon <55782009+hardBSDk@users.noreply.github.com> Date: Sun, 20 Oct 2024 19:51:04 -0300 Subject: [PATCH 1/2] Fix and improve the Linux build instructions --- linux/BUILDING.md | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/linux/BUILDING.md b/linux/BUILDING.md index 4d69f16af..253e01483 100644 --- a/linux/BUILDING.md +++ b/linux/BUILDING.md @@ -1,17 +1,21 @@ # Building and installing SonoBus on GNU/Linux + Follow these steps in order to build (and install) SonoBus on GNU/Linux. ### Installing build dependencies + To build SonoBus you'll need to install the necessary development dependencies. -If you're using Debian or a Debian-based distro like Ubuntu, run this script: +If you're using Debian or Ubuntu, run this script: + ``` -./deb_get_prereqs.sh +linux/deb_get_prereqs.sh ``` -On Fedora run this script: +If you're using Fedora, run this script: + ``` -./fedora_get_prereqs.sh +linux/fedora_get_prereqs.sh ``` On other distros you'll have to install the following development packages manually through your package manager: @@ -32,22 +36,26 @@ On other distros you'll have to install the following development packages manua ### Building Run the build script, both the standalone application and the VST3 plugin will be built: + ``` -./build.sh +linux/build.sh ``` ### Installing When the build finishes, the executable will be at `../build/SonoBus_artefacts/Release/sonobus`. You can install it and the VST3 plugins by running the install script: + ``` -sudo ./install.sh +sudo linux/install.sh ``` + It defaults to installing in /usr/local, but if you want to install it elsewhere, just specify the base directory as the first argument on the commandline of the script. ### Uninstalling If you wish to uninstall you can run the uninstall script: + ``` -sudo ./uninstall.sh +sudo linux/uninstall.sh ``` From 09c57fbf19c2b625953d62d1520e65cae096e4c4 Mon Sep 17 00:00:00 2001 From: Ribbon <55782009+hardBSDk@users.noreply.github.com> Date: Sun, 20 Oct 2024 21:17:56 -0300 Subject: [PATCH 2/2] Revert the change on commands and add a section to explain how to open the "linux" folder --- linux/BUILDING.md | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/linux/BUILDING.md b/linux/BUILDING.md index 253e01483..281d13fcd 100644 --- a/linux/BUILDING.md +++ b/linux/BUILDING.md @@ -2,6 +2,12 @@ Follow these steps in order to build (and install) SonoBus on GNU/Linux. +### Open the `linux` folder + +``` +cd linux +``` + ### Installing build dependencies To build SonoBus you'll need to install the necessary development dependencies. @@ -9,13 +15,13 @@ To build SonoBus you'll need to install the necessary development dependencies. If you're using Debian or Ubuntu, run this script: ``` -linux/deb_get_prereqs.sh +./deb_get_prereqs.sh ``` If you're using Fedora, run this script: ``` -linux/fedora_get_prereqs.sh +./fedora_get_prereqs.sh ``` On other distros you'll have to install the following development packages manually through your package manager: @@ -38,7 +44,7 @@ On other distros you'll have to install the following development packages manua Run the build script, both the standalone application and the VST3 plugin will be built: ``` -linux/build.sh +./build.sh ``` ### Installing @@ -47,7 +53,7 @@ When the build finishes, the executable will be at and the VST3 plugins by running the install script: ``` -sudo linux/install.sh +sudo ./install.sh ``` It defaults to installing in /usr/local, but if you want to install it @@ -57,5 +63,5 @@ elsewhere, just specify the base directory as the first argument on the commandl If you wish to uninstall you can run the uninstall script: ``` -sudo linux/uninstall.sh +sudo ./uninstall.sh ```