Package Details: openfst 1.8.2-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: https://www.openfst.org
Licenses: Apache
Submitter: ChrDr
Maintainer: petronny
Last Packager: petronny
Votes: 29
Popularity: 0.000147
First Submitted: 2009-07-24 20:56 (UTC)
Last Updated: 2022-07-23 13:39 (UTC)

Latest Comments

1 2 3 4 Next › Last »

petronny commented on 2022-07-12 07:26 (UTC)

1.8.2 is out. Could you update the package?

pentamassiv commented on 2021-09-26 22:53 (UTC)

Also, would it be possible to add 'make check'? For me only 2 out of 7 pass for version 1.7.9-1 and also for the new version 1.8.1.

pentamassiv commented on 2021-09-26 18:47 (UTC)

In the PKGBUILD, there is a comment with a link to where more can be found out about the options. This link is outdated. I think it should be: https://www.openfst.org/twiki/bin/view/FST/ReadMe instead.

sandsmark commented on 2020-07-13 12:41 (UTC)

1.7.8 seems to fix the building of the python bindings again.

to update:

diff --git PKGBUILD PKGBUILD
index 0b764f5..fdfe421 100644
--- PKGBUILD
+++ PKGBUILD
@@ -4,7 +4,7 @@
# Contributor: Christoph Drexler <chrdr at gmx dot at>

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

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

sandsmark commented on 2020-06-06 09:07 (UTC)

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 (UTC)

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 (UTC)

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

amy commented on 2018-11-14 17:55 (UTC)

anyone working on updating this to 1.6.9?

asmolero commented on 2017-12-16 22:21 (UTC)

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 (UTC)

Kilian, take over?