Op donderdag 6 oktober 2022 14:00:05 CEST schreef Vincent Lucarelli: > Hi, > > F::Q uses Dist::Zilla to create the distribution and Dist::Zilla provides a > mechanism to list all dependencies. > > Is it possible in the build commands for a flatpack to bootstrap - install > perl, install Dist::Zilla, use Dist::Zilla to install all F::Q perl > dependencies, then install F::Q?
We can't directly integrate that in the flatpak build. I mean we can't write a script that's called when the flatpak manifest file is processed - flatpak expects reproducible builds, so we have to record which versions of each source that are used in the manifest file so others can rerun the build an get the exact same binary as result. However, I think a helper script as part of the gnucash-on-flatpak repo that lists dependencies and/or proposes an updated manifest file when run would certainly be helpful. That way a dev can choose when to update the build dependencies instead of having each build start with a an updated set of dependencies. That manual deps update could for example be run when a new version of F::Q is released. In practice, can you refer to an example invocation of Dist::Zilla (perhaps in the F::Q build system) we can take as a basis to write such a helper script ? Regards, Geert _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel