Package Details: htk 3.4.1-3

Git Clone URL: https://aur.archlinux.org/htk.git (read-only)
Package Base: htk
Description: A portable toolkit primarily used for speech recognition research
Upstream URL: http://htk.eng.cam.ac.uk/
Licenses: custom: Proprietary
Submitter: None
Maintainer: oriba
Last Packager: oriba
Votes: 8
Popularity: 0.000007
First Submitted: 2008-08-08 11:09
Last Updated: 2015-06-09 22:41

Required by (2)

  • janet (requires htk) (optional)
  • simon (requires htk) (optional)

Sources (1)

  • mkfile.in.patch

Latest Comments

bbchris commented on 2015-01-20 12:58

Here's a PKGBUILD that has an option for including HDecode using an ENABLE_HDECODE environmental variable.
http://pastebin.com/HX4Qzj7B

oriba commented on 2014-05-10 02:37

changes: gcc-multilib: now makepepends instead of depends; preparation for 64-bit-optimization

oriba commented on 2014-04-03 06:49

Hello, I adopted the package; New package is now for x86_64-architecture.
I think, changing it for 32Bit-systems would need not much effort, possibly just changing the dependencies-section.
If someone tries to build it on 32Bit systems, please drop me a note, if it works there too.

oriba commented on 2014-04-02 14:24

The patch does change Spaces to TAB in the one Makefile...
This works on my 64-bit machine.
It needs multilib.

oriba commented on 2014-04-02 14:23

# Contributor: Oliver Bandel
# Derived from the 32-bit version PKGBUILD (J. Lichtblau and T. Adams)

pkgname=htk64
pkgver=3.4.1
pkgrel=1
pkgdesc="A portable toolkit primarily used for speech recognition research"
arch=('x86_64')
#arch=('i686')
url="http://htk.eng.cam.ac.uk/"
license=('custom: Proprietary')
depends=('gcc-multilib' 'lib32-glibc' 'lib32-libx11')
makedepends=('wget')
options=('!makeflags')
#source=(http://htk.eng.cam.ac.uk/ftp/software/HTK-$pkgver.tar.gz)
source=(mkfile.in.patch)
#md5sums=('b3fc12006b0af12f59cd573c07aa4c1d')
md5sums=('10eec9a139acea719c0b9f451d8f7807')

build() {

# Note: HTK cannot be downloaded without a username/password. Use name and password from your registration here.
# http://htk.eng.cam.ac.uk/ftp/software/HTK-3.4.1.tar.gz
# wget --user=YOUR_USERNAME --password=YOUR_PASSWORD http://htk.eng.cam.ac.uk/ftp/software/HTK-$pkgver.tar.gz

# unpack file
tar -xzvf HTK-$pkgver.tar.gz

mv htk ${pkgname}

# substitute spaces instead of tabs in Makefile-rule
patch ${srcdir}/${pkgname}/HLMTools/Makefile.in ../mkfile.in.patch


# make the stuff
cd ${srcdir}/${pkgname}
./configure --prefix=${pkgdir}/usr
make all
}

package() {
# create a needed dir
mkdir -p ${pkgdir}/usr/bin

# install binaries
cd ${srcdir}/${pkgname}
make install

# install License
install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE
}

oriba commented on 2014-04-02 14:22

# Contributor: Oliver Bandel <oliver@first.in-berlin.de>
# Derived from the 32-bit version PKGBUILD (J. Lichtblau and T. Adams)

pkgname=htk64
pkgver=3.4.1
pkgrel=1
pkgdesc="A portable toolkit primarily used for speech recognition research"
arch=('x86_64')
#arch=('i686')
url="http://htk.eng.cam.ac.uk/"
license=('custom: Proprietary')
depends=('gcc-multilib' 'lib32-glibc' 'lib32-libx11')
makedepends=('wget')
options=('!makeflags')
#source=(http://htk.eng.cam.ac.uk/ftp/software/HTK-$pkgver.tar.gz)
source=(mkfile.in.patch)
#md5sums=('b3fc12006b0af12f59cd573c07aa4c1d')
md5sums=('10eec9a139acea719c0b9f451d8f7807')

build() {

# Note: HTK cannot be downloaded without a username/password. Use name and password from your registration here.
# http://htk.eng.cam.ac.uk/ftp/software/HTK-3.4.1.tar.gz
# wget --user=YOUR_USERNAME --password=YOUR_PASSWORD http://htk.eng.cam.ac.uk/ftp/software/HTK-$pkgver.tar.gz

# unpack file
tar -xzvf HTK-$pkgver.tar.gz

mv htk ${pkgname}

# substitute spaces instead of tabs in Makefile-rule
patch ${srcdir}/${pkgname}/HLMTools/Makefile.in ../mkfile.in.patch


# make the stuff
cd ${srcdir}/${pkgname}
./configure --prefix=${pkgdir}/usr
make all
}

package() {
# create a needed dir
mkdir -p ${pkgdir}/usr/bin

# install binaries
cd ${srcdir}/${pkgname}
make install

# install License
install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE
}

oriba commented on 2014-04-02 14:13

I have created a PKGBUILD that works on my 64Bit-system.
Would you adapt it?
I will send you email...

oriba commented on 2014-04-01 14:17

This package had several problems, and I needed to patch it.
After I changed the PKGBUILD, at least in principal the stuff can be compiled.
But it looks like the code is only working on 32-Bit machines.
Possibly some compatibility-libs for 32-bit are needed?

Any idea on that?

Even though the source code version is correct, I will flag that package as Out-of-dat, to signal a problem with it.

Lynthium commented on 2013-01-06 17:09

Here's a tar archive with the PKGBUILD & 3 patches for people like me who just want everything wrapped up nicely xP
I cleaned up the PKGBUILD for x86, they need the patches as well, not just x64. (see mmm's problem)

https://lynthium.com/pkgbuilds/htk.tar

mmm commented on 2012-06-02 20:24

Please fix the PKGBUILD to a working state, original and dimigon's version fails on me (x86). Both on:

make[1]: Leaving directory `/tmp/yaourt-tmp-marek/aur-htk/src/htk/HLMLib'
(cd HLMTools && make all) \
|| case "" in *k*) fail=yes;; *) exit 1;; esac;
make[1]: Entering directory `/tmp/yaourt-tmp-marek/aur-htk/src/htk/HLMTools'
Makefile:77: *** missing separator (did you mean TAB instead of 8 spaces?). Stop.
make[1]: Leaving directory `/tmp/yaourt-tmp-marek/aur-htk/src/htk/HLMTools'
make: *** [hlmtools] Error 1


any advice?

Also, adlerweb's advice can be applied neatly, so file is downloaded and extracted automatically:

user=
pass=
source=(http://${user}:${pass}@htk.eng.cam.ac.uk/ftp/software/HTK-$pkgver.tar.gz configure.patch configure.ac.patch Makefile.in.patch)


Thank you,

All comments