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

Support for Flatpak/.deb/Appimage #31

Open
dnet890 opened this issue Jul 23, 2022 · 2 comments
Open

Support for Flatpak/.deb/Appimage #31

dnet890 opened this issue Jul 23, 2022 · 2 comments

Comments

@dnet890
Copy link

dnet890 commented Jul 23, 2022

Hi
I appreciate that Linux support snap version. But, not everyone likes snap. Is this possible to support Flatpak/.deb/Appimage?

@tinywrkb
Copy link

tinywrkb commented Aug 8, 2022

I've looked at this a while back, when there wasn't a Linux binary release, and got back to this today.
What I noticed first, is that there's no much value of the desktop app currently, as network is required during startup (bookmarks disappearing on startup), and there's no multi-account support, so what's the point?

Anyway, I did look at packaging this, so let's continue.

The second thing I noticed is that this doesn't build. It was obvious in my previous attempt, but now I had to dig in the strace output to figure it out, and it seems like in my previous attempt a few months back, the problem is that sentry-cli is failing, likely due to a missing SENTRY_AUTH_TOKEN environment variable.
So building from source is not possible, or at least I haven't succeeded in doing so.

Going with option number 2, repackaging the binary release, as option 1, building from source, failed. It's definitely possible, and the app does run, but

  1. If I can avoid it, I will not repackage snaps. Give me a tarball release or deb package, as those I can extract without adding dependencies like squashfs.
  2. Why sandboxing is disabled? Render processes should be sandboxed, especially when this app is not limited to the webapp service, and opens whatever URL that was saved by the user.
  3. No aarch64 builds?
  4. There's no license here or in the webapp repo. At least explicitly give redistribution authorization, so we could pull the app into Flathub's Flatpak repository with the benefits of delta downloads and downloading all artifacts from Flathub's repo, instead of using an extra-data source, which downloads the app from an external/third-party server (so not Flathub) during local (end-user) installation, a crafty trick to work around missing redistribution authorization, but not without disadvantages.
  5. app.asar should be unpacked, which is much better for Flatpak as its deduplication is file based.

Back to my opening, with the current state of the app, I'm not really interested in submitting the app myself, but having gone into the trouble of packaging it, I can help with the initial submission to whoever wants to submit and maintain it.

p.s. This is my WIP. There's a lot in it that not relevant and will have to be dropped or change, as I was experimenting, I wasn't sure if I will build from source, and what type of binary release will be used. That being said, the manifest should build for you and run.

edit: Minor wording and grammar changes.

@RokeJulianLockhart
Copy link

@dtantono, flatpak support split into #39 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants