]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
libevent: update packaging (one package per shared library)
authorAndré Draszik <git@andred.net>
Thu, 7 Nov 2019 15:36:39 +0000 (15:36 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 10 Nov 2019 14:04:55 +0000 (14:04 +0000)
commitd10e8384bfa08d928dfec3a00c59006badfc88ee
tree66f9ef6825404ae5bacd4b167093d8ce8582953e
parent0fb92b500b7d6b84368ca3a85e675400c6473987
libevent: update packaging (one package per shared library)

libevent produces several libraries that might or might not
be used in the end. We can prevent those potentially unused
libraries from being pulled into a file-system by splitting
the individual shared libraries into individual packages.

Because this recipe only provides shared libraries which are
handled automatically by bitbake (shlibs), there is no need
to add the subpackages to the RDEPENDS of PN for backwards
compatibility. The packaging process of dependees will
simply pull in the sub-packages as runtime dependency as
needed.

This also how Debian splits this up.

While updating the packaging, we can also drop event_rpcgen.py
which appears to be a tool for generating rpc bindings, i.e.
something that should normally be in -dev. Given Debian
doesn't package this at all, and given it actually requires
python to run but no runtime dependency is stated at the
moment, it would appear that no users of this exist.

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/libevent/libevent_2.1.11.bb