Opened 2 years ago

Closed 2 years ago

#14007 closed task (wontfix)

Add libev

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

Description (last modified by Pierre Labastie)

The conclusion of ticket #13992 is that libev is not a drop-in replacement of libevent, but now, the question is whether they can sit together. This means:

  • installing libev
  • test the packages dependant on libevent to see whether they still build. the list of packages is on ticket #13992

Change History (7)

comment:1 by Pierre Labastie, 2 years ago

For easier reference, here is the list of packages dependant on libevent:

  • ntp (optional)
  • avahi (optional)
  • nghttp2 (optional, but seems to depend on libev rather)
  • links (recommended)
  • mariadb (recommended)
  • unbound (optional)
  • qtwebengine (optional)
  • firefox (recommended, used by libxul.so)
  • seamonkey (recommended)
  • thunderbird (recommended)
  • transmission (required)

comment:2 by Pierre Labastie, 2 years ago

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

comment:3 by Pierre Labastie, 2 years ago

Description: modified (diff)

comment:4 by Pierre Labastie, 2 years ago

We have to solve the problem of build ordering: if libevent is built before libev, event.h and libevent are the one from libev, then it might break applications expecting libevent. So libevent should be built after libev. But what if libev is rebuilt after (for example, if there is a new release of libev)? So I think we should prevent event.h and libevent from being installed by libev.

It is not possible directly, but it is possible by tweaking Makefile.am and running autogen.sh. I'll try with that.

comment:5 by Bruce Dubbs, 2 years ago

Have you done a diff between the two versions of event.h?

comment:6 by Pierre Labastie, 2 years ago

They are completely different. Actually, the libev doc tells they are not compatible. You have to choose between using one or the other.

I think we should keep libevent (with less performance but more features) as is, and add only the libev bits that are needed for nghttp2 (unless we decide not to add libev at all, and live without nghttp2 apps).

comment:7 by Pierre Labastie, 2 years ago

Resolution: wontfix
Status: assignedclosed

Looks like it is too much burden for not much gain (only have some more curl tests passing). Closing as wontfix.

Note: See TracTickets for help on using tickets.