From a5adca13999dc128e73887007e2f13289067d912 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Sun, 24 Oct 2021 18:17:10 +0200 Subject: [PATCH] docs: Server build dependencies. --- docs/contributing.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/docs/contributing.md b/docs/contributing.md index c7c2ab3..45b80dd 100644 --- a/docs/contributing.md +++ b/docs/contributing.md @@ -7,3 +7,21 @@ 3. Edit files in your branch. 4. Submit a pull request explaining the improvements. + +## Server build dependencies + +If you want to compile goalng code locally, you must install additional dependencies in order for it to compile. + +```shell +apt-get install -y --no-install-recommends libx11-dev libxrandr-dev libxtst-dev libgstreamer1.0-dev +``` + +Libclipboard files can be retrieved from `neko_dev_server` container: + +```shell +mkdir -p /usr/local/lib/pkgconfig/ /usr/local/include/ +docker cp neko_dev_server:/usr/local/lib/libclipboard.a /usr/local/lib/ +docker cp neko_dev_server:/usr/local/lib/pkgconfig/libclipboard.pc /usr/local/lib/pkgconfig/ +docker cp neko_dev_server:/usr/local/include/libclipboard-config.h /usr/local/include/ +docker cp neko_dev_server:/usr/local/include/libclipboard.h /usr/local/include/ +```