[gnome-shell-extensions] Add url property in the metadata
- From: Giovanni Campagna <gcampagna src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell-extensions] Add url property in the metadata
- Date: Sat, 26 Feb 2011 15:45:17 +0000 (UTC)
commit fbbe5ba7640d70c04f5261a4c65e6ea3e243b4e0
Author: Giovanni Campagna <gcampagna src gnome org>
Date: Sat Feb 26 16:41:52 2011 +0100
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.
extension.mk | 5 ++++-
extensions/alternate-tab/metadata.json.in | 3 ++-
extensions/auto-move-windows/metadata.json.in | 3 ++-
extensions/dock/metadata.json.in | 1 +
extensions/example/metadata.json.in | 3 ++-
extensions/windowsNavigator/metadata.json.in | 3 ++-
extensions/xrandr-indicator/metadata.json.in | 3 ++-
7 files changed, 15 insertions(+), 6 deletions(-)
---
diff --git a/extension.mk b/extension.mk
index 4238afb..c429a5a 100644
--- a/extension.mk
+++ b/extension.mk
@@ -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
diff --git a/extensions/alternate-tab/metadata.json.in b/extensions/alternate-tab/metadata.json.in
index a7cb08b..f36f872 100644
--- a/extensions/alternate-tab/metadata.json.in
+++ b/extensions/alternate-tab/metadata.json.in
@@ -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@"
}
diff --git a/extensions/auto-move-windows/metadata.json.in b/extensions/auto-move-windows/metadata.json.in
index 843b7c4..ed8c003 100644
--- a/extensions/auto-move-windows/metadata.json.in
+++ b/extensions/auto-move-windows/metadata.json.in
@@ -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@"
}
diff --git a/extensions/dock/metadata.json.in b/extensions/dock/metadata.json.in
index 6c5c6f4..dce4a88 100644
--- a/extensions/dock/metadata.json.in
+++ b/extensions/dock/metadata.json.in
@@ -5,4 +5,5 @@
"original-author": "tclaesson gmail com",
"shell-version": [ "@shell_current@" ],
"localedir": "@LOCALEDIR@",
+"url": "@url@"
}
diff --git a/extensions/example/metadata.json.in b/extensions/example/metadata.json.in
index 5dcb493..a60efa5 100644
--- a/extensions/example/metadata.json.in
+++ b/extensions/example/metadata.json.in
@@ -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@"
}
diff --git a/extensions/windowsNavigator/metadata.json.in b/extensions/windowsNavigator/metadata.json.in
index b848daf..92f86df 100644
--- a/extensions/windowsNavigator/metadata.json.in
+++ b/extensions/windowsNavigator/metadata.json.in
@@ -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@"
}
diff --git a/extensions/xrandr-indicator/metadata.json.in b/extensions/xrandr-indicator/metadata.json.in
index 66d83ea..f5c08ae 100644
--- a/extensions/xrandr-indicator/metadata.json.in
+++ b/extensions/xrandr-indicator/metadata.json.in
@@ -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@"
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]