Add url property in the metadata

GNOME Shell emits a warning when "url" is absent in metadata.json,
adding it costs nothing. Links to the GIT repository because I
found no better page to reference.
This commit is contained in:
Giovanni Campagna
2011-02-26 16:41:52 +01:00
parent a7d59970cb
commit fbbe5ba764
7 changed files with 15 additions and 6 deletions

View File

@@ -1,3 +1,5 @@
extensionurl = http://git.gnome.org/gnome-shell-extensions
# Change these to modify how installation is performed
topextensiondir = $(datadir)/gnome-shell/extensions
extensionbase = @gnome-shell-extensions.gnome.org
@@ -14,6 +16,7 @@ EXTRA_DIST = metadata.json.in
metadata.json: metadata.json.in $(top_builddir)/config.status
$(AM_V_GEN) sed -e "s|[@]LOCALEDIR@|$(datadir)/locale|" \
-e "s|[@]uuid@|$(uuid)|" \
-e "s|[@]shell_current@|$(PACKAGE_VERSION)|" $< > $@
-e "s|[@]shell_current@|$(PACKAGE_VERSION)|" \
-e "s|[@]url@|$(extensionurl)|" $< > $@
CLEANFILES = metadata.json

View File

@@ -4,5 +4,6 @@
"description": "A replacement for Alt-Tab, allows to cycle between windows and does not group by application",
"original-author": "thomas.bouffon@gmail.com",
"shell-version": [ "2.91.5", "@shell_current@" ],
"localedir": "@LOCALEDIR@"
"localedir": "@LOCALEDIR@",
"url": "@url@"
}

View File

@@ -4,5 +4,6 @@
"description": "Move applications to specific workspaces when they create windows",
"shell-version": [ "@shell_current@" ],
"localedir": "@LOCALEDIR@",
"original-authors": [ "alessandro.crismani@gmail.com", "thomas.bouffon@gmail.com" ]
"original-authors": [ "alessandro.crismani@gmail.com", "thomas.bouffon@gmail.com" ],
"url": "@url@"
}

View File

@@ -5,4 +5,5 @@
"original-author": "tclaesson@gmail.com",
"shell-version": [ "@shell_current@" ],
"localedir": "@LOCALEDIR@",
"url": "@url@"
}

View File

@@ -3,5 +3,6 @@
"name": "Hello, World!",
"description": "An example extension to show how it works. Shows Hello, world when clicking on the top panel.",
"shell-version": [ "@shell_current@" ],
"localedir": "@LOCALEDIR@"
"localedir": "@LOCALEDIR@",
"url": "@url@"
}

View File

@@ -4,5 +4,6 @@
"localedir": "@LOCALEDIR@",
"original-author": "zaspire@rambler.ru",
"name": "windowNavigator",
"description": "Allow keyboard selection of windows and workspaces in overlay mode"
"description": "Allow keyboard selection of windows and workspaces in overlay mode",
"url": "@url@"
}

View File

@@ -3,5 +3,6 @@
"name": "Monitor Status Indicator",
"description": "Add a systems status menu for rotating monitors (overrides what is currently provided by gnome-settings-daemon)",
"shell-version": [ "@shell_current@" ],
"localedir": "@LOCALEDIR@"
"localedir": "@LOCALEDIR@",
"url": "@url@"
}