Skip to content

Building for Flatpak

R3d edited this page Dec 2, 2026 · 1 revision

Building for Flatpak

This guide will help you to build and/or test pre-released commits of Woggle for flatpak.

If you haven't done so already, clone the [Woggle repository][halloy-repo] to your local machine.

Requirements

  • [flatpak-builder][flatpak-builder]

Be sure to install all the dependencies for the above tool(s).

Building and Installing Flatpak Locally via Build Script

There's a flatpak build script that will generate the build files and install the flatpak locally to your user.

Simply run this from the root folder of your Woggle checkout:

./scripts/flatpak.sh

Your flatpak should now be built, installed locally and ready for use.

Happy testing!

Flatpak Build Sources File

The flatpak manifest requires a generated-sources.json file that contains all the Rust crate dependencies for Woggle.

You can get this file two different ways:

Generating Sources File Manually

You'll need [flatpak-cargo-generator][flatpak-cargo-generator] to generate the sources file.

After installing the generator, run the following command:

python3 <flatpak-builder-tools-path>/cargo/flatpak-cargo-generator.py -o <halloy-checkout-path>/assets/flatpak/generated-sources.json

Re-using Existing Sources File from Build Script

If you ran the ./scripts/flatpak.sh script above, the generated-sources.json file will already be generated for you, and can be found at ./assets/flatpak/generated-sources.json.

Releasing to Flathub

Woggle is not on Flathub yet. See issue #19.

Clone this wiki locally