Skip to content
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 dependencies #38

Merged
merged 3 commits into from
Jan 6, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 14 additions & 29 deletions started/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,18 @@ install:
title: Linux
source: linux
tab4:
name: rpi
title: Raspberry Pi
source: rpi
tab5:
name: bsd
title: BSD
source: bsd
tab6:
tab5:
name: android
title: Android
source: android
tab7:
tab6:
name: ios
title: iOS
source: ios
tab8:
tab7:
name: termux
title: Termux (create Android apk without PC - on Android)
source: termux
Expand Down Expand Up @@ -94,32 +90,23 @@ The MSYS2 is the recommended approach for working on windows, proceed as follows
<div id="install__linux" class="hidden">
<div style="text-align: left" markdown="1">

* 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`
* 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 and Raspberry Pi OS:**
`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 libXxf86vm-devel`
`sudo xbps-install -S go base-devel xorg-server-devel libXrandr-devel libXcursor-devel libXinerama-devel libXxf86vm-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`

</div>
</div>

<div id="install__rpi" class="hidden">
<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`
`nix-shell -p libGL pkg-config xorg.libX11.dev xorg.libXcursor xorg.libXi xorg.libXinerama xorg.libXrandr xorg.libXxf86vm libxkbcommon wayland`

</div>
</div>
Expand Down Expand Up @@ -193,10 +180,8 @@ Compiling Fyne apps on Android you will need Android 9 or above
clickTab("windows");
} else if (os == "MacIntel") {
clickTab("macos");
} else if (os == "Linux i686" || os == "Linux x86_64") {
} else if (os == "Linux i686" || os == "Linux x86_64" || os == "Linux armv7l" || os == "Linux armv8l") {
clickTab("linux");
} else if (os == "Linux armv7l") {
clickTab("rpi");
} else if (os == "FreeBSD i386" || os == "FreeBSD amd64" || os == "OpenBSD i386" || os == "OpenBSD amd64" || os == "NetBSD i386" || os == "NetBSD amd64") {
clickTab("bsd");
}
Expand Down