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

Create flatpak distribution for Linux #3604

Open
nhthn opened this issue Mar 25, 2018 · 15 comments
Open

Create flatpak distribution for Linux #3604

nhthn opened this issue Mar 25, 2018 · 15 comments
Assignees
Labels
comp: build CMake build system os: Linux

Comments

@nhthn
Copy link
Contributor

nhthn commented Mar 25, 2018

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

@nhthn
Copy link
Contributor Author

nhthn commented Aug 29, 2018

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

@nhthn nhthn closed this as completed Aug 29, 2018
@zapateo
Copy link

zapateo commented Dec 19, 2019

Any progress on this?

@nhthn
Copy link
Contributor Author

nhthn commented Dec 19, 2019 via email

@joshpar
Copy link
Member

joshpar commented Dec 19, 2019

looks closed already

@Newbytee
Copy link

Newbytee commented Dec 5, 2022

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

@dyfer
Copy link
Member

dyfer commented Dec 5, 2022

I am certainly open to help from the community :)

@Newbytee
Copy link

Newbytee commented Dec 5, 2022

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

@dyfer dyfer reopened this Dec 5, 2022
@djiamnot
Copy link

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!

@x37v
Copy link
Contributor

x37v commented Dec 28, 2023

@x37v reported success installing it from a USB device

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

@quimnuss
Copy link

What's missing then? Installing from usb?

@djiamnot
Copy link

djiamnot commented Jan 31, 2024

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 😄

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?

@mossheim
Copy link
Contributor

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?

@smoge
Copy link
Contributor

smoge commented Feb 1, 2024

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.

@djiamnot
Copy link

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
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp: build CMake build system os: Linux
Projects
None yet
Development

No branches or pull requests

10 participants