All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH v2] rabbitmq-c: add recipe
@ 2014-08-14  7:54 Maciej Borzecki
  2014-08-14  8:36 ` Martin Jansa
  0 siblings, 1 reply; 4+ messages in thread
From: Maciej Borzecki @ 2014-08-14  7:54 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Maciek Borzecki

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@open-rnd.pl>
Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
---
 .../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..5a02c99
--- /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://${S}/LICENSE-MIT;md5=6b7424f9db80cfb11fdd5c980b583f53"
+LICENSE = "MIT"
+
+SRC_URI = "https://github.com/alanxz/rabbitmq-c/releases/download/v${PV}/rabbitmq-c-${PV}.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}"
-- 
1.9.0



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [meta-oe][PATCH v2] rabbitmq-c: add recipe
  2014-08-14  7:54 [meta-oe][PATCH v2] rabbitmq-c: add recipe Maciej Borzecki
@ 2014-08-14  8:36 ` Martin Jansa
  2014-08-14  8:57   ` Maciej Borzecki
  0 siblings, 1 reply; 4+ messages in thread
From: Martin Jansa @ 2014-08-14  8:36 UTC (permalink / raw)
  To: Maciej Borzecki; +Cc: Maciek Borzecki, openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 1838 bytes --]

On Thu, Aug 14, 2014 at 09:54:05AM +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@open-rnd.pl>
> Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
> ---
>  .../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..5a02c99
> --- /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"

I did few more modifications when cherry-picking to master-next.

> +HOMEPAGE = "https://github.com/alanxz/rabbitmq-c"
> +LIC_FILES_CHKSUM = "file://${S}/LICENSE-MIT;md5=6b7424f9db80cfb11fdd5c980b583f53"

Dropped ${S} as LIC_FILES_CHKSUM are by default relative to ${S}

> +LICENSE = "MIT"
> +


> +SRC_URI = "https://github.com/alanxz/rabbitmq-c/releases/download/v${PV}/rabbitmq-c-${PV}.tar.gz"

rabbitmq-c -> ${BPN}
rabbitmq-c-${PV} -> ${BP}

> +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}"
> -- 
> 1.9.0
> 

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [meta-oe][PATCH v2] rabbitmq-c: add recipe
  2014-08-14  8:36 ` Martin Jansa
@ 2014-08-14  8:57   ` Maciej Borzecki
  2014-08-14  9:09     ` Martin Jansa
  0 siblings, 1 reply; 4+ messages in thread
From: Maciej Borzecki @ 2014-08-14  8:57 UTC (permalink / raw)
  To: Martin Jansa; +Cc: openembedded-devel

On Thursday 14 of August 2014 10:36:16 Martin Jansa wrote:
> On Thu, Aug 14, 2014 at 09:54:05AM +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@open-rnd.pl>
> > Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
> > ---
> > 
> >  .../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..5a02c99
> > --- /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"
> I did few more modifications when cherry-picking to master-next.
Right, I missed that. Will post an updated patch.

BTW. any idea why xmlto might not be picking up the stylesheets correctly? I 
found your patch: https://git.congatec.com/yocto/meta-openembedded/commit/c688085b4c96c169ca853bf91b6fee54f4cd983d
and you seem to be taking similar measures to disable documentation.

> 
> > +HOMEPAGE = "https://github.com/alanxz/rabbitmq-c"
> > +LIC_FILES_CHKSUM =
> > "file://${S}/LICENSE-MIT;md5=6b7424f9db80cfb11fdd5c980b583f53"
> Dropped ${S} as LIC_FILES_CHKSUM are by default relative to ${S}
> 
> > +LICENSE = "MIT"
> > +
> > 
> > 
> > +SRC_URI =
> > "https://github.com/alanxz/rabbitmq-c/releases/download/v${PV}/rabbitmq-c
> > -${PV}.tar.gz"
> rabbitmq-c -> ${BPN}
> rabbitmq-c-${PV} -> ${BP}
> 
> > +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}"

-- 

Maciej Borzęcki 
Senior Software Engineer Open-RnD Sp. z o.o. 
www.open-rnd.pl, Facebook, Twitter 
mobile: +48 telefon, fax: +48 42 657 9079 

Niniejsza wiadomość wraz z załącznikami może zawierać chronione prawem lub 
poufne informacje i została wysłana wyłącznie do wiadomości i użytku osób, do 
których została zaadresowana. Jeśli wiadomość została otrzymana przypadkowo 
zabrania się jej kopiowania lub rozsyłania do osób trzecich. W takim przypadku 
uprasza się o natychmiastowe zniszczenie wiadomości oraz poinformowanie 
nadawcy o zaistniałej sytuacji za pomocą wiadomości zwrotnej. Dziękujemy. 

This message, including any attachments hereto, may contain privileged or 
confidential information and is sent solely for the attention and use of the 
intended addressee(s). If you are not an intended addressee, you may neither 
use this message nor copy or deliver it to anyone. In such case, you should 
immediately destroy this message and kindly notify the sender by reply email. 
Thank you.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [meta-oe][PATCH v2] rabbitmq-c: add recipe
  2014-08-14  8:57   ` Maciej Borzecki
@ 2014-08-14  9:09     ` Martin Jansa
  0 siblings, 0 replies; 4+ messages in thread
From: Martin Jansa @ 2014-08-14  9:09 UTC (permalink / raw)
  To: Maciej Borzecki; +Cc: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 3821 bytes --]

On Thu, Aug 14, 2014 at 10:57:05AM +0200, Maciej Borzecki wrote:
> On Thursday 14 of August 2014 10:36:16 Martin Jansa wrote:
> > On Thu, Aug 14, 2014 at 09:54:05AM +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@open-rnd.pl>
> > > Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
> > > ---
> > > 
> > >  .../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..5a02c99
> > > --- /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"
> > I did few more modifications when cherry-picking to master-next.
> Right, I missed that. Will post an updated patch.
> 
> BTW. any idea why xmlto might not be picking up the stylesheets correctly? I 
> found your patch: https://git.congatec.com/yocto/meta-openembedded/commit/c688085b4c96c169ca853bf91b6fee54f4cd983d
> and you seem to be taking similar measures to disable documentation.

It should be fixed now by:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=2416

but I haven't checked why it didn't work for rabbitmq

It would be great to debug it and report back in that bug if it doesn't
work correctly.

> > > +HOMEPAGE = "https://github.com/alanxz/rabbitmq-c"
> > > +LIC_FILES_CHKSUM =
> > > "file://${S}/LICENSE-MIT;md5=6b7424f9db80cfb11fdd5c980b583f53"
> > Dropped ${S} as LIC_FILES_CHKSUM are by default relative to ${S}
> > 
> > > +LICENSE = "MIT"
> > > +
> > > 
> > > 
> > > +SRC_URI =
> > > "https://github.com/alanxz/rabbitmq-c/releases/download/v${PV}/rabbitmq-c
> > > -${PV}.tar.gz"
> > rabbitmq-c -> ${BPN}
> > rabbitmq-c-${PV} -> ${BP}
> > 
> > > +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}"
> 
> -- 
> 
> Maciej Borzęcki 
> Senior Software Engineer Open-RnD Sp. z o.o. 
> www.open-rnd.pl, Facebook, Twitter 
> mobile: +48 telefon, fax: +48 42 657 9079 
> 
> Niniejsza wiadomość wraz z załącznikami może zawierać chronione prawem lub 
> poufne informacje i została wysłana wyłącznie do wiadomości i użytku osób, do 
> których została zaadresowana. Jeśli wiadomość została otrzymana przypadkowo 
> zabrania się jej kopiowania lub rozsyłania do osób trzecich. W takim przypadku 
> uprasza się o natychmiastowe zniszczenie wiadomości oraz poinformowanie 
> nadawcy o zaistniałej sytuacji za pomocą wiadomości zwrotnej. Dziękujemy. 
> 
> This message, including any attachments hereto, may contain privileged or 
> confidential information and is sent solely for the attention and use of the 
> intended addressee(s). If you are not an intended addressee, you may neither 
> use this message nor copy or deliver it to anyone. In such case, you should 
> immediately destroy this message and kindly notify the sender by reply email. 
> Thank you.

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-08-14  9:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-14  7:54 [meta-oe][PATCH v2] rabbitmq-c: add recipe Maciej Borzecki
2014-08-14  8:36 ` Martin Jansa
2014-08-14  8:57   ` Maciej Borzecki
2014-08-14  9:09     ` Martin Jansa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.