From 3856b3595b534f67b5e2a949103053dcdfb8d7c1 Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Fri, 25 Oct 2019 17:24:17 +0200 Subject: [PATCH] Remove unused service files --- services/CMakeLists.txt | 18 ------------------ services/README | 9 --------- services/kactivitymanagerd.service.cmake | 14 -------------- services/kded5.service.cmake | 15 --------------- services/kdeinit5.service.cmake | 15 --------------- services/kglobalaccel5.service.cmake | 14 -------------- services/kuiserver5.service.cmake | 14 -------------- services/plasma-phone-ui.service.cmake | 21 --------------------- services/plasma-phone.service.cmake | 19 ------------------- 9 files changed, 139 deletions(-) delete mode 100644 services/CMakeLists.txt delete mode 100644 services/README delete mode 100644 services/kactivitymanagerd.service.cmake delete mode 100644 services/kded5.service.cmake delete mode 100644 services/kdeinit5.service.cmake delete mode 100644 services/kglobalaccel5.service.cmake delete mode 100644 services/kuiserver5.service.cmake delete mode 100644 services/plasma-phone-ui.service.cmake delete mode 100644 services/plasma-phone.service.cmake diff --git a/services/CMakeLists.txt b/services/CMakeLists.txt deleted file mode 100644 index f0122473..00000000 --- a/services/CMakeLists.txt +++ /dev/null @@ -1,18 +0,0 @@ -find_package(PkgConfig REQUIRED) -pkg_check_modules(SYSTEMD systemd REQUIRED) -execute_process(COMMAND ${PKG_CONFIG_EXECUTABLE} --variable=systemduserunitdir systemd OUTPUT_VARIABLE SYSTEMD_USER_UNIT_DIR) -string(REGEX REPLACE "[ \t\n]+" "" SYSTEMD_USER_UNIT_DIR ${SYSTEMD_USER_UNIT_DIR}) - -macro(plasma_phone_install_service name) - configure_file(${CMAKE_CURRENT_SOURCE_DIR}/${name}.service.cmake ${CMAKE_CURRENT_BINARY_DIR}/${name}.service) - install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${name}.service - DESTINATION ${SYSTEMD_USER_UNIT_DIR}) -endmacro() - -plasma_phone_install_service(kactivitymanagerd) -plasma_phone_install_service(kded5) -plasma_phone_install_service(kdeinit5) -plasma_phone_install_service(kglobalaccel5) -plasma_phone_install_service(kuiserver5) -plasma_phone_install_service(plasma-phone-ui) -plasma_phone_install_service(plasma-phone) diff --git a/services/README b/services/README deleted file mode 100644 index 3cb51ba6..00000000 --- a/services/README +++ /dev/null @@ -1,9 +0,0 @@ -This files are for systemd units. - -Our current implemention is based on top of the Ubuntu phone which -still uses upstart. So these files do nothing, but we're still keeping -them over here for now. - -The situation should be revisited in about 6 months. - -- 19th June 2015 diff --git a/services/kactivitymanagerd.service.cmake b/services/kactivitymanagerd.service.cmake deleted file mode 100644 index 8075b28f..00000000 --- a/services/kactivitymanagerd.service.cmake +++ /dev/null @@ -1,14 +0,0 @@ -# -# Copyright (C) 2014 Pier Luigi Fiorini -# -# Starts kactivitymanagerd. -# - -[Unit] -Description=kactivitymanagerd - -[Service] -Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=%t/dbus/user_bus_socket -EnvironmentFile=-/var/lib/environment/plasma-phone/*.conf -ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/kactivitymanagerd start-daemon -BusName=org.kde.ActivityManager diff --git a/services/kded5.service.cmake b/services/kded5.service.cmake deleted file mode 100644 index 96d03751..00000000 --- a/services/kded5.service.cmake +++ /dev/null @@ -1,15 +0,0 @@ -# -# Copyright (C) 2014 Pier Luigi Fiorini -# -# Starts kded5. -# - -[Unit] -Description=kded5 -Requires=kdeinit5.service - -[Service] -Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=%t/dbus/user_bus_socket -EnvironmentFile=-/var/lib/environment/plasma-phone/*.conf -ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/kded5 -BusName=org.kde.kded5 diff --git a/services/kdeinit5.service.cmake b/services/kdeinit5.service.cmake deleted file mode 100644 index d0a3db22..00000000 --- a/services/kdeinit5.service.cmake +++ /dev/null @@ -1,15 +0,0 @@ -# -# Copyright (C) 2014 Pier Luigi Fiorini -# -# Starts kdeinit5. -# - -[Unit] -Description=kdeinit5 -Requires=dbus.socket - -[Service] -Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=%t/dbus/user_bus_socket -EnvironmentFile=-/var/lib/environment/plasma-phone/*.conf -ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/kdeinit5 +kcminit_startup --no-fork -BusName=org.kde.klauncher5 diff --git a/services/kglobalaccel5.service.cmake b/services/kglobalaccel5.service.cmake deleted file mode 100644 index 75e52430..00000000 --- a/services/kglobalaccel5.service.cmake +++ /dev/null @@ -1,14 +0,0 @@ -# -# Copyright (C) 2014 Pier Luigi Fiorini -# -# Starts kglobalaccel5. -# - -[Unit] -Description=kglobalaccel5 - -[Service] -Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=%t/dbus/user_bus_socket -EnvironmentFile=-/var/lib/environment/plasma-phone/*.conf -ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/kglobalaccel5 -BusName=org.kde.kglobalaccel diff --git a/services/kuiserver5.service.cmake b/services/kuiserver5.service.cmake deleted file mode 100644 index 4e0bb2c6..00000000 --- a/services/kuiserver5.service.cmake +++ /dev/null @@ -1,14 +0,0 @@ -# -# Copyright (C) 2014 Pier Luigi Fiorini -# -# Starts kuiserver5. -# - -[Unit] -Description=kuiserver5 - -[Service] -Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=%t/dbus/user_bus_socket -EnvironmentFile=-/var/lib/environment/plasma-phone/*.conf -ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/kuiserver5 -BusName=org.kde.kuiserver diff --git a/services/plasma-phone-ui.service.cmake b/services/plasma-phone-ui.service.cmake deleted file mode 100644 index 8229f996..00000000 --- a/services/plasma-phone-ui.service.cmake +++ /dev/null @@ -1,21 +0,0 @@ -# -# Copyright (C) 2014 Pier Luigi Fiorini -# -# Starts Plasma shell for phones. -# - -[Unit] -Description=Plasma Phone UI -Requires=dbus.socket -After= - -[Service] -Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=%t/dbus/user_bus_socket -EnvironmentFile=-/var/lib/environment/plasma-phone/*.conf -ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/plasmashell -p org.kde.plasma.phone -n -ExecStop=@CMAKE_INSTALL_FULL_BINDIR@/kquitapp5 plasmashell -Restart=on-failure -BusName=org.kde.plasmashell - -[Install] -WantedBy=user-session.target diff --git a/services/plasma-phone.service.cmake b/services/plasma-phone.service.cmake deleted file mode 100644 index 0a88d8de..00000000 --- a/services/plasma-phone.service.cmake +++ /dev/null @@ -1,19 +0,0 @@ -# -# Copyright (C) 2014 Pier Luigi Fiorini -# -# Starts Plasma shell for phones. -# - -[Unit] -Description=Plasma Phone -Requires=dbus.socket - -[Service] -Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=%t/dbus/user_bus_socket -Environment=PLASMA_PLATFORM=phone -Environment=QT_IM_MODULE=Maliit -ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/plasma-phone -Restart=on-failure - -[Install] -WantedBy=user-session.target