Skip to contentSkip to conversation

sphinxbase: new package

PATCH Superseded Jonathan Ben-Avraham 2 participants 4 messages Jan 18, 2016 – Mar 2, 2016

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 sphinxbase: new package

From: Jonathan Ben Avraham <[email protected]>

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 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   |   18 ++++++++++++++++++
 4 files changed, 34 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 89b23db..b555808 100644
@@ -1213,6 +1213,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..483fda3
@@ -0,0 +1,2 @@
+# Locally computed
+sha256 b8b19a207d1a285753a93ed67c36aacba0ebdc0892471fd3be6f6ffaba776f88 sphinxbase-5prealpha.tar.gz
package/sphinxbase/sphinxbase.mk new file +17 -0
new file mode 100644
index 0000000..9397997
@@ -0,0 +1,17 @@
+################################################################################
+#
+# sphinxbase
+#
+################################################################################
+
+SPHINXBASE_VERSION = 5prealpha
+SPHINXBASE_SITE = http://downloads.sourceforge.net/project/cmusphinx/sphinxbase
+SPHINXBASE_AUTORECONF = YES
+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
1.7.9.5
#1 lore raw

PATCH v2 1/1 sphinxbase: new package

Hi Jonathan,

Quoted 64 lines · Jonathan Ben-Avraham

From: Jonathan Ben Avraham <[email protected]>

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 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   |   18 ++++++++++++++++++
 4 files changed, 34 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 89b23db..b555808 100644
@@ -1213,6 +1213,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 +0 -0
new file mode 100644
index 0000000..483fda3

package/sphinxbase/sphinxbase.hash line 2

Quoted 2 lines
package/sphinxbase/sphinxbase.hash new file +2 -0
@@ -0,0 +1,2 @@
+# Locally computed
+sha256 b8b19a207d1a285753a93ed67c36aacba0ebdc0892471fd3be6f6ffaba776f88 sphinxbase-5prealpha.tar.gz

sha256 seems to be wrong

Quoted 6 lines
package/sphinxbase/sphinxbase.mk new file +0 -0
new file mode 100644
index 0000000..9397997

package/sphinxbase/sphinxbase.mk line 8

Quoted 8 lines
package/sphinxbase/sphinxbase.mk new file +8 -0
@@ -0,0 +1,17 @@
+################################################################################
+#
+# sphinxbase
+#
+################################################################################
+
+SPHINXBASE_VERSION = 5prealpha
+SPHINXBASE_SITE = http://downloads.sourceforge.net/project/cmusphinx/sphinxbase

I could download the file only with this URL:

SPHINXBASE_SITE =
http://downloads.sourceforge.net/project/cmusphinx/sphinxbase/5prealpha

package/sphinxbase/sphinxbase.mk line 9

Quoted 1 line
package/sphinxbase/sphinxbase.mk new file +1 -0
+SPHINXBASE_AUTORECONF = YES

Why do you need autoreconf?

Yegor

Quoted 15 lines
package/sphinxbase/sphinxbase.mk new file +8 -1
+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))
--

1.7.9.5

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

#2 lore raw

PATCH v2 1/1 sphinxbase: new package

Hi Yegor,
Thanks for the test. I'll do a re-spin.

- yba

Quoted 120 lines · Yegor Yefremov

Date: Mon, 22 Feb 2016 16:00:56 +0100
From: Yegor Yefremov <[email protected]>
To: Jonathan Ben-Avraham <[email protected]>
Cc: "buildroot at busybox.net" <[email protected]>
Subject: Re: [Buildroot] [PATCH 1/1 v2] sphinxbase: new package

Hi Jonathan,

Quoted 64 lines · Jonathan Ben-Avraham

From: Jonathan Ben Avraham <[email protected]>

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 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   |   18 ++++++++++++++++++
 4 files changed, 34 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 89b23db..b555808 100644
@@ -1213,6 +1213,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 +0 -0
new file mode 100644
index 0000000..483fda3

package/sphinxbase/sphinxbase.hash line 2

Quoted 2 lines
package/sphinxbase/sphinxbase.hash new file +2 -0
@@ -0,0 +1,2 @@
+# Locally computed
+sha256 b8b19a207d1a285753a93ed67c36aacba0ebdc0892471fd3be6f6ffaba776f88 sphinxbase-5prealpha.tar.gz

sha256 seems to be wrong

Quoted 6 lines
package/sphinxbase/sphinxbase.mk new file +0 -0
new file mode 100644
index 0000000..9397997

package/sphinxbase/sphinxbase.mk line 8

Quoted 8 lines
package/sphinxbase/sphinxbase.mk new file +8 -0
@@ -0,0 +1,17 @@
+################################################################################
+#
+# sphinxbase
+#
+################################################################################
+
+SPHINXBASE_VERSION = 5prealpha
+SPHINXBASE_SITE = http://downloads.sourceforge.net/project/cmusphinx/sphinxbase

I could download the file only with this URL:

SPHINXBASE_SITE =
http://downloads.sourceforge.net/project/cmusphinx/sphinxbase/5prealpha

package/sphinxbase/sphinxbase.mk line 9

Quoted 1 line
package/sphinxbase/sphinxbase.mk new file +1 -0
+SPHINXBASE_AUTORECONF = YES

Why do you need autoreconf?

Yegor

Quoted 15 lines
package/sphinxbase/sphinxbase.mk new file +8 -1
+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))
--

1.7.9.5

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

Signature · 3 lines
  9590 8E58 D30D 1660 C349  673D B205 4FC4 B8F5 B7F9  ~. .~  Tk Open Systems
=}-------- Jonathan Ben-Avraham ("yba") ----------ooO--U--Ooo------------{=
mailto:yba at tkos.co.il tel:+972.52.486.3386 http://tkos.co.il skype:benavrhm
#3 lore raw

PATCH v2 1/1 sphinxbase: new package

In reply to Yegor Yefremov

Hi Yegor,
See inline comments below.

Quoted 69 lines · Yegor Yefremov

Date: Mon, 22 Feb 2016 16:00:56 +0100
From: Yegor Yefremov <[email protected]>
To: Jonathan Ben-Avraham <[email protected]>
Cc: "buildroot at busybox.net" <[email protected]>
Subject: Re: [Buildroot] [PATCH 1/1 v2] sphinxbase: new package

Hi Jonathan,

Quoted 60 lines · Jonathan Ben-Avraham

From: Jonathan Ben Avraham <[email protected]>

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 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   |   18 ++++++++++++++++++
 4 files changed, 34 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 89b23db..b555808 100644
@@ -1213,6 +1213,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 +0 -0
new file mode 100644
Quoted 8 lines

package/sphinxbase/sphinxbase.hash line 2

Quoted 6 lines

index 0000000..483fda3

package/sphinxbase/sphinxbase.hash new file +2 -0
@@ -0,0 +1,2 @@
+# Locally computed
+sha256 b8b19a207d1a285753a93ed67c36aacba0ebdc0892471fd3be6f6ffaba776f88 sphinxbase-5prealpha.tar.gz

sha256 seems to be wrong

The upstream developers respun the tarball at least twice in the past month.

Quoted 17 lines
Quoted 6 lines
package/sphinxbase/sphinxbase.mk new file +0 -0
new file mode 100644
index 0000000..9397997

package/sphinxbase/sphinxbase.mk line 8

Quoted 8 lines
package/sphinxbase/sphinxbase.mk new file +8 -0
@@ -0,0 +1,17 @@
+################################################################################
+#
+# sphinxbase
+#
+################################################################################
+
+SPHINXBASE_VERSION = 5prealpha
+SPHINXBASE_SITE = http://downloads.sourceforge.net/project/cmusphinx/sphinxbase

I could download the file only with this URL:

Quoted 2 lines

SPHINXBASE_SITE =
http://downloads.sourceforge.net/project/cmusphinx/sphinxbase/5prealpha

Indeed, the URL changed.

Quoted 3 lines

package/sphinxbase/sphinxbase.mk line 9

Quoted 1 line
package/sphinxbase/sphinxbase.mk new file +1 -0
+SPHINXBASE_AUTORECONF = YES

Why do you need autoreconf?

Oops, left over from the first version of the patch that used the GitHub repo with the autotools infrastructure inside.

Thanks for the review. I just now submitted v3.

- yba

Quoted 18 lines

Yegor

Quoted 15 lines
package/sphinxbase/sphinxbase.mk new file +8 -1
+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))
--

1.7.9.5

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

Signature · 3 lines
  9590 8E58 D30D 1660 C349  673D B205 4FC4 B8F5 B7F9  ~. .~  Tk Open Systems
=}-------- Jonathan Ben-Avraham ("yba") ----------ooO--U--Ooo------------{=
mailto:yba at tkos.co.il tel:+972.52.486.3386 http://tkos.co.il skype:benavrhm