srevinsaju / zap

:zap: Delightful AppImage package manager
https://zap.srev.in
MIT License
508 stars 18 forks source link

Q: Package to AppImage #11

Open territory-sschneider opened 3 years ago

territory-sschneider commented 3 years ago

Is it possible to get a package and convert it into an AppImage on the fly? seems like on appimagehub some stuff gets outdated pretty quickly.

srevinsaju commented 3 years ago

Yes, its the pkg2appimage repo: see https://github.com/AppImage/pkg2appimage

GitHub
AppImage/pkg2appimage
Tool and recipes to convert existing deb packages to AppImage - AppImage/pkg2appimage
territory-sschneider commented 3 years ago

does it only work for deb, ppa or also for AUR?

srevinsaju commented 3 years ago

Yes. Which app are you looking for?

territory-sschneider commented 3 years ago

Well just in general to avoid some system update issues. Lately, I ran into an issue with python for example which rendered khal unusable because of some updated package.

territory-sschneider commented 3 years ago

But in general it would be useful just to be able to make a appimage out of some stuff to have the system a bit more tidy. On the otherhand, having to have to make the recepies for every package would be tedious also

srevinsaju commented 3 years ago

It depends on the package. I have many appimage recipes on my GitHub user, which provides up to date AppImages. If you would like to have an up-to-date appimage, I might look into it. I would create appimages, if its useful for both me and you.

territory-sschneider commented 3 years ago

I made a short lit :) alacritty 0.6.0-1 cawbird 1.2.1-1 chromium 87.0.4280.88-2 ctop 0.7.5-1 dbeaver 7.3.0-1 docker 1:20.10.1-1 docker-compose 1.27.4-2 ferdi 5.5.0-8 flameshot 0.8.5-1 kakoune 2020.09.01-1 khal 0.10.2-2 kitty 0.19.3-1 meld 3.20.2-2 nitrogen 1.6.1-3 p4v 2020.3.2060285-1 parcellite 1.2.1-4 picom 8.2-1 qtile 0.16.1-2 qutebrowser 1.14.1-1 ranger 1.9.3.143.g5047d9e5-1 realvnc-vnc-viewer 6.20.529-1 rofi 1.6.1-1 speedcrunch 0.12.0-3 stacer 1.1.0-1.2 starship 0.48.0-1

srevinsaju commented 3 years ago

Iirc, flameshot has an appimage on their official repository. You might like to go there. I will check the rest.

PS: I can't imagine having a docker appimage 😂. We build appimages in docker containers :smile:

territory-sschneider commented 3 years ago

that's why i put it in there :)

srevinsaju commented 3 years ago

Instead of chromium, I would suggest you to take a look at the Brave AppImage. Under the hood, its the chromium engine.

territory-sschneider commented 3 years ago

Can you extend zap to auto generate appimages if none is available? or generate appimages from git repos or something like that?

srevinsaju commented 3 years ago

I wish I could. Creating AppImage are not an easy task however. It takes a lot of time, trial and error. So the recipes need to be created from scratch. However, I can extend zap to include all the apps which exist in pkg2appimage so that, a new appimage would be built from the recipe provided at pkg2appimage.

territory-sschneider commented 3 years ago

teams-for-linux-official-bin

territory-sschneider commented 3 years ago

Maybe you can explain this too me. I use qtile and have the prtscr key bound to flameshot gui it works with the AUR but it doesn't work with appimage. Why?

srevinsaju commented 3 years ago

Same, the Flameshot AppImage doesn't get triggered here too. And I don't know why :crying_cat_face:

territory-sschneider commented 3 years ago

What runs the appImage? maybe it is the way the appImage is called like not being marked as executable or such.

srevinsaju commented 3 years ago

There is nothing that runs the appimage. It runs on its own. Thats the AppImage philosophy.

territory-sschneider commented 3 years ago

oh well, then i'm out of ideas

srevinsaju commented 3 years ago

We will have to ask @flameshot-org about it. They should know.

srevinsaju commented 3 years ago

Ask them here: https://github.com/flameshot-org/flameshot/issues

GitHub
flameshot-org/flameshot
Powerful yet simple to use screenshot software :desktop_computer: :camera_flash: - flameshot-org/flameshot
territory-sschneider commented 3 years ago

Is there a way to integrate a downloaded appimage to zap? like, from file.

srevinsaju commented 3 years ago
zap install <nameofappimage>  --from file:///path/to/file.AppImage

Example:

zap install firefox --from file:///home/ss/Downloads/Firefox-x86_64.AppImage
territory-sschneider commented 3 years ago

hey, you could add zap to https://github.com/tldr-pages/tldr :)