Conversation
There was a problem hiding this comment.
Thanks for taking the time to look into this @TheAssassin. Please see my Qs.
this repository's CI is in a really bad state
What do you mean by this, how would you like to see it improved? (And no, I don't even have a local Linux machine anymore.)
| # sudo make install | ||
|
|
||
| cd /tmp/ | ||
| pushd /tmp/ |
There was a problem hiding this comment.
Is there any advantage of pushd over cd? I like cd better because everyone understands it. Am I missing something?
There was a problem hiding this comment.
It handles recursion properly, - is unreliable. It's well understood by regular shell users, too.
| cp /usr/bin/{patchelf,desktop-file-validate} linuxdeployqt.AppDir/usr/bin/ | ||
| cp ./bin/linuxdeployqt linuxdeployqt.AppDir/usr/bin/ | ||
| cp -r /usr/local/lib/appimagekit linuxdeployqt.AppDir/usr/lib/ | ||
| cp -R /tmp/appimagekit.AppDir linuxdeployqt.AppDir/usr/appimagekit |
There was a problem hiding this comment.
Where is /tmp/appimagekit.AppDir supposed to be coming from? I can't seem to see that being created...
There was a problem hiding this comment.
Check the other script.
|
There is no effort from my side to fix the various other issues with these CI scripts and their usability. This is a minimal patch that creates a basic setup. AFAICS linuxdeployqt is doing weird things now, doesn't respect The workflow is pretty clear to the reader in my opinion. Extract the AppImage and put the entire AppDir into linuxdeployqt's AppDir. I hate to repeat myself, but it seems necessary. The reason it's done in |
I wasn't aware of the state of this tool, do you mind mentioning some recommended alternatives by name, so I can switch over to them? |
|
It seems that the project is continued in @TheAssassin repo https://github.com/linuxdeploy/linuxdeploy. Let's hope that is more flexible and maintained than this thing. |
|
Despite similar names, linuxdeployqt and linuxdeploy are entirely different code bases and are made by different authors. |
|
I suppose I was tagged by mistake 😅 Have a nice day though! |
This PR illustrates how to properly bundle appimagetool by bundling its entire AppDir and using
AppRunas the entrypoint.After playing CI ping-pong for 10 times (because this repository's CI is in a really bad state), please anyone feel free to use my work and finish it. I can't invest more time into debugging what linuxdeployqt is doing there.
LD_LIBRARY_PATHhas been set correctly IMO.This will be the last ever contribution to this tool. It's obviously close to being unmaintained, and there are better alternatives out there. Contributing stuff is hard because of the bad state of CI and code as well.
Fixes #542.