[gnome-shell-extensions] build system: add additional automatic metadata
- From: Giovanni Campagna <gcampagna src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell-extensions] build system: add additional automatic metadata
- Date: Fri, 10 Feb 2012 14:22:34 +0000 (UTC)
commit dfca68062cca5e753075c31671d0152f0889567e
Author: Giovanni Campagna <gcampagna src gnome org>
Date: Wed Feb 8 15:00:51 2012 +0100
build system: add additional automatic metadata
Add "gettext-domain", "extension-id" (containing the base part of the
UUID) and "gschemabase" (which, combined with "extension-id", gives
the GSettings schema) to metadata.json, autogenerated by the build
system.
extension.mk | 9 +++++++--
extensions/alternate-tab/metadata.json.in | 3 +++
.../alternative-status-menu/metadata.json.in | 3 +++
extensions/apps-menu/metadata.json.in | 3 +++
extensions/auto-move-windows/metadata.json.in | 3 +++
extensions/dock/metadata.json.in | 3 +++
extensions/drive-menu/metadata.json.in | 3 +++
extensions/example/metadata.json.in | 3 +++
extensions/gajim/metadata.json.in | 3 +++
.../native-window-placement/metadata.json.in | 3 +++
extensions/places-menu/metadata.json.in | 3 +++
extensions/systemMonitor/metadata.json.in | 3 +++
extensions/user-theme/metadata.json.in | 3 +++
extensions/windowsNavigator/metadata.json.in | 3 +++
extensions/workspace-indicator/metadata.json.in | 3 +++
extensions/xrandr-indicator/metadata.json.in | 3 +++
include.mk | 1 +
17 files changed, 53 insertions(+), 2 deletions(-)
---
diff --git a/extension.mk b/extension.mk
index 2f98bca..82edeba 100644
--- a/extension.mk
+++ b/extension.mk
@@ -6,8 +6,13 @@ nodist_extension_DATA = metadata.json $(top_srcdir)/lib/convenience.js $(EXTRA_E
EXTRA_DIST = metadata.json.in
metadata.json: metadata.json.in $(top_builddir)/config.status
- $(AM_V_GEN) sed -e "s|[ ]uuid@|$(uuid)|" \
+ $(AM_V_GEN) sed \
+ -e "s|[ ]extension_id@|$(EXTENSION_ID)|" \
+ -e "s|[ ]uuid@|$(uuid)|" \
+ -e "s|[ ]gschemaname@|$(gschemaname)|" \
+ -e "s|[ ]gettext_domain@|$(GETTEXT_PACKAGE)|" \
-e "s|[ ]shell_current@|$(PACKAGE_VERSION)|" \
- -e "s|[ ]url@|$(extensionurl)|" $< > $@
+ -e "s|[ ]url@|$(extensionurl)|" \
+ $< > $@
CLEANFILES = metadata.json
diff --git a/extensions/alternate-tab/metadata.json.in b/extensions/alternate-tab/metadata.json.in
index a1a4f26..4d2f63e 100644
--- a/extensions/alternate-tab/metadata.json.in
+++ b/extensions/alternate-tab/metadata.json.in
@@ -1,5 +1,8 @@
{
+"extension-id": "@extension_id@",
"uuid": "@uuid@",
+"settings-schema": "@gschemaname@",
+"gettext-domain": "@gettext_domain@",
"name": "AlternateTab",
"description": "A replacement for Alt-Tab, allows to cycle between windows and does not group by application",
"original-authors": [ "jw bargsten org", "thomas bouffon gmail com" ],
diff --git a/extensions/alternative-status-menu/metadata.json.in b/extensions/alternative-status-menu/metadata.json.in
index d634040..f1f2c1f 100644
--- a/extensions/alternative-status-menu/metadata.json.in
+++ b/extensions/alternative-status-menu/metadata.json.in
@@ -1,5 +1,8 @@
{
+ "extension-id": "@extension_id@",
"uuid": "@uuid@",
+ "settings-schema": "@gschemaname@",
+ "gettext-domain": "@gettext_domain@",
"name": "Alternative Status Menu",
"description": "Replaces GNOME Shell Status Menu with one showing Suspend/Hibernate and Power Off as separate items",
"shell-version": [ "@shell_current@" ],
diff --git a/extensions/apps-menu/metadata.json.in b/extensions/apps-menu/metadata.json.in
index ead799b..8d5380c 100644
--- a/extensions/apps-menu/metadata.json.in
+++ b/extensions/apps-menu/metadata.json.in
@@ -1,5 +1,8 @@
{
+"extension-id": "@extension_id@",
"uuid": "@uuid@",
+"settings-schema": "@gschemaname@",
+"gettext-domain": "@gettext_domain@",
"name": "Applications Menu",
"description": "Add a gnome 2.x style menu for applications",
"shell-version": [ "@shell_current@" ],
diff --git a/extensions/auto-move-windows/metadata.json.in b/extensions/auto-move-windows/metadata.json.in
index 670ecbd..a4f5951 100644
--- a/extensions/auto-move-windows/metadata.json.in
+++ b/extensions/auto-move-windows/metadata.json.in
@@ -1,5 +1,8 @@
{
+ "extension-id": "@extension_id@",
"uuid": "@uuid@",
+ "settings-schema": "@gschemaname@",
+ "gettext-domain": "@gettext_domain@",
"name": "Auto Move Windows",
"description": "Move applications to specific workspaces when they create windows",
"shell-version": [ "@shell_current@" ],
diff --git a/extensions/dock/metadata.json.in b/extensions/dock/metadata.json.in
index 3cd7ded..6f51ccb 100644
--- a/extensions/dock/metadata.json.in
+++ b/extensions/dock/metadata.json.in
@@ -1,5 +1,8 @@
{
+"extension-id": "@extension_id@",
"uuid": "@uuid@",
+"settings-schema": "@gschemaname@",
+"gettext-domain": "@gettext_domain@",
"name": "Dock",
"description": "A dock for the GNOME Shell -- displays favorite and running applications",
"original-author": "tclaesson gmail com",
diff --git a/extensions/drive-menu/metadata.json.in b/extensions/drive-menu/metadata.json.in
index eb2d402..c5a8bd3 100644
--- a/extensions/drive-menu/metadata.json.in
+++ b/extensions/drive-menu/metadata.json.in
@@ -1,5 +1,8 @@
{
+ "extension-id": "@extension_id@",
"uuid": "@uuid@",
+ "settings-schema": "@gschemaname@",
+ "gettext-domain": "@gettext_domain@",
"name": "Removable Drive Menu",
"description": "A status menu for accessing and unmounting removable devices",
"shell-version": [ "@shell_current@" ],
diff --git a/extensions/example/metadata.json.in b/extensions/example/metadata.json.in
index 0775e24..56f9655 100644
--- a/extensions/example/metadata.json.in
+++ b/extensions/example/metadata.json.in
@@ -1,5 +1,8 @@
{
+ "extension-id": "@extension_id@",
"uuid": "@uuid@",
+ "settings-schema": "@gschemaname@",
+ "gettext-domain": "@gettext_domain@",
"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@" ],
diff --git a/extensions/gajim/metadata.json.in b/extensions/gajim/metadata.json.in
index abd4914..a814d2b 100644
--- a/extensions/gajim/metadata.json.in
+++ b/extensions/gajim/metadata.json.in
@@ -1,5 +1,8 @@
{
+ "extension-id": "@extension_id@",
"uuid": "@uuid@",
+ "settings-schema": "@gschemaname@",
+ "gettext-domain": "@gettext_domain@",
"name": "Gajim IM integration",
"description": "Display Gajim incoming chats as notifications in the Shell message tray.",
"shell-version": [ "@shell_current@" ],
diff --git a/extensions/native-window-placement/metadata.json.in b/extensions/native-window-placement/metadata.json.in
index d134d48..85cad76 100644
--- a/extensions/native-window-placement/metadata.json.in
+++ b/extensions/native-window-placement/metadata.json.in
@@ -1,5 +1,8 @@
{
"uuid": "@uuid@",
+ "extension-id": "@extension_id@",
+ "settings-schema": "@gschemaname@",
+ "gettext-domain": "@gettext_domain@",
"name": "Native Window Placement",
"description": "Arrange windows in overview in a more native way",
"shell-version": [ "@shell_current@" ],
diff --git a/extensions/places-menu/metadata.json.in b/extensions/places-menu/metadata.json.in
index e5cd385..cfae577 100644
--- a/extensions/places-menu/metadata.json.in
+++ b/extensions/places-menu/metadata.json.in
@@ -1,5 +1,8 @@
{
+"extension-id": "@extension_id@",
"uuid": "@uuid@",
+"settings-schema": "@gschemaname@",
+"gettext-domain": "@gettext_domain@",
"name": "Places Status Indicator",
"description": "Add a systems status menu for quickly navigating places in the system",
"shell-version": [ "@shell_current@" ],
diff --git a/extensions/systemMonitor/metadata.json.in b/extensions/systemMonitor/metadata.json.in
index 670cad1..e5425f7 100644
--- a/extensions/systemMonitor/metadata.json.in
+++ b/extensions/systemMonitor/metadata.json.in
@@ -1,6 +1,9 @@
{
"shell-version": ["@shell_current@" ],
"uuid": "@uuid@",
+ "extension-id": "@extension_id@",
+ "settings-schema": "@gschemaname@",
+ "gettext-domain": "@gettext_domain@",
"original-author": "zaspire rambler ru",
"name": "SystemMonitor",
"description": "System Monitor",
diff --git a/extensions/user-theme/metadata.json.in b/extensions/user-theme/metadata.json.in
index 15e32c5..b147ed9 100644
--- a/extensions/user-theme/metadata.json.in
+++ b/extensions/user-theme/metadata.json.in
@@ -1,5 +1,8 @@
{
"uuid": "@uuid@",
+ "extension-id": "@extension_id@",
+ "settings-schema": "@gschemaname@",
+ "gettext-domain": "@gettext_domain@",
"name": "User Themes",
"description": "Load shell themes from user directory",
"shell-version": [ "@shell_current@" ],
diff --git a/extensions/windowsNavigator/metadata.json.in b/extensions/windowsNavigator/metadata.json.in
index dc1aa82..0e67c1b 100644
--- a/extensions/windowsNavigator/metadata.json.in
+++ b/extensions/windowsNavigator/metadata.json.in
@@ -1,6 +1,9 @@
{
"shell-version": ["@shell_current@" ],
+ "extension-id": "@extension_id@",
"uuid": "@uuid@",
+ "settings-schema": "@gschemaname@",
+ "gettext-domain": "@gettext_domain@",
"original-author": "zaspire rambler ru",
"name": "windowNavigator",
"description": "Allow keyboard selection of windows and workspaces in overlay mode",
diff --git a/extensions/workspace-indicator/metadata.json.in b/extensions/workspace-indicator/metadata.json.in
index 83f7b42..f438fb7 100644
--- a/extensions/workspace-indicator/metadata.json.in
+++ b/extensions/workspace-indicator/metadata.json.in
@@ -1,5 +1,8 @@
{
+ "extension-id": "@extension_id@",
"uuid": "@uuid@",
+ "settings-schema": "@gschemaname@",
+ "gettext-domain": "@gettext_domain@",
"name": "Workspace Indicator",
"description": "Put an indicator on the panel signaling in which workspace you are, and give you the possibility of switching to another one",
"shell-version": [ "@shell_current@" ],
diff --git a/extensions/xrandr-indicator/metadata.json.in b/extensions/xrandr-indicator/metadata.json.in
index c35ee65..6da4ed6 100644
--- a/extensions/xrandr-indicator/metadata.json.in
+++ b/extensions/xrandr-indicator/metadata.json.in
@@ -1,5 +1,8 @@
{
+"extension-id": "@extension_id@",
"uuid": "@uuid@",
+"settings-schema": "@gschemaname@",
+"gettext-domain": "@gettext_domain@",
"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@" ],
diff --git a/include.mk b/include.mk
index 84b7c64..0407a51 100644
--- a/include.mk
+++ b/include.mk
@@ -7,5 +7,6 @@ extensionbase = @gnome-shell-extensions.gcampax.github.com
gschemabase = org.gnome.shell.extensions
uuid = $(EXTENSION_ID)$(extensionbase)
+gschemaname = $(gschemabase).$(EXTENSION_ID)
extensiondir = $(topextensiondir)/$(uuid)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]