From 1f3832a1368de214e95a38dd391367f8ae2456cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Tue, 4 Feb 2014 02:46:39 +0100 Subject: Removed unnecessary dependency on dbus-tqt and dbus-1-tqt --- tdm/backend/CMakeLists.txt | 6 +++--- tdm/backend/client.c | 9 --------- 2 files changed, 3 insertions(+), 12 deletions(-) (limited to 'tdm') diff --git a/tdm/backend/CMakeLists.txt b/tdm/backend/CMakeLists.txt index 625c8e85b..9f9d0430f 100644 --- a/tdm/backend/CMakeLists.txt +++ b/tdm/backend/CMakeLists.txt @@ -14,11 +14,11 @@ include_directories( ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_BINARY_DIR} - ${DBUS_TQT_INCLUDE_DIRS} + ${DBUS_INCLUDE_DIRS} ) link_directories( - ${DBUS_TQT_LIBRARY_DIRS} + ${DBUS_LIBRARY_DIRS} ) ##### tdm (executable) ########################## @@ -43,6 +43,6 @@ tde_add_executable( tdm process.c protodpy.c reset.c resource.c rpcauth.c server.c session.c sessreg.c socket.c streams.c util.c xdmauth.c xdmcp.c - LINK X11 ${XAU_LIBRARIES} ${DBUS_TQT_LIBRARIES} ${CRYPT_LIBRARY} ${PAM_LIBRARY} ${XDMCP_LIBRARIES} + LINK X11 ${XAU_LIBRARIES} ${DBUS_LIBRARIES} ${CRYPT_LIBRARY} ${PAM_LIBRARY} ${XDMCP_LIBRARIES} DESTINATION ${BIN_INSTALL_DIR} ) diff --git a/tdm/backend/client.c b/tdm/backend/client.c index d6ed5a1da..c9948ebf9 100644 --- a/tdm/backend/client.c +++ b/tdm/backend/client.c @@ -95,10 +95,6 @@ extern int loginsuccess( const char *User, const char *Host, const char *Tty, ch #define log_to_audit_system(l,h,d,s) do { ; } while (0) #endif -#ifdef WITH_CONSOLE_KIT -#include "consolekit.h" -#endif - /* * Session data, mostly what struct verify_info was for */ @@ -1310,11 +1306,6 @@ StartClient() if (krbtkfile[0] != '\0') env = setEnv( env, "KRBTKFILE", krbtkfile ); #endif -#ifdef WITH_CONSOLE_KIT - if (ck_session_cookie != NULL) { - env = setEnv ( env, "XDG_SESSION_COOKIE", ck_session_cookie ); - } -#endif #ifdef WITH_CONSOLE_KIT if (ck_session_cookie != NULL) { env = setEnv ( env, "XDG_SESSION_COOKIE", ck_session_cookie ); -- cgit v1.2.1