From ff1083c2aaad2325588ca12b6ae5ad9fc52554a3 Mon Sep 17 00:00:00 2001 From: Herb Kuta Date: Thu, 23 May 2019 14:54:57 -0700 Subject: [PATCH] DRAFT Drop sphinxbase_0.8.bb, pocketsphinx_0.8.bb (no longer used by ROS 1 components) --- recipes-extended/cmusphinx/cmusphinx.inc | 9 ------ .../cmusphinx/pocketsphinx_0.8.bb | 30 ------------------- .../sphinxbase/0001-TESTS-srcdir-remove.patch | 16 ---------- recipes-extended/cmusphinx/sphinxbase_0.8.bb | 25 ---------------- 4 files changed, 80 deletions(-) delete mode 100644 recipes-extended/cmusphinx/cmusphinx.inc delete mode 100644 recipes-extended/cmusphinx/pocketsphinx_0.8.bb delete mode 100644 recipes-extended/cmusphinx/sphinxbase/0001-TESTS-srcdir-remove.patch delete mode 100644 recipes-extended/cmusphinx/sphinxbase_0.8.bb diff --git a/recipes-extended/cmusphinx/cmusphinx.inc b/recipes-extended/cmusphinx/cmusphinx.inc deleted file mode 100644 index 0c46b66..0000000 --- a/recipes-extended/cmusphinx/cmusphinx.inc +++ /dev/null @@ -1,9 +0,0 @@ -SRC_URI = "http://sourceforge.net/projects/cmusphinx/files/${PN}/${PV}/${P}.tar.gz;downloadfilename=${P}.tar.gz" - -inherit autotools pythonnative python-dir - -# required for python binding -export HOST_SYS -export BUILD_SYS -export STAGING_LIBDIR -export STAGING_INCDIR diff --git a/recipes-extended/cmusphinx/pocketsphinx_0.8.bb b/recipes-extended/cmusphinx/pocketsphinx_0.8.bb deleted file mode 100644 index ced1a1a..0000000 --- a/recipes-extended/cmusphinx/pocketsphinx_0.8.bb +++ /dev/null @@ -1,30 +0,0 @@ -DESCRIPTION = "This is PocketSphinx, one of Carnegie Mellon University's open source \ -large vocabulary, speaker-independent continuous speech recognition engine." -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://COPYING;md5=6601be289d6bcad899b6e71623ce2862" - -DEPENDS = "sphinxbase gst-plugins-good" - -SRC_URI[md5sum] = "9f6fb6277d57fb33d2c49d4184587d26" -SRC_URI[sha256sum] = "874c4c083d91c8ff26a2aec250b689e537912ff728923c141c4dac48662cce7a" - -require cmusphinx.inc - -do_configure_prepend () { - #force build of gstreamer plugin - sed -i 's:AM_CONDITIONAL(BUILD_GST, test x$cross_compiling != xyes && test "x$HAVE_GST" = "xyes"):AM_CONDITIONAL(BUILD_GST, test "x$HAVE_GST" = "xyes"):g' ${S}/configure.in -} - -do_install_append () { - #remove egg-info - rm -rf ${D}/${PYTHON_SITEPACKAGES_DIR}/*.egg-info -} - -FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}/pocketsphinx.so" -FILES_${PN}-dbg += "${PYTHON_SITEPACKAGES_DIR}/.debug/*" - -PACKAGES += "gstreamer0.10-${PN} gstreamer0.10-${PN}-dbg gstreamer0.10-${PN}-staticdev" -FILES_gstreamer0.10-${PN} += "${libdir}/gstreamer-0.10/libgstpocketsphinx.so" -FILES_gstreamer0.10-${PN}-staticdev += "${libdir}/gstreamer-0.10/libgstpocketsphinx.a \ - ${libdir}/gstreamer-0.10/libgstpocketsphinx.la" -FILES_gstreamer0.10-${PN}-dbg += "${libdir}/gstreamer-0.10/.debug" diff --git a/recipes-extended/cmusphinx/sphinxbase/0001-TESTS-srcdir-remove.patch b/recipes-extended/cmusphinx/sphinxbase/0001-TESTS-srcdir-remove.patch deleted file mode 100644 index 3df5736..0000000 --- a/recipes-extended/cmusphinx/sphinxbase/0001-TESTS-srcdir-remove.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff --git a/test/regression/Makefile.am b/test/regression/Makefile.am -index d13d2a7..3bdb18a 100644 ---- a/test/regression/Makefile.am -+++ b/test/regression/Makefile.am -@@ -33,9 +33,9 @@ CLEANFILES = test*.err test*.out \ - - # Disable sphinx_fe tests for now if fixed-point due to imprecision - if FIXED_POINT --TESTS = $(srcdir)/test-cepview.sh $(srcdir)/test-sphinx_pitch.sh -+TESTS = test-cepview.sh test-sphinx_pitch.sh - else --TESTS = $(srcdir)/test-*.sh -+TESTS = test-*.sh - endif - - EXTRA_DIST += $(TESTS) diff --git a/recipes-extended/cmusphinx/sphinxbase_0.8.bb b/recipes-extended/cmusphinx/sphinxbase_0.8.bb deleted file mode 100644 index fc15e29..0000000 --- a/recipes-extended/cmusphinx/sphinxbase_0.8.bb +++ /dev/null @@ -1,25 +0,0 @@ -DESCRIPTION = "This package contains the basic libraries shared by the CMU Sphinx \ -trainer and all the Sphinx decoders (Sphinx-II, Sphinx-III, and \ -PocketSphinx), as well as some common utilities for manipulating \ -acoustic feature and audio files." -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://COPYING;md5=c550e8ca1106e5eeaf4e2b4cbf960fcf" - -SRC_URI[md5sum] = "7335d233f7ad4ecc4b508aec7b5dc101" -SRC_URI[sha256sum] = "55708944872bab1015b8ae07b379bf463764f469163a8fd114cbb16c5e486ca8" - -require cmusphinx.inc - -SRC_URI += "file://0001-TESTS-srcdir-remove.patch" - -DEPENDS = "libsndfile1 alsa-lib libsamplerate0 bison-native" - -EXTRA_OECONF = " --without-python" - -do_install_append () { - #remove egg-info - rm -rf ${D}/${PYTHON_SITEPACKAGES_DIR}/*.egg-info -} - -FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}/sphinxbase.so" -FILES_${PN}-dbg += "${PYTHON_SITEPACKAGES_DIR}/.debug/*"