desktop-gtk3

Didier Roche didrocks at ubuntu.com
Fri Mar 31 07:06:34 UTC 2017


Le 31/03/2017 à 05:55, Spencer Parkin a écrit :
> That just adds a deprecation warning (if I add the '/', I mean.)  It says,
> "DEPRECATED: Found a "/" in the name of the 'desktiop/gtk3' part"
>
> Here's the major error I'm getting...
>
> "Issue while loading plugin: properties failed to load for desktop-gtk3:
> Additional properties are not allowed ('prime' was unexpected)"
>
> I'm punting on this for now (i.e., giving up), but if anyone has any ideas,
> please let me know.  Thanks.

Check that the indentation is correct and you didn't change spaces with 
tabs or so on.
I just copied your snapcraft.yaml and don't have any problem here.
$ snapcraft --version
2.28

Didier
>
> On Thu, Mar 30, 2017 at 11:21 AM, José Pekkarinen <
> jose.pekkarinen at canonical.com> wrote:
>
>>
>> Did you tried [desktop/gtk3]?
>>
>>
>>
>> $ snapcraft search
>>
>> ...
>>
>> desktop-gtk3                       Helpers for gtk2, gtk3, qt4 and qt5 or
>> glib minimal launchers.
>> ...
>>
>> desktop/gtk3                       Helpers for gtk2, gtk3, qt4 and qt5 or
>> glib minimal launchers.
>> ...
>>
>>
>>
>> Best regards.
>>
>>
>>
>> José.
>>
>>
>>
>> On Thursday 30 March 2017 11:09:00 Spencer Parkin wrote:
>>
>>> Take a look at the following .yaml file.
>>> https://github.com/ubuntu/snapcraft-desktop-helpers/
>> blob/master/demos/gtk3/s
>>
>>> napcraft.yaml
>>> Notice the following line in it...
>>> after: [desktop-gtk3]
>>> That's the line I need, and the line I've used most often in my git
>>> history, but it doesn't work anymore. When I'm back on my linux box this
>>> evening, I can give more information.
>>> I wonder if something has changed with an update of snapcraft.
>>> On Thu, Mar 30, 2017 at 11:05 AM, José Pekkarinen <
>>> jose.pekkarinen at canonical.com> wrote:
>>>> On Thursday 30 March 2017 11:01:02 Spencer Parkin wrote:
>>>>> Yes, that's the complete file. See, here's the thing. My program has
>>>>> been
>>>>> correctly snapping with "desktop-gtk3" in there fore quite some time.
>>>> It's
>>>>> only recently that it's stopped working. I've looked in my git
>> history
>>
>>>>> to
>>>>> see if maybe I've broken something, but that's how it's always been.
>>>> Reading your file what I thing you might want to do is this:
>>>> ...
>>>> parts:
>>>> twistypuzzle:
>>>> plugin: scons
>>>> source: https://github.com/spencerparkin/TwistyPuzzle.git
>>>> source-branch: stable-release
>>>> build-packages:
>>>> - <libgtk3-package>
>>>> after:
>>>> - desktop-gtk3
>>>> - fontsystem
>>>> - 3dmath
>>>> - permutationgroup
>>>> - rapidjson
>>>> ...
>>>> Let me know if I'm wrong on this assumption.
>>>> Best regards.
>>>> José.
>>
>>





More information about the Snapcraft mailing list