python app not seeing libraries in Gnome Platform
Scott Mackay
mackay333 at msn.com
Mon Jul 19 18:15:19 UTC 2021
Hello,
I hope this is the right place to ask. I volunteer on packaging Gramps
as a flatpak for the gramps-project. It is a python3 app, but the
flatpak app is not seeing the Gnome Platform 3.38 libraries that I know
are in the platform. (Gramps has an optional add-on that checks
prerequisites.) Examples of prerequisites that are in Gnome Platform
but not seen by Gramps flatpak are librsvg, xdg-utils, language pack,
enchant, etc. I have found the libraries installed in my system through
the flathub installed platform at
/var/lib/flatpak/runtime/org.gnome.Platform/x86_64/3.38/62763751ad7e5c0dd029a716115a4f9618b7a14a4ec6e7618c1db0105800357f/files/lib/x86_64-linux-gnu/
but it looks to me like that directory will change each time it gets
installed depending on the computer and whether it is system or user
wide. Gramps itself is installed in the .yml manifest with the command
- python3 setup.py install --prefix=/app --exec-prefix=/bin
and I suspect that I need to add something to that command to have
Gramps see the platform libraries, but I haven't figured it out yet.
Does anyone know how to have python see the Platform libraries?
The .yml manifest for my fork of the flatpak for gramps-project is at
https://github.com/OzarkShepherd/flatpak/blob/main/org.gramps_project.Gramps.yml
and you can see there are other dependencies I manually added and that
can be taken out once I see how to link to the Platform libraries with
the simple buildsystem and a python3 command.
Thank you,
Scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/flatpak/attachments/20210719/305c70d3/attachment.htm>
More information about the Flatpak
mailing list