Please give me recommendations.

Vasilisc vasilisc777 at gmail.com
Wed Jun 29 08:57:25 UTC 2016


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




More information about the Snapcraft mailing list