[gnome-shell-extensions] Finish creating the repository
- From: Giovanni Campagna <gcampagna src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell-extensions] Finish creating the repository
- Date: Wed, 12 Jan 2011 18:44:50 +0000 (UTC)
commit f9edc6f64588835c87381508acbef92d4db51b19
Author: Giovanni Campagna <gcampagna src gnome org>
Date: Wed Jan 12 19:18:58 2011 +0100
Finish creating the repository
Add more info to HACKING and add the required gnome-shell-extensions.doap
HACKING | 20 ++++++++++++++++++++
gnome-shell-extensions.doap | 18 ++++++++++++++++++
2 files changed, 38 insertions(+), 0 deletions(-)
---
diff --git a/HACKING b/HACKING
index 509416b..3bc2444 100644
--- a/HACKING
+++ b/HACKING
@@ -1,3 +1,5 @@
+--- Creating a New Extension ---
+
To create a new extension, add a subdirectory in extensions.
Then create a Makefile.am like the one in example, replacing
the EXTENSION_ID with the basename of your extension, which
@@ -9,3 +11,21 @@ be pretty self-explanatory.
Don't forget to add any translatable file to po/POTFILES.in, and
then you're done.
+The Gettext domain you should choose is gnome-shell-extensions,
+not gnome-shell, unless you're sure there is the string you
+need in gnome-shell.
+
+--- Coding Style ---
+
+Generally, we follow GJS coding style (you can find it at
+http://git.gnome.org/browse/gjs/tree/doc/Style_Guide.txt), which
+in short is: indent 4 spaces, no tabs, space after comma, no space
+after function call.
+
+The Emacs mode line for this
+/* -*- mode: js2; js2-basic-offset: 4; indent-tabs-mode: nil -*- */
+
+Imports should be at the top, in two groups, one for standard
+imports (like imports.lang or imports.dbus) and introspection,
+the other for Shell API. Within the same group, put everything
+in alphabetic order.
diff --git a/gnome-shell-extensions.doap b/gnome-shell-extensions.doap
new file mode 100644
index 0000000..2be3fda
--- /dev/null
+++ b/gnome-shell-extensions.doap
@@ -0,0 +1,18 @@
+<Project xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
+ xmlns:foaf="http://xmlns.com/foaf/0.1/"
+ xmlns:gnome="http://api.gnome.org/doap-extensions#"
+ xmlns="http://usefulinc.com/ns/doap#">
+
+ <name xml:lang="en">GNOME Shell Extensions</name>
+ <shortdesc xml:lang="en">Modify and extend GNOME Shell functionality and behavior</shortdesc>
+ <homepage rdf:resource="http://live.gnome.org/GnomeShell/Extenstions" />
+
+ <maintainer>
+ <foaf:Person>
+ <foaf:name>Giovanni Campagna</foaf:name>
+ <foaf:mbox rdf:resource="mailto:scampa giovanni gmail com" />
+ <gnome:userid>gcampagna</gnome:userid>
+ </foaf:Person>
+ </maintainer>
+</Project>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]