On Thu, May 25, 2023 at 6:57 AM Petr Pisar <ppi...@redhat.com> wrote:

> V Thu, May 25, 2023 at 06:04:51AM -0400, Owen Taylor napsal(a):
> >  * We need to rebuild files that can contain data from both parts
> > (/etc/ld.so.conf, /usr/lib/fontconfig/cache, etc.)
>
> How does splitting files from /usr to /app helps with this item?  Or is it
> that application flatpaks are not supposed to deliver their own libraries
> and
> fonts and if they do, they have to vendor them in a specific way (e.g.
> storing a location of the application libraries into application
> executables
> with RPATH)?
>

Generally, if the runtime includes a library (like fontconfig) where it's
useful for an application to drop data into /app, the runtime is expected
to set the necessary configuration files, environment variables, or
whatever so that they are found:

For example, fontconfig is handled by:


https://src.fedoraproject.org/rpms/flatpak-runtime-config/blob/f38/f/50-flatpak.conf

which is installed in all Fedora runtime images. Setting LD_LIBRARY_PATH is
handled by the Flatpak core.

- Owen
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to