I'm trying to build my first Flatpak app for some application that people can't install on their modern systems.

It's written in C++, requires libboost and some other dependencies to build, like libssl-dev, libdb++-dev, etc.

Can I install them from the Flatpak or I should build them from the source?

Posted in: s/Linux

👻 ps

2025-04-03 · 1 year ago

3 Comments ↓

👻 ps [OP] · 2025-04-03 at 08:15:

The problem, I don't understand where is the sandbox ends there :)

I expect that should build boost binaries and place it somewhere in Flatpak container, but my build attempt fails.

Wondering, in the internet I found only this tip:

— https://github.com/boostorg/boost/issues/334

It looks like Boost is never used inside the container and may be available somewhere in the SDK, such as the GTK one.

👻 ps [OP] · 2025-04-03 at 12:25:

@HanzBrix thanks, but this is not a GTK app.

I already found a solution in the `--prefix=` path fixed.

Now I intend to create an article to document this journey for beginners like me!

👻 ps [OP] · 2025-04-05 at 08:06:

Finally, I implemented this manifest, if someone interested in reviewing it:

— twister p2p manifest for Flatpak bundle

Can't say it was simple, I spent a few days on that but got some experience.

Now I want to create bundles for a few other abandoned apps :)