If it's a case of a DBus dependency (and if not, we're swerving off topic here) then the question is how to run a "private" DBus instance for the build in question.
I ran into this ~2 years ago in that I had to run a a gnome-settings-daemon privately under the Xvfb for metacity's themes to work, but that *broke* when it all moved to DBus because gnome-settings-daemon would quit with an error saying there already was already such a daemon one on the bus ... ie, the real Desktop's one!
So how to start a new DBus channel that offers test / build isolation but which everything running under that (X server?) would find (rather than the user's real one, I don't know.
If it's a case of a DBus dependency (and if not, we're swerving off topic here) then the question is how to run a "private" DBus instance for the build in question.
I ran into this ~2 years ago in that I had to run a a gnome-settings- daemon privately under the Xvfb for metacity's themes to work, but that *broke* when it all moved to DBus because gnome-settings- daemon would quit with an error saying there already was already such a daemon one on the bus ... ie, the real Desktop's one!
So how to start a new DBus channel that offers test / build isolation but which everything running under that (X server?) would find (rather than the user's real one, I don't know.
AfC