This site has been retired. For up to date information, see handbook.gnome.org or gitlab.gnome.org.


[Home] [TitleIndex] [WordIndex

Flatpak

Builder has a small amount of Flatpak integration. We would like to push this heavily for 3.22.

Goals

Build Process

We want to reuse the flatpak-builder as much as possible. However, we don't want to use it for building the application in Builder for a couple reasons. First, it doesn't get us incremental builds. Second, it would require that we export/commit changes before every build. This would be extra problematic for non-git version control systems (such as a plain directory with no VCS).

So the first step would be to build up to the application dependency. flatpak-builder now has an option called --stop-at which provides exactly this. We just need to figure out how to know what the app-id is that we need to stop at. (Maybe this belongs in .buildconfig).

We should be able to use flatpak build-finish as normal since the flatpak-builder and flatpak build will use the same directories for building.


2024-10-23 10:58