Skip to contentSkip to conversation

sphinxbase: new package

PATCH New Jonathan Ben-Avraham 2 participants 2 messages Mar 2, 2016 – Jul 2, 2016

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 sphinxbase: new package

CMUSphinx toolkit is a speech recognition toolkit with various tools used to build speech applications. CMU Sphinx toolkit has a number of packages for different tasks and applications. The toolkit is designed for use on mobile platforms.

---
Changes v2 -> v3:
1. Respin for the 2016-2-23 Sphinxbase version
a. Updated SPHINXBASE_SITE to match Sourceforge URL change
b. Updated SHA256 hash for the new tarball (the tarball name did not change) c. Removed unnecessary SPHINXBASE_AUTORECONF left over from v1 of this patch d. Re-tested only with gcc-linaro-4.9-2014.11-x86_64_arm-linux-gnueabihf e. Thanks to Yegor Yefremov <[email protected]> for review

Changes v1 -> v2:
1. Applied all review comments by Arnout Vandecappelle:
a. Removed comments regarding github repo
b. Added comment regarding missing license file upstream bug report c. Added example source file as license file
d. Removed redundant source specification

2. Tested patch application with git apply --check

 package/Config.in                  |  1 +
 package/sphinxbase/Config.in       | 13 +++++++++++++
 package/sphinxbase/sphinxbase.hash |  2 ++
 package/sphinxbase/sphinxbase.mk   | 16 ++++++++++++++++
 4 files changed, 32 insertions(+)
 create mode 100644 package/sphinxbase/Config.in
 create mode 100644 package/sphinxbase/sphinxbase.hash
 create mode 100644 package/sphinxbase/sphinxbase.mk
package/Config.in +1 -0
index 529ad33..4e70c6d 100644
@@ -1223,6 +1223,7 @@ endif
 	source "package/protobuf-c/Config.in"
 	source "package/qhull/Config.in"
 	source "package/qlibc/Config.in"
+	source "package/sphinxbase/Config.in"
 	source "package/startup-notification/Config.in"
 	source "package/tz/Config.in"
 	source "package/tzdata/Config.in"
package/sphinxbase/Config.in new file +13 -0
new file mode 100644
index 0000000..ee9ca31
@@ -0,0 +1,13 @@
+config BR2_PACKAGE_SPHINXBASE
+	bool "sphinxbase"
+	depends on BR2_TOOLCHAIN_HAS_THREADS
+	help
+	  CMUSphinx toolkit is a leading speech recognition toolkit with
+	  various tools used to build speech applications. CMU Sphinx
+	  toolkit has a number of packages for different tasks and
+	  applications.
+
+	  http://cmusphinx.sourceforge.net/
+
+comment "sphinxbase needs a toolchain with threads"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS
package/sphinxbase/sphinxbase.hash new file +2 -0
new file mode 100644
index 0000000..47b6dab
@@ -0,0 +1,2 @@
+# Locally computed for the 2016-02-23 Sphinxbase release
+sha256 06971dbe272d2f73bde0ef7b3538c0c8f8ea885cb171fd6b17a5975bced66e64 sphinxbase-5prealpha.tar.gz
package/sphinxbase/sphinxbase.mk new file +16 -0
new file mode 100644
index 0000000..4f63ecd
@@ -0,0 +1,16 @@
+################################################################################
+#
+# sphinxbase
+#
+################################################################################
+
+SPHINXBASE_VERSION = 5prealpha
+SPHINXBASE_SITE = http://downloads.sourceforge.net/project/cmusphinx/sphinxbase/5prealpha
+SPHINXBASE_LICENSE = MIT
+# Note http://sourceforge.net/p/cmusphinx/bugs/441/ "LICENSE file missing in"
+# 5prealpha tarballs". The license is contained in the copyright notice at the
+# top of each source file. For example:
+SPHINXBASE_LICENSE_FILES = src/libsphinxbase/util/bio.c
+SPHINXBASE_CONF_OPTS = --without-python
+
+$(eval $(autotools-package))
Signature · 1 line
2.1.4
#1 lore raw

PATCH v3 1/1 sphinxbase: new package

Hello,

Sorry for the long delay in reviewing and applying this patch.

package/sphinxbase/sphinxbase.mk line 9

Quoted 3 lines · Jonathan Ben-Avraham
package/sphinxbase/sphinxbase.mk new file +3 -0
+SPHINXBASE_VERSION = 5prealpha
+SPHINXBASE_SITE = http://downloads.sourceforge.net/project/cmusphinx/sphinxbase/5prealpha
+SPHINXBASE_LICENSE = MIT

The license really is BSD-2c, so I've fixed that up.

package/sphinxbase/sphinxbase.mk line 14

Quoted 5 lines
package/sphinxbase/sphinxbase.mk new file +5 -0
+# Note http://sourceforge.net/p/cmusphinx/bugs/441/ "LICENSE file missing in"
+# 5prealpha tarballs". The license is contained in the copyright notice at the
+# top of each source file. For example:
+SPHINXBASE_LICENSE_FILES = src/libsphinxbase/util/bio.c
+SPHINXBASE_CONF_OPTS = --without-python

I've also added --without-lapack here, just to be sure.

Applied with those two changes. Thanks a lot!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com