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/ +```