[Tts-project] Bug#1052706: speech-dispatcher FTBFS when systemd.pc changes systemdsystemunitdir
Helmut Grohne
helmut at subdivi.de
Tue Sep 26 10:30:53 BST 2023
Source: speech-dispatcher
Version: 0.11.5-1
Tags: ftbfs patch
User: helmutg at debian.org
Usertags: dep17m2
We want to change the location of systemdsystemunitdir in systemd.pc to
point below /usr. speech-dispatcher's upstream build system consumes
this variable while the packaging hard codes its current value. As we
change it, speech-dispatcher will FTBFS. Consider applying the attached
patch to avoid this failure.
Helmut
-------------- next part --------------
diff -Nru speech-dispatcher-0.11.5/debian/changelog speech-dispatcher-0.11.5/debian/changelog
--- speech-dispatcher-0.11.5/debian/changelog 2023-08-06 20:16:54.000000000 +0200
+++ speech-dispatcher-0.11.5/debian/changelog 2023-09-26 11:08:07.000000000 +0200
@@ -1,3 +1,10 @@
+speech-dispatcher (0.11.5-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTBFS when systemd.pc changes systemdsystemunitdir. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de> Tue, 26 Sep 2023 11:08:07 +0200
+
speech-dispatcher (0.11.5-1) unstable; urgency=medium
* New upstream release.
diff -Nru speech-dispatcher-0.11.5/debian/control speech-dispatcher-0.11.5/debian/control
--- speech-dispatcher-0.11.5/debian/control 2023-06-14 11:19:28.000000000 +0200
+++ speech-dispatcher-0.11.5/debian/control 2023-09-26 11:07:18.000000000 +0200
@@ -21,7 +21,9 @@
libdotconf-dev (>= 1.3),
libglib2.0-dev (>= 2.36),
libltdl-dev,
+ pkgconf,
systemd [linux-any],
+ systemd-dev [linux-any],
gettext, texinfo, help2man
Rules-Requires-Root: no
Vcs-Browser: https://salsa.debian.org/tts-team/speech-dispatcher
diff -Nru speech-dispatcher-0.11.5/debian/rules speech-dispatcher-0.11.5/debian/rules
--- speech-dispatcher-0.11.5/debian/rules 2023-04-27 01:00:31.000000000 +0200
+++ speech-dispatcher-0.11.5/debian/rules 2023-09-26 11:08:04.000000000 +0200
@@ -3,6 +3,8 @@
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
include /usr/share/dpkg/pkg-info.mk
+export deb_systemdsystemunitdir = $(shell pkgconf --variable=systemdsystemunitdir systemd | sed s,^/,,)
+
# NAS is in universe in Ubuntu
ifeq ($(shell dpkg-vendor --derives-from Ubuntu && echo yes),yes)
NAS = --with-nas=no
diff -Nru speech-dispatcher-0.11.5/debian/speech-dispatcher.install speech-dispatcher-0.11.5/debian/speech-dispatcher.install
--- speech-dispatcher-0.11.5/debian/speech-dispatcher.install 2021-09-15 00:03:36.000000000 +0200
+++ speech-dispatcher-0.11.5/debian/speech-dispatcher.install 2023-09-26 11:07:39.000000000 +0200
@@ -8,6 +8,6 @@
usr/share/locale
usr/share/speech-dispatcher
etc/speech-dispatcher
-[linux-any] lib/systemd/system/speech-dispatcherd.service
+[linux-any] ${deb_systemdsystemunitdir}/speech-dispatcherd.service
usr/share/man/man1/speech-dispatcher.1
usr/share/man/man1/spd-say.1
More information about the Tts-project
mailing list