Package Details: openfst 1.7.9-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: asmolero
Last Packager: asmolero
Votes: 29
Popularity: 0.004210
First Submitted: 2009-07-24 20:56 (UTC)
Last Updated: 2020-08-24 20:06 (UTC)

Latest Comments

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?

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

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

Please update it to 1.6.2

rmanne commented on 2017-02-14 15:59 (UTC) (edited on 2017-02-14 16:07 (UTC) by rmanne)

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

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

shreyash23 commented on 2016-12-02 16:36 (UTC)

The link is getting timed out.. Just keeps loading forever.

petronny commented on 2016-10-29 18:38 (UTC)

Please update it to 1.5.4

buggs commented on 2016-02-24 11:06 (UTC)

They do revisions on the source package. I'm going to reflect that in the PKGBUILD.

privong commented on 2016-02-24 03:49 (UTC)

The sha256 checksum in the PKGBUILD has failed twice for me (two separate install attempts separated by >24 h). Going to the openfst website and substituting the sha1 checksum listed enabled me to try and build the package.

buggs commented on 2015-07-30 18:54 (UTC)

Add /usr/lib/fst to ld.so.conf and fix python option.

ChrDr commented on 2015-07-30 17:32 (UTC)

@buggs: Disowned it. Just grab it.

buggs commented on 2015-07-30 16:56 (UTC)

I would.

ChrDr commented on 2015-07-22 19:31 (UTC)

Updated to version 1.5.0. Anyone who wants to take this package over? I don't use it anymore.

ChrDr commented on 2014-06-13 19:34 (UTC)

Updated to version 1.4.1.

ChrDr commented on 2014-01-14 21:21 (UTC)

Updated to version 1.3.4.

ChrDr commented on 2012-07-13 16:39 (UTC)

Updated to version 1.3.2.

ChrDr commented on 2012-04-12 13:15 (UTC)

Updated to version 1.3.1.

ChrDr commented on 2012-01-11 20:54 (UTC)

Updated to version 1.2.10.

ChrDr commented on 2011-12-06 14:11 (UTC)

Updated to version 1.2.9

ChrDr commented on 2011-11-04 13:40 (UTC)

Checksum updated. I am very sorry for the delay. When the first notification reached me, I had a broken leg, making it very hard for me to work at my PC.

Aerion commented on 2011-10-31 19:26 (UTC)

Any chance you could update the check sum? Thanks!

commented on 2011-04-09 16:06 (UTC)

It didn't pass the check sum 1.2.7 has ('97196a97d2a1ec88d612321e64dac2e4')

ChrDr commented on 2010-12-20 12:37 (UTC)

Updated to version 1.2.6, added some options, too. I'm sorry for the delay.

kkimdev commented on 2010-12-16 20:26 (UTC)

# Maintainer: Christoph Drexler <chrdr at gmx dot at> pkgname=openfst pkgver=1.2.6 pkgrel=2 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') options=(!libtool) source=(http://openfst.cs.nyu.edu/twiki/pub/FST/FstDownload/${pkgname}-${pkgver}.tar.gz) md5sums=('cbb2b7421d4ba36b329242041057b98f') build() { cd ${srcdir}/${pkgname}-${pkgver} LIBS="-ldl" ./configure --prefix=/usr make } package() { cd ${srcdir}/${pkgname}-${pkgver} make DESTDIR=${pkgdir} install }