summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2012-08-20 20:15:06 +0200
committerMarc-André Lureau <marcandre.lureau@gmail.com>2012-08-20 20:20:05 +0200
commit77ea1f9d1a7621590d02f13d8c396348fbe7da99 (patch)
treedfc083eb1c2430e4060f9dc1d338c51238615313 /README
parent9a2df4f87d2b974fe0158634e5b536a2abfa1461 (diff)
downloadlibgd-77ea1f9d1a7621590d02f13d8c396348fbe7da99.tar.gz
Start a README file
Diffstat (limited to 'README')
-rw-r--r--README81
1 files changed, 81 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..95a9e48
--- /dev/null
+++ b/README
@@ -0,0 +1,81 @@
+=====
+libgd
+=====
+
+Introduction
+============
+
+libgd is a library used by various GNOME 3 styled applications.
+However, it is not a typical library, since it doesn't guarantee
+API/ABI stability, nor does it has official releases tarballs. Only
+the files actually used by your project will be shipped with its
+tarball. Only the necessary dependencies will be checked during
+configure time and used at runtime.
+
+Each application can configure libgd depending on its needs and will
+be able to either link dynamically (privately) or statically link with
+a specific development version.
+
+GObject Introspection based bindings generation such as Javascript or
+Vala are also supported.
+
+libgd originates from the GNOME Documents project (written by Cosimo
+Cecchi), which was one of the first application to follow the novel
+GNOME 3 application design.
+
+Usage
+=====
+
+In order to use libgd, an application using autotools needs to:
+
+1. from the top-level project directory, add the submodule:
+ - git submodule add git://git.gnome.org/libgd
+
+2. in autogen.sh, it is recommended to add before autoreconf call:
+ - git submodule update --init --recursive
+
+3. in top-level Makefile.am:
+ - add -I libgd to ACLOCAL_AMFLAGS
+ - add libgd to SUBDIRS, before the project src directory
+
+4. in project configure.ac:
+ - add LIBGD_INIT([list-of-options]) after your project
+ dependencies checks
+ - add libgd/Makefile to AC_CONFIG_FILES
+
+5. from your program Makefile.am, you may now for example:
+ - link with $(top_builddir)/libgd/libgd.la, and include
+ <libgd/gd.h> (adjust your AM_CPPFLAGS as necessary)
+
+LIBGD_INIT options
+==================
+
+- gtk-hacks
+
+- main-icon-view
+
+- main-toolbar
+
+- margin-container
+
+- tagged-entry
+
+- vapi
+
+- gir
+
+- static: TODO
+
+- shared: TODO
+
+How to modify or add an API?
+============================
+
+
+TODO
+====
+
+- add translation support
+- add some form of build test
+- document: options, modification process
+- eventually add documentation generation