Please give me recommendations.
didrocks at ubuntu.com
Wed Jun 29 09:36:39 UTC 2016
Le 29/06/2016 10:57, Vasilisc a écrit :
> Please give me recommendations.
> I packed gtk3 app. In snapcraft.xml
> plugin: autotools
> source: deadbeef-0.7.2
> - --prefix=/usr
> The application tries to get access to the files.
> but the real path will be
> If app uses absolute path, I have trouble.
> How to do right thing?
You need to use some wrappers that help you redirect some of those calls
to your snaps or HOME directory.
Some options is to use a new shiny consolidated gtk3 cloud part!
- prepend your apps: command with "gtk-launch <your app command>
- ensure that you add to it at least the [unity7, x11] plugs, (you may
want gsettings and home plugs as well)
- add to your part definition:
Think about running "snapcraft update" if you have snapcraft 2.12 before
Note that the locale (transations) is still something that we need to
figure out depending on the used technology.
More information about the Snapcraft