Bug#705737: libxml-sax-expat-perl: should recommend libxml-sax-expatxs-perl

Jonas Smedegaard dr at jones.dk
Fri Apr 19 13:11:19 UTC 2013


Quoting gregor herrmann (2013-04-19 14:34:41)
> On Fri, 19 Apr 2013 13:37:56 +0200, Jonas Smedegaard wrote:
> 
> > Seems to me that this modules should recommend its XS extension.
> 
> "Recommend" as in "Recommends:" in d/control (which won't make it
> used automagically) or as in "recommended in the long description"
> (which also doesn't actually do anything :))?

Recommends: in control file.

As I understand its documented behaviour, AnyEvent _does_ automagically 
benefit from those modules being available.

EV is a backend. AnyEvent tries to pick best one available if none is 
declared explicitly, and RECOMMENDED/OPTIONAL MODULES hints at EV being 
the best one available.

Async::Interrupt is according to RECOMMENDED/OPTIONAL MODULES used if 
available, for backends without a native signal watchers, as a better 
alternative to the builtin polling-each-10-seconds.

Guards is documented to be used when used - but I suspect that to be a 
typo and really it is used when available (like Async::Interrupt).

I have not investigated the actual AnyEvent code, though, so you might 
be right and instead the documentation is IMO misleading.


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private



More information about the pkg-perl-maintainers mailing list