[lib-fix] Add checking if strtoull returned error.
[platform/upstream/dbus.git] / INSTALL
diff --git a/INSTALL b/INSTALL
index 1905ea9..f2f0122 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -4,8 +4,10 @@
 Quick start
 ===========
 
 Quick start
 ===========
 
-DBus uses GNU AutoTools for its build system, thus the basic install
-procedure can be summarized as:
+DBus could be build with GNU AutoTools or with cmake for its build system,
+thus the basic install procedure can be summarized as:
+
+with autotools:
 
     ./configure --prefix=/usr
     make
 
     ./configure --prefix=/usr
     make
@@ -13,13 +15,29 @@ procedure can be summarized as:
 
 The configure script will automatically determine whether to try and
 build bindings for GLib, Qt, Qt3, Python and Mono based on what tools
 
 The configure script will automatically determine whether to try and
 build bindings for GLib, Qt, Qt3, Python and Mono based on what tools
-are installed on the host system. The default build behaviour can be 
+are installed on the host system. The default build behaviour can be
 overridden using the --enable-XXX/--disable-XXX arguments to configure.
 A typical scenario in which it is desirable to override automatic
 overridden using the --enable-XXX/--disable-XXX arguments to configure.
 A typical scenario in which it is desirable to override automatic
-detection, is during packaging of binary builds, where a predictable 
-dependancy chain is required. For more details on GNU AutoTools 
+detection, is during packaging of binary builds, where a predictable
+dependancy chain is required. For more details on GNU AutoTools
 installation, consult the generic instructions later in this document
 
 installation, consult the generic instructions later in this document
 
+with cmake:
+    mkdir dbus-build-dir
+    cd dbus-build-dir
+    cmake -G <makefile-generator-name> [-D<option>] <dbus-src-root>/cmake
+    make
+    make install
+
+cmake will automatically determine whether to build some features
+based on what tools and/or libraries are installed on the host system. 
+The default build behaviour can be overridden using the 
+-DENABLE_<XXX> arguments to cmake.
+A typical scenario in which it is desirable to override automatic
+detection, is during packaging of binary builds, where a predictable
+dependancy chain is required. For more details on cmake installation, 
+consult http://www.cmake.org/cmake/help/help.html. 
+
 External software dependancies
 ==============================
 
 External software dependancies
 ==============================
 
@@ -33,70 +51,13 @@ Core library
  Requisite:
 
   - Gettext
  Requisite:
 
   - Gettext
-  - expat or libxml-2
-
- NB, expat is the recommended XML parser because it has more robust
- handling of OOM conditions.
-
- Optional:
-
-  - libselinux  (for SELinux integration)
-  - dnotify     (for automatic service file reload)
-  - doxygen     (for API documentation)
-  - xmlto       (for Spec & other XML documentation)
-
-GLib Bindings
--------------
-
- Requisite:
-
-  - GLib >= 2.4
-
- Optional:
-
-  - GTK+ >= 2.4  (for dbus-viewer tool)
-
-Qt Bindings
------------
-
- Requisite:
-
-  - QtCore and QtXml >= 4.1.3
-
- Optional:
-
-  - QtTest             (for Qt Unit tests)
-  - QtGui >= 4.1.3     (for the chat example program)
-
-Note: Qt 4.1.3 is not available in released form. You need to download
-the 4.1.3 snapshots from Trolltech. However, the Qt binding compiles
-and works in Qt 4.1.2, but not the dbusidl2cpp tool.
-
-Qt 3 Bindings
--------------
-
- Requisite:
-
-  - Qt >= 3.1
-
-Mono Bindings
--------------
-
- Requisite:
-
-  - Mono >= 0.95
+  - expat
 
  Optional:
 
 
  Optional:
 
-  - MonoDoc >= 0.16   (for API documentation)
-
-Python Bindings
----------------
-
- Requisite:
-
-  - Python >= 2.4
-  - Pyrex
+  - libselinux           (for SELinux integration)
+  - doxygen              (for API documentation)
+  - xmlto or meinproc4   (for Spec & other XML documentation)
 
 ====================================================================
 
 
 ====================================================================