From 17970540c684c18de6c3996215845874b13ab5a3 Mon Sep 17 00:00:00 2001 From: Dario Freddi Date: Mon, 7 Sep 2009 10:28:45 +0000 Subject: [PATCH] CCMAIL:kde-buildsystem@kde.org CCMAIL:mueller@kde.org CCMAIL:neundorf@kde.org Commit coming after a long discussion with Alexander. Changing and moving KAuth macros, updating documentation, fixing stuff that already used KAuth. Also, bumping up KDE revision, KDE4WORKSPACE revision and make kdebase/workspace depend on the new 4.3.68 snapshot. Mail me if you find anything strange, it's my first KDE version bump, so you know ;) A big thank you to Alexander for all the help he gave on the cmake side of life. svn path=/trunk/KDE/kdelibs/; revision=1020835 --- CMakeLists.txt | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0d2602103..e6b3276ba 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -346,13 +346,11 @@ install(FILES data/operations/plasmoidservice.operations DESTINATION ${DATA_INST ########### next target ############### -include(MacroKAuth) +kde4_add_executable(kcmremotewidgetshelper private/remotewidgetshelper.cpp) +target_link_libraries(kcmremotewidgetshelper kdecore) +install(TARGETS kcmremotewidgetshelper DESTINATION ${LIBEXEC_INSTALL_DIR}) -set( KDE4_KAUTH_DBUS_POLICY_STUB ${CMAKE_SOURCE_DIR}/kdecore/auth/backends/dbus/dbus_policy.stub) -set( KDE4_KAUTH_DBUS_SERVICE_STUB ${CMAKE_SOURCE_DIR}/kdecore/auth/backends/dbus/dbus_service.stub) -set( KDE4_KAUTH_POLICY_GEN kauth-policy-gen) +kde4_install_auth_helper_files(kcmremotewidgetshelper org.kde.kcontrol.kcmremotewidgets root) -kde4_auth_add_helper(kcmremotewidgetshelper org.kde.kcontrol.kcmremotewidgets root private/remotewidgetshelper.cpp) - -kde4_auth_register_actions(org.kde.kcontrol.kcmremotewidgets kcm_remotewidgets.actions) +kde4_install_auth_actions(org.kde.kcontrol.kcmremotewidgets kcm_remotewidgets.actions)