Is it possible to crosscompile itgui? #23
Labels
No Label
Bug
Cantfix
Duplicate
Enhancement
External
Help Wanted
In Progress
Invalid
Question
Waiting
Waiting For Info
Waiting for Upstream
Wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Elara6331/itd#23
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Is it possible to compile itgui for the PinePhone?
I tried to crosscompile with
The output of the last command is
I also tried to compile itgui in the PinePhone without luck.
itgui
is much more difficult to cross-compile thanitd
anditctl
. 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.Thank you. I finally got it to compile in the Pinephone.
I needed to install
sudo apk add xorg-server-dev
, and after that I had to wait for the go compiler to finish without any feedback...If you want I can try to package itd and itgui for alpinelinux.