[Tts-project] Bug#946554: speech-dispatcher: please omit speech-dispatcher-festival on Ubuntu/i386

Steve Langasek steve.langasek at canonical.com
Tue Dec 10 20:42:05 GMT 2019


Package: speech-dispatcher
Version: 0.9.1-3
Severity: minor
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu focal ubuntu-patch

Dear maintainers,

In Ubuntu, we are in the process of moving the i386 architecture to a
compatibility-only layer on amd64.  We are keeping speech-dispatcher on i386
because speech-dispatcher-ibmtts is only available on this arch, but
speech-dispatcher-festival is built from this source package and depends on
festival which we otherwise have no reason to keep around.

We would like to drop the speech-dispatcher-festival binary package rather
than keeping it around in the Ubuntu archive and uninstallable.  Would you
please consider applying the attached patch, or something like it, to omit
building this binary package on Ubuntu?

Thanks for considering,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
diff -Nru speech-dispatcher-0.9.1/debian/rules speech-dispatcher-0.9.1/debian/rules
--- speech-dispatcher-0.9.1/debian/rules	2019-11-28 18:08:46.000000000 -0800
+++ speech-dispatcher-0.9.1/debian/rules	2019-12-10 12:03:15.000000000 -0800
@@ -6,6 +6,9 @@
 # NAS is in universe in Ubuntu
 ifeq ($(shell dpkg-vendor --derives-from Ubuntu && echo yes),yes)
 	NAS = --with-nas=no
+ifeq (${DEB_HOST_ARCH},i386)
+	builddeb_overrides = -Nspeech-dispatcher-festival
+endif
 endif
 
 %:
@@ -37,6 +40,12 @@
 	dh_makeshlibs -plibspeechd2
 endif
 
+override_dh_builddeb:
+	dh_builddeb ${builddeb_overrides}
+
+override_dh_gencontrol:
+	dh_gencontrol ${builddeb_overrides}
+
 override_dh_systemd_enable:
 	dh_systemd_enable --no-enable
 


More information about the Tts-project mailing list