[Tts-project] Bug#964955: Please move the executables to /usr/libexec/

Laurent Bigonville bigon at debian.org
Mon Jul 13 12:00:26 BST 2020


Source: speech-dispatcher
Version: 0.9.1-5
Severity: wishlist
Tags: patch

Hello,

Debian now officially support the FHS 3.0 which allows executables to be
installed in (a subfolder of) /usr/libexec

Several packages are already doing so. Could the executables be moved
there?

Please find a patch that allows the package to build

Similar change will be needed for speech-dispatcher-contrib as well

Kind regards,
Laurent Bigonville

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.7.0-1-amd64 (SMP w/8 CPU threads)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), LANGUAGE=fr_BE:fr
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: SELinux: enabled - Mode: Permissive - Policy name: refpolicy
-------------- next part --------------
diff -Nru speech-dispatcher-0.10.0~rc4/debian/rules speech-dispatcher-0.10.0~rc4/debian/rules
--- speech-dispatcher-0.10.0~rc4/debian/rules	2020-07-05 01:55:31.000000000 +0200
+++ speech-dispatcher-0.10.0~rc4/debian/rules	2020-07-13 11:01:01.000000000 +0200
@@ -16,7 +16,7 @@
 	         espeak-mbrola-generic.conf ; do \
 		sed < config/modules/$$i.in > config/modules/$$i -e "s/\$$DEB_HOST_MULTIARCH/$(DEB_HOST_MULTIARCH)/" ; \
 	done
-	dh_auto_configure -- --with-module-bindir=\$${prefix}/lib/speech-dispatcher-modules \
+	dh_auto_configure -- --with-module-bindir=/usr/libexec/speech-dispatcher-modules \
 	                     pidpath=/var/run/speech-dispatcher/ $(NAS)
 
 override_dh_auto_install:
diff -Nru speech-dispatcher-0.10.0~rc4/debian/speech-dispatcher-baratinoo.install speech-dispatcher-0.10.0~rc4/debian/speech-dispatcher-baratinoo.install
--- speech-dispatcher-0.10.0~rc4/debian/speech-dispatcher-baratinoo.install	2019-11-29 03:08:46.000000000 +0100
+++ speech-dispatcher-0.10.0~rc4/debian/speech-dispatcher-baratinoo.install	2020-07-13 11:01:01.000000000 +0200
@@ -1 +1 @@
-usr/lib/speech-dispatcher-modules/sd_baratinoo
+usr/libexec/speech-dispatcher-modules/sd_baratinoo
diff -Nru speech-dispatcher-0.10.0~rc4/debian/speech-dispatcher-cicero.install speech-dispatcher-0.10.0~rc4/debian/speech-dispatcher-cicero.install
--- speech-dispatcher-0.10.0~rc4/debian/speech-dispatcher-cicero.install	2019-11-29 03:08:46.000000000 +0100
+++ speech-dispatcher-0.10.0~rc4/debian/speech-dispatcher-cicero.install	2020-07-13 11:01:01.000000000 +0200
@@ -1 +1 @@
-usr/lib/speech-dispatcher-modules/sd_cicero
+usr/libexec/speech-dispatcher-modules/sd_cicero
diff -Nru speech-dispatcher-0.10.0~rc4/debian/speech-dispatcher-espeak.install speech-dispatcher-0.10.0~rc4/debian/speech-dispatcher-espeak.install
--- speech-dispatcher-0.10.0~rc4/debian/speech-dispatcher-espeak.install	2019-11-29 03:08:46.000000000 +0100
+++ speech-dispatcher-0.10.0~rc4/debian/speech-dispatcher-espeak.install	2020-07-13 11:01:01.000000000 +0200
@@ -1 +1 @@
-usr/lib/speech-dispatcher-modules/sd_espeak
+usr/libexec/speech-dispatcher-modules/sd_espeak
diff -Nru speech-dispatcher-0.10.0~rc4/debian/speech-dispatcher-espeak-ng.install speech-dispatcher-0.10.0~rc4/debian/speech-dispatcher-espeak-ng.install
--- speech-dispatcher-0.10.0~rc4/debian/speech-dispatcher-espeak-ng.install	2019-11-29 03:08:46.000000000 +0100
+++ speech-dispatcher-0.10.0~rc4/debian/speech-dispatcher-espeak-ng.install	2020-07-13 11:01:01.000000000 +0200
@@ -1 +1 @@
-usr/lib/speech-dispatcher-modules/sd_espeak-ng
+usr/libexec/speech-dispatcher-modules/sd_espeak-ng
diff -Nru speech-dispatcher-0.10.0~rc4/debian/speech-dispatcher-festival.install speech-dispatcher-0.10.0~rc4/debian/speech-dispatcher-festival.install
--- speech-dispatcher-0.10.0~rc4/debian/speech-dispatcher-festival.install	2019-11-29 03:08:46.000000000 +0100
+++ speech-dispatcher-0.10.0~rc4/debian/speech-dispatcher-festival.install	2020-07-13 11:01:01.000000000 +0200
@@ -1 +1 @@
-usr/lib/speech-dispatcher-modules/sd_festival
+usr/libexec/speech-dispatcher-modules/sd_festival
diff -Nru speech-dispatcher-0.10.0~rc4/debian/speech-dispatcher-flite.install speech-dispatcher-0.10.0~rc4/debian/speech-dispatcher-flite.install
--- speech-dispatcher-0.10.0~rc4/debian/speech-dispatcher-flite.install	2019-11-29 03:08:46.000000000 +0100
+++ speech-dispatcher-0.10.0~rc4/debian/speech-dispatcher-flite.install	2020-07-13 11:01:01.000000000 +0200
@@ -1 +1 @@
-usr/lib/speech-dispatcher-modules/sd_flite
+usr/libexec/speech-dispatcher-modules/sd_flite
diff -Nru speech-dispatcher-0.10.0~rc4/debian/speech-dispatcher-ibmtts.install speech-dispatcher-0.10.0~rc4/debian/speech-dispatcher-ibmtts.install
--- speech-dispatcher-0.10.0~rc4/debian/speech-dispatcher-ibmtts.install	2019-11-29 03:08:46.000000000 +0100
+++ speech-dispatcher-0.10.0~rc4/debian/speech-dispatcher-ibmtts.install	2020-07-13 11:01:01.000000000 +0200
@@ -1 +1 @@
-usr/lib/speech-dispatcher-modules/sd_ibmtts
+usr/libexec/speech-dispatcher-modules/sd_ibmtts
diff -Nru speech-dispatcher-0.10.0~rc4/debian/speech-dispatcher.install speech-dispatcher-0.10.0~rc4/debian/speech-dispatcher.install
--- speech-dispatcher-0.10.0~rc4/debian/speech-dispatcher.install	2019-11-29 03:08:46.000000000 +0100
+++ speech-dispatcher-0.10.0~rc4/debian/speech-dispatcher.install	2020-07-13 11:01:01.000000000 +0200
@@ -1,8 +1,8 @@
 #! /usr/bin/dh-exec
 usr/bin/speech-dispatcher
 usr/bin/spd-say
-usr/lib/speech-dispatcher-modules/sd_dummy
-usr/lib/speech-dispatcher-modules/sd_generic
+usr/libexec/speech-dispatcher-modules/sd_dummy
+usr/libexec/speech-dispatcher-modules/sd_generic
 usr/share/sounds/speech-dispatcher/dummy-message.wav
 usr/share/locale
 usr/share/speech-dispatcher
diff -Nru speech-dispatcher-0.10.0~rc4/debian/speech-dispatcher-kali.install speech-dispatcher-0.10.0~rc4/debian/speech-dispatcher-kali.install
--- speech-dispatcher-0.10.0~rc4/debian/speech-dispatcher-kali.install	2019-11-29 03:08:46.000000000 +0100
+++ speech-dispatcher-0.10.0~rc4/debian/speech-dispatcher-kali.install	2020-07-13 11:01:01.000000000 +0200
@@ -1 +1 @@
-usr/lib/speech-dispatcher-modules/sd_kali
+usr/libexec/speech-dispatcher-modules/sd_kali
diff -Nru speech-dispatcher-0.10.0~rc4/debian/speech-dispatcher-pico.install speech-dispatcher-0.10.0~rc4/debian/speech-dispatcher-pico.install
--- speech-dispatcher-0.10.0~rc4/debian/speech-dispatcher-pico.install	2020-05-02 21:18:42.000000000 +0200
+++ speech-dispatcher-0.10.0~rc4/debian/speech-dispatcher-pico.install	2020-07-13 11:01:01.000000000 +0200
@@ -1,3 +1,3 @@
-usr/lib/speech-dispatcher-modules/sd_pico
+usr/libexec/speech-dispatcher-modules/sd_pico
 usr/share/speech-dispatcher/conf/modules/pico.conf
 etc/speech-dispatcher/modules/pico.conf


More information about the Tts-project mailing list