Re: [orca-list] speech dispatcher will not stay running



Hello,

Le 27/01/2018 à 21:33, Jude DaShiell a écrit :
speech-dispatcher dies like that in archlinux too.
But not in Slint64-14.2.1.

Speech-dispatcher version 0.8.8 in both cases.

Duno if that gives a clue, but the configuration options differ.
In short, I built it only with alsa, not pulseaudio as audio method,
and linked to espeak-ng.

In the PKGBUILD for Arch, cf.
https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/speech-dispatcher
here is the build function:

build() {
  cd ${pkgname}-${pkgver}

  # Disabled due to bug: https://bugs.archlinux.org/task/35700
  sed -i "s/cicero //g" configure.ac
  sed -i "s/sd_cicero//g" src/modules/Makefile.am

  autoreconf -i
  ./configure --prefix=/usr \
    --enable-shared \
    --sysconfdir=/etc \
    --without-flite
  make
}

In Slint, cf.
http://slackware.uk/slint/x86_64/slint-14.2.1/source/speech-dispatcher/SLKBUILD
here is the build function

build() {
cd $startdir/src/$pkgname-$pkgver || return 1
./configure --prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--localstatedir=/var \
--sysconfdir=/etc \
--disable-static \
--with-pulse=no \
--with-espeak-ng=yes \
--with-espeak=no \
--with-flite=no \
--with-ibmtts=no \
--with-ivona=no \
--with-pico=no \
--with-libao=no \
--with-alsa=yes \
--with-oss=no \
--with-default-audio-method=alsa
make -j $numjobs || return 1
make install DESTDIR=$startdir/pkg || return 1
( cd $startdir/pkg/etc/speech-dispatcher
sed "s/^DefaultModule espeak/DefaultModule espeak-ng/" speechd.conf > dummy
mv dummy speechd.conf
)
# speech_dispatcher seems more responsive with just the module in use
# Let's store the other ones elsewhere
(cd $startdir/pkg/usr/lib${LIBDIRSUFFIX}/speech-dispatcher-modules
mkdir -p $startdir/pkg/usr/share/$pkgname/other-modules
mv sd_cicero sd_festival sd_dummy sd_generic \
$startdir/pkg/usr/share/$pkgname/other-modules
)
mkdir -p $startdir/pkg/usr/doc/$pkgname-$pkgver
cp $startdir/README.MODULES  $startdir/pkg/usr/doc/$pkgname-$pkgver
chown -R root:root $startdir/pkg
}

Greetings,

Didier


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]