On Sat, Oct 05, 2024 at 08:29:06AM +0000, [email protected] wrote:
> On 04.10.2024 22:44, Olly Betts wrote:
> > ...
> > > But then perhaps its manpage should be moved into this package as well
> > 
> > Then the man page wouldn't be installed when /etc/alternatives/wx-config
> > ...
> 
> so any wx* package providing wx-config *ould depend on/suggest wx-common
> (too).

That should already be the case.  E.g. libwxgtk3.2-dev depends on
wx-common; libwxgtk3.0-gtk3-dev (only in oldstable and older) did too.

> Or just add a line in that manpage listing pkgs that provide wx-config

That's possible, but would require manually updating that list and
uploading a new version whenever a new wx version is packaged or an old
one removed.  That happens every few years so it's not very onerous, but
inevitably it'll get forgotten and we'll end up with a stale list.

> or
> just tip to use 'apt search wx-config' & 'apt-file search wx-config' since
> they look for different things:
> 
> $ apt-file search wx-config
> wx-common: /usr/share/man/man1/wx-config.1.gz

That doesn't seem helpful - that just tells you the man page you're
suggesting adding the tip to and the package it is in.

> $ apt search wx-config
> Sorting... Done
> Full Text Search... Done
> libwxgtk3.2-dev/stable,now 3.2.2+dfsg-2 amd64

That's more useful.

Cheers,
    Olly

Reply via email to