Skip to content

Navigation Menu

Sign in
Sign up
This repository was archived by the owner on May 21, 2026. It is now read-only.
This repository was archived by the owner on May 21, 2026. It is now read-only.

[Linux] PoC Flatpak packaging #687

Open

Description

I saw the latest FOSSASIA video update about the app the other day and thought I'll try and package the app as it might be something that I'm gonna use in the future.
This is pretty much untested as I don't have the HW.

Even if this is working correctly, this is definitely not ready for publishing on Flathub.org. There are a couple of issues and todos that are needed to be taken care of first:

  • I had to regenerate package-lock.json as the build failed with ELIFECYCLE error.
  • Offline build is broken, I haven't figure out why. I needed to enable networking during the build, which is against Flathub's guidelines.
    This is not a blocker for submitting the app to Flathub as it's possible to re-use a binary release instead of building from source, and just repackage the app, but it would be better to fix this as Flathub build servers also building for aarch64.
  • Appstream metadata is missing and should be added.
  • I'm not sure if all the needed depedendencies were packaged. Maybe replacing blas with openblas.
  • Other minor issues like upstreaming the desktop file, app icon in more sizes. I believe at least 128x128 is needed for Flathub submission.

Flatpak manifest

You gonna need to build the Flatpak manifest with flatpak-builder.
The sources manifests, generated-sources.json and python-dependencies.json were generated with flatpak-builder-tools

edit: I updated the Flatpak manifest link.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      AltStyle によって変換されたページ (->オリジナル) /