Skip to content

PoC Flatpak packaging #39

@tinywrkb

Description

@tinywrkb

This is a quick Flatpak packaging, and without much testing.

As far as I can tell, this would be mostly useful for remote debugging, and debugging with the Flatpak runtime.

I'm not sure how GDBFrontend works, but maybe it would be also possible to access GDB on the host using a host running tmux session. I haven't tried this as I don't have GDB on the host, and my system is immutable.
Another possible alternative is to have a flatpak-spawn wrapper executing GDB from the host, and have GDBFrontend select the wrapper instead of the default GDB executable.

A few notes about the packaging:

  • Tmux vars were unsetted as I'm running a tmux session on the host and this seems to break GDBFrontend.
  • The app is using the Freedesktop SDK as the runtime, but with the --runtime option, it's possible to run the app with another Flatpak SDK that is based on the same version of the Freedesktop SDK.
  • The home filesystem access might seem superfluous, but some of us users globally block permissive permissions, so I think that being explicit is more correct.
  • An AppStream appdata/metainfo should be added.
  • Maybe also add a desktop file and icon.
  • It's likely you would want to set the app-id as com.oguzhaneroglu.GDBFrontend.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions