summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt4
-rw-r--r--ConfigureChecks.cmake2
-rw-r--r--config.h.cmake2
-rw-r--r--configure.in.in2
-rw-r--r--kdesktop/ConfigureChecks.cmake6
-rw-r--r--kdesktop/lock/Makefile.am2
-rw-r--r--kdesktop/lock/lockdlg.cc2
7 files changed, 9 insertions, 11 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5b0818996..9143aeb83 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -173,7 +173,7 @@ option( BUILD_KAPPFINDER "Build kappfinder" ${BUILD_ALL} )
option( BUILD_KCHECKPASS "Build kcheckpass" ${BUILD_ALL} )
option( BUILD_KHELPCENTER "Build khelpcenter" ${BUILD_ALL} )
option( BUILD_KHOTKEYS "Build khotkeys" ${BUILD_ALL} )
-option( BUILD_KSCREENSAVER "Build tdescreensaver" ${BUILD_ALL} )
+option( BUILD_TDESCREENSAVER "Build tdescreensaver" ${BUILD_ALL} )
option( BUILD_KSTART "Build kstart" ${BUILD_ALL} )
option( BUILD_KSYSTRAYCMD "Build ksystraycmd" ${BUILD_ALL} )
option( BUILD_NSPLUGINS "Build nsplugins" ${BUILD_ALL} )
@@ -252,7 +252,7 @@ tde_conditional_add_subdirectory( BUILD_KAPPFINDER kappfinder )
tde_conditional_add_subdirectory( BUILD_KCHECKPASS kcheckpass )
tde_conditional_add_subdirectory( BUILD_KHELPCENTER khelpcenter )
tde_conditional_add_subdirectory( BUILD_KHOTKEYS khotkeys )
-tde_conditional_add_subdirectory( BUILD_KSCREENSAVER tdescreensaver )
+tde_conditional_add_subdirectory( BUILD_TDESCREENSAVER tdescreensaver )
tde_conditional_add_subdirectory( BUILD_KSTART kstart )
tde_conditional_add_subdirectory( BUILD_KSYSTRAYCMD ksystraycmd )
tde_conditional_add_subdirectory( BUILD_NSPLUGINS nsplugins )
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index e7e5709ad..1a96c7c52 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -169,7 +169,7 @@ endif( )
# GL
-if( BUILD_KDESKTOP OR BUILD_KCONTROL OR BUILD_KSCREENSAVER )
+if( BUILD_KDESKTOP OR BUILD_KCONTROL OR BUILD_TDESCREENSAVER )
check_library_exists( GL glXChooseVisual "" HAVE_GLXCHOOSEVISUAL )
if( HAVE_GLXCHOOSEVISUAL )
set( GL_LIBRARY "GL" )
diff --git a/config.h.cmake b/config.h.cmake
index f5b429ed0..c9b384f50 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -123,7 +123,7 @@
#cmakedefine KCHECKPASS_PAM_SERVICE "@KCHECKPASS_PAM_SERVICE@"
// kdesktop
-#cmakedefine KSCREENSAVER_PAM_SERVICE "@KSCREENSAVER_PAM_SERVICE@"
+#cmakedefine TDESCREENSAVER_PAM_SERVICE "@TDESCREENSAVER_PAM_SERVICE@"
#cmakedefine WITH_KDESKTOP_LOCK_BACKTRACE 1
// tdm
diff --git a/configure.in.in b/configure.in.in
index 20a759996..d2829c886 100644
--- a/configure.in.in
+++ b/configure.in.in
@@ -7,7 +7,7 @@ KDE_PASSWDLIBS
DEF_PAM_SERVICE(tdm, tdm, TDM)
DEF_PAM_SERVICE(kcp, kcheckpass, KCHECKPASS)
-DEF_PAM_SERVICE(kss, tdescreensaver, KSCREENSAVER)
+DEF_PAM_SERVICE(kss, tdescreensaver, TDESCREENSAVER)
dnl Checks for header files.
AC_HEADER_DIRENT
diff --git a/kdesktop/ConfigureChecks.cmake b/kdesktop/ConfigureChecks.cmake
index 9e59185a4..2d9927043 100644
--- a/kdesktop/ConfigureChecks.cmake
+++ b/kdesktop/ConfigureChecks.cmake
@@ -9,10 +9,8 @@
#
#################################################
-# FIXME: KSCREENSAVER_PAM_SERVICE should be "kde" or "tdescreensaver"?
-
-if( WITH_PAM AND (NOT DEFINED KSCREENSAVER_PAM_SERVICE) )
- set( KSCREENSAVER_PAM_SERVICE "kde" CACHE INTERNAL "" )
+if( WITH_PAM AND (NOT DEFINED TDESCREENSAVER_PAM_SERVICE) )
+ set( TDESCREENSAVER_PAM_SERVICE "kde" CACHE INTERNAL "" )
endif( )
if( WITH_KDESKTOP_LOCK_BACKTRACE )
diff --git a/kdesktop/lock/Makefile.am b/kdesktop/lock/Makefile.am
index 5b6ccfd21..60a1531f5 100644
--- a/kdesktop/lock/Makefile.am
+++ b/kdesktop/lock/Makefile.am
@@ -18,7 +18,7 @@ lockprocess.o: ../kdesktopsettings.h
####### Build rules
-PAM = @KSCREENSAVER_PAM_SERVICE@
+PAM = @TDESCREENSAVER_PAM_SERVICE@
install-data-local:
-@test -n "$(DESTDIR)" || test -z "$(PAM)" || $(top_srcdir)/mkpamserv $(PAM)
diff --git a/kdesktop/lock/lockdlg.cc b/kdesktop/lock/lockdlg.cc
index 252ade384..199cc95b7 100644
--- a/kdesktop/lock/lockdlg.cc
+++ b/kdesktop/lock/lockdlg.cc
@@ -565,7 +565,7 @@ void PasswordDlg::gplugStart()
sprintf(fdbuf, "%d", sfd[1]);
execlp("kcheckpass", "kcheckpass",
#ifdef HAVE_PAM
- "-c", KSCREENSAVER_PAM_SERVICE,
+ "-c", TDESCREENSAVER_PAM_SERVICE,
#endif
"-m", mPlugin->info->method,
"-S", fdbuf,