Skip to content
Snippets Groups Projects

data/CMakeLists.txt: Use pkg-config to detect SYSTEMD_USER_DIR. Only detect it...

Open Mike Gabriel requested to merge personal/sunweaver/systemd-user-unitdir into main
1 unresolved thread

data/CMakeLists.txt: Use pkg-config to detect SYSTEMD_USER_DIR. Only detect it if the systemd.pc file is available.

Merge request reports

Pipeline #1662145223 passed

Pipeline passed for 5f994c14 on personal/sunweaver/systemd-user-unitdir

Ready to merge by members who can write to the target branch.
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
22 22 ## Systemd Unit File
23 23 ##
24 24
25 # where to install
26 # Uncomment when we drop Vivid
27 # pkg_get_variable(SYSTEMD_USER_DIR systemd systemduserunitdir)
28 set (SYSTEMD_USER_DIR "/usr/lib/systemd/user")
29 message (STATUS "${SYSTEMD_USER_DIR} is the systemd user unit file install dir")
25 pkg_check_modules(SYSTEMD systemd)
26 if (${SYSTEMD_FOUND})
30 27
31 set (SYSTEMD_USER_NAME "${CMAKE_PROJECT_NAME}.service")
32 set (SYSTEMD_USER_FILE "${CMAKE_CURRENT_BINARY_DIR}/${SYSTEMD_USER_NAME}")
33 set (SYSTEMD_USER_FILE_IN "${CMAKE_CURRENT_SOURCE_DIR}/${SYSTEMD_USER_NAME}.in")
28 pkg_get_variable(SYSTEMD_USER_DIR systemd systemduserunitdir)
29 message (STATUS "${SYSTEMD_USER_DIR} is the systemd user unit file install dir")
  • Mike Gabriel added 7 commits

    added 7 commits

    • 2e54faf8...04b20935 - 4 commits from branch main
    • 50434163 - data/CMakeLists.txt: Use pkg-config to detect SYSTEMD_USER_DIR. Only detect it...
    • 5bff926f - d/control: Add B-D: pkgconf.
    • 3b611a10 - d/control: Replace systemd by systemd-dev in B-D:.

    Compare with previous version

  • DEB build of UBportsCore/lomiri-indicator-location/MR-31: FAILURE. Details

  • Mike Gabriel added 2 commits

    added 2 commits

    • c29aba1a - data/CMakeLists.txt: Use pkg-config to detect SYSTEMD_USER_DIR. Only detect it...
    • 8c280558 - d/control: Add B-D: pkgconf.

    Compare with previous version

  • Mike Gabriel added 6 commits

    added 6 commits

    • 8c280558...04b20935 - 4 commits from branch main
    • ce88c3ec - data/CMakeLists.txt: Use pkg-config to detect SYSTEMD_USER_DIR. Only detect it...
    • 5f994c14 - d/control: Add B-D: pkgconf.

    Compare with previous version

  • Mike Gabriel requested review from @peat-psuwit

    requested review from @peat-psuwit

  • DEB build of UBportsCore/lomiri-indicator-location/MR-31: SUCCESS.

  • DEB build of UBportsCore/lomiri-indicator-location/MR-31: FIXED.

  • Please register or sign in to reply
    Loading