diff --git a/.kde-ci.yml b/.kde-ci.yml index 6e5651fdf..acdca200a 100644 --- a/.kde-ci.yml +++ b/.kde-ci.yml @@ -50,7 +50,6 @@ Dependencies: 'frameworks/kdesu': '@latest' 'frameworks/kpeople': '@latest' 'frameworks/prison': '@latest' - 'frameworks/kinit': '@latest' 'plasma/layer-shell-qt': '@same' 'plasma/kscreenlocker': '@same' 'plasma/libkscreen': '@same' diff --git a/CMakeLists.txt b/CMakeLists.txt index a8d652c98..60593ff4c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -41,7 +41,7 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS Auth Plasma Runner Notifications NotifyConfig NewStuff Wallet IdleTime Declarative I18n KCMUtils TextWidgets Crash GlobalAccel DBusAddons Wayland CoreAddons People ActivitiesStats Activities KIO Prison PlasmaQuick Package - GuiAddons Archive ItemModels IconThemes UnitConversion ItemModels Init TextEditor + GuiAddons Archive ItemModels IconThemes UnitConversion ItemModels TextEditor OPTIONAL_COMPONENTS DocTools) find_package(KDED CONFIG REQUIRED) diff --git a/libkworkspace/CMakeLists.txt b/libkworkspace/CMakeLists.txt index 82ee24050..1d9c63a9f 100644 --- a/libkworkspace/CMakeLists.txt +++ b/libkworkspace/CMakeLists.txt @@ -15,7 +15,7 @@ set(kworkspace_LIB_SRCS kdisplaymanager.cpp add_definitions(-DTRANSLATION_DOMAIN=\"libkworkspace\") -qt_add_dbus_interface(kworkspace_LIB_SRCS ${KINIT_DBUS_INTERFACES_DIR}/kf5_org.kde.KLauncher.xml klauncher_interface) +qt_add_dbus_interface(kworkspace_LIB_SRCS kf5_org.kde.KLauncher.xml klauncher_interface) qt_add_dbus_interface(kworkspace_LIB_SRCS ${KSCREENLOCKER_DBUS_INTERFACES_DIR}/kf5_org.freedesktop.ScreenSaver.xml screenlocker_interface ) qt_add_dbus_interface(kworkspace_LIB_SRCS ${KSCREENLOCKER_DBUS_INTERFACES_DIR}/org.kde.screensaver.xml kscreenlocker_interface ) qt_add_dbus_interface(kworkspace_LIB_SRCS ${plasma-workspace_SOURCE_DIR}/ksmserver/org.kde.LogoutPrompt.xml logoutprompt_interface) diff --git a/libkworkspace/kf5_org.kde.KLauncher.xml b/libkworkspace/kf5_org.kde.KLauncher.xml new file mode 100644 index 000000000..9c049f362 --- /dev/null +++ b/libkworkspace/kf5_org.kde.KLauncher.xml @@ -0,0 +1,76 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/libkworkspace/updatelaunchenvjob.cpp b/libkworkspace/updatelaunchenvjob.cpp index d072a4777..391a890d0 100644 --- a/libkworkspace/updatelaunchenvjob.cpp +++ b/libkworkspace/updatelaunchenvjob.cpp @@ -76,7 +76,7 @@ void UpdateLaunchEnvJob::start() } const QString value = d->environment.value(varName); - // KLauncher; remove this in KF6 (by then KInit will be gone) + // KLauncher (for backward compatibility with KF5 only, can be removed in Plasma 7) org::kde::KLauncher klauncher(QStringLiteral("org.kde.klauncher5"), QStringLiteral("/KLauncher"), QDBusConnection::sessionBus()); auto klauncherReply = klauncher.setLaunchEnv(varName, value); d->monitorReply(klauncherReply);