-
Notifications
You must be signed in to change notification settings - Fork 16
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
[FEATURE] please provide AppImage #267
Comments
I'll check after I come back in early December. |
I am having difficulty setting this up right now. |
@ivan-hc hi, can you again help please? |
Hi @vitaly-zdanevich , as always, I can redirect on my tools. Hi @Vysp3r , since you have an AUR package, you can give a try to Archimage https://github.com/ivan-hc/ArchImage its enough to follow the instructions on the README. You can decide to bundle all dependencies by level, and thanks to this also not to specify dependencies... or maybe not to include them and only add keywords about libraries, files and directory names you want to put in the AppImage. The final bundle does not depend on libfuse2 and can be updateable using I normally don't package things I don't use, but if you have any question, I'm here. |
It is enough to follow the instructions, in this example, I created a script by reading the name of the binary in $PATH, I decided to include a level 1 of dependencies (that means it will include also dependencies of dependencies), enabled chaoticAUR and Multilib (I suppose it uses 32bit libraries too, right?) and Nvidia hardware acceleration (more info on the README). A standard configuration only includes libraries to include audio support (it may work, eccept rare cases, maybe other packages are needed or just libraries for FLAC, mpe, ogg... you choose in this case). Once you have finished, place the script into an empty directory, and run it. simplescreenrecorder-2025-02-02_07.30.47.mp4Also, read the script, be aware of what the script does. |
This other video instead shows how the AppImage is built... and at the end I also try to run it, but a library is missing, so I added simplescreenrecorder-2025-02-02_07.38.35.mkv.mkv.mp4.mkv.mp4...after this, also requires I'll try to add a script here, so you can test it by yourself. |
@Vysp3r This is the script I created for you, you may need to edit the way you want IMPORTANT, run it into an empty directory, as I did in the previous video. The AppImage is 141 MB, but only because I included all dependencies. You are free to remove all unnecesary files. This is a quick test... I suppose it recognizes I have my AppImage of Bottles (built the same way btw) simplescreenrecorder-2025-02-02_08.12.44.mp4For any question, ask me anything (eccept to maintain your AppImage... I already have more than 70 in my repos... too much). |
I'll do my best to add an AppImage for the next release. @ivan-hc Thank you a lot for all the information. |
if you do it, let me know... so I can publish it on my package manager, "AM" https://github.com/ivan-hc/AM see you next |
@ivan-hc I ran your script, but sadly it does not work when I open the AppImage file, I get this error: @vitaly-zdanevich Since the script is not working and I do not want to fix it and then maintain it, I will not go through with your request. You're free to package it yourself and publish it on ivan package manage if you want. |
this is a known issue, you just had to ask... here is the fix
"where there's a will there's a way", I personally have too many packages... if you're interested, fine, then you're free to do what you want |
@ivan-hc I did not want to ask for a fix since you did not want to maintain it because you have many packages already to maintain. Asking for you to fix it is like you maintaining it to some degree. If in the future there's issue with your script I will not know what to do and will not want to fix it and if I contact you again then it will be like you're a maintainer. I will try again with your new script, but I don't want to take up too much of your time. I thank you for your time already spent on this though it is appreciated. |
no problem, since mine is a basic project, I can provide assistance with the script if the end user doesn't understand some step... it would also help me in understanding what to improve in Archimage. It's a give and take. It's with bug reports that we investigate how to make things work better. In the end, it's all about reading and understanding a script, that's all. It's already written in it what it does. It's just a matter of good will. Anyway, I understand you, you're not the first project totally based on Flatpak that I try to help... and I won't insist. Have a nice day |
@ivan-hc Now I get this error message when opening the AppImage: |
@Vysp3r I've found that library in You should add |
NOTE that my script includes all dependencies If you want to work file-by-file to made the app smaller (I've seen that This means more work... the important is that you reach the expected behaviour. |
@ivan-hc I am not sure to understand. |
Adding icu in DEPENDENCES simply broke the build process |
I mean, the _rsync_dependences is a function inside the script, you can comment it not to include all files (this is for advanced users) |
Are you running the script localy into a dedicated directory? Please read https://github.com/ivan-hc/ArchImage#what-to-do and https://github.com/ivan-hc/ArchImage#what-not-to-do before running an Archimage script |
@ivan-hc The package was added to DEPENDENCES and the script was run in it's own directory, but it is still not working. |
please let me see the log |
`vysp3r@Fedora:~/Downloads/fafa$ ./protonplus-junest.sh◆ Downloading "appimagetool" from https://github.com/AppImage/appimagetool########################################################################################################################################################################## 100.0%DOWNLOAD, INSTALL AND CONFIGURE JUNEST◆ Clone JuNest from https://github.com/fsquillace/junestCloning into './.local/share/junest'...
|
@ivan-hc It's the same shell file you sent, but with icu added in DEPENDENCES |
ok, from the log it seems not to be an issue of my script, but an upstream one (Arch Linux) I'm not sure about the reason because this happens, I also enabled Btw the log says clearly that something is broken while installing the prograqm using YAY. |
@Vysp3r in brief, your program has not been installed in Arch Linux/JuNest. Maybe the issue is the package from ChaoticAUR or a chaoticaur dependency. The final mesage about missing .desktop file means what it says: no .desktop file? The app is not present, so no way to proceede to create the AppImage. The app itself is not in Arch Linux. That's all. |
Hey @ivan-hc I was finally able to build ProtonPlus as an AppImage, but the performance is really atrocious. |
hi again @Vysp3r the behaviour you say seems to be related to the GPU drivers... and in my method:
also... I'm sorry for my ignorance, but I don't know how you program works please, can you share a video of your tests here? also, let me see the output of
normally, bad performances are caused by a missing library, so the first command with |
I tried to output what you said to a file, but it doesn't work. |
Here's the video of what it does, but I am still unable to output your command to a file 2025-03-11.19-37-08.mp4 |
@Vysp3r I don't know exactly what the app does... at first look it looks good to me. Anyway to know if something is failing you need to run the AppRun from terminal and I need to see (or at least catch in the video) the line that sayst that a file or library is missing. As I said in really first comments, see the paragraph "Tutorial" on my repository https://github.com/ivan-hc/ArchImage?tab=readme-ov-file#tutorial...read what I wrote and watch all 7 videos... until you read "Magic!" In all 7 videos I cover the build process for an AppImage of Signal, step-by-step... you can do the same any app you want to create. |
Even with the videos I don't understand the process on how to spot a missing lib. |
What is your GPU? |
I have a laptop with an iGPU (Intel) and a dGPU (NVIDIA). |
OK, is there a directory ~/.local/share/Conty in your $HOME? If yes, it means that it is using your Nvidia drivers, try to run the AppImage like this
...this should use Mesa if your intel has priority |
Yeah the directory exists and also that env doesn't seem to change anything perfomance wise sadly |
are imported libraries at ~/.local/share/Conty/overlayfs_shared/up/usr/lib correct? is there something missing? |
i dont know what's supposed to be there, but there's a lot of files so I guess it's correct. |
@vitaly-zdanevich it would be useful if you test it too |
I'm not sure, on my side my Appimages are working on my system... I have an old Nvidia GT 710, drivers 470 Tesla |
AppImages works on my system too it's just this one that's not working Also here's the link to the file: https://anonfile.io/f/Lm95HVEH |
👀 something went wrong simplescreenrecorder-2025-03-12_03.40.32.mp4 |
Arent AppImage portable? |
yes... my Avidemux and Bottles are made the same way |
its strange that this is a big and empty file... no hidden item into it |
please, pin your script as a .txt file here |
Its the same as the last one you sent I didnt modify it https://github.com/user-attachments/files/18815265/protonplus-junest.sh.txt |
@Samueru-sama any idea? |
maybe the host service has damaged the file... could it be? Is it wrongly uploaded? |
try to sent a tar or zip file containing the appimage |
Yeah maybe thats the issue, but I am in bed now so I will do that tomorrow. |
take care |
FlatPack needs a daemon - I do not like that.
The text was updated successfully, but these errors were encountered: