--- pocketsphinx-0.8.0+real.orig/debian/libpocketsphinx1.install +++ pocketsphinx-0.8.0+real/debian/libpocketsphinx1.install @@ -0,0 +1 @@ +usr/lib/lib*.so.* --- pocketsphinx-0.8.0+real.orig/debian/pocketsphinx-utils.install +++ pocketsphinx-0.8.0+real/debian/pocketsphinx-utils.install @@ -0,0 +1,6 @@ +usr/bin/pocketsphinx_batch +usr/bin/pocketsphinx_continuous +usr/bin/pocketsphinx_mdef_convert +usr/share/man/man1/pocketsphinx_batch.1 +usr/share/man/man1/pocketsphinx_continuous.1 +usr/share/man/man1/pocketsphinx_mdef_convert.1 --- pocketsphinx-0.8.0+real.orig/debian/pocketsphinx-hmm-zh-tdt.install +++ pocketsphinx-0.8.0+real/debian/pocketsphinx-hmm-zh-tdt.install @@ -0,0 +1,2 @@ + +usr/share/pocketsphinx/model/hmm/zh/tdt_sc_8k/* --- pocketsphinx-0.8.0+real.orig/debian/pocketsphinx-hmm-en-tidigits.install +++ pocketsphinx-0.8.0+real/debian/pocketsphinx-hmm-en-tidigits.install @@ -0,0 +1,2 @@ +usr/share/pocketsphinx/model/hmm/en/tidigits/* +usr/share/pocketsphinx/model/lm/en/tidigits* --- pocketsphinx-0.8.0+real.orig/debian/gstreamer0.10-pocketsphinx.install +++ pocketsphinx-0.8.0+real/debian/gstreamer0.10-pocketsphinx.install @@ -0,0 +1 @@ +usr/lib/gstreamer-0.10/*.so --- pocketsphinx-0.8.0+real.orig/debian/README.source +++ pocketsphinx-0.8.0+real/debian/README.source @@ -0,0 +1,3 @@ +This package uses dpatch for modifications done against upstream's source. +Please see /usr/share/doc/dpatch/README.source.gz for more details on how +to work with dpatch. --- pocketsphinx-0.8.0+real.orig/debian/libpocketsphinx-dev.install +++ pocketsphinx-0.8.0+real/debian/libpocketsphinx-dev.install @@ -0,0 +1,4 @@ +usr/include/pocketsphinx/* +usr/lib/lib*.a +usr/lib/lib*.so +usr/lib/pkgconfig/* --- pocketsphinx-0.8.0+real.orig/debian/pocketsphinx-lm-zh-hant-gigatdt.install +++ pocketsphinx-0.8.0+real/debian/pocketsphinx-lm-zh-hant-gigatdt.install @@ -0,0 +1,2 @@ +usr/share/pocketsphinx/model/lm/zh_TW/gigatdt.5000.DMP +usr/share/pocketsphinx/model/lm/zh_TW/mandarin_notone.dic --- pocketsphinx-0.8.0+real.orig/debian/changelog +++ pocketsphinx-0.8.0+real/debian/changelog @@ -0,0 +1,83 @@ +pocketsphinx (0.8.0+real-0ubuntu5) saucy; urgency=low + + * Use dh_autotools-dev to update config.{sub,guess} for AArch64. + + -- Matthias Klose Thu, 10 Oct 2013 21:33:04 +0200 + +pocketsphinx (0.8.0+real-0ubuntu4) saucy; urgency=low + + * Honour DEB_BUILD_OPTIONS=nocheck. + * Disable tests on powerpc, since test_gst fails. (Normally bad and + wrong, but this just takes us back to the situation of + 0.8.0+real-0ubuntu2 on that architecture.) + * Update Maintainer to current preferred form. + * Add build-indep and build-arch targets to debian/rules. + + -- Colin Watson Fri, 07 Jun 2013 12:50:24 +0100 + +pocketsphinx (0.8.0+real-0ubuntu3) saucy; urgency=low + + [ Łukasz 'sil2100' Zemczak ] + * debian/rules, debian/control: + - Switch from python-support to dh_python2 + * debian/rules: + - Run tests during package build + + [ Michael Terry ] + * debian/control: + - Add Build-Depend on gstreamer0.10-plugins-base for tests + + -- Łukasz 'sil2100' Zemczak Thu, 06 Jun 2013 18:23:31 +0200 + +pocketsphinx (0.8.0+real-0ubuntu2) raring; urgency=low + + * Rebuild against the new libsphinxbase-dev 0.8-0ubuntu5 on armhf. + + -- Adam Conrad Tue, 23 Apr 2013 08:56:21 -0600 + +pocketsphinx (0.8.0+real-0ubuntu1) raring; urgency=low + + * Tweak version to support upgrades from 0.8.0+dfsg which has been used + in other places before + + -- Sebastien Bacher Wed, 27 Feb 2013 12:34:15 +0100 + +pocketsphinx (0.8-0ubuntu1) raring; urgency=low + + [ Pete Woods ] + * New upstream release (LP: #1110379) + * Upgrading to latest release of pocketsphinx. + * New lanuage model package for Mandarin. + * New language model package organisation reflecting changes in the + organisation of the codebase. + + [ Iain Lane ] + * Don't install .la file + * Bumped S-V to 3.9.4; no changes + * Removed unused & deprecated dpatch usage + * Set copyright format URL to current stable location and updated for + changes since last spec version used. + + -- Pete Woods Tue, 26 Feb 2013 15:13:49 +0000 + +pocketsphinx (0.5.1+dfsg1-0ubuntu3) precise; urgency=low + + * Rebuild to drop python2.6 dependencies and provides. + + -- Matthias Klose Sat, 14 Apr 2012 13:43:14 +0000 + +pocketsphinx (0.5.1+dfsg1-0ubuntu2) natty; urgency=low + + * Rebuild to add support for python 2.7. + + -- Matthias Klose Fri, 03 Dec 2010 00:06:57 +0000 + +pocketsphinx (0.5.1+dfsg1-0ubuntu1) karmic; urgency=low + + * Initial release (LP: #129758). + * Tarball repackaged to include copies of the GPL and LGPL licenses. + + Initial packaging by David Huggins-Daines + and Michael Nelson . + + -- Siegfried-Angel Gevatter Pujals Wed, 23 Sep 2009 17:01:02 +0200 --- pocketsphinx-0.8.0+real.orig/debian/compat +++ pocketsphinx-0.8.0+real/debian/compat @@ -0,0 +1 @@ +5 --- pocketsphinx-0.8.0+real.orig/debian/copyright +++ pocketsphinx-0.8.0+real/debian/copyright @@ -0,0 +1,52 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: CMU Sphinx +Upstream-Contact: Evandro Gouvêa + Arthur Chan + Mosur Ravishankar + Yitao Sun + David Huggins-Daines +Source: http://downloads.sourceforge.net/cmusphinx/ + +Files: * +Copyright: © 1994-2008, Carnegie Mellon University + © 2007, Carnegie Mellon University + © 1999-2010, Carnegie Mellon University +License: BSD-2-clause + +Files: debian/* +Copyright: © 2007-2008, David Huggins-Daines + © 2009, Michael Nelson + © 2009, Siegfried-Angel Gevatter Pujals +License: GPL-2+ + +License: BSD-2-clause + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + . + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + . + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + . + This work was supported in part by funding from the Defense Advanced + Research Projects Agency and the National Science Foundation of the + United States of America, and the CMU Sphinx Speech Consortium. + . + THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND + ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, + THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY + NOR ITS EMPLOYEES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +License: GPL-2+ + See `/usr/share/common-licenses/GPL'. --- pocketsphinx-0.8.0+real.orig/debian/rules +++ pocketsphinx-0.8.0+real/debian/rules @@ -0,0 +1,109 @@ +#!/usr/bin/make -f + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +PYTHON=$(shell pyversions -d) +PYVERS=$(shell pyversions -r) + +config.status: configure + dh_testdir + dh_autotools-dev_updateconfig + ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \ + --prefix=/usr --mandir=\$${prefix}/share/man \ + --infodir=\$${prefix}/share/info \ + --with-sphinxbase=auto CFLAGS="$(CFLAGS)" + +build: build-indep build-arch +build-indep: build-stamp +build-arch: build-stamp +build-stamp: config.status + dh_testdir + $(MAKE) +ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) +ifneq ($(DEB_HOST_ARCH),powerpc) + $(MAKE) check +endif +endif + $(RM) -r python/build + set -e; \ + for PYTHON in $(PYVERS); do \ + (cd python && $$PYTHON setup.py build); \ + done + set -e; \ + for PYTHON in $(PYVERS); do \ + (cd python && $$PYTHON-dbg setup.py build); \ + done + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + [ ! -f Makefile ] || $(MAKE) distclean + dh_autotools-dev_restoreconfig + dh_clean + $(RM) -r python/build + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install + set -e; \ + for PYTHON in $(PYVERS); do \ + (cd python && $$PYTHON setup.py install --root=$(CURDIR)/debian/python-pocketsphinx --install-layout=deb) ; \ + done + set -e; \ + for PYTHON in $(PYVERS); do \ + (cd python && $$PYTHON-dbg setup.py install --root=$(CURDIR)/debian/python-pocketsphinx-dbg --install-layout=deb) ; \ + done + mkdir -p debian/python-pocketsphinx/usr/share/doc/python-pocketsphinx + dh_installexamples -p python-pocketsphinx python/ps_test.py + find debian/python-*-dbg ! -type d ! -name '*.so' | xargs rm -f + find debian/python-*-dbg -depth -empty -exec rmdir {} \; + find debian -name '*.py[co]' | xargs rm -f + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples + dh_install --sourcedir=debian/tmp + dh_installman + dh_link + dh_strip --exclude=_d.so + rm -rf debian/python-pocketsphinx-dbg/usr/share/doc/python-pocketsphinx-dbg + ln -s python-pocketsphinx \ + debian/python-pocketsphinx-dbg/usr/share/doc/python-pocketsphinx-dbg + dh_compress -X.py + dh_fixperms + dh_python2 + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build-indep build-arch build clean clean1 binary-indep binary-arch binary install --- pocketsphinx-0.8.0+real.orig/debian/control +++ pocketsphinx-0.8.0+real/debian/control @@ -0,0 +1,189 @@ +Source: pocketsphinx +Priority: optional +Maintainer: Ubuntu Developers +Build-Depends: autotools-dev, + debhelper (>= 5), + gstreamer0.10-plugins-base, + libasound2-dev, + libgstreamer-plugins-base0.10-dev, + libgstreamer0.10-dev, + libsphinxbase-dev, + python-all-dbg (>= 2.6.6-3~), + python-all-dev (>= 2.6.6-3~), +Standards-Version: 3.9.4 +X-Python-Version: >= 2.4 +Section: sound + +Package: libpocketsphinx-dev +Section: libdevel +Architecture: any +Depends: libc6-dev, + libpocketsphinx1 (= ${binary:Version}), + ${misc:Depends}, + ${shlibs:Depends} +Description: lightweight speech recognition - development files + PocketSphinx is a lightweight, cross-platform, speaker-independent, + large-vocabulary continuous speech recognition engine. + . + This package contains the headers and static libraries for development. + +Package: libpocketsphinx1 +Section: libs +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: lightweight speech recognition - library + PocketSphinx is a lightweight, cross-platform, speaker-independent, + large-vocabulary continuous speech recognition engine. + . + This package contains the PocketSphinx shared library. + +Package: gstreamer0.10-pocketsphinx +Section: libs +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Recommends: pocketsphinx-hmm-en-hub4wsj, pocketsphinx-lm-en-hub4 +Description: lightweight speech recognition - GStreamer plugin + PocketSphinx is a lightweight, cross-platform, speaker-independent, + large-vocabulary continuous speech recognition engine. + . + This package contains the GStreamer plugin for PocketSphinx. + +Package: pocketsphinx-hmm-wsj1 +Section: oldlibs +Architecture: all +Depends: pocketsphinx-hmm-en-hub4wsj, ${misc:Depends} +Description: transitional dummy package + This is a transitional dummy package. It can safely be removed. + +Package: pocketsphinx-hmm-en-hub4wsj +Architecture: all +Depends: ${misc:Depends} +Description: lightweight speech recognition - English acoustic model + PocketSphinx is a lightweight, cross-platform, speaker-independent, + large-vocabulary continuous speech recognition engine. + . + This package contains the default US English acoustic model for + PocketSphinx. It was trained from 330 hours of broadcast news and + close-talking microphone speech downsampled to 8kHz. + +Package: pocketsphinx-lm-wsj +Section: oldlibs +Architecture: all +Depends: pocketsphinx-lm-en-hub4, ${misc:Depends} +Description: transitional dummy package + This is a transitional dummy package. It can safely be removed. + +Package: pocketsphinx-lm-en-hub4 +Architecture: all +Depends: ${misc:Depends} +Recommends: pocketsphinx-utils +Description: lightweight speech recognition - HUB4 language model + PocketSphinx is a lightweight, cross-platform, speaker-independent, + large-vocabulary continuous speech recognition engine. + . + This package contains the default language model for PocketSphinx. + It was trained from approximately 160 million words of broadcast news + text from the HUB4 corpus, and has a vocabulary of 5000 word types. + +Package: pocketsphinx-hmm-zh-tdt +Architecture: all +Depends: ${misc:Depends} +Description: lightweight speech recognition - Mandarin acoustic model + PocketSphinx is a lightweight, cross-platform, speaker-independent, + large-vocabulary continuous speech recognition engine. + . + This package contains the default Mandarin acoustic model for + PocketSphinx. It was trained from 50 hours of broadcast news and + conversation speech downsampled to 8kHz. + +Package: pocketsphinx-lm-zh-hans-gigatdt +Architecture: all +Depends: ${misc:Depends} +Recommends: pocketsphinx-utils +Description: lightweight speech recognition - Simplified Chinese language model + PocketSphinx is a lightweight, cross-platform, speaker-independent, + large-vocabulary continuous speech recognition engine. + . + This package contains the default Simplified Chinese language model + for PocketSphinx. It was trained from Gigaword-2 and TDT4 news + corpora, and has a vocabulary of 5000 word types. + +Package: pocketsphinx-lm-zh-hant-gigatdt +Architecture: all +Depends: ${misc:Depends} +Recommends: pocketsphinx-utils +Description: lightweight speech recognition - Traditional Chinese language model + PocketSphinx is a lightweight, cross-platform, speaker-independent, + large-vocabulary continuous speech recognition engine. + . + This package contains the default Traditional Chinese language model + for PocketSphinx. It was trained from Gigaword-2 and TDT4 news + corpora, and has a vocabulary of 5000 word types. + +Package: pocketsphinx-hmm-tidigits +Section: oldlibs +Architecture: all +Depends: pocketsphinx-hmm-en-tidigits, ${misc:Depends} +Description: transitional dummy package + This is a transitional dummy package. It can safely be removed. + +Package: pocketsphinx-hmm-en-tidigits +Architecture: all +Depends: ${misc:Depends} +Recommends: pocketsphinx-utils +Description: lightweight speech recognition - TIDIGITS models + PocketSphinx is a lightweight, cross-platform, speaker-independent, + large-vocabulary continuous speech recognition engine. + . + This package contains an acoustic model and accompanying "language + model" trained specifically for connected digit recognition. It was + trained from the TIDIGITS corpus of spoken digits, recorded on a + close-talking microphone and downsampled to 8kHz. + +Package: pocketsphinx-utils +Architecture: any +Depends: libpocketsphinx1 (= ${binary:Version}), + ${misc:Depends}, + ${shlibs:Depends} +Description: lightweight speech recognition - command-line tools + PocketSphinx is a lightweight, cross-platform, speaker-independent, + large-vocabulary continuous speech recognition engine. + . + This package contains command-line utilities for the PocketSphinx + recognition engine. + +Package: python-pocketsphinx +Section: python +Architecture: any +Depends: python-sphinxbase, + ${misc:Depends}, + ${python:Depends}, + ${shlibs:Depends} +Provides: ${python:Provides} +XB-Python-Version: ${python:Versions} +Description: lightweight speech recognition - Python module + PocketSphinx is a lightweight, cross-platform, speaker-independent, + large-vocabulary continuous speech recognition engine. + . + This package contains a Python module which provides access to most + of the PocketSphinx API. + +Package: python-pocketsphinx-dbg +Section: debug +Architecture: any +Priority: extra +Depends: python-dbg, + python-pocketsphinx, + ${misc:Depends}, + ${python:Depends}, + ${shlibs:Depends} +Provides: ${python:Provides} +XB-Python-Version: ${python:Versions} +Description: lightweight speech recognition - Python module (debug version) + PocketSphinx is a lightweight, cross-platform, speaker-independent, + large-vocabulary continuous speech recognition engine. + . + This package contains a Python module which provides access to most + of the PocketSphinx API. + . + This package contains the extension built for the Python debug interpreter. --- pocketsphinx-0.8.0+real.orig/debian/pocketsphinx-hmm-en-hub4wsj.install +++ pocketsphinx-0.8.0+real/debian/pocketsphinx-hmm-en-hub4wsj.install @@ -0,0 +1,2 @@ + +usr/share/pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k/* --- pocketsphinx-0.8.0+real.orig/debian/pocketsphinx-lm-en-hub4.install +++ pocketsphinx-0.8.0+real/debian/pocketsphinx-lm-en-hub4.install @@ -0,0 +1,2 @@ +usr/share/pocketsphinx/model/lm/en_US/cmu07a.dic +usr/share/pocketsphinx/model/lm/en_US/hub4.5000.DMP --- pocketsphinx-0.8.0+real.orig/debian/watch +++ pocketsphinx-0.8.0+real/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/cmusphinx/pocketsphinx-(.+)\.tar\.gz --- pocketsphinx-0.8.0+real.orig/debian/pocketsphinx-lm-zh-hans-gigatdt.install +++ pocketsphinx-0.8.0+real/debian/pocketsphinx-lm-zh-hans-gigatdt.install @@ -0,0 +1,2 @@ +usr/share/pocketsphinx/model/lm/zh_CN/gigatdt.5000.DMP +usr/share/pocketsphinx/model/lm/zh_CN/mandarin_notone.dic --- pocketsphinx-0.8.0+real.orig/debian/patches/00list +++ pocketsphinx-0.8.0+real/debian/patches/00list @@ -0,0 +1 @@ +# empty for now --- pocketsphinx-0.8.0+real.orig/debian/source/format +++ pocketsphinx-0.8.0+real/debian/source/format @@ -0,0 +1 @@ +1.0