Package: speech-dispatcher Version: 0.12.0~rc2-1 Tags: patch User: [email protected] Usertags: origin-ubuntu noble ubuntu-patch
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 <[email protected]> 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 <[email protected]>, Samuel Thibault <[email protected]> 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

