summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2011-07-28 16:23:19 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2011-07-28 16:23:19 +0100
commit736ddc7f014326590b0126ecc631ae83bc885ff0 (patch)
tree2d2065dd22267f7c3fc8fa9bf44a487c3dea2b01 /README
parent4335a092804ba376802ea6918cc56044e69a080b (diff)
downloaddbus-736ddc7f014326590b0126ecc631ae83bc885ff0.tar.gz
Add a note about bootstrapping new platforms to README
Diffstat (limited to 'README')
-rw-r--r--README21
1 files changed, 21 insertions, 0 deletions
diff --git a/README b/README
index 3e2ae2d6..fd832ca9 100644
--- a/README
+++ b/README
@@ -140,3 +140,24 @@ Note that the high-level bindings are _separate projects_ from the
main D-Bus package, and have their own release cycles, levels of
maturity, and ABI stability policies. Please consult the documentation
for your binding.
+
+Bootstrapping D-Bus on new platforms
+===
+
+A full build of D-Bus, with all regression tests enabled and run, has some
+dependencies which themselves depend on D-Bus, either for compilation or
+for some of *their* regression tests: GLib, dbus-glib and dbus-python are
+currently affected.
+
+To avoid circular dependencies, when bootstrapping D-Bus for the first time
+on a new OS or CPU architecture, you can either cross-compile some of
+those components, or choose the build order and options carefully:
+
+* build and install D-Bus without tests
+ - do not use the --enable-modular-tests=yes configure option
+ - do not use the --enable-tests=yes configure option
+* build and install GLib, again without tests
+* use those versions of libdbus and GLib to build and install dbus-glib
+* ... and use those to install dbus-python
+* rebuild libdbus; this time you can run all of the tests
+* rebuild GLib; this time you can run all of the tests