Opened 13 months ago

Closed 13 months ago

Last modified 13 months ago

#13992 closed task (invalid)

Examine whether libev can replace libevent

Reported by: Pierre Labastie Owned by: Pierre Labastie
Priority: normal Milestone: 10.1
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

Some curl tests seem to require nghttpx, a proxy server, see ticket #13854. This application is in the nghttp2 package, which is in the book, but it is not built, because (i) we pass --enable-lib-only to configure, and (ii) one dependency libev, is missing. On the libev site, it is said that:

[libev] can be used as a libevent replacement using its emulation API

So the aim of this ticket is to determine whether this is true, and whether the packages dependant on libevent can still be built with libev (or better, whether libev can just be dropped in place of libevent).

The users of libevent in the book are:

  • ntp (optional)
  • avahi (optional)
  • nghttp2 (optional, but could be a mistake owing to above)
  • links (recommended)
  • mariadb (recommended)
  • unbound (optional)
  • qtwebengine (optional)
  • firefox (recommended, used by libxul.so)
  • seamonkey (recommended)
  • thunderbird (recommended)
  • transmission (required)

Change History (3)

comment:1 by Pierre Labastie, 13 months ago

Owner: changed from blfs-book to Pierre Labastie
Status: newassigned

I fear that the drop in replacement is not possible: using ldd, all the dependant packages want a versioned libevent library (libevent-2.1.so.7 as of 10.0). But rebuilding them may still be possible...

comment:2 by Pierre Labastie, 13 months ago

Resolution: invalid
Status: assignedclosed

Well, libev provides event.h, and so does libevent, but libevent tells that this header file is deprecated... So I fear that the claim on the libev site is just wrong, so this ticket is invalid...

comment:3 by Douglas R. Reno, 13 months ago

Couldn't we add this package anyway since the event.h header is deprecated in libevent? Someone would need to have both installed and test the packages listed above though

Note: See TracTickets for help on using tickets.