Please give me recommendations.
I packed gtk3 app. In snapcraft.xml
--
parts:
 db:
  plugin: autotools
  source: deadbeef-0.7.2
  configflags:
   - --prefix=/usr
--

The application tries to get access to the files.
/usr/share/NAMEAPP/pixmaps
/usr/share/locale/CODE_COUNTRY/LC_MESSAGES/NAMEAPP.mo

but the real path will be
/snap/NAMEAPP/REVISION/usr/share/NAMEAPP/pixmaps
/snap/NAMEAPP/REVISION/usr/share/locale/CODE_COUNTRY/LC_MESSAGES/NAMEAPP.mo

If app uses absolute path, I have trouble.
How to do right thing?

--
Best regards,
vasilisc

--
Snapcraft mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft

Reply via email to