summaryrefslogtreecommitdiffstats
path: root/rules/dbus.in
blob: e637aa10d32c3ab7c0d22b15ec63604563d81ff3 (plain)
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
## SECTION=middleware

menuconfig DBUS
	tristate
	prompt "dbus                          "
	select EXPAT
	select XORG_LIB_X11	if DBUS_X
	select MACHINE_ID	if RUNTIME
	select SYSTEMD		if DBUS_SYSTEMD
	select LIBC_PTHREAD
	select LIBC_RT
	help
	  D-Bus is a message bus, used for sending messages between
	  applications. Conceptually, it fits somewhere in between raw
	  sockets and CORBA in terms of complexity.

	  D-Bus supports broadcast messages, asynchronous messages
	  (thus decreasing latency), authentication, and more. It is
	  designed to be low-overhead; messages are sent using a
	  binary protocol, not using XML. D-Bus also supports a method
	  call mapping for its messages, but it is not required; this
	  makes using the system quite simple.

	  It comes with several bindings, including GLib, Python, Qt
	  and Java.

if DBUS

config DBUS_SELINUX
	prompt "selinux support [BROKEN]"
	depends on BROKEN
	bool

config DBUS_SYSTEMD
	bool
	default INITMETHOD_SYSTEMD

config DBUS_X
	bool
	prompt "enable X support"
	help
	  Enable this option to build dbus with support for X.

config DBUS_SYSTEM_CONF
	bool
	prompt "install /etc/dbus-1/system.conf"
	default y
	help
	  Installs (if present) the
	  "./projectroot/etc/dbus-1/system.conf" file from your
	  workspace, otherwise a generic one from the ptxdist
	  directory.

config DBUS_SESSION_CONF
	bool
	prompt "install /etc/dbus-1/session.conf"
	default y
	help
	  Installs (if present) the
	  "./projectroot/etc/dbus-1/session.conf" file from your
	  workspace, otherwise a generic one from the ptxdist
	  directory.

#   --enable-tests          enable unit test code
#   --enable-ansi           enable -ansi -pedantic gcc flags
#   --enable-verbose-mode   support verbose debug mode
#   --enable-asserts        include assertion checks
#   --enable-checks         include sanity checks on public API
#   --enable-xml-docs       build XML documentation (requires xmlto)
#   --enable-doxygen-docs   build DOXYGEN documentation (requires Doxygen)
#   --enable-gcov           compile with coverage profiling instrumentation (gcc
#                           only)
#   --enable-abstract-sockets
#                           use abstract socket namespace (linux only)
#   --enable-selinux        build with SELinux support
#   --enable-dnotify        build with dnotify support (linux only)
#   --enable-kqueue         build with kqueue support
#   --enable-console-owner-file
#                           enable console owner file
#   --enable-shared[=PKGS]
#                           build shared libraries [default=yes]
#   --enable-static[=PKGS]
#                           build static libraries [default=yes]
#   --enable-fast-install[=PKGS]
#                           optimize for fast installation [default=yes]
#   --with-xml=libxml/expat XML library to use
#   --with-init-scripts=redhat
#                           Style of init scripts to install
#   --with-session-socket-dir=dirname
#                           Where to put sockets for the per-login-session
#                           message bus
#   --with-test-socket-dir=dirname
#                           Where to put sockets for make check
#   --with-system-pid-file=pidfile
#                           PID file for systemwide daemon
#   --with-system-socket=filename
#                           UNIX domain socket for systemwide daemon
#   --with-console-auth-dir=dirname
#                           directory to check for console ownerhip
#   --with-console-owner-file=filename
#                           file whose owner determines current console owner
#   --with-dbus-daemondir=dirname
#                           Directory for installing the DBUS daemon
#   --with-x                use the X Window System

config DBUS_STARTSCRIPT
	bool
	default y
	prompt "install /etc/init.d/dbus"

config DBUS_SYSTEMD_UNIT
	bool
	default y
	depends on DBUS_SYSTEMD
	prompt "install systemd unit files for dbus"

endif