From cbca7c35562d404b32483796355684f7640f474f Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Tue, 15 Jun 2021 00:57:53 +0200 Subject: data/: Drop ayatana-indicators.target (moved to libayatana-common). --- data/CMakeLists.txt | 17 ----------------- data/ayatana-indicators.target | 7 ------- 2 files changed, 24 deletions(-) delete mode 100644 data/ayatana-indicators.target diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt index 74b48e6..72a4f86 100644 --- a/data/CMakeLists.txt +++ b/data/CMakeLists.txt @@ -11,20 +11,3 @@ else() configure_file("${CMAKE_CURRENT_SOURCE_DIR}/ayatana-indicator.pc.in" "${CMAKE_CURRENT_BINARY_DIR}/ayatana-indicator-0.${API_VERSION}.pc" @ONLY) install(FILES "${CMAKE_CURRENT_BINARY_DIR}/ayatana-indicator-0.${API_VERSION}.pc" DESTINATION "${CMAKE_INSTALL_FULL_LIBDIR}/pkgconfig/") endif() - -# ayatana-indicators.target (only required once, so let's do it with FLAVOUR_GTK3) - -if (FLAVOUR_GTK3) - - pkg_check_modules(SYSTEMD systemd) - - if (${SYSTEMD_FOUND}) - if (${SYSTEMD_VERSION} VERSION_LESS 247) - set(SYSTEMD_USER_UNIT_DIR "${CMAKE_INSTALL_FULL_LIBDIR}/systemd/user") - else() - pkg_get_variable(SYSTEMD_USER_UNIT_DIR systemd systemd_user_unit_dir) - endif() - install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/ayatana-indicators.target" DESTINATION "${SYSTEMD_USER_UNIT_DIR}") - endif() - -endif() diff --git a/data/ayatana-indicators.target b/data/ayatana-indicators.target deleted file mode 100644 index 0dce2e9..0000000 --- a/data/ayatana-indicators.target +++ /dev/null @@ -1,7 +0,0 @@ -[Unit] -Description=Target representing the lifecycle of the Ayatana Indicators. Each indicator should be bound to it in its individual service file. -PartOf=graphical-session.target - -[Install] -# Old name for this target, kept for compatibility -Alias=ayatana-indicators-pre.target -- cgit v1.2.3