Skip to content

Rebase on freedesktop platform#220

Draft
ryonakano wants to merge 10 commits intomainfrom
ryonakano/rebase-on-fdo
Draft

Rebase on freedesktop platform#220
ryonakano wants to merge 10 commits intomainfrom
ryonakano/rebase-on-fdo

Conversation

@ryonakano
Copy link
Member

@ryonakano ryonakano commented Dec 8, 2025

Fixes #219

  • Rebase on freedesktop platform 25.08 instead of GNOME platform 49
  • Install missing modules in freedesktop platform
    • vala (and its dependency graphviz)
    • libgee
    • gtk4
    • libadwaita
  • Install sassc and libsass before libadwaita that also requires them
  • Install pygobject and its dependency, pycairo
    • Because it's probably included in GNOME Flatpak Platform

How to Test

$ meson setup build --prefix=/usr
$ flatpak-builder --user --force-clean --install-deps-from=flathub --ccache --repo=elementary builddir ./build/io.elementary.Sdk.json
$ flatpak build-bundle --runtime elementary platform.flatpak runtime/io.elementary.Platform/aarch64/daily
$ flatpak build-bundle --runtime elementary sdk.flatpak runtime/io.elementary.Sdk/aarch64/daily
$ flatpak install --user platform.flatpak
$ flatpak install --user sdk.flatpak

@ryonakano ryonakano self-assigned this Dec 18, 2025
Because a project that uses elementary Flatpak Platform with
blueprint-compiler fails to build without it, which was probably
included in GNOME Flatpak Platform:

    Found ninja-1.13.2 at /usr/bin/ninja
    [1/50] Generating data/blueprints with a custom command
    FAILED: [code=1] data
    /app/bin/blueprint-compiler batch-compile data/. ../data ../data/ui/help-overlay.blp
    Traceback (most recent call last):
      File "/app/bin/blueprint-compiler", line 40, in <module>
        from blueprintcompiler import main
      File "/app/lib/python3.13/site-packages/blueprintcompiler/main.py", line 27, in <module>
        from . import formatter, interactive_port, linter, parser, tokenizer
      File "/app/lib/python3.13/site-packages/blueprintcompiler/interactive_port.py", line 25, in <module>
        from . import decompiler, parser, tokenizer
      File "/app/lib/python3.13/site-packages/blueprintcompiler/decompiler.py", line 26, in <module>
        from .gir import *
      File "/app/lib/python3.13/site-packages/blueprintcompiler/gir.py", line 25, in <module>
        import gi  # type: ignore
        ^^^^^^^^^
    ModuleNotFoundError: No module named 'gi'
    [2/50] Merging translations for data/com.github.ryonakano.reco.Devel.metainfo.xml
    ninja: build stopped: subcommand failed.
@ryonakano
Copy link
Member Author

ryonakano commented Mar 14, 2026

OK, it seems working as expected.

An app built on Daily runtime of latest main:

2026-03-14.20.50.04.mov

and this branch:

2026-03-14.20.53.32.mov

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

Successfully merging this pull request may close these issues.

Rebase on fd.o platform instead of GNOME one?

1 participant