From a36e16e00d31741946aa6fb7a4f8110089baa48b Mon Sep 17 00:00:00 2001 From: Antoine Poinsot Date: Tue, 7 Mar 2023 13:34:52 +0100 Subject: [PATCH 1/2] ci: cleanup the GUI dependencies. --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 983aded9..cccad55d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -95,6 +95,6 @@ jobs: if: matrix.os == 'ubuntu-latest' run: | sudo apt-get update && - sudo apt-get install --allow-downgrades libudev-dev pkg-config libvulkan-dev && + sudo apt-get install libudev-dev libfontconfig1-dev && cd gui && cargo test --verbose --color always -- --nocapture From 87f54e147983ed3e0ef88b32895f7f9637495312 Mon Sep 17 00:00:00 2001 From: Antoine Poinsot Date: Tue, 7 Mar 2023 14:19:18 +0100 Subject: [PATCH 2/2] doc: cleanup GUI dependencies instructions --- doc/BUILD.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/doc/BUILD.md b/doc/BUILD.md index 2f992674..26bac029 100644 --- a/doc/BUILD.md +++ b/doc/BUILD.md @@ -78,14 +78,12 @@ $ ls target/release/ build deps examples incremental liana-cli liana-cli.d lianad lianad.d libliana.d libliana.rlib ``` -Depencies needed for build GUI can be found [there](https://github.com/wizardsardine/liana/tree/master/gui#dependencies) - -To build the GUI, do the same but in the [`gui/`](../gui/) folder present at the root of the -repository: +To build the GUI you'll need to first install its [build and runtime +dependencies](https://github.com/wizardsardine/liana/tree/master/gui#dependencies), then do the same +but in the [`gui/`](../gui/) folder present at the root of the repository: ``` $ cd gui/ $ cargo build --release $ ls target/release/ build deps examples incremental liana-gui liana-gui.d libliana_gui.d libliana_gui.rlib ``` -