On 15.07.2022 17:01, Johannes Meixner wrote:
Hello
On 2022-07-15 15:33, Dan Čermák wrote:
If two flatpaks use the same version of the runtime, then you'll get it only once. If they depend on different versions, then you'll obviously have duplicates, but we should set policies in place to prevent this from happening.
Huh?
Perhaps I misunderstand what is meant with "runtime" here but isn't it the whole idea behind something like Flatpak that applications come with all their needed libraries and so on to make it possible that applications can run within a different runtime environment compared to what is installed on the host system?
If openSUSE would have policies in place to prevent this (i.e. that applications depend on different versions of needed libraries and so on) from happening, then Flatpak would no longer make sense for openSUSE.
AFAIU the idea is to build (open)SUSE flatpaks using some common run-time(s), not to block installation of other flatpaks not following it. There is no difference with RPM. Packages are built against some common baseline; when this baseline changes, packages must be rebuilt. Sometimes it is possible to have multiple baselines (Python, ...), but this requires a lot of RPM black magic and explicit support from the software in question. Flatpaks extend this to arbitrary software which does not have native ways to use multiple versions in parallel.