Package Details: mimic 0.2.4-3

Git Clone URL: https://aur.archlinux.org/mimic.git (read-only, click to copy)
Package Base: mimic
Description: A fast, local, neural text to speech system for Mycroft
Upstream URL: https://mycroft.ai/mimic-3/
Keywords: tts
Licenses: AGPL3
Conflicts: mimic-bin
Provides: mimic
Submitter: ams1
Maintainer: AlphaJack
Last Packager: AlphaJack
Votes: 21
Popularity: 0.185328
First Submitted: 2017-02-22 11:26 (UTC)
Last Updated: 2023-06-30 11:23 (UTC)

Pinned Comments

AlphaJack commented on 2024-02-28 13:24 (UTC) (edited on 2024-02-28 13:25 (UTC) by AlphaJack)

The author of mimic recommends its successor, piper:

https://aur.archlinux.org/packages/piper-tts-bin

Latest Comments

« First ‹ Previous 1 2

Windfisch commented on 2022-06-06 23:24 (UTC)

The package does not build with recent compilers, since GCC has learned the -Wfree-nonheap-object warning. The software is doing some really bogus-looking pointer arithmetic right before free()ing the pointer; however, this only undoes even more bogus pointer arithmetic from before, so this should actually be fine.

Adding

CFLAGS='-Wno-error=free-nonheap-object' CXXFLAGS='-Wno-error=free-nonheap-object'

to the ./configure call in the PKGBUILD fixes compilation.

chowbok commented on 2022-02-17 02:44 (UTC)

Can aarch64 be added to the supported architectures?

kauron commented on 2020-06-24 10:59 (UTC)

The error pointed by @mattf can be fixed by adding --disable-lang-indic to the ./configure command. Source: https://github.com/MycroftAI/mimic1/issues/202

k8ie commented on 2020-06-01 18:10 (UTC)

@mattf Exactly the same...

mattf commented on 2020-05-31 06:17 (UTC)

Problems building both mimic and mimic-git gives this error:

/usr/bin/ld: /home/matheus/.cache/yay/mimic/src/mimic1-1.3.0.1/.libs/libttsmimic_lang_cmu_indic_lex.a(cmu_indic_lex.o):(.rodata+0x880): multiple definition of `cst_rx_not_indic'; ./.libs/libttsmimic_lang_all_langs.a(mimic_lang_list.o):(.rodata+0x0): first defined here
/usr/bin/ld: /home/matheus/.cache/yay/mimic/src/mimic1-1.3.0.1/.libs/libttsmimic_lang_cmu_indic_lex.a(cmu_indic_lex.o):(.rodata+0x880): multiple definition of `cst_rx_not_indic'; ./.libs/libttsmimic_lang_all_langs.a(mimic_lang_list.o):(.rodata+0x0): first defined here
/usr/bin/ld: /usr/bin/ld: /home/matheus/.cache/yay/mimic/src/mimic1-1.3.0.1/.libs/libttsmimic_lang_cmu_indic_lang.a(cmu_indic_lang.o):(.data.rel.ro.local+0x40/home/matheus/.cache/yay/mimic/src/mimic1-1.3.0.1/.libs/libttsmimic_lang_cmu_indic_lang.a(cmu_indic_lang.o)):: multiple definition of `(.data.rel.ro.localcst_rx_not_indic+0x'40; )./.libs/libttsmimic_lang_all_langs.a(mimic_lang_list.o): multiple definition of `:cst_rx_not_indic('.rodata; +0x0./.libs/libttsmimic_lang_all_langs.a(mimic_lang_list.o)):: first defined here(
.rodata+0x0): first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:3015: mimicvox_info] Error 1
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:3003: mimic] Error 1
make[1]: Target 'check-am' not remade because of errors.
make[1]: Leaving directory '/home/matheus/.cache/yay/mimic/src/mimic1-1.3.0.1'
make: *** [Makefile:4805: check-recursive] Error 1
make: Target 'check' not remade because of errors.
==> ERROR: A failure occurred in check().
    Aborting...
Error making: mimic

ams1 commented on 2019-04-02 10:50 (UTC)

Feel free to adopt the package. mimic-git too.

murlakatamenka commented on 2019-04-02 10:43 (UTC)

Working PKGBUILD as of now (valid checksum, added _pkgname):

# Maintainer: Andrew Stubbs <andrew.stubbs@gmail.com>
pkgname=mimic
_pkgname=mimic1
pkgver=1.2.0.2
pkgrel=1
pkgdesc="Text-to-speech voice synthesis from the Mycroft project."
arch=(x86_64)
url="https://mimic.mycroft.ai/"
license=('custom')
depends=(alsa-lib)
makedepends=('git' 'libtool' 'autoconf' 'automake' 'icu')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/MycroftAI/mimic1/archive/${pkgver}.tar.gz")
md5sums=('a2baf460aa97a949519f4185d72053f5')

build() {
    cd "$srcdir/$_pkgname-$pkgver"
    ./autogen.sh
    ./configure --prefix=/usr

    #make
    # Temporary workaround for https://github.com/MycroftAI/mimic/issues/95
    make CFLAGS='-D_DEFAULT_SOURCE -O2'
}

check() {
    cd "$srcdir/$_pkgname-$pkgver"
    make -k check
}

package() {
    cd "$srcdir/$_pkgname-$pkgver"
    make DESTDIR="$pkgdir/" install
    install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

ams1 commented on 2018-06-14 22:50 (UTC)

The BUILDDIR problem was discussed in mimic-git, but indeed I can't reproduce it now, not even with yaourt.

Script updated.

deusstultus commented on 2018-06-14 21:33 (UTC)

makedepends+=('icu')

Also, whatever you are trying to accomplish with unset BUILDDIR, you are not doing it properly. BUILDDIR is a valid makepkg variable and being set does not interfere with the build of this package.