Kl4rry / simp

🖼️ Simp is a fast and simple GPU-accelerated image manipulation program.
Apache License 2.0
299 stars 11 forks source link

Improve packaging #10

Open Kl4rry opened 2 years ago

Kl4rry commented 2 years ago

Currently only raw binaries are distributed. This is not ideal especially for MacOS and Linux. It would be nice to package the app properly.

Kl4rry commented 2 years ago

Was a mistake in my derivation.

If I were to contribute flake.nix to the repo, would such a PR be accepted? I’m willing to support it.

Originally posted by @GoldsteinE in https://github.com/Kl4rry/simp/issues/11#issuecomment-1231498023

I happily accept help with package/platform/distro related stuff on other platforms then the ones I use as long as I don't have to maintain them as it is impossible for me to do so.

GoldsteinE commented 2 years ago

13 Adds a flake for Nix (developer environment + package).

Kl4rry commented 2 years ago

Adding a desktop entry for linux would be nice.

auronandace commented 2 years ago

Perhaps cargo-binstall could be an option: https://github.com/cargo-bins/cargo-binstall/blob/main/SUPPORT.md

Kl4rry commented 2 years ago

Seems interesting. Can it run logic on installation like creating files like a desktop entry or is it just a cargo install for binaries?

auronandace commented 2 years ago

It is effectively cargo install for binaries, yes. Given the amount of dependencies for this project though does mean that you save some time and power installing it rather than having to compile it. I'd like more projects, especially the bigger ones, to support cargo-binstall.

Kl4rry commented 2 years ago

Yes I agree being able to install binaries would be nice considering both the long compile times and the problems with dependancies we have had.

woelper commented 1 year ago

I can recommend cargo-bundle to build a MacOS app bundle (I am building a simple image viewer with rudimentary mac support).

If you want to go further with file associations, it gets ugly fast, and I've been using fruitbasket with limited success. Here is my info.plist: https://github.com/woelper/oculante/blob/master/res/info.plist

Kl4rry commented 1 year ago

I do not own a Mac computer and therefore is unable to debug bundling for Mac.