Inkscape need a certain number a Python modules at runtime.
There is a top level requirements.txt to that contain all the modules
that can be installed using the standard mechanism.
The corresponding manifest fragment is python3-requirements.json. It
is generated using flatpak-builder-tools.
./pip/flatpak-pip-generator -r PATH_TO/org.inkscape.Inkscape/requirements.txt --runtime org.gnome.Sdk//47 --ignore-installed lxml
This will also take care of the lxml that needs to be force
installed. Also the generated file must be patched to add:
"build-options": {
"cflags": "-fpermissive"
},to the python3-lxml module so that it can be built with gcc 14.
This application requests the following restricted permissions:
- Network access for the extension mamanger:
--share=network - Needs access to all files:
--filesystem=host(FIXME?) - X11: we use
--socket=x11instead of the fallback as it is required for extensions that use tkinter. See #101