aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/ayatana-indicator-display.links2
-rw-r--r--debian/control1
-rwxr-xr-xdebian/rules2
3 files changed, 4 insertions, 1 deletions
diff --git a/debian/ayatana-indicator-display.links b/debian/ayatana-indicator-display.links
new file mode 100644
index 0000000..b5d4c0b
--- /dev/null
+++ b/debian/ayatana-indicator-display.links
@@ -0,0 +1,2 @@
+# Because dh-systemd does not yet support user units, we manually make the WantedBy link
+/usr/lib/systemd/user/ayatana-indicator-display.service /usr/lib/systemd/user/ayatana-indicators.target.wants/ayatana-indicator-display.service
diff --git a/debian/control b/debian/control
index d244612..908046b 100644
--- a/debian/control
+++ b/debian/control
@@ -22,6 +22,7 @@ Build-Depends: cmake,
googletest | google-mock (>= 1.6.0+svn437),
# for packaging
debhelper (>= 9),
+ dh-systemd,
# for systemd unit
systemd [linux-any],
Standards-Version: 4.1.1
diff --git a/debian/rules b/debian/rules
index 4ff937e..d3e74c8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,7 +11,7 @@ DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
%:
- dh $@ --parallel
+ dh $@ --parallel --with systemd
get-orig-source:
uscan --noconf --force-download --rename --download-current-version --destdir=..