2020-04-04 11:57:35 +13:00
|
|
|
# Contributing
|
|
|
|
|
2021-10-24 02:54:58 +13:00
|
|
|
1. Fork the [project](https://github.com/m1k1o/neko).
|
|
|
|
|
2021-11-28 02:23:33 +13:00
|
|
|
2. Navigate to [.docker/README.md](https://github.com/m1k1o/neko/tree/master/.docker) for further information.
|
2021-10-24 02:54:58 +13:00
|
|
|
|
|
|
|
3. Edit files in your branch.
|
|
|
|
|
|
|
|
4. Submit a pull request explaining the improvements.
|
2021-10-25 05:17:10 +13:00
|
|
|
|
|
|
|
## Server build dependencies
|
|
|
|
|
2024-02-10 11:49:11 +13:00
|
|
|
If you want to compile Golang code locally, you must install additional dependencies in order for it to compile.
|
2021-10-25 05:17:10 +13:00
|
|
|
|
|
|
|
```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/
|
|
|
|
```
|