Package Details: openfst 1.7.6-1

Git Clone URL: https://aur.archlinux.org/openfst.git (read-only, click to copy)
Package Base: openfst
Description: Library for constructing, combining, optimizing, and searching weighted finite-state transducers (FSTs)
Upstream URL: http://www.openfst.org
Licenses: Apache
Submitter: ChrDr
Maintainer: None
Last Packager: sikfeng
Votes: 30
Popularity: 0.001287
First Submitted: 2009-07-24 20:56
Last Updated: 2020-04-26 04:46

Latest Comments

1 2 3 Next › Last »

sandsmark commented on 2020-06-06 09:07

For anyone else wondering: The only thing failing is (part of) the python interface.

If you don't need the python interface you can just remove/comment out line 32 or so where it is enabled.

walwe commented on 2020-03-18 12:41

Here is working PKGBUILD for 1.7.6

The latest version (1.7.7) won't compile because it has an unfixed error.

@DearVolt please update to 1.7.6

# Maintainer: Jean Lucas <jean@4ray.co>
# Contributor: Kilian Gebhardt <gebhardtkilian at gmail dot com>
# Contributor: Andreas Hauser <andy-aur@splashground.de>
# Contributor: Christoph Drexler <chrdr at gmx dot at>

pkgname=openfst
pkgver=1.7.6
pkgrel=1
pkgdesc='Library for constructing, combining, optimizing, and searching weighted finite-state transducers (FSTs)'
arch=(i686 x86_64)
url='http://www.openfst.org'
license=(Apache)
depends=(gcc-libs glibc python)
options=(!libtool)
source=(http://www.openfst.org/twiki/pub/FST/FstDownload/$pkgname-$pkgver.tar.gz)
sha1sums=(3fb669b7c064c83f7768d9089b2914a782890474)

build() {
  cd $srcdir/$pkgname-$pkgver

  # Options according to http://openfst.cs.nyu.edu/twiki/bin/view/FST/ReadMe
  OPTIONS='--prefix=/usr --disable-dependency-tracking'
  OPTIONS+=' --enable-bin'             # Enable fst::script and command-line binaries;    Default: yes
  OPTIONS+=' --enable-compact-fsts'    # Enable all CompactFst classes;                   Default: no
  OPTIONS+=' --enable-compress'        # Enable compression extension;                    Default: no
  OPTIONS+=' --enable-const-fsts'      # Enable all ConstFst classes;                     Default: no
  OPTIONS+=' --enable-far'             # Enable FAR (FST Archive) extension;              Default: no
  OPTIONS+=' --enable-linear-fsts'     # Enable Linear{Tagger,Classifier}Fst extensions;  Default: no
  OPTIONS+=' --enable-lookahead-fsts'  # Enable LookAheadFst classes;                     Default: no
  OPTIONS+=' --enable-mpdt'            # Enable MPDT extensions;                          Default: no
  OPTIONS+=' --enable-ngram-fsts'      # Enable NGramFst extensions;                      Default: no
  OPTIONS+=' --enable-pdt'             # Enable PDT extensions;                           Default: no
  OPTIONS+=' --enable-python PYTHON=python'  # Enable Python extensions;                 Default: no
  LIBS='-ldl' ./configure $OPTIONS

  make
}

package() {
  cd $srcdir/$pkgname-$pkgver
  make DESTDIR=$pkgdir install

  install -d $pkgdir/etc/ld.so.conf.d/
  echo /usr/lib/fst > $pkgdir/etc/ld.so.conf.d/openfst.conf
}

DearVolt commented on 2019-01-03 12:39

@amy I am working on the upgrade to 1.7.0. Will hopefully be done soon.

amy commented on 2018-11-14 17:55

anyone working on updating this to 1.6.9?

asmolero commented on 2017-12-16 22:21

The PKGBUILD needs to have spaces when setting the configure options, like OPTIONS+=" --enable-compact-fsts". Otherwise it will merge all options as a single argument to configure and none of them will be actually applied.

buggs commented on 2017-06-16 07:22

Kilian, take over?

kilian.gebhardt commented on 2017-04-19 13:46

Made a PKGBUILD for 1.6.2 which works for me. https://pastebin.com/QRWBJ1v1
I have not checked for dependencies that are installed on my system but not specified in the PKGBUILD.

petronny commented on 2017-04-19 12:27

Please update it to 1.6.2

rmanne commented on 2017-02-14 15:59

Latest version (1.6.1) doesn't compile for me with gcc. I had to use clang. The PKGBUILD I made and used:

http://pastebin.com/gc1ePTDv

EDIT: use "http://www.openfst.org/twiki/pub/FST/FstDownload/${pkgname}-${pkgver}.tar.gz" instead for the url. "http://www.openfst.org/twiki/bin/viewfile/FST/FstDownload/${pkgname}-${pkgver}.tar.gz;rev=${pkgrel}" has a different checksum for some reason.

shreyash23 commented on 2016-12-02 16:49

http://distfiles.macports.org/openfst/openfst-1.5.2.tar.gz
This link worked. Had to calculate checksum and also change version number.