-
-
Notifications
You must be signed in to change notification settings - Fork 114
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
Appimage support #579
Appimage support #579
Conversation
Thanks @Murmele for adding an AppImage. As for which tools to use, I'd probably use https://github.com/probonopd/go-appimage/tree/master/src/appimagetool myself, but mainly because I wrote this one and am not as familiar with all the other options. There are many great options out there: Which one works best for your application and workflow I don't know, maybe you'd like to try out a few and then decide? |
@probonopd thank you for the proposal. I tried out appimage tool, but the application panicked:
If you need more information, see latest ci build |
@Murmele you do not need linuxdeployqt, AppImageKit's appimagetool nor patchelf (the latter somes with go-appimage's appimagetool). Actually this is all it takes; the following works for me on Ubuntu 20.04.6 LTS:
For AppImageUpdate to work, don't forget to upload both generated files to GitHub Releases. Here you see the AppImage running: |
Hi @probonopd . thank you I will try it out! |
On https://github.com/probonopd/Gittyup/releases there is an AppImage built on GitHub Releases like this: There is one remaining issue that can probably only be fixed by editing the source code:
Where is it compiled into?
That needs to be changed. |
Hi @probonopd, thank you for the CI setup! I installed your appimage: I found the problem in my build. I set QT_DIR but your tool is searching for QTDIR.
|
Interesting! Are you sure you used the AppImage from https://github.com/probonopd/Gittyup/releases? This is the strace output: I will retry it on a CentOS 7.8 Live ISO. |
For now, remove the AppStream metainfo file and see if it builds then. We can sort out the AppStream file later. |
Sorry. I tested again and now on Arch it works (without considering the LUA problem). |
This is an interesting problem. On a CentOS 7.8 Live ISO, when I extract the AppImage and then run The kernel on CentOS 7.8 is 3.10.0, this is a reeeeally old kernel. Inspecting What kernel version are you using? |
RHEL7.9 has 3.10.0 as kernel version I tried no my version of the appimage and I get (On an up to date Arch Linux)
|
It seems that the kernel is too old to run that build of Qt.
What does |
Yes your build is working fine. The problem with the PANIC seems to be that the qt applicationDirPath() does not direct to the gittyup executable, but to the linux-ld lib Because of this all other paths (themes, config, plugins, ...) are wrong and therefore Lua panics, because it cannot find the required files |
That is an unintended side effect of using And I have one more idea, but I need to test that one first... |
Tested this locally, seems to be working: This way you can use The next build of my AppImage should contain the fix. Maybe I will change go-appimage |
My AppImage now works properly (on systems with Linux kernel 3.17.0 and newer). If you need this to work on older kernels, we need to find/build another Qt. |
Great :D I am waiting until the ci is finished and then I hope I can say the same thing :) Which qt version is available on CentOS? I will try it on RHEL7.9 |
Apparently Qt 5.9.7. But I have another idea, let me try. |
Oh thats low. On Arch my build works now as well. Thank you very much. Now the easy part of cleaning up is missing ^^ |
c261bdc
to
776649c
Compare
Tried to build on Ubuntu xenial (that Qt would likely run on RHEL 7), but it doesn't build there. |
Whats the error message you are getting? |
On RHEL7.9, remote workstation
|
Fixed with |
Does the ci build do not work on RHEL7? |
@probonopd on RHEL7.9 the indexer application crashes with a segmentation fault. Tried to removing everything except the main(), but I had no success with it |
That's not a good idea for applications deployed with |
You mean, building on RHEL? I have never tried that. Why is RHEL 7 so important for your use case? Even RH will maintain it only for another year: https://www.redhat.com/en/blog/end-maintenance-red-hat-enterprise-linux-7-almost-here |
Mine is almost working fine on RHEL, just a segmentation fault with the indexer I have to find out. At work we are using RHEL7.9 RHEL 7.x is still supported: https://en.wikipedia.org/wiki/Red_Hat_Enterprise_Linux |
Right, still supported by RH for a year. |
At work we are getting RHEL9 by the end of the year, so I will test it there again, maybe we don't need this hack with deleting the library |
I removed this again |
@probonopd
Currently I am trying to create an appimage for Gittyup and integrating it into the CI. Currently we have only a Flatpak, there is an unofficial version for arch in aur. Do you recommend using appimage-builder or using linuxdeploy?