All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4] libroxml: Add version 2.1.1
@ 2011-09-22  8:57 Tristan Lelong
  2011-09-22 10:07 ` Paul Menzel
  0 siblings, 1 reply; 3+ messages in thread
From: Tristan Lelong @ 2011-09-22  8:57 UTC (permalink / raw)
  To: openembedded-devel

libroxml is a small fast and powerful xml library
build successfully using org.openembedded.dev with DISTRO=minimal and MACHINE = "i686-generic"
build successfully using org.openembedded.dev with DISTRO=minimal and MACHINE = "ppce500v2"
tested using projects unit tests on powerpc binaries

Signed-off-by: Tristan Lelong <tristan.lelong@blunderer.org>
---
 recipes/libroxml/libroxml.inc      |   24 ++++++++++++++++++++++++
 recipes/libroxml/libroxml_2.1.1.bb |    5 +++++
 2 files changed, 29 insertions(+), 0 deletions(-)
 create mode 100644 recipes/libroxml/libroxml.inc
 create mode 100644 recipes/libroxml/libroxml_2.1.1.bb

diff --git a/recipes/libroxml/libroxml.inc b/recipes/libroxml/libroxml.inc
new file mode 100644
index 0000000..2ee03eb
--- /dev/null
+++ b/recipes/libroxml/libroxml.inc
@@ -0,0 +1,24 @@
+DESCRIPTION = "Small, fast and powerful xml library"
+AUTHOR = "Tristan Lelong <tristan.lelong@libroxml.net>"
+HOMEPAGE = "http://www.libroxml.net"
+SECTION = "libs"
+PRIORITY = "optional"
+LICENSE = "LGPLv2.1+"
+INC_PR = "r0"
+
+SRC_URI = "http://libroxml.googlecode.com/files/${P}.tar.gz"
+
+do_install() {
+	install -D -m 755 ${S}/roxml ${D}/${bindir}/roxml
+	install -D -m 755 ${S}/libroxml.so.0 ${D}/${libdir}/libroxml.so.0
+	install -D -m 644 ${S}/libroxml.a ${D}/${libdir}/libroxml.a
+	install -D -m 644 ${S}/inc/roxml.h ${D}/${includedir}/roxml.h
+	ln -s libroxml.so.0 ${D}/${libdir}/libroxml.so
+}
+
+PACKAGES += "roxml roxml-dbg"
+FILES_${PN} = "${libdir}/libroxml.so.0"
+FILES_${PN}-dev = "${libdir}/libroxml.a ${libdir}/libroxml.so ${includedir}/roxml.h"
+FILES_${PN}-dbg = "${libdir}/.debug/libroxml.so.0"
+FILES_roxml = "${bindir}/roxml"
+FILES_roxml-dbg = "${bindir}/.debug/roxml"
diff --git a/recipes/libroxml/libroxml_2.1.1.bb b/recipes/libroxml/libroxml_2.1.1.bb
new file mode 100644
index 0000000..c47e1b7
--- /dev/null
+++ b/recipes/libroxml/libroxml_2.1.1.bb
@@ -0,0 +1,5 @@
+require libroxml.inc
+PR = "${INC_PR}.0"
+
+SRC_URI[md5sum] = "dc8342d0490bff5a507dbf1de3426102"
+SRC_URI[sha256sum] = "e4e91b610614d6cb1204ac9abbb417368fe84654c7de58134b436cfd00f1a244"
-- 
1.7.5.4




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

* Re: [PATCH v4] libroxml: Add version 2.1.1
  2011-09-22  8:57 [PATCH v4] libroxml: Add version 2.1.1 Tristan Lelong
@ 2011-09-22 10:07 ` Paul Menzel
  2011-09-22 21:37   ` Tristan Lelong
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Menzel @ 2011-09-22 10:07 UTC (permalink / raw)
  To: openembedded-devel

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

Am Donnerstag, den 22.09.2011, 10:57 +0200 schrieb Tristan Lelong:
> libroxml is a small fast and powerful xml library
> build successfully using org.openembedded.dev with DISTRO=minimal and MACHINE = "i686-generic"
> build successfully using org.openembedded.dev with DISTRO=minimal and MACHINE = "ppce500v2"
> tested using projects unit tests on powerpc binaries
> 
> Signed-off-by: Tristan Lelong <tristan.lelong@blunderer.org>
> ---
>  recipes/libroxml/libroxml.inc      |   24 ++++++++++++++++++++++++
>  recipes/libroxml/libroxml_2.1.1.bb |    5 +++++
>  2 files changed, 29 insertions(+), 0 deletions(-)
>  create mode 100644 recipes/libroxml/libroxml.inc
>  create mode 100644 recipes/libroxml/libroxml_2.1.1.bb
> 
> diff --git a/recipes/libroxml/libroxml.inc b/recipes/libroxml/libroxml.inc
> new file mode 100644
> index 0000000..2ee03eb
> --- /dev/null
> +++ b/recipes/libroxml/libroxml.inc
> @@ -0,0 +1,24 @@
> +DESCRIPTION = "Small, fast and powerful xml library"
> +AUTHOR = "Tristan Lelong <tristan.lelong@libroxml.net>"
> +HOMEPAGE = "http://www.libroxml.net"
> +SECTION = "libs"
> +PRIORITY = "optional"
> +LICENSE = "LGPLv2.1+"
> +INC_PR = "r0"
> +
> +SRC_URI = "http://libroxml.googlecode.com/files/${P}.tar.gz"
> +
> +do_install() {
> +	install -D -m 755 ${S}/roxml ${D}/${bindir}/roxml
> +	install -D -m 755 ${S}/libroxml.so.0 ${D}/${libdir}/libroxml.so.0
> +	install -D -m 644 ${S}/libroxml.a ${D}/${libdir}/libroxml.a
> +	install -D -m 644 ${S}/inc/roxml.h ${D}/${includedir}/roxml.h
> +	ln -s libroxml.so.0 ${D}/${libdir}/libroxml.so
> +}
> +
> +PACKAGES += "roxml roxml-dbg"
> +FILES_${PN} = "${libdir}/libroxml.so.0"
> +FILES_${PN}-dev = "${libdir}/libroxml.a ${libdir}/libroxml.so ${includedir}/roxml.h"
> +FILES_${PN}-dbg = "${libdir}/.debug/libroxml.so.0"
> +FILES_roxml = "${bindir}/roxml"
> +FILES_roxml-dbg = "${bindir}/.debug/roxml"

I edited this to

+PACKAGES =+ "roxml roxml-dbg"
+FILES_roxml = "${bindir}/*"
+FILES_roxml-dbg = "${bindir}/.debug/*"

and committed this in 9e1aa4d0 [1].

The only difference I could spot is, that `libroxml.a` is packaged in
`libroxml-static`. I hope that is fine with you and I did not mess
anything up.

> diff --git a/recipes/libroxml/libroxml_2.1.1.bb b/recipes/libroxml/libroxml_2.1.1.bb
> new file mode 100644
> index 0000000..c47e1b7
> --- /dev/null
> +++ b/recipes/libroxml/libroxml_2.1.1.bb

[…]


Thanks again,

Paul


PS: For the future you should try to move to OE-core [1] and meta-oe
where at leaste OE-core gets more support.


[1] http://git.openembedded.org/cgit.cgi/openembedded/commit/?id=9e1aa4d02aed8ade9bbbc60ccab4aa58fe1bd2fd
[2] http://openembedded.org/index.php?title=OpenEmbedded-Core

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

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

* Re: [PATCH v4] libroxml: Add version 2.1.1
  2011-09-22 10:07 ` Paul Menzel
@ 2011-09-22 21:37   ` Tristan Lelong
  0 siblings, 0 replies; 3+ messages in thread
From: Tristan Lelong @ 2011-09-22 21:37 UTC (permalink / raw)
  To: openembedded-devel


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Paul,

thank you very much for your support.

Le 22/09/2011 12:07, Paul Menzel a écrit :
>
> The only difference I could spot is, that `libroxml.a` is packaged in
> `libroxml-static`. I hope that is fine with you and I did not mess
> anything up.
>
This is fine for me.


Regards

- -- 
618FE3EF
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk57qrEACgkQFj9oxGGP4+/vhACfc2zeXwtLsWDm9fLhai8HIVzl
3xIAnROeyiE31hSzWd3AP/KxfrIw2DGR
=YECc
-----END PGP SIGNATURE-----




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

end of thread, other threads:[~2011-09-22 21:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-22  8:57 [PATCH v4] libroxml: Add version 2.1.1 Tristan Lelong
2011-09-22 10:07 ` Paul Menzel
2011-09-22 21:37   ` Tristan Lelong

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.