From 318d42545c74f4576c59e00818ca9b786688ec99 Mon Sep 17 00:00:00 2001 From: Romain Failliot Date: Sun, 3 Apr 2022 19:13:27 -0400 Subject: [PATCH 1/2] Add instructions to install Diffuse locally --- docs/developers.md | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/docs/developers.md b/docs/developers.md index 8fcceb9..2d3fead 100644 --- a/docs/developers.md +++ b/docs/developers.md @@ -75,14 +75,32 @@ flatpak remove io.github.mightycreak.Diffuse Diffuse build system is meson. -To install diffuse locally: +To compile and test Diffuse: ```sh meson setup build cd build meson compile meson test +``` + +To install Diffuse on your system (e.g. `/usr/local/`): + +```sh meson install # requires admin privileges + +# Run Diffuse +diffuse +``` + +To install Diffuse on a custom directory (e.g. `~/bin/diffuse`): + +```sh +meson install --destdir ~/bin/diffuse + +# Run Diffuse +cd ~/bin/diffuse/usr/local/bin +PYTHONPATH=$HOME/bin/diffuse/usr/local/share/diffuse ./diffuse ``` To uninstall diffuse afterwards: From 671c439bcdbc4e84f73ef9feb451aed72a24968f Mon Sep 17 00:00:00 2001 From: Romain Failliot Date: Sun, 3 Apr 2022 19:21:58 -0400 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f876b78..a1207ea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Added a `--remove-obsolete` option for the update-translation.py script - Added links to VCSs in README.md - New keyword in config file: "option" +- Added instructions to install and run from a custom directory ### Changed - Updated the translation files