[arch-commits] Commit in speech-dispatcher/repos (14 files)
Andrea Scarpino
andrea at archlinux.org
Tue Aug 14 16:20:06 UTC 2012
Date: Tuesday, August 14, 2012 @ 12:20:06
Author: andrea
Revision: 165252
archrelease: copy trunk to extra-i686, extra-x86_64
Added:
speech-dispatcher/repos/extra-i686/PKGBUILD
(from rev 165250, speech-dispatcher/trunk/PKGBUILD)
speech-dispatcher/repos/extra-i686/speech-dispatcher.install
(from rev 165250, speech-dispatcher/trunk/speech-dispatcher.install)
speech-dispatcher/repos/extra-i686/speech-dispatcherd.service
(from rev 165250, speech-dispatcher/trunk/speech-dispatcherd.service)
speech-dispatcher/repos/extra-i686/speechd.sh
(from rev 165250, speech-dispatcher/trunk/speechd.sh)
speech-dispatcher/repos/extra-x86_64/PKGBUILD
(from rev 165251, speech-dispatcher/trunk/PKGBUILD)
speech-dispatcher/repos/extra-x86_64/speech-dispatcher.install
(from rev 165251, speech-dispatcher/trunk/speech-dispatcher.install)
speech-dispatcher/repos/extra-x86_64/speech-dispatcherd.service
(from rev 165251, speech-dispatcher/trunk/speech-dispatcherd.service)
speech-dispatcher/repos/extra-x86_64/speechd.sh
(from rev 165251, speech-dispatcher/trunk/speechd.sh)
Deleted:
speech-dispatcher/repos/extra-i686/PKGBUILD
speech-dispatcher/repos/extra-i686/speech-dispatcher.install
speech-dispatcher/repos/extra-i686/speechd.sh
speech-dispatcher/repos/extra-x86_64/PKGBUILD
speech-dispatcher/repos/extra-x86_64/speech-dispatcher.install
speech-dispatcher/repos/extra-x86_64/speechd.sh
-----------------------------------------+
extra-i686/PKGBUILD | 140 +++++++++++++++---------------
extra-i686/speech-dispatcher.install | 42 ++++-----
extra-i686/speech-dispatcherd.service | 10 ++
extra-i686/speechd.sh | 74 +++++++--------
extra-x86_64/PKGBUILD | 140 +++++++++++++++---------------
extra-x86_64/speech-dispatcher.install | 42 ++++-----
extra-x86_64/speech-dispatcherd.service | 10 ++
extra-x86_64/speechd.sh | 74 +++++++--------
8 files changed, 280 insertions(+), 252 deletions(-)
Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD 2012-08-14 16:19:57 UTC (rev 165251)
+++ extra-i686/PKGBUILD 2012-08-14 16:20:06 UTC (rev 165252)
@@ -1,68 +0,0 @@
-# $Id$
-# Maintainer: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Steve Holmes <steve.holmes88 at gmail.com>
-# Contributor: Alexander Jenisch <nt at divzero.at>
-# Contributor: Chris Brannon <cmbrannon at cox.net>
-# Contributor: Andreas Messer <andi at bupfen.de>
-
-pkgname=speech-dispatcher
-pkgver=0.7.1
-pkgrel=6
-arch=('i686' 'x86_64')
-pkgdesc="High-level device independent layer for speech synthesis interface"
-url="http://www.freebsoft.org/speechd"
-license=('GPL2' 'FDL')
-depends=('glib2' 'python2' 'dotconf' 'texinfo' 'libpulse')
-makedepends=('pkgconfig' 'espeak')
-optdepends=('festival: Speech output using Festival'
- 'espeak: Speech output using ESpeak'
- 'pulseaudio: PulseAudio support')
-provides=("speechd=${pkgver}")
-options=('!libtool')
-backup=(etc/speech-dispatcher/clients/gnome-speech.conf
- etc/speech-dispatcher/clients/emacs.conf
- etc/speech-dispatcher/modules/ibmtts.conf
- etc/speech-dispatcher/modules/espeak-generic.conf
- etc/speech-dispatcher/modules/espeak.conf
- etc/speech-dispatcher/modules/swift-generic.conf
- etc/speech-dispatcher/modules/festival.conf
- etc/speech-dispatcher/modules/cicero.conf
- etc/speech-dispatcher/modules/espeak-mbrola-generic.conf
- etc/speech-dispatcher/modules/dtk-generic.conf
- etc/speech-dispatcher/modules/llia_phon-generic.conf
- etc/speech-dispatcher/modules/ivona.conf
- etc/speech-dispatcher/modules/epos-generic.conf
- etc/speech-dispatcher/modules/flite.conf
- etc/speech-dispatcher/speechd.conf)
-install="${pkgname}.install"
-source=("http://www.freebsoft.org/pub/projects/speechd/$pkgname-$pkgver.tar.gz"
- 'speechd.sh')
-md5sums=('ccfc30ac006673d36b4223eb760ed696'
- '858293f464b83f03f3b6bb796291c71d')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --without-flite
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR=${pkgdir} install
-
- install -Dm755 ${srcdir}/speechd.sh ${pkgdir}/etc/rc.d/speechd
- install -d ${pkgdir}/var/log/speech-dispatcher
-
- # Fix spd-conf to use python 2.7
- sed -i -e 's|#!/usr/bin/python|#!/usr/bin/python2|' ${pkgdir}/usr/bin/spd-conf
- sed -i -e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' ${pkgdir}/usr/lib/python2.7/site-packages/speechd/_test.py
-
- rm -f ${pkgdir}/usr/share/info/dir
- gzip -9nf ${pkgdir}/usr/share/info/*
-
- # Remove conflicts with erlang (FS#21674)
- rm -r ${pkgdir}/usr/bin/run_test
-}
Copied: speech-dispatcher/repos/extra-i686/PKGBUILD (from rev 165250, speech-dispatcher/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2012-08-14 16:20:06 UTC (rev 165252)
@@ -0,0 +1,72 @@
+# $Id$
+# Maintainer:
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Steve Holmes <steve.holmes88 at gmail.com>
+# Contributor: Alexander Jenisch <nt at divzero.at>
+# Contributor: Chris Brannon <cmbrannon at cox.net>
+# Contributor: Andreas Messer <andi at bupfen.de>
+
+pkgname=speech-dispatcher
+pkgver=0.7.1
+pkgrel=7
+arch=('i686' 'x86_64')
+pkgdesc="High-level device independent layer for speech synthesis interface"
+url="http://www.freebsoft.org/speechd"
+license=('GPL2' 'FDL')
+depends=('glib2' 'python2' 'dotconf' 'texinfo' 'libpulse')
+makedepends=('pkgconfig' 'espeak')
+optdepends=('festival: Speech output using Festival'
+ 'espeak: Speech output using ESpeak'
+ 'pulseaudio: PulseAudio support')
+provides=("speechd=${pkgver}")
+options=('!libtool')
+backup=(etc/speech-dispatcher/clients/gnome-speech.conf
+ etc/speech-dispatcher/clients/emacs.conf
+ etc/speech-dispatcher/modules/ibmtts.conf
+ etc/speech-dispatcher/modules/espeak-generic.conf
+ etc/speech-dispatcher/modules/espeak.conf
+ etc/speech-dispatcher/modules/swift-generic.conf
+ etc/speech-dispatcher/modules/festival.conf
+ etc/speech-dispatcher/modules/cicero.conf
+ etc/speech-dispatcher/modules/espeak-mbrola-generic.conf
+ etc/speech-dispatcher/modules/dtk-generic.conf
+ etc/speech-dispatcher/modules/llia_phon-generic.conf
+ etc/speech-dispatcher/modules/ivona.conf
+ etc/speech-dispatcher/modules/epos-generic.conf
+ etc/speech-dispatcher/modules/flite.conf
+ etc/speech-dispatcher/speechd.conf)
+install="${pkgname}.install"
+source=("http://www.freebsoft.org/pub/projects/speechd/$pkgname-$pkgver.tar.gz"
+ 'speechd.sh' 'speech-dispatcherd.service')
+md5sums=('ccfc30ac006673d36b4223eb760ed696'
+ '858293f464b83f03f3b6bb796291c71d'
+ 'd26f52e2e95a30eaa83560f0e63faca5')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --without-flite
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR=${pkgdir} install
+
+ install -Dm755 ${srcdir}/speechd.sh ${pkgdir}/etc/rc.d/speechd
+ install -d "${pkgdir}/usr/lib/systemd/system/"
+ install -m644 "${srcdir}"/speech-dispatcherd.service "${pkgdir}/usr/lib/systemd/system/"
+ install -d ${pkgdir}/var/log/speech-dispatcher
+
+ # Fix spd-conf to use python 2.7
+ sed -i -e 's|#!/usr/bin/python|#!/usr/bin/python2|' ${pkgdir}/usr/bin/spd-conf
+ sed -i -e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' ${pkgdir}/usr/lib/python2.7/site-packages/speechd/_test.py
+
+ rm -f ${pkgdir}/usr/share/info/dir
+ gzip -9nf ${pkgdir}/usr/share/info/*
+
+ # Remove conflicts with erlang (FS#21674)
+ rm -r ${pkgdir}/usr/bin/run_test
+}
Deleted: extra-i686/speech-dispatcher.install
===================================================================
--- extra-i686/speech-dispatcher.install 2012-08-14 16:19:57 UTC (rev 165251)
+++ extra-i686/speech-dispatcher.install 2012-08-14 16:20:06 UTC (rev 165252)
@@ -1,21 +0,0 @@
-info_dir=/usr/share/info
-info_files=('speech-dispatcher.info'
- 'speech-dispatcher-cs.info'
- 'ssip.info'
- 'spd-say.info')
-
-post_install() {
- for f in ${info_files[@]}; do
- install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
- done
-}
-
-post_upgrade() {
- post_install
-}
-
-pre_remove() {
- for f in ${info_files[@]}; do
- install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
- done
-}
Copied: speech-dispatcher/repos/extra-i686/speech-dispatcher.install (from rev 165250, speech-dispatcher/trunk/speech-dispatcher.install)
===================================================================
--- extra-i686/speech-dispatcher.install (rev 0)
+++ extra-i686/speech-dispatcher.install 2012-08-14 16:20:06 UTC (rev 165252)
@@ -0,0 +1,21 @@
+info_dir=usr/share/info
+info_files=('speech-dispatcher.info'
+ 'speech-dispatcher-cs.info'
+ 'ssip.info'
+ 'spd-say.info')
+
+post_install() {
+ for f in ${info_files[@]}; do
+ install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
+ done
+}
+
+post_upgrade() {
+ post_install
+}
+
+pre_remove() {
+ for f in ${info_files[@]}; do
+ install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
+ done
+}
Copied: speech-dispatcher/repos/extra-i686/speech-dispatcherd.service (from rev 165250, speech-dispatcher/trunk/speech-dispatcherd.service)
===================================================================
--- extra-i686/speech-dispatcherd.service (rev 0)
+++ extra-i686/speech-dispatcherd.service 2012-08-14 16:20:06 UTC (rev 165252)
@@ -0,0 +1,10 @@
+[Unit]
+Description=Speech-Dispatcher an high-level device independent layer for speech synthesis.
+After=syslog.target
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/speech-dispatcher -d
+
+[Install]
+WantedBy=multi-user.target
Deleted: extra-i686/speechd.sh
===================================================================
--- extra-i686/speechd.sh 2012-08-14 16:19:57 UTC (rev 165251)
+++ extra-i686/speechd.sh 2012-08-14 16:20:06 UTC (rev 165252)
@@ -1,37 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PID=$(pidof -o %PPID /usr/bin/speech-dispatcher)
-case "$1" in
- start)
- stat_busy "Starting speech dispatcher Daemon"
- [ -z "$PID" ] && /usr/bin/speech-dispatcher -d &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon speechd
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping speech dispatcher Daemon"
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon speechd
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-
-exit 0
Copied: speech-dispatcher/repos/extra-i686/speechd.sh (from rev 165250, speech-dispatcher/trunk/speechd.sh)
===================================================================
--- extra-i686/speechd.sh (rev 0)
+++ extra-i686/speechd.sh 2012-08-14 16:20:06 UTC (rev 165252)
@@ -0,0 +1,37 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+PID=$(pidof -o %PPID /usr/bin/speech-dispatcher)
+case "$1" in
+ start)
+ stat_busy "Starting speech dispatcher Daemon"
+ [ -z "$PID" ] && /usr/bin/speech-dispatcher -d &> /dev/null
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ add_daemon speechd
+ stat_done
+ fi
+ ;;
+ stop)
+ stat_busy "Stopping speech dispatcher Daemon"
+ [ ! -z "$PID" ] && kill $PID &> /dev/null
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ rm_daemon speechd
+ stat_done
+ fi
+ ;;
+ restart)
+ $0 stop
+ sleep 1
+ $0 start
+ ;;
+ *)
+ echo "usage: $0 {start|stop|restart}"
+esac
+
+exit 0
Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD 2012-08-14 16:19:57 UTC (rev 165251)
+++ extra-x86_64/PKGBUILD 2012-08-14 16:20:06 UTC (rev 165252)
@@ -1,68 +0,0 @@
-# $Id$
-# Maintainer: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Steve Holmes <steve.holmes88 at gmail.com>
-# Contributor: Alexander Jenisch <nt at divzero.at>
-# Contributor: Chris Brannon <cmbrannon at cox.net>
-# Contributor: Andreas Messer <andi at bupfen.de>
-
-pkgname=speech-dispatcher
-pkgver=0.7.1
-pkgrel=6
-arch=('i686' 'x86_64')
-pkgdesc="High-level device independent layer for speech synthesis interface"
-url="http://www.freebsoft.org/speechd"
-license=('GPL2' 'FDL')
-depends=('glib2' 'python2' 'dotconf' 'texinfo' 'libpulse')
-makedepends=('pkgconfig' 'espeak')
-optdepends=('festival: Speech output using Festival'
- 'espeak: Speech output using ESpeak'
- 'pulseaudio: PulseAudio support')
-provides=("speechd=${pkgver}")
-options=('!libtool')
-backup=(etc/speech-dispatcher/clients/gnome-speech.conf
- etc/speech-dispatcher/clients/emacs.conf
- etc/speech-dispatcher/modules/ibmtts.conf
- etc/speech-dispatcher/modules/espeak-generic.conf
- etc/speech-dispatcher/modules/espeak.conf
- etc/speech-dispatcher/modules/swift-generic.conf
- etc/speech-dispatcher/modules/festival.conf
- etc/speech-dispatcher/modules/cicero.conf
- etc/speech-dispatcher/modules/espeak-mbrola-generic.conf
- etc/speech-dispatcher/modules/dtk-generic.conf
- etc/speech-dispatcher/modules/llia_phon-generic.conf
- etc/speech-dispatcher/modules/ivona.conf
- etc/speech-dispatcher/modules/epos-generic.conf
- etc/speech-dispatcher/modules/flite.conf
- etc/speech-dispatcher/speechd.conf)
-install="${pkgname}.install"
-source=("http://www.freebsoft.org/pub/projects/speechd/$pkgname-$pkgver.tar.gz"
- 'speechd.sh')
-md5sums=('ccfc30ac006673d36b4223eb760ed696'
- '858293f464b83f03f3b6bb796291c71d')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --without-flite
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR=${pkgdir} install
-
- install -Dm755 ${srcdir}/speechd.sh ${pkgdir}/etc/rc.d/speechd
- install -d ${pkgdir}/var/log/speech-dispatcher
-
- # Fix spd-conf to use python 2.7
- sed -i -e 's|#!/usr/bin/python|#!/usr/bin/python2|' ${pkgdir}/usr/bin/spd-conf
- sed -i -e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' ${pkgdir}/usr/lib/python2.7/site-packages/speechd/_test.py
-
- rm -f ${pkgdir}/usr/share/info/dir
- gzip -9nf ${pkgdir}/usr/share/info/*
-
- # Remove conflicts with erlang (FS#21674)
- rm -r ${pkgdir}/usr/bin/run_test
-}
Copied: speech-dispatcher/repos/extra-x86_64/PKGBUILD (from rev 165251, speech-dispatcher/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2012-08-14 16:20:06 UTC (rev 165252)
@@ -0,0 +1,72 @@
+# $Id$
+# Maintainer:
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Steve Holmes <steve.holmes88 at gmail.com>
+# Contributor: Alexander Jenisch <nt at divzero.at>
+# Contributor: Chris Brannon <cmbrannon at cox.net>
+# Contributor: Andreas Messer <andi at bupfen.de>
+
+pkgname=speech-dispatcher
+pkgver=0.7.1
+pkgrel=7
+arch=('i686' 'x86_64')
+pkgdesc="High-level device independent layer for speech synthesis interface"
+url="http://www.freebsoft.org/speechd"
+license=('GPL2' 'FDL')
+depends=('glib2' 'python2' 'dotconf' 'texinfo' 'libpulse')
+makedepends=('pkgconfig' 'espeak')
+optdepends=('festival: Speech output using Festival'
+ 'espeak: Speech output using ESpeak'
+ 'pulseaudio: PulseAudio support')
+provides=("speechd=${pkgver}")
+options=('!libtool')
+backup=(etc/speech-dispatcher/clients/gnome-speech.conf
+ etc/speech-dispatcher/clients/emacs.conf
+ etc/speech-dispatcher/modules/ibmtts.conf
+ etc/speech-dispatcher/modules/espeak-generic.conf
+ etc/speech-dispatcher/modules/espeak.conf
+ etc/speech-dispatcher/modules/swift-generic.conf
+ etc/speech-dispatcher/modules/festival.conf
+ etc/speech-dispatcher/modules/cicero.conf
+ etc/speech-dispatcher/modules/espeak-mbrola-generic.conf
+ etc/speech-dispatcher/modules/dtk-generic.conf
+ etc/speech-dispatcher/modules/llia_phon-generic.conf
+ etc/speech-dispatcher/modules/ivona.conf
+ etc/speech-dispatcher/modules/epos-generic.conf
+ etc/speech-dispatcher/modules/flite.conf
+ etc/speech-dispatcher/speechd.conf)
+install="${pkgname}.install"
+source=("http://www.freebsoft.org/pub/projects/speechd/$pkgname-$pkgver.tar.gz"
+ 'speechd.sh' 'speech-dispatcherd.service')
+md5sums=('ccfc30ac006673d36b4223eb760ed696'
+ '858293f464b83f03f3b6bb796291c71d'
+ 'd26f52e2e95a30eaa83560f0e63faca5')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --without-flite
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR=${pkgdir} install
+
+ install -Dm755 ${srcdir}/speechd.sh ${pkgdir}/etc/rc.d/speechd
+ install -d "${pkgdir}/usr/lib/systemd/system/"
+ install -m644 "${srcdir}"/speech-dispatcherd.service "${pkgdir}/usr/lib/systemd/system/"
+ install -d ${pkgdir}/var/log/speech-dispatcher
+
+ # Fix spd-conf to use python 2.7
+ sed -i -e 's|#!/usr/bin/python|#!/usr/bin/python2|' ${pkgdir}/usr/bin/spd-conf
+ sed -i -e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' ${pkgdir}/usr/lib/python2.7/site-packages/speechd/_test.py
+
+ rm -f ${pkgdir}/usr/share/info/dir
+ gzip -9nf ${pkgdir}/usr/share/info/*
+
+ # Remove conflicts with erlang (FS#21674)
+ rm -r ${pkgdir}/usr/bin/run_test
+}
Deleted: extra-x86_64/speech-dispatcher.install
===================================================================
--- extra-x86_64/speech-dispatcher.install 2012-08-14 16:19:57 UTC (rev 165251)
+++ extra-x86_64/speech-dispatcher.install 2012-08-14 16:20:06 UTC (rev 165252)
@@ -1,21 +0,0 @@
-info_dir=/usr/share/info
-info_files=('speech-dispatcher.info'
- 'speech-dispatcher-cs.info'
- 'ssip.info'
- 'spd-say.info')
-
-post_install() {
- for f in ${info_files[@]}; do
- install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
- done
-}
-
-post_upgrade() {
- post_install
-}
-
-pre_remove() {
- for f in ${info_files[@]}; do
- install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
- done
-}
Copied: speech-dispatcher/repos/extra-x86_64/speech-dispatcher.install (from rev 165251, speech-dispatcher/trunk/speech-dispatcher.install)
===================================================================
--- extra-x86_64/speech-dispatcher.install (rev 0)
+++ extra-x86_64/speech-dispatcher.install 2012-08-14 16:20:06 UTC (rev 165252)
@@ -0,0 +1,21 @@
+info_dir=usr/share/info
+info_files=('speech-dispatcher.info'
+ 'speech-dispatcher-cs.info'
+ 'ssip.info'
+ 'spd-say.info')
+
+post_install() {
+ for f in ${info_files[@]}; do
+ install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
+ done
+}
+
+post_upgrade() {
+ post_install
+}
+
+pre_remove() {
+ for f in ${info_files[@]}; do
+ install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
+ done
+}
Copied: speech-dispatcher/repos/extra-x86_64/speech-dispatcherd.service (from rev 165251, speech-dispatcher/trunk/speech-dispatcherd.service)
===================================================================
--- extra-x86_64/speech-dispatcherd.service (rev 0)
+++ extra-x86_64/speech-dispatcherd.service 2012-08-14 16:20:06 UTC (rev 165252)
@@ -0,0 +1,10 @@
+[Unit]
+Description=Speech-Dispatcher an high-level device independent layer for speech synthesis.
+After=syslog.target
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/speech-dispatcher -d
+
+[Install]
+WantedBy=multi-user.target
Deleted: extra-x86_64/speechd.sh
===================================================================
--- extra-x86_64/speechd.sh 2012-08-14 16:19:57 UTC (rev 165251)
+++ extra-x86_64/speechd.sh 2012-08-14 16:20:06 UTC (rev 165252)
@@ -1,37 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PID=$(pidof -o %PPID /usr/bin/speech-dispatcher)
-case "$1" in
- start)
- stat_busy "Starting speech dispatcher Daemon"
- [ -z "$PID" ] && /usr/bin/speech-dispatcher -d &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon speechd
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping speech dispatcher Daemon"
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon speechd
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-
-exit 0
Copied: speech-dispatcher/repos/extra-x86_64/speechd.sh (from rev 165251, speech-dispatcher/trunk/speechd.sh)
===================================================================
--- extra-x86_64/speechd.sh (rev 0)
+++ extra-x86_64/speechd.sh 2012-08-14 16:20:06 UTC (rev 165252)
@@ -0,0 +1,37 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+PID=$(pidof -o %PPID /usr/bin/speech-dispatcher)
+case "$1" in
+ start)
+ stat_busy "Starting speech dispatcher Daemon"
+ [ -z "$PID" ] && /usr/bin/speech-dispatcher -d &> /dev/null
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ add_daemon speechd
+ stat_done
+ fi
+ ;;
+ stop)
+ stat_busy "Stopping speech dispatcher Daemon"
+ [ ! -z "$PID" ] && kill $PID &> /dev/null
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ rm_daemon speechd
+ stat_done
+ fi
+ ;;
+ restart)
+ $0 stop
+ sleep 1
+ $0 start
+ ;;
+ *)
+ echo "usage: $0 {start|stop|restart}"
+esac
+
+exit 0
More information about the arch-commits
mailing list