[Tts-project] Bug#1065081: Bug#1065081: Doesn't include the systemd unit needed for socket activation
Samuel Thibault
sthibault at debian.org
Mon Mar 4 01:25:41 GMT 2024
Hello,
Sebastien Bacher, le jeu. 29 févr. 2024 15:49:03 +0100, a ecrit:
> 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
Indeed, thanks!
Samuel
> 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 at 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 at debian.org>, Samuel Thibault <sthibault at 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 at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/tts-project
--
Samuel
---
Pour une évaluation indépendante, transparente et rigoureuse !
Je soutiens la Commission d'Évaluation de l'Inria.
More information about the Tts-project
mailing list