Skip to content

Commit

Permalink
docs(development): link to Fyne docs for dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuar committed Nov 22, 2023
1 parent 7098861 commit 93d55cd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/postCreate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ sudo apt -y update

# Install go-hass-agent dependencies
export DEBIAN_FRONTEND=noninteractive && \
sudo apt -y install libgl1-mesa-dev libxi-dev libxcursor-dev libxrandr-dev libxinerama-dev libxxf86vm-dev dbus-x11 desktop-file-utils fish
sudo apt -y install gcc libgl1-mesa-dev xorg-dev dbus-x11 desktop-file-utils fish
cd /workspaces/go-hass-agent && go mod download

# Install goreleaser
Expand Down
21 changes: 3 additions & 18 deletions docs/development/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,25 +24,10 @@ go install golang.org/x/text/cmd/gotext@latest
go install github.com/matryer/moq@latest
```

The Fyne UI toolkit that is used by Go Hass Agent also requires some development libraries installed:
The Fyne UI toolkit that is used by Go Hass Agent also requires some development
libraries installed. See the [Fyne prerequisites](https://developer.fyne.io/started/#prerequisites)
documentation for what you need to install.

For Red Hat/RPM distributions:

- `libglvnd-glx`
- `libX11`
- `libXrandr`
- `libXxf86vm`
- `libXi`
- `libXcursor`
- `libXinerama`

For Debian/DEB distributions:

- `libgl1`
- `libxi6`
- `libxcursor1`
- `libxrandr2`
- `libxinerama1`

## Development Environment

Expand Down

0 comments on commit 93d55cd

Please sign in to comment.