Patchwork [meta-oe,V2] Added recipe for libconfig

login
register
mail settings
Submitter Stefano Babic
Date June 15, 2012, 11:16 a.m.
Message ID <1339759019-3272-1-git-send-email-sbabic@denx.de>
Download mbox | patch
Permalink /patch/29959/
State New, archived
Headers show

Comments

Stefano Babic - June 15, 2012, 11:16 a.m.
libconfig can be used to parse a configuration file
in a structured language, but still compact and more
suitable for embedded devices compared to XML.

Signed-off-by: Stefano Babic <sbabic@denx.de>
---

- V1 was sent to oe-core, comments redirect it as right place to meta-oe
- Drop PR to use the default value

 .../recipes-support/libconfig/libconfig_1.4.8.bb   |   13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 meta-oe/recipes-support/libconfig/libconfig_1.4.8.bb
Otavio Salvador - June 15, 2012, 12:54 p.m.
On Fri, Jun 15, 2012 at 8:16 AM, Stefano Babic <sbabic@denx.de> wrote:
> libconfig can be used to parse a configuration file
> in a structured language, but still compact and more
> suitable for embedded devices compared to XML.
>
> Signed-off-by: Stefano Babic <sbabic@denx.de>

Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Koen Kooi - June 20, 2012, 11:35 a.m.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 15-06-12 13:16, Stefano Babic schreef:
> libconfig can be used to parse a configuration file in a structured
> language, but still compact and more suitable for embedded devices
> compared to XML.
> 
> Signed-off-by: Stefano Babic <sbabic@denx.de> ---
> 
> - V1 was sent to oe-core, comments redirect it as right place to meta-oe 
> - Drop PR to use the default value
> 
> .../recipes-support/libconfig/libconfig_1.4.8.bb   |   13 +++++++++++++ 1
> file changed, 13 insertions(+) create mode 100644
> meta-oe/recipes-support/libconfig/libconfig_1.4.8.bb
> 
> diff --git a/meta-oe/recipes-support/libconfig/libconfig_1.4.8.bb
> b/meta-oe/recipes-support/libconfig/libconfig_1.4.8.bb new file mode
> 100644 index 0000000..ffde91f --- /dev/null +++
> b/meta-oe/recipes-support/libconfig/libconfig_1.4.8.bb @@ -0,0 +1,13 @@ 
> +SUMMARY = "C/C++ Configuration File Library" +DESCRIPTION = "processing
> of structured configuration files" +SECTION = "libs" +LICENSE =
> "LGPLv2.1" +LIC_FILES_CHKSUM =
> "file://COPYING.LIB;md5=fad9b3332be894bab9bc501572864b29" + +SRC_URI =
> "http://www.hyperrealm.com/libconfig/libconfig-1.4.8.tar.gz \

s/1.4.8/${PV}/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: GPGTools - http://gpgtools.org

iQIcBAEBAgAGBQJP4bWfAAoJEHZqAkdh1vT6rDIP/jM0/A8zTYwcrcZs2OIc1WSC
l0gWcViWtL0AliDzV82Dpck7Bdwv77aPqQBO3pQS7wQ9w7I/SNqYM1Whmt5Mq+2V
tueA4PB/MuLT5Bh63uO7Ga6OnBVY1LWSAVAqreGIKHqYfOMMvFQ9aXs73wWy0kgd
wAeqmH8hjt9XG20KGm42FBvGXiPe0bitwg3p8m7Ox8NQ5YbKfzr8JjpbePWjNTv1
xCZgBbTgRI6SfIkJnZA63VmMpXZJkAppL63iRhpP7P9chivA3qNzUk7zMftIgzuf
WaXQlAefAGK/QX6vso8TuPuENbXzJvrM8iVPnBkdHFxeWTB1mgvAXS4z4nV9qV4u
GAcGq5Zxdbx2F3uspJMi2ulntPoPabpGpc7nG46K/V5tuYXwmcyyXCcP1RgSKmkW
2RgPrBNQahueYXtYo0EKUS50CwR8UW4gSxNM7xXtBMrn8oHi6Z5ewRoyNeLHRHEw
MfpOykP0fr1PpwVdUQeVV9NXpumFPac54s3VcKrC1XHoW4X4mwiI8qWCdkb+JW1Z
tgHKphARmfpPM7E4lOPyBF8DXfg5tUMsSFnVBTB6cHFa5FKBzpHbcCruc6Inrf8d
jSpdJaFmkfG5j6BwKUjQ+CRcTlvXSrX3o6BzGxgJigPsMf11RufCP0R4mwj3NUhP
QIiNT8fQLNdbZH/c92nq
=1Xq9
-----END PGP SIGNATURE-----
Martin Jansa - June 20, 2012, 6:36 p.m.
On Wed, Jun 20, 2012 at 01:35:59PM +0200, Koen Kooi wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Op 15-06-12 13:16, Stefano Babic schreef:
> > libconfig can be used to parse a configuration file in a structured
> > language, but still compact and more suitable for embedded devices
> > compared to XML.
> > 
> > Signed-off-by: Stefano Babic <sbabic@denx.de> ---
> > 
> > - V1 was sent to oe-core, comments redirect it as right place to meta-oe 
> > - Drop PR to use the default value
> > 
> > .../recipes-support/libconfig/libconfig_1.4.8.bb   |   13 +++++++++++++ 1
> > file changed, 13 insertions(+) create mode 100644
> > meta-oe/recipes-support/libconfig/libconfig_1.4.8.bb
> > 
> > diff --git a/meta-oe/recipes-support/libconfig/libconfig_1.4.8.bb
> > b/meta-oe/recipes-support/libconfig/libconfig_1.4.8.bb new file mode
> > 100644 index 0000000..ffde91f --- /dev/null +++
> > b/meta-oe/recipes-support/libconfig/libconfig_1.4.8.bb @@ -0,0 +1,13 @@ 
> > +SUMMARY = "C/C++ Configuration File Library" +DESCRIPTION = "processing
> > of structured configuration files" +SECTION = "libs" +LICENSE =
> > "LGPLv2.1" +LIC_FILES_CHKSUM =
> > "file://COPYING.LIB;md5=fad9b3332be894bab9bc501572864b29" + +SRC_URI =
> > "http://www.hyperrealm.com/libconfig/libconfig-1.4.8.tar.gz \
> 
> s/1.4.8/${PV}/

s%libconfig/libconfig-1.4.8%${BPN}/${BP}%

Cheers,

> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (Darwin)
> Comment: GPGTools - http://gpgtools.org
> 
> iQIcBAEBAgAGBQJP4bWfAAoJEHZqAkdh1vT6rDIP/jM0/A8zTYwcrcZs2OIc1WSC
> l0gWcViWtL0AliDzV82Dpck7Bdwv77aPqQBO3pQS7wQ9w7I/SNqYM1Whmt5Mq+2V
> tueA4PB/MuLT5Bh63uO7Ga6OnBVY1LWSAVAqreGIKHqYfOMMvFQ9aXs73wWy0kgd
> wAeqmH8hjt9XG20KGm42FBvGXiPe0bitwg3p8m7Ox8NQ5YbKfzr8JjpbePWjNTv1
> xCZgBbTgRI6SfIkJnZA63VmMpXZJkAppL63iRhpP7P9chivA3qNzUk7zMftIgzuf
> WaXQlAefAGK/QX6vso8TuPuENbXzJvrM8iVPnBkdHFxeWTB1mgvAXS4z4nV9qV4u
> GAcGq5Zxdbx2F3uspJMi2ulntPoPabpGpc7nG46K/V5tuYXwmcyyXCcP1RgSKmkW
> 2RgPrBNQahueYXtYo0EKUS50CwR8UW4gSxNM7xXtBMrn8oHi6Z5ewRoyNeLHRHEw
> MfpOykP0fr1PpwVdUQeVV9NXpumFPac54s3VcKrC1XHoW4X4mwiI8qWCdkb+JW1Z
> tgHKphARmfpPM7E4lOPyBF8DXfg5tUMsSFnVBTB6cHFa5FKBzpHbcCruc6Inrf8d
> jSpdJaFmkfG5j6BwKUjQ+CRcTlvXSrX3o6BzGxgJigPsMf11RufCP0R4mwj3NUhP
> QIiNT8fQLNdbZH/c92nq
> =1Xq9
> -----END PGP SIGNATURE-----
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Stefano Babic - June 23, 2012, 11:25 a.m.
Am 20/06/2012 20:36, schrieb Martin Jansa:
> On Wed, Jun 20, 2012 at 01:35:59PM +0200, Koen Kooi wrote:
> Op 15-06-12 13:16, Stefano Babic schreef:
>>>> libconfig can be used to parse a configuration file in a structured
>>>> language, but still compact and more suitable for embedded devices
>>>> compared to XML.
>>>>
>>>> Signed-off-by: Stefano Babic <sbabic@denx.de> ---
>>>>
>>>> - V1 was sent to oe-core, comments redirect it as right place to meta-oe 
>>>> - Drop PR to use the default value
>>>>
>>>> .../recipes-support/libconfig/libconfig_1.4.8.bb   |   13 +++++++++++++ 1
>>>> file changed, 13 insertions(+) create mode 100644
>>>> meta-oe/recipes-support/libconfig/libconfig_1.4.8.bb
>>>>
>>>> diff --git a/meta-oe/recipes-support/libconfig/libconfig_1.4.8.bb
>>>> b/meta-oe/recipes-support/libconfig/libconfig_1.4.8.bb new file mode
>>>> 100644 index 0000000..ffde91f --- /dev/null +++
>>>> b/meta-oe/recipes-support/libconfig/libconfig_1.4.8.bb @@ -0,0 +1,13 @@ 
>>>> +SUMMARY = "C/C++ Configuration File Library" +DESCRIPTION = "processing
>>>> of structured configuration files" +SECTION = "libs" +LICENSE =
>>>> "LGPLv2.1" +LIC_FILES_CHKSUM =
>>>> "file://COPYING.LIB;md5=fad9b3332be894bab9bc501572864b29" + +SRC_URI =
>>>> "http://www.hyperrealm.com/libconfig/libconfig-1.4.8.tar.gz \
> 
> s/1.4.8/${PV}/
> 
>> s%libconfig/libconfig-1.4.8%${BPN}/${BP}%

Good point, thanks. I will send V3.

Regards,
Stefano

Patch

diff --git a/meta-oe/recipes-support/libconfig/libconfig_1.4.8.bb b/meta-oe/recipes-support/libconfig/libconfig_1.4.8.bb
new file mode 100644
index 0000000..ffde91f
--- /dev/null
+++ b/meta-oe/recipes-support/libconfig/libconfig_1.4.8.bb
@@ -0,0 +1,13 @@ 
+SUMMARY = "C/C++ Configuration File Library"
+DESCRIPTION = "processing of structured configuration files"
+SECTION = "libs"
+LICENSE = "LGPLv2.1"
+LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=fad9b3332be894bab9bc501572864b29"
+
+SRC_URI = "http://www.hyperrealm.com/libconfig/libconfig-1.4.8.tar.gz \
+"
+
+SRC_URI[md5sum] = "36788da452e9fcfc8efb7661ef5d31ef"
+SRC_URI[sha256sum] = "18b1509fbf438a8c7f9b0af32284e458189b5f6dfd044f898926109f3c3c01ed"
+
+inherit autotools