desktop-gtk3

Spencer Parkin spencertparkin at gmail.com
Thu Mar 30 15:49:55 UTC 2017


Here is my current .yaml file...

name: twistypuzzle
version: "1.0"
summary: A 3D simulator for a variety of twisty puzzles.
description: Blah...
confinement: strict

apps:
  twistypuzzle:
    command: env UBUNTU_MENUPROXY=0 desktop-launch $SNAP/bin/TwistyPuzzle
    plugs: [home, x11, unity7, opengl]

parts:
  twistypuzzle:
    plugin: scons
    source: https://github.com/spencerparkin/TwistyPuzzle.git
    source-branch: stable-release
    after:
      - desktop-gtk3
      - fontsystem
      - 3dmath
      - permutationgroup
      - rapidjson

  fontsystem:
    plugin: scons
    source: https://github.com/spencerparkin/FontSystem.git
    source-branch: master

  3dmath:
    plugin: scons
    source: https://github.com/spencerparkin/3DMath.git
    source-branch: master

  permutationgroup:
    plugin: scons
    source: https://github.com/spencerparkin/PermutationGroup.git
    source-branch: master

  rapidjson:
    plugin: dump
    source: https://github.com/miloyip/rapidjson.git
    source-branch: master

I am getting an error when I try to snapcraft this .yaml file.  It's
complaining about the "desktop-gtk3" line, and saying that there is a
syntax error here.  I don't have the exact error message with me at the
moment.  I can reply with that tonight.  The error, as I recall, said that
it expected something after the part.  Does anyone have any ideas as to
what might be wrong with this .yaml file?  If I remove the "desktop-gtk3"
line, then the snap will build just fine, but it won't be valid, because
there won't be any GTK3 support.

Thanks,
  --Spencer



More information about the Snapcraft mailing list