Created attachment 222791 [details] svn diff for audio/libttspico This is Debian's version of SVOX Pico TTS, which also introduces the pico2wave utility for simple testing of the library. The port includes a bunch of patches, but most of them are there to avoid "this" as argument name in include files. That has no effect on the functionality, but makes them easier to use from C++. ---pkg-descr-------------------------------------------------------------------- SVOX Pico is a very compact multilingual Text-To-Speech (TTS) library. It was designed for integration in mobile devices and includes female voices for English (US and GB), French, German, Italian, and Spanish, each of which takes about 1 MiB of disk space on a 64-bit x86 system. Pico TTS was originally open-sourced for Android. This version is the one maintained by Debian. They consider it to be non-free because the binary language files don't come with the corresponding source code. However, formats for both source and binary versions of the lingware knowledge bases seem to be well documented, and it's all Apache 2.0. Also, lingware source IS included, but not that for the build tools. WWW: https://web.archive.org/web/20100310022501/http://svox.com/ -------------------------------------------------------------------------------- Checklist: patch.......... works portlint -AC... happy portclippy..... silent poudriere...... passed on 12.2-RELEASE-p4
https://github.com/gmn/nanotts might be more useful? CPPFLAGS + LDFLAGS --> USES= localbase Regards, Daniel
(In reply to daniel.engberg.lists from comment #1) NanoTTS looks like an improved version of pico2wave, but I'm only interested in the library itself, because I have it as a dependency three ports further down the line. The pico2wave utility is mostly a good way to verify that things work. Thanks for the code review! I'll include the localbase fix in any updated patch, but I'm delaying that for now, because something blocks me from uploading correct patches. I could only get the first one through by copying and pasting as text, but it looks like the newlines got distorted on the way, so I need a workaround.
As a workaround for my patch uploading problem, I have now stored an updated diff and the corresponding poudriere log on my web server: https://www.gulbra.net/freebsd/ports/audio_libttspico_2.diff.gz https://www.gulbra.net/freebsd/ports/audio_libttspico_2.log.gz
I just had a quick look at it and it seems like the library is provided however it's not installed by default as far as I can tell. https://github.com/gmn/nanotts/blob/master/Makefile#L85 The intention was to find something a bit better maintained but you're of course free to choose whatever you see fit. Regards, Daniel