Is it possible to crosscompile itgui?
Is it possible to compile itgui for the PinePhone?
I tried to crosscompile with
export GOOS=linux GOARCH=arm64 make clean make go build ./cmd/itgui
The output of the last command is
package go.arsenm.dev/itd/cmd/itgui imports fyne.io/fyne/v2/app imports fyne.io/fyne/v2/internal/driver/glfw imports fyne.io/fyne/v2/internal/driver/common imports fyne.io/fyne/v2/internal/painter/gl imports github.com/go-gl/gl/v3.1/gles2: build constraints exclude all Go files in /email@example.com/v3.1/gles2
I also tried to compile itgui in the PinePhone without luck.
itgui is much more difficult to cross-compile than
itctl. It is possible theoretically, but would require a lot more work since Fyne depends on C libraries. You should be able to do so by following the instructions here: https://developer.fyne.io/started/cross-compiling.
On the PinePhone it should compile (though it will take a while), as long as you have the prerequisites listed here installed: https://developer.fyne.io/started/#prerequisites.
I cannot do anything to make it easier unfortunately, as there is no way to make a pure Go GUI. If there was, I'd use it, but unfortunately, it doesn't exist.
I am closing this issue since it isn't something I can fix. Thank you.
Also, I forgot to say: If you're going to be using
itgui on PinePhone, you probably want to follow this issue on Github: https://github.com/fyne-io/fyne/issues/2721. Fyne is currently not great with mobile Linux, though this is being worked on. Some features will work, but not all.
Deleting a branch is permanent. It CANNOT be undone. Continue?