File: README

package info (click to toggle)
libtinymail 0.0.9-4
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 18,148 kB
  • ctags: 19,175
  • sloc: ansic: 151,565; xml: 20,145; sh: 9,245; makefile: 2,394; cs: 243; cpp: 141; python: 93; perl: 71
file content (25 lines) | stat: -rw-r--r-- 729 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
How to use Vala bindings
------------------------

There is a small example in tinymail/tests/vala-demo. You can compile your
own Vala tinymail application as follows:

	valac --pkg libtinymail-gnome-desktop-1.0 -o mymail mymail.vala


How to regenerate Vala bindings
-------------------------------

 * Install most recent vala release or vala svn
 * Build and install tinymail

 * Change the current working directory to tinymail/bindings/vala
 * Generate .gi and .vapi files:

for library in libtinymail-1.0 libtinymail-camel-1.0 libtinymailui-1.0 \
               libtinymailui-gtk-1.0 libtinymail-gnome-desktop-1.0
do
	vala-gen-introspect $library $library
	vapigen --vapidir . --library $library $library/$library.gi
done