@ -1905,24 +1905,32 @@ macro( tde_setup_dbus )
endif ( )
endif ( )
if ( NOT DEFINED DBUS_SE RVICE _DIRECTORY )
if ( NOT DEFINED DBUS_SE SSION _DIRECTORY )
execute_process (
C O M M A N D $ { P K G _ C O N F I G _ E X E C U T A B L E }
d b u s - 1 - - v a r i a b l e = s ys t e m _ b u s _ s e r v i c e s _ d i r
O U T P U T _ V A R I A B L E D B U S _ S E RV I C E _ D I R E C T O R Y
d b u s - 1 - - v a r i a b l e = s es s i o n _ b u s _ s e r v i c e s _ d i r
O U T P U T _ V A R I A B L E D B U S _ S E SS I O N _ D I R E C T O R Y
O U T P U T _ S T R I P _ T R A I L I N G _ W H I T E S P A C E
)
message ( STATUS "Using " ${ DBUS_SE RVICE_DIRECTORY} " for DBUS system service files" )
message ( STATUS "Using " ${ DBUS_SE SSION_DIRECTORY} " for DBUS session service files" )
endif ( )
if ( NOT DEFINED DBUS_SE SSION _DIRECTORY )
if ( NOT DEFINED DBUS_SE RVICE _DIRECTORY )
execute_process (
C O M M A N D $ { P K G _ C O N F I G _ E X E C U T A B L E }
d b u s - 1 - - v a r i a b l e = s es s i o n _ b u s _ s e r v i c e s _ d i r
O U T P U T _ V A R I A B L E D B U S _ S E SS I O N _ D I R E C T O R Y
d b u s - 1 - - v a r i a b l e = s ys t e m _ b u s _ s e r v i c e s _ d i r
O U T P U T _ V A R I A B L E D B U S _ S E RV I C E _ D I R E C T O R Y
O U T P U T _ S T R I P _ T R A I L I N G _ W H I T E S P A C E
)
message ( STATUS "Using " ${ DBUS_SESSION_DIRECTORY } " for DBUS session service files" )
if ( "${DBUS_SERVICE_DIRECTORY}" STREQUAL "" )
if ( "${DBUS_SESSION_DIRECTORY}" MATCHES "/services$" )
string ( REGEX REPLACE "/services$" "/system-services"
D B U S _ S E R V I C E _ D I R E C T O R Y " $ { D B U S _ S E S S I O N _ D I R E C T O R Y } " )
else ( )
tde_message_fatal ( "Directory for DBUS system service files can not be determined." )
endif ( )
endif ( )
message ( STATUS "Using " ${ DBUS_SERVICE_DIRECTORY } " for DBUS system service files" )
endif ( )
if ( NOT "${ARGV}" STREQUAL "" AND NOT DBUS_TQT_FOUND )