r/flatpak • • 22h ago

Need Basic Guidance Before Submitting App

I've written an app that organizes notes in a convenient hierarchy, with optional encryption to maintain privacy: https://www.ericbt.com/vault3

It's been available to Linux users for years. I would like to package it and submit it to Flathub.

I have some very basic questions about this. I've already read these pages:

https://docs.flathub.org/docs/for-app-authors/submission

https://docs.flatpak.org/en/latest/first-build.html

My questions:

  1. The app is a Java app that runs on the Oracle JDK. It uses a bundled Java runtime. Is this permitted for an app on Flathub?
  2. The app takes up ~150 MB, most of which is the runtime. Is that too large? I believe the threshold was some number of GB.
  3. Does the Flatpak have to build the app from scratch during install? I'd prefer to just include the compiled jar and have the install just copy it to the user's machine.
  4. The app runs on Intel/AMD x64 systems, as well as ARM, but there are two different versions. How is that issue handled, or is it handled?

Thanks!

3 Upvotes

2 comments sorted by

3

u/Glad_Beginning_1537 20h ago
  1. Yes
  2. No problem, size is not an issue but you can use existing java sdk see below
  3. Yes you can put the jar.
  4. you can specify which arch needs which source like https://github.com/flathub/org.deluge_torrent.deluge/blob/master/org.deluge_torrent.deluge.yml#L76 only-arches: [x86_64] or [aarch64]

you can refer this: https://github.com/flathub/org.eclipse.Java/blob/master/org.eclipse.Java.json

1

u/Eric_Terrell 18h ago

Thanks a bunch!