aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2020-08-11 08:03:20 +0200
committerRobert Tari <robert@tari.in>2020-08-11 08:03:20 +0200
commit2fe548a262c7f6bf521c0de753ba8d5f0aeec79b (patch)
tree96597427f9f24628515dc06464bc52a162df3d67
parentd37997eca0e64f76bd59a7b3ff139b5ae51f1263 (diff)
parent1fb52f0fc34e46d3a140d75f21189a3e031e3104 (diff)
downloadayatana-indicator-power-2fe548a262c7f6bf521c0de753ba8d5f0aeec79b.tar.gz
ayatana-indicator-power-2fe548a262c7f6bf521c0de753ba8d5f0aeec79b.tar.bz2
ayatana-indicator-power-2fe548a262c7f6bf521c0de753ba8d5f0aeec79b.zip
Merge branch 'sunweaver-pr/drop-upstart-support'
Attributes GH PR #8: https://github.com/AyatanaIndicators/ayatana-indicator-power/pull/8
-rw-r--r--data/CMakeLists.txt30
-rw-r--r--data/ayatana-indicator-power.conf.in9
-rw-r--r--data/ayatana-indicator-power.override1
3 files changed, 0 insertions, 40 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
index 4061fdc..e15a81e 100644
--- a/data/CMakeLists.txt
+++ b/data/CMakeLists.txt
@@ -34,39 +34,9 @@ if (${SYSTEMD_FOUND})
# install it
install (FILES "${SYSTEMD_USER_FILE}"
DESTINATION "${SYSTEMD_USER_DIR}")
-
- ##
- ## Upstart systemd override Job File
- ##
-
- set (UPSTART_SYSTEMD_OVERRIDE_DIR "${CMAKE_INSTALL_FULL_DATADIR}/upstart/systemd-session/upstart")
- message (STATUS "${UPSTART_SYSTEMD_OVERRIDE_DIR} is the Upstart override Job File for systemd dir")
-
- install (FILES "${CMAKE_CURRENT_SOURCE_DIR}/${CMAKE_PROJECT_NAME}.override"
- DESTINATION "${UPSTART_SYSTEMD_OVERRIDE_DIR}")
endif()
##
-## Upstart Job File
-##
-
-# where to install
-set (UPSTART_JOB_DIR "${CMAKE_INSTALL_FULL_DATADIR}/upstart/sessions")
-message (STATUS "${UPSTART_JOB_DIR} is the Upstart Job File install dir")
-
-set (UPSTART_JOB_NAME "${CMAKE_PROJECT_NAME}.conf")
-set (UPSTART_JOB_FILE "${CMAKE_CURRENT_BINARY_DIR}/${UPSTART_JOB_NAME}")
-set (UPSTART_JOB_FILE_IN "${CMAKE_CURRENT_SOURCE_DIR}/${UPSTART_JOB_NAME}.in")
-
-# build it
-set (pkglibexecdir "${CMAKE_INSTALL_FULL_PKGLIBEXECDIR}")
-configure_file ("${UPSTART_JOB_FILE_IN}" "${UPSTART_JOB_FILE}")
-
-# install it
-install (FILES "${UPSTART_JOB_FILE}"
- DESTINATION "${UPSTART_JOB_DIR}")
-
-##
## XDG Autostart File
##
diff --git a/data/ayatana-indicator-power.conf.in b/data/ayatana-indicator-power.conf.in
deleted file mode 100644
index d3a8e33..0000000
--- a/data/ayatana-indicator-power.conf.in
+++ /dev/null
@@ -1,9 +0,0 @@
-description "Ayatana Indicator Power Service"
-
-start on ayatana-indicator-services-start
-stop on desktop-end or ayatana-indicator-services-end
-
-respawn
-respawn limit 2 10
-
-exec $SNAP@pkglibexecdir@/ayatana-indicator-power-service
diff --git a/data/ayatana-indicator-power.override b/data/ayatana-indicator-power.override
deleted file mode 100644
index 2905494..0000000
--- a/data/ayatana-indicator-power.override
+++ /dev/null
@@ -1 +0,0 @@
-manual