[Tts-project] Speech feedback related packages

Samuel Thibault sthibault at debian.org
Mon Dec 4 23:12:39 GMT 2023


Hello,

Paul Gevers, le jeu. 30 nov. 2023 08:35:10 +0100, a ecrit:
> On 30-11-2023 04:51, Igor B. Poretsky via Tts-project wrote:
> > It turned out that a library package should be accompanied by a
> > development package

When it's a public library, yes, but here it's an internal library so
there is no reason for a development package.

> > and should include nothing except the shared library itself.
> 
> The reason that this is the case is that we want different SONAME packages
> to be co-installable.

In this case this isn't really useful since it's an internal library.

> One of the challenges with configuration files is that during upgrades
> you need to honor changes made by the system administrator, including
> removal of the file. If you handle that correctly a bit of a hack
> could be to generate the configuration file during the first ever
> postinst (of any version of the SONAME), but you need to make sure you
> don't change it later except with the consent of the admin.

And that becomes tricky to do when you have your configuration file in
the lib package. So yes, having a separate (arch:all) package for the
etc file, that the lib depends on, does make sense.

(and we should be doing the same about librhvoice-core7)

Samuel



More information about the Tts-project mailing list