Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Silbe <sascha-pgp@silbe.org>2011-01-19 19:25:07 (GMT)
committer Sascha Silbe <sascha-pgp@silbe.org>2011-01-19 19:25:07 (GMT)
commit971266a184c399c293d133d0051dc66cb29effc4 (patch)
treee91ca2fa51f3355efa1cc492570492419921e803
parenta2f730d875bffa7fd89c4969c9403c9525bf56a0 (diff)
parentc4c423924034680ca6397dda820d70d1d31e53c2 (diff)
Merge commit 'refs/top-bases/t/migration-rebuild-index' into t/migration-rebuild-index
* commit 'refs/top-bases/t/migration-rebuild-index': Add missed deps Actualize sweet recipe; add metadatareader.so symlink to support inplace run Tweak HACKING file
-rw-r--r--HACKING32
l---------src/carquinyol/metadatareader.so1
-rw-r--r--sweets.recipe27
3 files changed, 37 insertions, 23 deletions
diff --git a/HACKING b/HACKING
index 5c3a436..021f49e 100644
--- a/HACKING
+++ b/HACKING
@@ -1,15 +1,29 @@
+How to contribute
+=================
+
+Useful notes how to contribute to the project.
+
Before committing
-~~~~~~~~~~~~~~~~~
-All source files need to be passed through sugar-lint[1] command.
+-----------------
+All source files need to be passed through `sugar-lint`_ command.
Follow sugar-lint home page instructions and especially
-"Lint files before committing" section.
-
+`"Lint files before committing"` section.
Send patches
-~~~~~~~~~~~~
-Create your patches using "git format" command and send them to all maintainers
-from AUTHORS file with CCing to sugar-devel@lists.sugarlabs.org.
-The easiest way it just using "git send-email" command.
+------------
+Create your patches using ``git format`` command and send them to all
+maintainers from the :ref:`AUTHORS <AUTHORS>` file. The easiest way it just
+using ``git send-email`` command. Patches might be CCed to
+sugar-devel@lists.sugarlabs.org to attract more people to review.
+
+Gitorious forks
+---------------
+Another useful way to contribute, especially for big improvements, is creating
+Gitorious forks and request them for merge to the trunk.
+* http://blog.gitorious.org/2009/05/09/weve-made-a-few-changes/
+ (see `"Merge requests"` topic)
+* http://blog.gitorious.org/2009/07/15/new-merge-request-functionality/
+* http://blog.gitorious.org/2009/11/06/awesome-code-review/
-[1] http://wiki.sugarlabs.org/go/Activity_Team/Sugar_Lint
+.. _sugar-lint: http://wiki.sugarlabs.org/go/Platform_Team/Sugar_Lint
diff --git a/src/carquinyol/metadatareader.so b/src/carquinyol/metadatareader.so
new file mode 120000
index 0000000..bf6931a
--- /dev/null
+++ b/src/carquinyol/metadatareader.so
@@ -0,0 +1 @@
+.libs/metadatareader.so \ No newline at end of file
diff --git a/sweets.recipe b/sweets.recipe
index 9616cb9..b861c35 100644
--- a/sweets.recipe
+++ b/sweets.recipe
@@ -1,4 +1,4 @@
-[DEFAULT]
+[Application]
sweet = sugar-datastore
summary = Backend of the Sugar Journal
license = LGPLv2.1+
@@ -7,27 +7,26 @@ homepage = http://git.sugarlabs.org/projects/sugar-datastore
version = 0.90.0
stability = testing
-[Component]
+exec = %(BUILDDIR)s/bin/datastore-service
+binding = PATH %(BUILDDIR)s/bin
+ PYTHONPATH %(BUILDDIR)s/src
+ XDG_DATA_DIRS share
requires = sugar-toolkit; python-cjson; xapian-bindings-python
-binding = PATH bin; PYTHONPATH python; XDG_DATA_DIRS share
+
+[Archive]
arch = any
[Build]
-requires = pkg-config; intltool >= 0.33; make; gcc-c; python
-cleanup = make distclean; ./autogen.sh
-configure = ./configure
+requires = gnome-common; pkg-config
+ intltool >= 0.33; libtool; make; gcc-c; python
+configure = make distclean;
+ ./autogen.sh
--prefix=%(PREFIX)s
- am_cv_python_pythondir=%(PREFIX)s/python
- am_cv_python_pyexecdir=%(PREFIX)s/python
+ am_cv_python_pythondir=%(PREFIX)s/src
+ am_cv_python_pyexecdir=%(PREFIX)s/src
CFLAGS="%(CFLAGS)s"
make = make
install = make DESTDIR=%(DESTDIR)s install
-implement = %(install)s &&
- rm -rf %(DESTDIR)s/%(PREFIX)s/bin &&
- rm -rf %(DESTDIR)s/%(PREFIX)s/python &&
- ln -s %(BUILDDIR)s/bin %(DESTDIR)s/%(PREFIX)s/ &&
- ln -s %(BUILDDIR)s/src %(DESTDIR)s/%(PREFIX)s/python &&
- ln -fs .libs/metadatareader.so src/carquinyol/
[Source]
exec = ./autogen.sh && make distcheck