diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2022-02-08 20:36:43 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-09 09:36:04 +0700 |
commit | 12121e96bb8a611c29f7db8439e4678235d21d9c (patch) | |
tree | f7a8ddb7bbbe42d96750f0c6d42f2ae8a9bfd795 | |
parent | 22739c3dc4807d48a0d078f6f79631ab8d6f2592 (diff) |
desktop/simon: Removed (no more kde4).
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | desktop/simon/README | 3 | ||||
-rw-r--r-- | desktop/simon/README.setup | 49 | ||||
-rw-r--r-- | desktop/simon/doinst.sh | 9 | ||||
-rw-r--r-- | desktop/simon/simon.SlackBuild | 115 | ||||
-rw-r--r-- | desktop/simon/simon.info | 10 | ||||
-rw-r--r-- | desktop/simon/slack-desc | 19 |
6 files changed, 0 insertions, 205 deletions
diff --git a/desktop/simon/README b/desktop/simon/README deleted file mode 100644 index f956558811b0..000000000000 --- a/desktop/simon/README +++ /dev/null @@ -1,3 +0,0 @@ -simon is an open-source speech recognition program. - -Be sure to read README.setup after installing. diff --git a/desktop/simon/README.setup b/desktop/simon/README.setup deleted file mode 100644 index b14f2d7f3df1..000000000000 --- a/desktop/simon/README.setup +++ /dev/null @@ -1,49 +0,0 @@ -You may want to install the Hidden Markov Model Toolkit (HTK) which is -covered by a license which does not permit free distribution. However, -you need HTK if you want to train your acoustic model. You can obtain -HTK from here (but only after registering): http://htk.eng.cam.ac.uk/ - -If you are creating solutions which will be used by more than one user, or -simply don't have the time to train the system, you can use static base models. -Static models are used as-is and are not modified by simon in any way. -Because of this, it is important that the selected base model matches your -voice as closely as possible. - -Even if you use a static model, you NEED to get an acoustic model from the web. -You can download some prebuilt models at http://www.voxforge.org/ - -BEGINNER GUIDE: -If you are a beginner and you don't know exactly how a speech recognition works, -but want just to enable this "cool feature", you may want to follow these steps -(static model), in order to make simon operative (English). - -This is to help you to your first approach to this program, next you will -be able to customize more and more! - - 0. Browse acoustic models from - http://www.repository.voxforge1.org/downloads/Nightly_Builds/current/ - Download "HTK_AcousticModel-2010-12-16_16kHz_16bit_MFCC_O_D.tgz" - 1. Uncompress the model where you want. - 2. Run "ksimond" (not from root). You need to have the daemon simond running. - 3. Configure "simond". (ksimond -> configuration -> simond). Add a username and a - password which are going to be used by simon. - 4. Run "simon". An assistant will appear. Click "Next" once to jump to "Scenarios" - section of the assistant. - 5. Get some scenario. You need at least one, download a scenario in English. - 6. Configure base model. Choose "Static model" type. From the uncompressed acoustic - model of step 1 choose: - - "hmmdefs" file for HMM definition - - "tiedlist" file for Tiedlist - - "macros" file for Macros - - "stats" file for Stats - Click "Ok", then "Next". - 7. "Server" and "Sound devices" sections configuration depends on what hardware - and software you're going to use. - You can safely just press "Next" to leave them unchanged. - 8. Adjust the volume of your microphone (or any input device you're going to use) - I suggest you to get the rumor at few percentage (3%-4%) and to get - "Volume correct" while speaking (I boosted my microphone for that) - 9. Optionally perform a training of speechable texts of your scenario to put your - voice in training data for a better recognition. -10. Speak! - diff --git a/desktop/simon/doinst.sh b/desktop/simon/doinst.sh deleted file mode 100644 index 65c7e2eeb9aa..000000000000 --- a/desktop/simon/doinst.sh +++ /dev/null @@ -1,9 +0,0 @@ -if [ -x /usr/bin/update-desktop-database ]; then - /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 -fi - -if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then - if [ -x /usr/bin/gtk-update-icon-cache ]; then - /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 - fi -fi diff --git a/desktop/simon/simon.SlackBuild b/desktop/simon/simon.SlackBuild deleted file mode 100644 index df87354a7d86..000000000000 --- a/desktop/simon/simon.SlackBuild +++ /dev/null @@ -1,115 +0,0 @@ -#!/bin/bash - -# Slackware build script for simon - -# Copyright (c) 2011, Roberto Metere <roberto@metere.it> -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -# "AS IS" AND ANY EXPRESS 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 THE COPYRIGHT -# OWNER OR CONTRIBUTORS 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. - -cd $(dirname $0) ; CWD=$(pwd) - -PRGNAM=simon -VERSION=${VERSION:-0.4.1} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. -if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then - echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" - exit 0 -fi - -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 -cd $PRGNAM-$VERSION -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -mkdir build -cd build/ - cmake \ - -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DLIB_SUFFIX=${LIBDIRSUFFIX} \ - -DMAN_INSTALL_DIR=/usr/man \ - -DCMAKE_BUILD_TYPE=Release \ - ../ - make VERBOSE=1 - make install DESTDIR=$PKG -cd .. - -if [ "$ARCH" = "x86_64" ]; then - mv $PKG/usr/lib/* $PKG/usr/lib${LIBDIRSUFFIX} - rm -rf $PKG/usr/lib -fi - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a Changelog README.txt $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/desktop/simon/simon.info b/desktop/simon/simon.info deleted file mode 100644 index 6de27884da7e..000000000000 --- a/desktop/simon/simon.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="simon" -VERSION="0.4.1" -HOMEPAGE="https://simon.kde.org/" -DOWNLOAD="http://download.kde.org/stable/simon/0.4.1/src/simon-0.4.1.tar.bz2" -MD5SUM="8f3e87043a145e44d80c1d95fae97d33" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="qwt" -MAINTAINER="Roberto Metere" -EMAIL="roberto@metere.it" diff --git a/desktop/simon/slack-desc b/desktop/simon/slack-desc deleted file mode 100644 index 88266a2aaf44..000000000000 --- a/desktop/simon/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. -# Line up the first '|' above the ':' following the base package name, and -# the '|' on the right side marks the last column you can put a character in. -# You must make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -simon: simon (speech recognition software) -simon: -simon: simon is the main front end for the simon open source speech -simon: recognition solution. With a few words (Numbers from 0 to 9, -simon: "up", "down", etc.) you can control a number of programs like -simon: a webbrowser, e-mail client, mediacenter, etcetera... -simon: -simon: https://simon.kde.org/ -simon: -simon: -simon: |