[oe] [meta-oe][PATCH v3] rabbitmq-c: add recipe

Martin Jansa martin.jansa at gmail.com
Thu Aug 14 13:20:43 UTC 2014


On Thu, Aug 14, 2014 at 11:11:21AM +0200, Maciej Borzecki wrote:
> rabbitmq-c is a C library providing an implementation of AMQP client for
> use with v2.0+ of the RabbitMQ broker
> 
> Signed-off-by: Maciej Borzecki <maciej.borzecki at open-rnd.pl>
> Signed-off-by: Maciek Borzecki <maciek.borzecki at gmail.com>

Thank you!

There is one more issue which needs to be fixed before this is merged.

collectd is probably autodetecting rabbitmq-c and fails when detected.

Would you please add PACKAGECONFIG in collectd to disable it by default?
CCing few people who recently touched collectd, maybe someone will
choose to upgrade it instead.

|
/home/jenkins/oe/world/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/collectd/5.2.2-r0/collectd-5.2.2/src/amqp.c:417:5:
error: 'amqp_set_sockfd' is deprecated (declared at
/home/jenkins/oe/world/shr-core/tmp-eglibc/sysroots/qemuarm/usr/include/amqp.h:1030)
[-Werror=deprecated-declarations]
|      amqp_set_sockfd (conf->connection, sockfd);
|      ^


> ---
> 
> Notes:
>     Disabled documentation, incorporated fixes from Martin Jansa
> 
>  .../recipes-connectivity/rabbitmq-c/rabbitmq-c_0.5.0.bb | 17 +++++++++++++++++
>  1 file changed, 17 insertions(+)
>  create mode 100644 meta-oe/recipes-connectivity/rabbitmq-c/rabbitmq-c_0.5.0.bb
> 
> diff --git a/meta-oe/recipes-connectivity/rabbitmq-c/rabbitmq-c_0.5.0.bb b/meta-oe/recipes-connectivity/rabbitmq-c/rabbitmq-c_0.5.0.bb
> new file mode 100644
> index 0000000..23b5013
> --- /dev/null
> +++ b/meta-oe/recipes-connectivity/rabbitmq-c/rabbitmq-c_0.5.0.bb
> @@ -0,0 +1,17 @@
> +DESCRIPTION = "A C-language AMQP client library for use with v2.0+ of the RabbitMQ broker"
> +HOMEPAGE = "https://github.com/alanxz/rabbitmq-c"
> +LIC_FILES_CHKSUM = "file://LICENSE-MIT;md5=6b7424f9db80cfb11fdd5c980b583f53"
> +LICENSE = "MIT"
> +
> +SRC_URI = "https://github.com/alanxz/${BPN}/releases/download/v${PV}/${BP}.tar.gz"
> +SRC_URI[md5sum] = "b1f902c658c772cda464754678d8deb6"
> +SRC_URI[sha256sum] = "53702ea2ab809af0f923e387458e2cad191d9549f50410035fe82ce5e6ccc4fa"
> +
> +DEPENDS = "popt openssl"
> +
> +EXTRA_OECONF = "--disable-examples --enable-tools --disable-docs"
> +
> +inherit autotools pkgconfig
> +
> +PACKAGE_BEFORE_PN += "${PN}-tools"
> +FILES_${PN}-tools = "${bindir}"
> \ No newline at end of file
> -- 
> 1.9.0
> 

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20140814/1e49369d/attachment-0002.sig>


More information about the Openembedded-devel mailing list