While rebasing the Ubuntu package on the new Debian version I noticed that the .install doesn't include the new systemd socket activation units (which is needed for tts in the firefox snap for example). THe attached patch fixes the issue, I've also bumped the compat level to 13 which default to --fail-missing and would catch such errors
diff -Nru speech-dispatcher-0.12.0~rc2/debian/changelog speech-dispatcher-0.12.0~rc2/debian/changelog
--- speech-dispatcher-0.12.0~rc2/debian/changelog 2024-02-22 20:26:39.000000000 +0100
+++ speech-dispatcher-0.12.0~rc2/debian/changelog 2024-02-29 14:50:31.000000000 +0100
@@ -1,3 +1,13 @@
+speech-dispatcher (0.12.0~rc2-2) UNRELEASED; urgency=medium
+
+ * debian/control:
+ - update to compat 13 which default to dh_missing --fail-missing
+ * debian/rules, debian/speech-dispatcher.install:
+ - include the usr/lib/systemd/user directory which has the new
+ socket activation entry
+
+ -- Sebastien Bacher <seb128@ubuntu.com> Thu, 29 Feb 2024 14:50:31 +0100
+
speech-dispatcher (0.12.0~rc2-1) experimental; urgency=medium
* New upstream RC release
diff -Nru speech-dispatcher-0.12.0~rc2/debian/control speech-dispatcher-0.12.0~rc2/debian/control
--- speech-dispatcher-0.12.0~rc2/debian/control 2024-02-22 20:20:46.000000000 +0100
+++ speech-dispatcher-0.12.0~rc2/debian/control 2024-02-29 14:50:31.000000000 +0100
@@ -5,7 +5,7 @@
Uploaders:
Paul Gevers <elbrus@debian.org>, Samuel Thibault <sthibault@debian.org>
Build-Depends:
- debhelper-compat (= 12), dh-exec, dh-sequence-python3,
+ debhelper-compat (= 13), dh-exec, dh-sequence-python3,
automake, libtool,
python3:any, python3-xdg,
flite1-dev (>= 1.4), flite,
diff -Nru speech-dispatcher-0.12.0~rc2/debian/rules speech-dispatcher-0.12.0~rc2/debian/rules
--- speech-dispatcher-0.12.0~rc2/debian/rules 2024-02-22 20:20:46.000000000 +0100
+++ speech-dispatcher-0.12.0~rc2/debian/rules 2024-02-29 14:50:31.000000000 +0100
@@ -4,6 +4,7 @@
include /usr/share/dpkg/pkg-info.mk
export deb_systemdsystemunitdir = $(shell pkgconf --variable=systemdsystemunitdir systemd | sed s,^/,,)
+export deb_systemduserunitdir = $(shell pkgconf --variable=systemduserunitdir systemd | sed s,^/,,)
# NAS is in universe in Ubuntu
ifeq ($(shell dpkg-vendor --derives-from Ubuntu && echo yes),yes)
diff -Nru speech-dispatcher-0.12.0~rc2/debian/speech-dispatcher.install speech-dispatcher-0.12.0~rc2/debian/speech-dispatcher.install
--- speech-dispatcher-0.12.0~rc2/debian/speech-dispatcher.install 2024-02-22 20:26:39.000000000 +0100
+++ speech-dispatcher-0.12.0~rc2/debian/speech-dispatcher.install 2024-02-29 14:50:31.000000000 +0100
@@ -10,5 +10,7 @@
usr/share/speech-dispatcher
etc/speech-dispatcher
[linux-any] ${deb_systemdsystemunitdir}/speech-dispatcherd.service +[linux-any] ${deb_systemduserunitdir}/speech-dispatcher.service
+[linux-any] ${deb_systemduserunitdir}/speech-dispatcher.socket
usr/share/man/man1/speech-dispatcher.1
usr/share/man/man1/spd-say.1
_______________________________________________
Tts-project mailing list
Tts-project@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/tts-project
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 300 |
Nodes: | 16 (2 / 14) |
Uptime: | 07:45:49 |
Calls: | 6,706 |
Files: | 12,236 |
Messages: | 5,350,636 |