-
Notifications
You must be signed in to change notification settings - Fork 39
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
Push Sublime 4 via Flatpak (support musl) #5869
Comments
Flatpaks break a lot of functionality for ST. Build systems, cli, sublime merge integration, etc. As such we won't be officially supporting flatpak or snap builds. |
But com.sublimetext.three has been serving me well for a long time - so is there something special about st4 that doesn't jive with flatpak? Or same problems in st3? I haven't experienced issues yet. |
The issues with flatpak are inherent to how flatpak works. The basics certainly work so you may simply have not used the parts of ST that don't. |
There are plenty of ways to tackle these problems. I don't see any of those two formats (Flatpak or snaps) going anywhere, so you are going against the mainstream...and at some point |
@x80486 Please do explain how these problems can be tackled. All the research I've done has shown it's impossible and entirely against the design of both Flatpack and snap; so if you can shed some light on how to circumvent the sandbox they provide in order to properly integrate with development environments that would be most welcome. |
I think the best course for this is to enumerate the current issues on your end — and I can try to find the solutions. I just have some experience in some areas, and I'm not shy at all looking for help within the observable Universe. I can tell you beforehand that, for some of the issues, the software would have to change considerably because of the sandbox — some end users underestimate what that brings up to the table because some applications are not ready, and probably won't be if the owners don't change some things, but these formats look very promising in many aspects, IMO. On a side note, it would be a little bit tricky since the actual software is not packaged in such fashion. I know there was an effort to submit |
I'll describe the some major ones: ST needs to provide a CLI - the ST needs to be able to run processes outside the sandbox, where the user's development environment resides. If they install any kind of tooling, build systems need to be able to run them. Plenty of third party plugins also rely on the user installing some tooling themselves that is then accessible to ST. (This also means access to the ST needs to be able to run as root. Occasionally users want to edit system configs or other files that require root. ST can either be run fully as root with a separate profile, or prompt when saving a file that requires root. |
I'm assuming everyone who has been using Sublime via flatpak now sees this:
|
Problem description
This seems relatively easy for the sublime devs to push through, especially for the payoff (supporting the latest sublime for all those non-glibc distros):
flathub/flathub#2855
Preferred solution
flatpak supports glibc apps on non-glibc systems
Alternatives
Build sublime 4 for musl (not necessary, the above is practically done)
Additional Information
No response
The text was updated successfully, but these errors were encountered: