diff options
author | Maxime Quandalle <maxime@quandalle.com> | 2015-08-20 22:57:09 +0200 |
---|---|---|
committer | Maxime Quandalle <maxime@quandalle.com> | 2015-08-20 22:57:09 +0200 |
commit | 8b3a6a78190f9e03f6ca24315a9c977967355c0c (patch) | |
tree | 8857fa4070dcb86848f20b66970a509245cbfcc9 /sandstorm-pkgdef.capnp | |
parent | c567a08a6f2d87993d3ca93dc63098baf471a6b3 (diff) | |
download | wekan-8b3a6a78190f9e03f6ca24315a9c977967355c0c.tar.gz wekan-8b3a6a78190f9e03f6ca24315a9c977967355c0c.tar.bz2 wekan-8b3a6a78190f9e03f6ca24315a9c977967355c0c.zip |
Adds new app store metadata to sandstorm package definition
We still miss some branding stuff, such as screenshots, icons, and a
description.
This commit also hides an option related to user permissions managment
in the sandstorm package.
Diffstat (limited to 'sandstorm-pkgdef.capnp')
-rw-r--r-- | sandstorm-pkgdef.capnp | 116 |
1 files changed, 100 insertions, 16 deletions
diff --git a/sandstorm-pkgdef.capnp b/sandstorm-pkgdef.capnp index 54215a06..accf3c54 100644 --- a/sandstorm-pkgdef.capnp +++ b/sandstorm-pkgdef.capnp @@ -22,10 +22,10 @@ const pkgdef :Spk.PackageDefinition = ( appTitle = (defaultText = "LibreBoard"), # The name of the app as it is displayed to the user. - appVersion = 2, + appVersion = 3, # Increment this for every release. - appMarketingVersion = (defaultText = "0.9.0"), + appMarketingVersion = (defaultText = "0.9.0_beta1"), # Human-readable presentation of the app version. minUpgradableAppVersion = 0, @@ -38,24 +38,68 @@ const pkgdef :Spk.PackageDefinition = ( # Define your "new document" handlers here. ( title = (defaultText = "New board"), - command = .myCommand + command = .myCommand, # The command to run when starting for the first time. (".myCommand" is # just a constant defined at the bottom of the file.) ) ], - continueCommand = .myCommand + continueCommand = .myCommand, # This is the command called to start your app back up after it has been # shut down for inactivity. Here we're using the same command as for # starting a new instance, but you could use different commands for each # case. + + metadata = ( + # icons = ( + # appGrid = (svg = embed "meta/icons/libreboard-128.svg"), + # grain = (svg = embed "meta/icons/libreboard-24.svg"), + # market = (svg = embed "meta/icons/libreboard-150.svg"), + # ), + # XXX We currently don't have an icon, because the bird image included in + # previous version was a copyright infringement, see + # https://github.com/libreboard/libreboard/issues/64. + # I have an idea to replace it but it's not ready yet. + + website = "http://libreboard.com", + codeUrl = "https://github.com/libreboard/libreboard", + license = (openSource = mit), + categories = [productivity, office], + + author = ( + contactEmail = "maxime@quandalle.com", + pgpSignature = embed "meta/mquandalle-pgp-sig", + ), + + pgpKeyring = embed "meta/keyring", + + # screenshots = [ + # ( + # width = 1222, + # height = 822, + # png = embed "meta/screenshots/board-view.png" + # ), + # # XXX The UI visible screenshot is outdated, make some new screenshots + # # before the final v0.9 release. + # # XXX The screenshots should have a standard width and height. + # ], + # XXX Disabled because it seems that the PNG image is too large and causes + # an exception, is it? + + changeLog = ( + defaultText = embed "History.md", + localizations = [ + (locale = "fr", text = embed "meta/t9n-changelog/fr.md"), + ], + ) + ) ), sourceMap = ( # The following directories will be copied into your package. searchPath = [ - ( sourcePath = ".meteor-spk/deps" ), - ( sourcePath = ".meteor-spk/bundle" ) + (sourcePath = ".meteor-spk/deps"), + (sourcePath = ".meteor-spk/bundle"), ] ), @@ -69,23 +113,63 @@ const pkgdef :Spk.PackageDefinition = ( viewInfo = ( permissions = [( name = "participate", - title = (defaultText = "participate"), - description = (defaultText = "allows participating in the board") + title = ( + defaultText = "participate", + localizations = [ + (locale = "fr", text = "participer"), + ], + ), + description = ( + defaultText = "allows participating in the board", + localizations = [ + (locale = "fr", text = "permet de participer dans le tableau"), + ], + ) ), ( name = "configure", - title = (defaultText = "configure"), - description = (defaultText = "allows configuring the board") + title = ( + defaultText = "configure", + localizations = [ + (locale = "fr", text = "configurer"), + ], + ), + description = ( + defaultText = "allows configuring the board", + localizations = [ + (locale = "fr", text = "permet de configurer le tableau"), + ], + ) )], roles = [( - title = (defaultText = "observer"), + title = ( + defaultText = "observer", + localizations = [ + (locale = "fr", text = "observateur"), + ], + ), permissions = [false, false], - verbPhrase = (defaultText = "can read") + verbPhrase = ( + defaultText = "can read", + localizations = [ + (locale = "fr", text = "peut lire"), + ], + ) ), ( - title = (defaultText = "member"), + title = ( + defaultText = "member", + localizations = [ + (locale = "fr", text = "membre"), + ], + ), permissions = [true, false], - verbPhrase = (defaultText = "can edit"), - default = true + verbPhrase = ( + defaultText = "can edit", + localizations = [ + (locale = "fr", text = "peut éditer"), + ], + ), + default = true, # ), ( # title = (defaultText = "administrator"), # permissions = [true, true], @@ -95,7 +179,7 @@ const pkgdef :Spk.PackageDefinition = ( # role is currently useless. )] ) - ) + ), ); const myCommand :Spk.Manifest.Command = ( |