Add snapcraft preloads
Now there is a part that builds and includes the snapcraft-preloads.
This creates 3 libraries in $SNAP/gnome-platform/
:
libpreload-bindtextdomain.so
libpreload-chromium-content-api.so
libpreload-semaphores.so
and includes them in $SNAP/gnome-platform
(when the gnome-3-28
extension is used).
Each library was tested by setting the LD_PRELOAD path in the app's environment and performing some relavent function:
- libpreload-bindtextdomain.so was tested with inkscape, by running
LANG=en_AR
and making sure that the inkscape help page displayed in spanish. - libpreload-chromium-content-api.so was tested with skype-confined by running the video
- libpreload-semaphores.so was tested with black