supercollider icon indicating copy to clipboard operation
supercollider copied to clipboard

Create flatpak distribution for Linux

Open nhthn opened this issue 7 years ago • 15 comments

flatpak seems to be a good way to go for packaging Linux binaries in a way that works across multiple distributions.

nhthn avatar Mar 25 '18 20:03 nhthn

putting this on my personal backlog -- reopen if you plan on working on this before i do.

nhthn avatar Aug 29 '18 19:08 nhthn

Any progress on this?

zapateo avatar Dec 19 '19 09:12 zapateo

@brianlheim is working on CPack which will address many SC packaging issues, but nobody's specifically working on this or planning to.

can someone close this issue? (im not logged in on mobile)

nhthn avatar Dec 19 '19 15:12 nhthn

looks closed already

joshpar avatar Dec 19 '19 15:12 joshpar

Are there any plans to revitalise these efforts? Would you be open to outside help from the community to make this happen?

Newbytee avatar Dec 05 '22 10:12 Newbytee

I am certainly open to help from the community :)

dyfer avatar Dec 05 '22 17:12 dyfer

Glad to hear. Could we reopen this in that case? I may have a go at it soon.

Newbytee avatar Dec 05 '22 19:12 Newbytee

So, I was looking for SC on flathub and for any efforts towards that, and stumbled upon this repo and since it didn't include sc3 plugins, I contributed to it and only after found this issue here. It makes sense, that SuperCollider org claims parenthood on flatpak. So, I've communicated with @x37v, and we agreed that I propose this solution here.

I've tested the build, and it works on my computer and @x37v reported success installing it from a USB device, so this is, potentially, almost ready to ship (will have to update to pull the latest version). So, if there's anyone with more experience building flatpaks, please let us know if the manifest can be improved. Additionally, if someone has already an idea of how this could be integrated into this repo, I'm willing to tackle the process.

Can't wait to run SC on platforms that make flatpak a default (and much more friction-less than other methods)!

Cheers!

djiamnot avatar Dec 27 '23 22:12 djiamnot

@x37v reported success installing it from a USB device

I haven't actually installed the SC flatpak from USB yet

x37v avatar Dec 28 '23 22:12 x37v

What's missing then? Installing from usb?

quimnuss avatar Jan 31 '24 17:01 quimnuss

Actually, installing from USB was one "easy" way to test it. I made some progress. The flatpak package builds with current release of SC and sc3-plugins (3.13.0), and once it's built into a bundle, can be installed locally. I documented the procedure in my most recent PR. I did not test it extensively, but SCIDE runs on my testing hardware, and I'm able to install a Quark, and play SinOsc.ar :smile:

Now that the bundle seems usable, I need to go through their submission docs and make sure that it fulfills all requirements (I'm new to flatpak). After that it will be a question of GPG signature and making a PR to Flathub. Before the PR, it will make sense that the repo be moved under the control of SuperCollider org, yes?

djiamnot avatar Jan 31 '24 21:01 djiamnot

Before the PR, it will make sense that the repo be moved under the control of SuperCollider org, yes?

That would require someone to commit to maintaining it. Are you interested in doing that?

mossheim avatar Jan 31 '24 23:01 mossheim

In my experience, Flatpak faces permission problems, notably with system privileges critical for audio apps or real-time scheduling with jackd. Checking AppImage as an alternative could be good, as I haven't encountered similar issues there. It's worth testing both to see which performs better.

On AppImage, visit their website.

Also, it would be even simpler to distribute it. It doesn't even need a package manager to do it.

smoge avatar Feb 01 '24 22:02 smoge

Apologies, I got caught up in work, but in the meantime, I had a project in which I used SC on a handheld gaming console, that supports flatpak and all worked out fine for me. So, I've cleaned up the manifest a bit and, as you can see, I submitted it to Flathub. I think I should be able to keep up with the release cycles and keep it updated.

Cheers!

djiamnot avatar Jun 23 '24 03:06 djiamnot

In my experience, Flatpak faces permission problems, notably with system privileges critical for audio apps or real-time scheduling with jackd. Checking AppImage as an alternative could be good, as I haven't encountered similar issues there. It's worth testing both to see which performs better.

Thanks for the heads-up! I haven't had any issues in my use-case. AppImage is a good alternative, in addition to Flatpak. I might have a look in the future, but the Flatpak scratched my itch. If you have an AppImage recipe to share, I'd be curious!

Thanks!

djiamnot avatar Jun 23 '24 03:06 djiamnot