-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Wayland deps to install commands #14
base: main
Are you sure you want to change the base?
Changes from all commits
43fa115
a270482
5e51074
922201a
6d39f9b
2e897cd
92b1768
d76b761
431a590
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -102,21 +102,23 @@ The steps for installing with MSYS2 (recommended) are as follows: | |
|
||
* You will need to install Go, gcc and the graphics library header files using your package manager, one of the following commands will probably work. | ||
* **Debian / Ubuntu:** | ||
`sudo apt-get install golang gcc libgl1-mesa-dev xorg-dev` | ||
`sudo apt-get install golang gcc libgl1-mesa-dev xorg-dev libxkbcommon-dev` | ||
* **Fedora:** | ||
`sudo dnf install golang golang-misc gcc libXcursor-devel libXrandr-devel mesa-libGL-devel libXi-devel libXinerama-devel libXxf86vm-devel` | ||
`sudo dnf install golang golang-misc gcc libXcursor-devel libXrandr-devel mesa-libGL-devel libXi-devel libXinerama-devel libXxf86vm-devel libxkbcommon-devel wayland-devel` | ||
* **Arch Linux:** | ||
`sudo pacman -S go xorg-server-devel libxcursor libxrandr libxinerama libxi` | ||
`sudo pacman -S go xorg-server-devel libxcursor libxrandr libxinerama libxi libxkbcommon` | ||
* **Solus:** | ||
`sudo eopkg it -c system.devel golang mesalib-devel libxrandr-devel libxcursor-devel libxi-devel libxinerama-devel` | ||
`sudo eopkg it -c system.devel golang mesalib-devel libxrandr-devel libxcursor-devel libxi-devel libxinerama-devel libxkbcommon-devel` | ||
* **openSUSE:** | ||
`sudo zypper install go gcc libXcursor-devel libXrandr-devel Mesa-libGL-devel libXi-devel libXinerama-devel libXxf86vm-devel` | ||
`sudo zypper install go gcc libXcursor-devel libXrandr-devel Mesa-libGL-devel libXi-devel libXinerama-devel libXxf86vm-devel libxkbcommon-devel` | ||
* **Void Linux:** | ||
`sudo xbps-install -S go base-devel xorg-server-devel libXrandr-devel libXcursor-devel libXinerama-devel` | ||
`sudo xbps-install -S go base-devel xorg-server-devel libXrandr-devel libXcursor-devel libXinerama-devel libxkbcommon-devel wayland-devel` | ||
* **Alpine Linux** | ||
`sudo apk add go gcc libxcursor-dev libxrandr-dev libxinerama-dev libxi-dev linux-headers mesa-dev` | ||
`sudo apk add go gcc libxcursor-dev libxrandr-dev libxinerama-dev libxi-dev linux-headers mesa-dev libxkbcommon-dev wayland-dev` | ||
* **NixOS** | ||
`nix-shell -p libGL pkg-config xorg.libX11.dev xorg.libXcursor xorg.libXi xorg.libXinerama xorg.libXrandr xorg.libXxf86vm` | ||
`nix-shell -p libGL pkg-config xorg.libX11.dev xorg.libXcursor xorg.libXi xorg.libXinerama xorg.libXrandr xorg.libXxf86vm libxkbcommon wayland` | ||
|
||
**NOTE:** Some Wayland compositors (Gnome's compositor Mutter etc.) do not support server side decorations resulting in Fyne applications showing up without window borders. Installing `libdecor` should solve these issues. | ||
|
||
</div> | ||
</div> | ||
|
@@ -125,7 +127,9 @@ The steps for installing with MSYS2 (recommended) are as follows: | |
<div style="text-align: left" markdown="1"> | ||
|
||
* You will need to install Go, gcc and the graphics library header files using the package manager. | ||
* `sudo apt-get install golang gcc libegl1-mesa-dev xorg-dev` | ||
* `sudo apt-get install golang gcc libegl1-mesa-dev xorg-dev libxkbcommon-dev` | ||
|
||
**NOTE:** Some Wayland compositors (Gnome's compositor Mutter etc.) do not support server side decorations resulting in Fyne applications showing up without window borders. Installing `libdecor` should solve these issues. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Raspberry Pi now uses Wayfire which seems to support server side rendering. So this should not be needed. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes but you can also install something like Ubuntu 24.04 om Raspberry Pi and that ides Gnome. Maybe the RPi tab (which just checks arm64 right?) needs to be updated with more distribution options? |
||
|
||
</div> | ||
</div> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a runtime and not a compile-time issue so I'm not sure it belongs here. Or maybe it does but should also appear in the troubleshooting page?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From what I can tell, it is a bit of both. You can install it either at compile time or runtime. I have a vague recollection that I got better borders with
-devel
packages than just using it at runtime but I'll check. Adding it to troubleshooting is a good idea but I think it is worth having here as well.