Bug 253816 - New port: audio/libttspico - compact text-to-speech engine
Summary: New port: audio/libttspico - compact text-to-speech engine
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-24 15:02 UTC by Henrik Gulbrandsen
Modified: 2023-05-14 13:26 UTC (History)
1 user (show)

See Also:


Attachments
svn diff for audio/libttspico (66.98 KB, patch)
2021-02-24 15:02 UTC, Henrik Gulbrandsen
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Henrik Gulbrandsen 2021-02-24 15:02:14 UTC
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
Comment 1 Daniel Engberg freebsd_committer freebsd_triage 2021-02-24 16:18:52 UTC
https://github.com/gmn/nanotts might be more useful?

CPPFLAGS + LDFLAGS --> USES= localbase

Regards,
Daniel
Comment 2 Henrik Gulbrandsen 2021-02-25 07:43:54 UTC
(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.
Comment 3 Henrik Gulbrandsen 2021-02-25 09:20:00 UTC
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
Comment 4 Daniel Engberg freebsd_committer freebsd_triage 2021-02-25 09:21:53 UTC
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
Comment 5 Robert Clausecker freebsd_committer freebsd_triage 2023-05-11 14:38:43 UTC
Any progress with this one?
Comment 6 Henrik Gulbrandsen 2023-05-11 20:06:52 UTC
(In reply to Robert Clausecker from comment #5)

No, I have not made any changes since the port was created, except for adding -Wno-unused-but-set-variable to the CFLAGS in my local copy. The library was only needed as a dependency for my port of Webots, which is a robot simulation environment. In the process, I ended up creating about 250 other ports, mostly for ROS (Robot Operating System). Trenton Schulz (who maintained the existing ROS ports) gave them a semi-official home at GitHub, so I felt no need to pursue this any further. The port would be found in Bugzilla if anyone looked for it.
Comment 7 Robert Clausecker freebsd_committer freebsd_triage 2023-05-11 21:50:07 UTC
Okay, I see.  Would you still like to have this one in the ports collection?  If yes, please set maintainer-approval to + on the patch.  Otherwise, please close the bug.
Comment 8 Henrik Gulbrandsen 2023-05-14 13:26:59 UTC
There is no point in maintaining a port without users, so I choose to close the bug for now. It can always be resurrected later if the need arises.