Installing runtime dependency through libflatpak

Nicholas Bishop nicholasbishop at gmail.com
Sat Mar 10 05:39:48 UTC 2018


Thanks, that's very helpful. And I look forward to more code being moved to
libflatpak, that sounds great.

On Thu, Mar 8, 2018 at 5:35 AM, Alexander Larsson <alexl at redhat.com> wrote:

> This is (unfortunately) currently a bit manual.
>
> flatpak_installation_list_remote_related_refs_sync() will give you the
> list of the "related" refs for the app, then you can call
> atpak_related_ref_should_download() to see what the recommended
> default option for auto-downloading that ref with the app is, and
> flatpak_related_ref_get_subpaths() will get you the subpaths of that
> ref that should be installed (ie. partial installs for locales).
>
> This handles things like locale info and app extensions. Additionally
> you need to install the runtime and *its* related refs.
> You need to get the metadata file for the app (using e.g.
> flatpak_installation_fetch_remote_metadata_sync) to find this. Its a
> simple key/value file.
>
> However, the plan is to take the current code in the CLI to do these
> kinds of transactional work and move it to libflatpak, so that
> everyone doesn't have to copy this code.
>
>
> On Wed, Mar 7, 2018 at 2:29 AM, Nicholas Bishop
> <nicholasbishop at gmail.com> wrote:
> > Hi,
> >
> > When installing an application through the flatpak library, what's the
> > recommended way to install the runtime dependency (if not already
> > installed)?
> >
> > -Nicholas
> >
> > _______________________________________________
> > Flatpak mailing list
> > Flatpak at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/flatpak
> >
>
>
>
> --
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>  Alexander Larsson                                Red Hat, Inc
>        alexl at redhat.com         alexander.larsson at gmail.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/flatpak/attachments/20180310/ad26e181/attachment.html>


More information about the Flatpak mailing list