Skip to content
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

Closed
vitaly-zdanevich opened this issue Oct 5, 2024 · 13 comments
Closed

[FEATURE] please provide AppImage #267

vitaly-zdanevich opened this issue Oct 5, 2024 · 13 comments
Labels
enhancement New feature or request

Comments

@vitaly-zdanevich
Copy link

FlatPack needs a daemon - I do not like that.

@vitaly-zdanevich vitaly-zdanevich added the enhancement New feature or request label Oct 5, 2024
@Vysp3r
Copy link
Owner

Vysp3r commented Oct 8, 2024

I'll check after I come back in early December.

@Vysp3r
Copy link
Owner

Vysp3r commented Feb 1, 2025

I am having difficulty setting this up right now.
Do you have any experience with packaging application as AppImage by any chance?

@vitaly-zdanevich
Copy link
Author

@ivan-hc hi, can you again help please?

@ivan-hc
Copy link

ivan-hc commented Feb 2, 2025

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 appimageupdatetool and zsync.

I normally don't package things I don't use, but if you have any question, I'm here.

@ivan-hc
Copy link

ivan-hc commented Feb 2, 2025

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.mp4

Also, read the script, be aware of what the script does.

@ivan-hc
Copy link

ivan-hc commented Feb 2, 2025

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 libsoup as a keyword to be included among the files in /usr/lib

simplescreenrecorder-2025-02-02_07.38.35.mkv.mkv.mp4.mkv.mp4

...after this, also requires libunistring, I'll add it too in the LIBSAVED environment variable, to include it too... and so on, until the AppImage will work as you expect.

I'll try to add a script here, so you can test it by yourself.

@ivan-hc
Copy link

ivan-hc commented Feb 2, 2025

@Vysp3r This is the script I created for you, you may need to edit the way you want

protonplus-junest.sh.txt

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.mp4

For any question, ask me anything (eccept to maintain your AppImage... I already have more than 70 in my repos... too much).

@Vysp3r
Copy link
Owner

Vysp3r commented Feb 5, 2025

I'll do my best to add an AppImage for the next release. @ivan-hc Thank you a lot for all the information.

@ivan-hc
Copy link

ivan-hc commented Feb 6, 2025

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

@Vysp3r
Copy link
Owner

Vysp3r commented Feb 16, 2025

@ivan-hc I ran your script, but sadly it does not work when I open the AppImage file, I get this error: com.vysp3r.ProtonPlus: symbol lookup error: /usr/lib/libcurl.so.4: undefined symbol: libssh2_session_callback_set2

@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.

@Vysp3r Vysp3r closed this as completed Feb 16, 2025
@ivan-hc
Copy link

ivan-hc commented Feb 16, 2025

@ivan-hc I ran your script, but sadly it does not work when I open the AppImage file, I get this error: com.vysp3r.ProtonPlus: symbol lookup error: /usr/lib/libcurl.so.4: undefined symbol: libssh2_session_callback_set2

this is a known issue, you just had to ask... here is the fix

protonplus-junest.sh.txt

@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.

"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

@Vysp3r
Copy link
Owner

Vysp3r commented Feb 16, 2025

@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.

@ivan-hc
Copy link

ivan-hc commented Feb 16, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants