On 09.07.22 16:01, Eric Schirra wrote:
But that's a bit naive. Calibre needs about 40 python modules. If we assume that it would work with the "flatpack collection packages", then surely no one will first search these "collection packages" for possibly needed python modules. That's a lot of work. So much more work and therefore much more time. And with every other program I have to do that again.
I would guess that OBS could take off some of these packager burdens by providing (just as an example) a "tumbleweed base runtime"-flatpak against which the "calibre"-flatpak would be built and where the calibre flatpak would just need to bring along the very special own versions that are not in the general tumbleweed "tumbleweed base runtime" Maybe (I'm not sure about that, but I can easily imagine the possibility) it would also be possible to add a "python310 runtime"-flatpak added on top of the "leap154 runtime", on which then a calibre-flatpak could be built easily. Of course there will probably be an additional file in the package to specify the dependencies amongst the runtimes, similar to the BuildRequires: and Requires: lines in the spec file, but then many of these dependencies could be solved by the build service magic. Even things like finding out which is the "best" collection of packages for a base runtime and what are the most useful, but still not overbloated "runtime addon" packs could be derived automatically from OBS data (which could know how many packages need e.g. a specific python module and thus if it is a good idea to put it in a "runtime addon" (when needed often) or if it is better to just include it with a specific package flatpak (if it is only needed by very few packages). So I believe that this can be made to work in a way that does not impose that much additional work on the packagers. But of course we can not know that right now. Have fun anyway :-) -- Stefan Seyfried "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." -- Richard Feynman