-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Make appimage support #18
Comments
Never did it But I am not sure if is even possible, without rewriting quickemu and quickget etc... |
Hi, I was just trying to write a script to built it... this is incomplete and don't does much, only exports the content of the zip archive to a *.AppDir directory:
NOTE, I've stopped because I have not all the dependences, nor a .desktop file or an icon to place in the root of the AppDir, they are essential to made an AppImage work. Another thing that have stopped me are all that dependences listed... now I'll try a test with my script I can try to help you with this, but I can't guarantee if it works. I have already tried to package gnome-boxes with not enough good results, virtualization is something that requires direct cooperation with the host and the kernel itself, it is difficult to made it work into a container. |
First test stopped because there is no .desktop file nor icons for this application. It seems to be a CLI utility (just like "ibus", @newyorkthink knows what I'm talking about), so I'll try to add what is missing by myself. |
It works, but I only get a list of the options from the command line. How to get a GUI for quickemu? PS: this is the script I have created to build the ArchImage (Arch Linux in Appimage, about 410 MB)
The custom .desktop file is between lines 64-73 |
NOTE: unlike the classic AppImage packaging methods where you have to "guess" what dependencies are needed, ArchImage includes an entire minimal Arch Linux complete with useless files that bloat the final package, at the end of the process you just have to test what to delete to make the package smaller (from 410 it can very well become very small, even 50-60 MB if you can, it all depends on the patience you have in identifying what is not needed). The important thing is that everything works (my OBS Studio ArchImage was 690 MB at the beginning, now it is "only" 200, it took me a whole day to understand how to make my first ArchImage smaller without breaking its functioning). Another fundamental aspect is the minimum host system requirement: at least kernel 2.6! This makes it far more compatible with various GNU/Linux distros than any other AppImage assembly method known before ArchImage. And the apps (almost) always work perfectly. |
By watching this video https://www.youtube.com/watch?v=RrFQECcwLRA it seems that we have to configure something first... how can we convert this into an automated script? The main core of the AppImages is a script file named AppRun (is created between lines 81 and 88 of the script above), we can add extra functions into the AppRun to made it use extra things or to automate processes at first start. Examples, this the AppRun of my GIMP ArchImage (with option to add plugins via CLI):
and this is the AppRun of my KDEgames suite (all KDE games into one file):
I'm not good with yad, but if you are so able to handle it so well as you have already shown, bash scripting shoul be your daily bread :) |
Will look at that later.. meanwhile look at https://github.com/lucasmz1/Qemu_Appimage closed issue for instructions... I am not that much experienced as you think.. just scratching surface in bash and yad. Created this project to learn more.. And because i did something which is actually usefull But i cant did it without help of kind people from foss world (especialy @grm34 which correct a lot of my begginers mystakes) |
have you tried it? is it working for you? I'm not much experienced with QEMU, I'm just a newbie using VirtualBox for fun xD |
Not yet, later.. |
Tested and working, so we need just add quickemu and distrophopper plus dependencies... Testing number 2 So now we have base with 275MB... |
OK, don't esitate to ask me if you need some help with the packaging |
can you try package quickemu with dependencies into? |
Added to new branch #appimage |
OK, using my ArchImage method should be enough to install quickemu the way you do on Arch Linux. Tell me if there are dependences not listed in the PKGBUILD (in the previous script i added "yad" whitout knowing if it is needed). PS: have you tried to build the ArchImage on your PC using the script above? |
Puted there also filelist from QEMU_AppImage |
Not yet, checking right now if will work on void linux... |
Just tried to build it using ArchImage method, I get this error due to your .desktop file
You should fix it
Should be like this
Also, I'm unable to find EDIT:
oh my bad, just understood that I have to add that file. However the .desktop file must be changed |
copy from my repo quickemu quickget quickfzf dependencies for quickemu |
Just rebult successfully, only missing "fzf", I have to rebuilt it again. |
then if you run it and it will work you see what next, is easy TUI with two options on start... |
If that will work, just put there instead of quickfzf dh dh.desktop and icon... At least partly, encounter some issues with some of icons not work in dh but work if i run them from outside of dh. try run generated .desktop files in supportd/ready dirs instead Will need some investigating... |
Created and runs well, I'll show you a video on how the script and the Appimage work for me: simplescreenrecorder-2023-09-29_00.26.31.mkv.mkv.mkv.mp4Also rename the file quickemu.sh.txt to quickemu.sh and made it executable, it will create the Appimage on your PC. PS: I strongly recommend to create a throwaway directory to run the script in. |
press c instead |
if I press C notting happens... I must press CTRL+C to kill the process what about your side? I don't really know how to use this stuff. |
same here enter works after while... some keyboard/fonts support maybe? |
in case you want to investigate, run the script AppRun into the AppDir, here are my instructions:
also remove if everything works correctly also this way, maybe it is a problem with "proot", I have faced this with my AppImage of GNOME Boxes. |
where you getting quickemu? from aur? |
/etc/profile.d/debuginfod.sh: line 9: tr: command not found |
yes, JuNest is a containerized version of Arch Linux, so I install everything from Arch Linux using pacman and yay
this is because the commands listed in this error message (cut, sed, head, basename, tr and [ are been all removed from /usr/bin in my scripts by default... just comment or remove the lines from the script and rebuilt the Appimage again. In my template I usually remove all the files and directories listed from line 101 on to made my AppImages smaller... anyway this is not always so and my defaults are wrong. |
The best practice would be to create the AppImage with the full JuNest installation (it can be more than 600 MB, or even bigger), then, if everything works, to remove all the useless stuff. Again, my defaults can be not good for everything, like in this case. Best practice is to install the program in JuNest itself, perform there all the tests, and if everything is fine, report everything in the script and create the AppImage. To be portable, JuNest must be executed in "proot" mode. |
hi, ivan, first, i must do write master graduation paper and make some experience, and find web3 defi work and from china mainland to the HongKong, |
@newyorkthink yesterday I have tried again to create the Appimage for ibus without success, I had just a lot of troubles on my keyboard. Also the virtual keyboard of ibus for emojis was with empty symbols (no faces, only strange symbols), just to let you know I have not given up with my searches. |
going to try build AppImage got some recipes/scripts from https://github.com/lucasmz1/Qemu_Appimage will see... |
No description provided.
The text was updated successfully, but these errors were encountered: