diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-08-10 10:08:27 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-08-10 10:08:35 +0200 |
commit | d75eb5fd87fb752220050258a7b1f11cac7f6691 (patch) | |
tree | 5ed1c0b73ba687c49d2c2ea337a06e0ec32cd88f | |
parent | 8189b651e2ab4b22fb2c471e8436e93cb914a49b (diff) | |
download | ayatana-indicator-notifications-d75eb5fd87fb752220050258a7b1f11cac7f6691.tar.gz ayatana-indicator-notifications-d75eb5fd87fb752220050258a7b1f11cac7f6691.tar.bz2 ayatana-indicator-notifications-d75eb5fd87fb752220050258a7b1f11cac7f6691.zip |
debian/*: Install indicator's systemd user service file into DEB package.
-rw-r--r-- | debian/ayatana-indicator-notifications.links | 3 | ||||
-rw-r--r-- | debian/control | 2 | ||||
-rwxr-xr-x | debian/rules | 2 |
3 files changed, 6 insertions, 1 deletions
diff --git a/debian/ayatana-indicator-notifications.links b/debian/ayatana-indicator-notifications.links new file mode 100644 index 0000000..ccf4549 --- /dev/null +++ b/debian/ayatana-indicator-notifications.links @@ -0,0 +1,3 @@ +# Because dh-systemd does not support user units for compat levels below 12, we manually make the WantedBy link +# FIXME: drop this once we bump DH compat level to 12 or higher +/usr/lib/systemd/user/ayatana-indicator-notifications.service /usr/lib/systemd/user/ayatana-indicators.target.wants/ayatana-indicator-notifications.service
\ No newline at end of file diff --git a/debian/control b/debian/control index 4433862..f5db253 100644 --- a/debian/control +++ b/debian/control @@ -6,6 +6,7 @@ Uploaders: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Build-Depends: debhelper (>= 9), dh-autoreconf | debhelper (>= 9.20160403~), + dh-systemd | debhelper (>= 10.2~), intltool, libayatana-indicator-dev (>= 0.3.93), libayatana-indicator3-dev (>= 0.3.93), @@ -14,6 +15,7 @@ Build-Depends: debhelper (>= 9), libgtk-3-dev (>= 3.1), mate-common, pkg-config, + systemd [linux-any], Standards-Version: 4.1.3 Homepage: https://github.com/AyatanaIndicators/ayatana-indicator-notifications Vcs-Git: https://github.com/AyatanaIndicators/ayatana-indicator-notifications diff --git a/debian/rules b/debian/rules index 5341372..7382e4d 100755 --- a/debian/rules +++ b/debian/rules @@ -7,7 +7,7 @@ DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk %: - dh $@ --with autoreconf + dh $@ --with autoreconf,systemd override_dh_autoreconf: if [ ! -e po/ayatana-indicator-notifications.pot.bak ]; then \ |