Make status common
[src/app-framework-binder.git] / docs / afb-desktop-package.md
1
2 Desktop packages for binder development
3 ========================================
4
5 It exists packages of the ***binder*** (afb-daemon)
6 for common desktop linux distributions.
7
8  - Fedora
9  - Ubuntu
10  - Debian
11  - Suse
12
13 Installing the development package of the ***binder***
14 allows to write ***bindings*** that runs on the desktop
15 computer of the developer.
16
17 It is very convenient to quickly write and debug a binding.
18
19 Retrieving compiling option with pkg-config
20 ==========================================
21
22 The ***binder*** afb-daemon provides a configuration
23 file for **pkg-config**.
24 Typing the command
25
26         pkg-config --cflags afb-daemon
27
28 Print flags use for compilation:
29
30         $ pkg-config --cflags afb-daemon
31         -I/opt/local/include -I/usr/include/json-c
32
33 For linking, you should use
34
35         $ pkg-config --libs afb-daemon
36         -ljson-c
37
38 It automatically includes the dependency to json-c.
39 This is activated through **Requires** keyword in pkg-config.
40