aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2020-08-11 08:58:52 +0200
committerRobert Tari <robert@tari.in>2020-08-11 08:58:52 +0200
commit3fc4dab5c4407697115fb14f6f23444de1206544 (patch)
treecde5d3c938510950c54981db42c45367cbb83b5f /debian
parent474e1d6f82bd95afa4c427c3354e3970bae594f5 (diff)
parentda02fa1cbc2443628289661b48dc0f635532acf1 (diff)
downloadayatana-indicator-messages-3fc4dab5c4407697115fb14f6f23444de1206544.tar.gz
ayatana-indicator-messages-3fc4dab5c4407697115fb14f6f23444de1206544.tar.bz2
ayatana-indicator-messages-3fc4dab5c4407697115fb14f6f23444de1206544.zip
Merge branch 'sunweaver-pr/systemd-service-file'
Attributes GH PR #11: https://github.com/AyatanaIndicators/ayatana-indicator-messages/pull/11
Diffstat (limited to 'debian')
-rw-r--r--debian/ayatana-indicator-messages.install2
-rw-r--r--debian/ayatana-indicator-messages.links3
-rw-r--r--debian/control2
-rwxr-xr-xdebian/rules2
4 files changed, 7 insertions, 2 deletions
diff --git a/debian/ayatana-indicator-messages.install b/debian/ayatana-indicator-messages.install
index 8cf384a..47c562c 100644
--- a/debian/ayatana-indicator-messages.install
+++ b/debian/ayatana-indicator-messages.install
@@ -1,6 +1,6 @@
usr/lib/*/ayatana-indicator-messages/ayatana-indicator-messages-service
+usr/lib/systemd
usr/share/ayatana/indicators
-usr/share/upstart
usr/share/glib-2.0
usr/share/icons
usr/share/locale
diff --git a/debian/ayatana-indicator-messages.links b/debian/ayatana-indicator-messages.links
new file mode 100644
index 0000000..0bf0328
--- /dev/null
+++ b/debian/ayatana-indicator-messages.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-messages.service /usr/lib/systemd/user/ayatana-indicators.target.wants/ayatana-indicator-messages.service \ No newline at end of file
diff --git a/debian/control b/debian/control
index 027f665..648990d 100644
--- a/debian/control
+++ b/debian/control
@@ -4,6 +4,7 @@ Priority: optional
Maintainer: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Build-Depends: debhelper (>= 9),
dh-autoreconf | debhelper (>= 9.20160403~),
+ dh-systemd | debhelper (>= 10.2~),
gobject-introspection (>= 0.9.12-4~),
gtk-doc-tools,
intltool,
@@ -14,6 +15,7 @@ Build-Depends: debhelper (>= 9),
mate-common,
python3-dbusmock,
valac,
+ systemd [linux-any],
Standards-Version: 4.2.1
Homepage: https://github.com/AyatanaIndicators/ayatana-indicator-messages
Vcs-Git: https://github.com/AyatanaIndicators/ayatana-indicator-messages
diff --git a/debian/rules b/debian/rules
index eb8bcc6..e97abfe 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,7 @@ DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
%:
- dh $@ --with autoreconf,gir
+ dh $@ --with autoreconf,gir,systemd
override_dh_autoreconf:
if [ ! -e po/ayatana-indicator-messages.pot.bak ]; then \