~ubuntu-branches/ubuntu/maverick/dbus/maverick-proposed

« back to all changes in this revision

Viewing changes to INSTALL

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2010-09-27 13:06:32 UTC
  • mfrom: (1.1.23 upstream)
  • Revision ID: james.westby@ubuntu.com-20100927130632-bqs145trvchd2lmf
Tags: 1.4.0-0ubuntu1
* New upstream release
 - Fixes https://bugs.freedesktop.org/show_bug.cgi?id=17754 Race condition in protected_change_timeout
 - Requested by various upstream KDE developers http://lists.kde.org/?t=128514970000004&r=1&w=2

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
Quick start
5
5
===========
6
6
 
7
 
DBus uses GNU AutoTools for its build system, thus the basic install
8
 
procedure can be summarized as:
 
7
DBus could be build with GNU AutoTools or with cmake for its build system,
 
8
thus the basic install procedure can be summarized as:
 
9
 
 
10
with autotools:
9
11
 
10
12
    ./configure --prefix=/usr
11
13
    make
13
15
 
14
16
The configure script will automatically determine whether to try and
15
17
build bindings for GLib, Qt, Qt3, Python and Mono based on what tools
16
 
are installed on the host system. The default build behaviour can be 
 
18
are installed on the host system. The default build behaviour can be
17
19
overridden using the --enable-XXX/--disable-XXX arguments to configure.
18
20
A typical scenario in which it is desirable to override automatic
19
 
detection, is during packaging of binary builds, where a predictable 
20
 
dependancy chain is required. For more details on GNU AutoTools 
 
21
detection, is during packaging of binary builds, where a predictable
 
22
dependancy chain is required. For more details on GNU AutoTools
21
23
installation, consult the generic instructions later in this document
22
24
 
 
25
with cmake:
 
26
    mkdir dbus-build-dir
 
27
    cd dbus-build-dir
 
28
    cmake -G <makefile-generator-name> [-D<option>] <dbus-src-root>/cmake
 
29
    make
 
30
    make install
 
31
 
 
32
cmake will automatically determine whether to build some features
 
33
based on what tools and/or libraries are installed on the host system. 
 
34
The default build behaviour can be overridden using the 
 
35
-DENABLE_<XXX> arguments to cmake.
 
36
A typical scenario in which it is desirable to override automatic
 
37
detection, is during packaging of binary builds, where a predictable
 
38
dependancy chain is required. For more details on cmake installation, 
 
39
consult http://www.cmake.org/cmake/help/help.html. 
 
40
 
23
41
External software dependancies
24
42
==============================
25
43
 
40
58
 
41
59
 Optional:
42
60
 
43
 
  - libselinux  (for SELinux integration)
44
 
  - dnotify     (for automatic service file reload)
45
 
  - doxygen     (for API documentation)
46
 
  - xmlto       (for Spec & other XML documentation)
 
61
  - libselinux           (for SELinux integration)
 
62
  - dnotify              (for automatic service file reload)
 
63
  - doxygen              (for API documentation)
 
64
  - xmlto or meinproc4   (for Spec & other XML documentation)
47
65
 
48
66
====================================================================
49
67