Statically link bundled libraries
Bastien Nocera
hadess at hadess.net
Thu Jun 23 10:53:25 UTC 2016
On Thu, 2016-06-23 at 12:40 +0200, Sébastien Wilmet wrote:
> On Thu, Jun 23, 2016 at 12:28:10PM +0200, Bastien Nocera wrote:
> > > And if it means losing de-duplication, it is probably not worth
> > > it.
> > > But
> > > for de-duplication to work on the *.so files, the applications
> > > must
> > > bundle the same version of the library, and the builds need to be
> > > reproducible.
> >
> > The result of the previous build will be used if you don't nuke the
> > build caches. So unless you change the options, or the version of a
> > library, flatpak-builder should already do the right thing.
>
> Not if the applications are built on different machines. If the
> Flatpak
> are built directly from the upstream developers (which Flatpak
> encourage
> to do), it is more likely that two applications are built on
> different
> machines, except if the two applications come from the same project
> (e.g. GNOME).
The deduplication would also mean a smaller update delta, even for one
application.
More information about the xdg-app
mailing list