r11361 - in /desktop/unstable/gnome-speech/debian: ./ po/

mlang at users.alioth.debian.org mlang at users.alioth.debian.org
Fri Jun 8 16:24:47 UTC 2007


Author: mlang
Date: Fri Jun  8 16:24:46 2007
New Revision: 11361

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=11361
Log:
* New packages gnome-speech{dectalk,ibmtts} along the lines of gnome-speech-swift.
* Explicitly disable autodetection of viavoice driver to prevent
  accidentally picking it up on systems that have IBMTTS installed.

Added:
    desktop/unstable/gnome-speech/debian/gnome-speech-dectalk.config   (with props)
    desktop/unstable/gnome-speech/debian/gnome-speech-dectalk.install
    desktop/unstable/gnome-speech/debian/gnome-speech-dectalk.postinst   (with props)
    desktop/unstable/gnome-speech/debian/gnome-speech-dectalk.prerm   (with props)
    desktop/unstable/gnome-speech/debian/gnome-speech-dectalk.templates
    desktop/unstable/gnome-speech/debian/gnome-speech-ibmtts.config   (with props)
    desktop/unstable/gnome-speech/debian/gnome-speech-ibmtts.install
    desktop/unstable/gnome-speech/debian/gnome-speech-ibmtts.postinst   (with props)
    desktop/unstable/gnome-speech/debian/gnome-speech-ibmtts.prerm   (with props)
    desktop/unstable/gnome-speech/debian/gnome-speech-ibmtts.templates
Modified:
    desktop/unstable/gnome-speech/debian/changelog
    desktop/unstable/gnome-speech/debian/control
    desktop/unstable/gnome-speech/debian/control.in
    desktop/unstable/gnome-speech/debian/po/POTFILES.in
    desktop/unstable/gnome-speech/debian/po/templates.pot
    desktop/unstable/gnome-speech/debian/rules

Modified: desktop/unstable/gnome-speech/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-speech/debian/changelog?rev=11361&op=diff
==============================================================================
--- desktop/unstable/gnome-speech/debian/changelog (original)
+++ desktop/unstable/gnome-speech/debian/changelog Fri Jun  8 16:24:46 2007
@@ -1,3 +1,21 @@
+gnome-speech (1:0.4.13-2) UNRELEASED; urgency=low
+
+  [ Luke Yelavich <themuso at ubuntu.com> ]
+  * New package gnome-speech-dectalk for compiling Fonix DECtalk
+    support at installation time.  The dectalk driver for gnome-speech
+    requires non-free header files at compile time.  The user receives
+    these headers when buying the dectalk engine.  This package compiles
+    the dectalk backend driver in the postinst.
+
+  [ Mario Lang ]
+  * Also search in /opt for dectalk include/library files.
+  * New package gnome-speech-ibmtts along the lines of the previous two.
+    arch: i386 for now since this engine is i386 only since many years.
+  * Explicitly disable autodetection of viavoice driver to prevent
+    accidentally picking it up on systems that have IBMTTS installed.
+
+ -- Mario Lang <mlang at debian.org>  Fri, 08 Jun 2007 16:56:09 +0200
+
 gnome-speech (1:0.4.13-1) unstable; urgency=low
 
   * New upstream release:

Modified: desktop/unstable/gnome-speech/debian/control
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-speech/debian/control?rev=11361&op=diff
==============================================================================
--- desktop/unstable/gnome-speech/debian/control (original)
+++ desktop/unstable/gnome-speech/debian/control Fri Jun  8 16:24:46 2007
@@ -56,3 +56,47 @@
  Important: This package is only useful if you have already downloaded and
  installed the swift engine on your computer.
 
+Package: gnome-speech-dectalk
+Section: contrib/libs
+Architecture: all
+Depends: ${misc:Depends},
+         gcc,
+         libgnome-speech-dev (= ${Source-Version}),
+         liborbit2-dev,
+         libglib2.0-dev,
+         libbonobo2-dev
+Description: GNOME text-to-speech library (Fonix DECtalk engine support)
+ The GNOME Speech library gives a simple yet general API for programs
+ to convert text into speech, as well as speech input.
+ .
+ This package provides the source code required to compile a driver
+ for the commercial DECtalk software speech synthesis engine and voices from
+ Fonix (http://www.fonix.com/).
+ Upon installation, it will automatically attempt to compile and install
+ the dectalk-synthesis-driver binary required to use GNOME Speech with
+ dectalk.
+ .
+ Important: This package is only useful if you have already downloaded and
+ installed the dectalk engine on your computer.
+
+Package: gnome-speech-ibmtts
+Section: contrib/libs
+Architecture: i386
+Depends: ${misc:Depends},
+         gcc,
+         libgnome-speech-dev (= ${Source-Version}),
+         liborbit2-dev,
+         libglib2.0-dev,
+         libbonobo2-dev
+Description: GNOME text-to-speech library (IBMTTS engine support)
+ The GNOME Speech library gives a simple yet general API for programs
+ to convert text into speech, as well as speech input.
+ .
+ This package provides the source code required to compile a driver
+ for the commercial IBMTTS speech synthesis engine.
+ Upon installation, it will automatically attempt to compile and install
+ the voiavoice-synthesis-driver binary required to use GNOME Speech with
+ IBMTTS.
+ .
+ Important: This package is only useful if you have already downloaded and
+ installed the IBMTTS (TTSynth) engine on your computer.

Modified: desktop/unstable/gnome-speech/debian/control.in
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-speech/debian/control.in?rev=11361&op=diff
==============================================================================
--- desktop/unstable/gnome-speech/debian/control.in (original)
+++ desktop/unstable/gnome-speech/debian/control.in Fri Jun  8 16:24:46 2007
@@ -56,3 +56,48 @@
  Important: This package is only useful if you have already downloaded and
  installed the swift engine on your computer.
 
+Package: gnome-speech-dectalk
+Section: contrib/libs
+Architecture: all
+Depends: ${misc:Depends},
+         gcc,
+         libgnome-speech-dev (= ${Source-Version}),
+         liborbit2-dev,
+         libglib2.0-dev,
+         libbonobo2-dev
+Description: GNOME text-to-speech library (Fonix DECtalk engine support)
+ The GNOME Speech library gives a simple yet general API for programs
+ to convert text into speech, as well as speech input.
+ .
+ This package provides the source code required to compile a driver
+ for the commercial DECtalk software speech synthesis engine and voices from
+ Fonix (http://www.fonix.com/).
+ Upon installation, it will automatically attempt to compile and install
+ the dectalk-synthesis-driver binary required to use GNOME Speech with
+ dectalk.
+ .
+ Important: This package is only useful if you have already downloaded and
+ installed the dectalk engine on your computer.
+
+Package: gnome-speech-ibmtts
+Section: contrib/libs
+Architecture: i386
+Depends: ${misc:Depends},
+         gcc,
+         libgnome-speech-dev (= ${Source-Version}),
+         liborbit2-dev,
+         libglib2.0-dev,
+         libbonobo2-dev
+Description: GNOME text-to-speech library (IBMTTS engine support)
+ The GNOME Speech library gives a simple yet general API for programs
+ to convert text into speech, as well as speech input.
+ .
+ This package provides the source code required to compile a driver
+ for the commercial IBMTTS speech synthesis engine available
+ at http://ttsynth.com/.
+ Upon installation, it will automatically attempt to compile and install
+ the voiavoice-synthesis-driver binary required to use GNOME Speech with
+ IBMTTS.
+ .
+ Important: This package is only useful if you have already downloaded and
+ installed the IBMTTS (TTSynth) engine on your computer.

Added: desktop/unstable/gnome-speech/debian/gnome-speech-dectalk.config
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-speech/debian/gnome-speech-dectalk.config?rev=11361&op=file
==============================================================================
--- desktop/unstable/gnome-speech/debian/gnome-speech-dectalk.config (added)
+++ desktop/unstable/gnome-speech/debian/gnome-speech-dectalk.config Fri Jun  8 16:24:46 2007
@@ -1,0 +1,18 @@
+#!/bin/sh
+
+set -e
+
+# Load Debconf
+. /usr/share/debconf/confmodule
+db_version 2.0
+
+# Autodetect default for dectalk_dir question
+for dir in /usr/local /opt /usr; do
+  if [ -d "$dir" -a -d "$dir/include/dtk" -a -f "$dir/include/dtk/ttsapi.h" -a -d "$dir/lib" -a -d "$dir/lib/libtts.so" ]; then
+    db_set gnome-speech-dectalk/dectalk_dir "$dir"
+    break
+  fi
+done
+
+db_input medium gnome-speech-dectalk/dectalk_dir || true
+db_go

Propchange: desktop/unstable/gnome-speech/debian/gnome-speech-dectalk.config
------------------------------------------------------------------------------
    svn:executable = *

Added: desktop/unstable/gnome-speech/debian/gnome-speech-dectalk.install
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-speech/debian/gnome-speech-dectalk.install?rev=11361&op=file
==============================================================================
--- desktop/unstable/gnome-speech/debian/gnome-speech-dectalk.install (added)
+++ desktop/unstable/gnome-speech/debian/gnome-speech-dectalk.install Fri Jun  8 16:24:46 2007
@@ -1,0 +1,1 @@
+drivers/dectalk/*.{c,h,server.in} usr/share/gnome-speech/sources/dectalk

Added: desktop/unstable/gnome-speech/debian/gnome-speech-dectalk.postinst
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-speech/debian/gnome-speech-dectalk.postinst?rev=11361&op=file
==============================================================================
--- desktop/unstable/gnome-speech/debian/gnome-speech-dectalk.postinst (added)
+++ desktop/unstable/gnome-speech/debian/gnome-speech-dectalk.postinst Fri Jun  8 16:24:46 2007
@@ -1,0 +1,22 @@
+#!/bin/sh
+
+set -e
+
+. /usr/share/debconf/confmodule
+db_version 2.0
+
+srcdir=/usr/share/gnome-speech/sources/dectalk
+if [ "$1" = "configure" ]; then
+  db_get gnome-speech-dectalk/dectalk_dir
+  dectalk_dir="$RET"
+  if [ -d "$dectalk_dir" -a -d "$dectalk_dir/include/dtk" -a -d "$dectalk_dir/lib" ]; then
+    # compile code here
+    dectalk_CFLAGS="-I$srcdir -I/usr/include/gnome-speech-1.0 -I$dectalk_dir/include -DORBIT2=1 -pthread -I/usr/include/bonobo-activation-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0   -Wall -g -O2"
+    gcc $dectalk_CFLAGS -o /usr/bin/dectalk-synthesis-driver \
+      $srcdir/dectalksynthesisdriver.c $srcdir/dectalkspeaker.c \
+      -Wl,--export-dynamic -lgnomespeech -lbonobo-2 -lbonobo-activation -lgmodule-2.0 -ldl -lORBit-2 -lgthread-2.0 -lrt -lgobject-2.0 -lglib-2.0 -L$dectalk_dir/lib -ltts -lm
+    sed -e 's, at prefix@,/usr,' \
+      <$srcdir/GNOME_Speech_SynthesisDriver_Dectalk.server.in \
+      >/usr/lib/bonobo/servers/GNOME_Speech_SynthesisDriver_Dectalk.server
+  fi
+fi

Propchange: desktop/unstable/gnome-speech/debian/gnome-speech-dectalk.postinst
------------------------------------------------------------------------------
    svn:executable = *

Added: desktop/unstable/gnome-speech/debian/gnome-speech-dectalk.prerm
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-speech/debian/gnome-speech-dectalk.prerm?rev=11361&op=file
==============================================================================
--- desktop/unstable/gnome-speech/debian/gnome-speech-dectalk.prerm (added)
+++ desktop/unstable/gnome-speech/debian/gnome-speech-dectalk.prerm Fri Jun  8 16:24:46 2007
@@ -1,0 +1,6 @@
+#!/bin/sh -e
+
+rm -f /usr/bin/dectalk-synthesis-driver
+rm -f /usr/lib/bonobo/servers/GNOME_Speech_SynthesisDriver_Dectalk.server
+
+exit 0

Propchange: desktop/unstable/gnome-speech/debian/gnome-speech-dectalk.prerm
------------------------------------------------------------------------------
    svn:executable = *

Added: desktop/unstable/gnome-speech/debian/gnome-speech-dectalk.templates
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-speech/debian/gnome-speech-dectalk.templates?rev=11361&op=file
==============================================================================
--- desktop/unstable/gnome-speech/debian/gnome-speech-dectalk.templates (added)
+++ desktop/unstable/gnome-speech/debian/gnome-speech-dectalk.templates Fri Jun  8 16:24:46 2007
@@ -1,0 +1,8 @@
+Template: gnome-speech-dectalk/dectalk_dir
+Type: string
+Default: /usr/local
+_Description: Fonix DECtalk directory:
+ The Fonix DECtalk include files and shared libraries are
+ required To compile the dectalk backend for GNOME Speech.
+ .
+ Enter the toplevel path where you installed the dectalk engine.

Added: desktop/unstable/gnome-speech/debian/gnome-speech-ibmtts.config
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-speech/debian/gnome-speech-ibmtts.config?rev=11361&op=file
==============================================================================
--- desktop/unstable/gnome-speech/debian/gnome-speech-ibmtts.config (added)
+++ desktop/unstable/gnome-speech/debian/gnome-speech-ibmtts.config Fri Jun  8 16:24:46 2007
@@ -1,0 +1,18 @@
+#!/bin/sh
+
+set -e
+
+# Load Debconf
+. /usr/share/debconf/confmodule
+db_version 2.0
+
+# Autodetect default for ibmtts_dir question
+for dir in /opt/IBM/ibmtts /usr/local/IBM/ibmtts /usr/local/ibmtts; do
+  if [ -d "$dir" -a -d "$dir/inc" -a -f "$dir/inc/eci.h" -a -d "$dir/lib" -a -d "$dir/lib/libibmeci.so" ]; then
+    db_set gnome-speech-ibmtts/ibmtts_dir "$dir"
+    break
+  fi
+done
+
+db_input medium gnome-speech-ibmtts/ibmtts_dir || true
+db_go

Propchange: desktop/unstable/gnome-speech/debian/gnome-speech-ibmtts.config
------------------------------------------------------------------------------
    svn:executable = *

Added: desktop/unstable/gnome-speech/debian/gnome-speech-ibmtts.install
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-speech/debian/gnome-speech-ibmtts.install?rev=11361&op=file
==============================================================================
--- desktop/unstable/gnome-speech/debian/gnome-speech-ibmtts.install (added)
+++ desktop/unstable/gnome-speech/debian/gnome-speech-ibmtts.install Fri Jun  8 16:24:46 2007
@@ -1,0 +1,1 @@
+drivers/viavoice/*.{c,h,server.in} usr/share/gnome-speech/sources/viavoice

Added: desktop/unstable/gnome-speech/debian/gnome-speech-ibmtts.postinst
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-speech/debian/gnome-speech-ibmtts.postinst?rev=11361&op=file
==============================================================================
--- desktop/unstable/gnome-speech/debian/gnome-speech-ibmtts.postinst (added)
+++ desktop/unstable/gnome-speech/debian/gnome-speech-ibmtts.postinst Fri Jun  8 16:24:46 2007
@@ -1,0 +1,22 @@
+#!/bin/sh
+
+set -e
+
+. /usr/share/debconf/confmodule
+db_version 2.0
+
+srcdir=/usr/share/gnome-speech/sources/viavoice
+if [ "$1" = "configure" ]; then
+  db_get gnome-speech-ibmtts/ibmtts_dir
+  ibmtts_dir="$RET"
+  if [ -d "$ibmtts_dir" -a -d "$ibmtts_dir/inc" -a -f "$ibmtts_dir/inc/eci.h" -a -d "$ibmtts_dir/lib" ]; then
+    # compile code here
+    ibmtts_CFLAGS="-I$srcdir -I/usr/include/gnome-speech-1.0 -I$ibmtts_dir/inc -DORBIT2=1 -pthread -I/usr/include/bonobo-activation-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0   -Wall -g -O2"
+    gcc $ibmtts_CFLAGS -o /usr/bin/viavoice-synthesis-driver \
+      $srcdir/viavoicesynthesisdriver.c $srcdir/viavoicespeaker.c \
+      -Wl,--export-dynamic -lgnomespeech -lbonobo-2 -lbonobo-activation -lgmodule-2.0 -ldl -lORBit-2 -lgthread-2.0 -lrt -lgobject-2.0 -lglib-2.0 -L$ibmtts_dir/lib -libmeci -lm
+    sed -e 's, at prefix@,/usr,' \
+      <$srcdir/GNOME_Speech_SynthesisDriver_Viavoice.server.in \
+      >/usr/lib/bonobo/servers/GNOME_Speech_SynthesisDriver_Viavoice.server
+  fi
+fi

Propchange: desktop/unstable/gnome-speech/debian/gnome-speech-ibmtts.postinst
------------------------------------------------------------------------------
    svn:executable = *

Added: desktop/unstable/gnome-speech/debian/gnome-speech-ibmtts.prerm
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-speech/debian/gnome-speech-ibmtts.prerm?rev=11361&op=file
==============================================================================
--- desktop/unstable/gnome-speech/debian/gnome-speech-ibmtts.prerm (added)
+++ desktop/unstable/gnome-speech/debian/gnome-speech-ibmtts.prerm Fri Jun  8 16:24:46 2007
@@ -1,0 +1,6 @@
+#!/bin/sh -e
+
+rm -f /usr/bin/viavoice-synthesis-driver
+rm -f /usr/lib/bonobo/servers/GNOME_Speech_SynthesisDriver_Viavoice.server
+
+exit 0

Propchange: desktop/unstable/gnome-speech/debian/gnome-speech-ibmtts.prerm
------------------------------------------------------------------------------
    svn:executable = *

Added: desktop/unstable/gnome-speech/debian/gnome-speech-ibmtts.templates
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-speech/debian/gnome-speech-ibmtts.templates?rev=11361&op=file
==============================================================================
--- desktop/unstable/gnome-speech/debian/gnome-speech-ibmtts.templates (added)
+++ desktop/unstable/gnome-speech/debian/gnome-speech-ibmtts.templates Fri Jun  8 16:24:46 2007
@@ -1,0 +1,8 @@
+Template: gnome-speech-ibmtts/ibmtts_dir
+Type: string
+Default: /opt/IBM/ibmtts
+_Description: IBMTTS directory:
+ The IBMTTS include files and shared libraries are
+ required To compile the viavoice backend for GNOME Speech.
+ .
+ Enter the toplevel path where you installed IBMTTS.

Modified: desktop/unstable/gnome-speech/debian/po/POTFILES.in
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-speech/debian/po/POTFILES.in?rev=11361&op=diff
==============================================================================
--- desktop/unstable/gnome-speech/debian/po/POTFILES.in (original)
+++ desktop/unstable/gnome-speech/debian/po/POTFILES.in Fri Jun  8 16:24:46 2007
@@ -1,1 +1,3 @@
 [type: gettext/rfc822deb] gnome-speech-swift.templates
+[type: gettext/rfc822deb] gnome-speech-dectalk.templates
+[type: gettext/rfc822deb] gnome-speech-ibmtts.templates

Modified: desktop/unstable/gnome-speech/debian/po/templates.pot
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-speech/debian/po/templates.pot?rev=11361&op=diff
==============================================================================
--- desktop/unstable/gnome-speech/debian/po/templates.pot (original)
+++ desktop/unstable/gnome-speech/debian/po/templates.pot Fri Jun  8 16:24:46 2007
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: mlang at debian.org\n"
-"POT-Creation-Date: 2007-05-22 13:53+0200\n"
+"POT-Creation-Date: 2007-06-08 16:35+0200\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <LL at li.org>\n"
@@ -35,3 +35,43 @@
 #: ../gnome-speech-swift.templates:1001
 msgid "Enter the toplevel path where you installed the swift engine."
 msgstr ""
+
+#. Type: string
+#. Description
+#: ../gnome-speech-dectalk.templates:1001
+msgid "Fonix DECtalk directory:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../gnome-speech-dectalk.templates:1001
+msgid ""
+"The Fonix DECtalk include files and shared libraries are required To compile "
+"the dectalk backend for GNOME Speech."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../gnome-speech-dectalk.templates:1001
+msgid "Enter the toplevel path where you installed the dectalk engine."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../gnome-speech-ibmtts.templates:1001
+msgid "IBMTTS directory:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../gnome-speech-ibmtts.templates:1001
+msgid ""
+"The IBMTTS include files and shared libraries are required To compile the "
+"viavoice backend for GNOME Speech."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../gnome-speech-ibmtts.templates:1001
+msgid "Enter the toplevel path where you installed IBMTTS."
+msgstr ""

Modified: desktop/unstable/gnome-speech/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-speech/debian/rules?rev=11361&op=diff
==============================================================================
--- desktop/unstable/gnome-speech/debian/rules (original)
+++ desktop/unstable/gnome-speech/debian/rules Fri Jun  8 16:24:46 2007
@@ -7,6 +7,10 @@
 include /usr/share/cdbs/1/rules/utils.mk
 include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
 -include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk
+
+# Ensure we do not accidentally pick up viavoice at package build time
+DEB_CONFIGURE_EXTRA_FLAGS +=  --with-viavoice-dir=no
+
 # work around upstream bug
 DEB_MAKE_CLEAN_TARGET := clean
 




More information about the pkg-gnome-commits mailing list