1
0

010-cmake-paths.patch 746 B

12345678910111213141516
  1. --- a/CMakeLists.txt
  2. +++ b/CMakeLists.txt
  3. @@ -510,11 +510,11 @@ if(WIN32)
  4. else(WIN32)
  5. set(DBUS_SESSION_BUS_LISTEN_ADDRESS "unix:tmpdir=${DBUS_SESSION_SOCKET_DIR}" CACHE STRING "session bus default listening address")
  6. set(DBUS_SESSION_BUS_CONNECT_ADDRESS "autolaunch:" CACHE STRING "session bus fallback address for clients")
  7. - set(sysconfdir "")
  8. + set(sysconfdir "/usr/share")
  9. set(configdir ${sysconfdir}/dbus-1 )
  10. set(DBUS_SYSTEM_CONFIG_FILE ${configdir}/system.conf)
  11. set(DBUS_SESSION_CONFIG_FILE ${configdir}/session.conf)
  12. - set(DBUS_USER "messagebus")
  13. + set(DBUS_USER "root")
  14. set(DBUS_TEST_USER "nobody")
  15. # For best security, assume that all non-Windows platforms can do
  16. # credentials-passing.