Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] Added recipe for libconfig
@ 2012-06-13 13:19 Stefano Babic
  2012-06-13 13:34 ` Otavio Salvador
  2012-06-13 14:02 ` Burton, Ross
  0 siblings, 2 replies; 8+ messages in thread
From: Stefano Babic @ 2012-06-13 13:19 UTC (permalink / raw)
  To: openembedded-core

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>
---
 meta/recipes-support/libconfig/libconfig_1.4.8.bb |   15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 meta/recipes-support/libconfig/libconfig_1.4.8.bb

diff --git a/meta/recipes-support/libconfig/libconfig_1.4.8.bb b/meta/recipes-support/libconfig/libconfig_1.4.8.bb
new file mode 100644
index 0000000..5b347b3
--- /dev/null
+++ b/meta/recipes-support/libconfig/libconfig_1.4.8.bb
@@ -0,0 +1,15 @@
+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"
+
+PR = "r0"
+
+SRC_URI = "http://www.hyperrealm.com/libconfig/libconfig-1.4.8.tar.gz \
+"
+
+SRC_URI[md5sum] = "36788da452e9fcfc8efb7661ef5d31ef"
+SRC_URI[sha256sum] = "18b1509fbf438a8c7f9b0af32284e458189b5f6dfd044f898926109f3c3c01ed"
+
+inherit autotools
-- 
1.7.9.5




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

* Re: [PATCH] Added recipe for libconfig
  2012-06-13 13:19 [PATCH] Added recipe for libconfig Stefano Babic
@ 2012-06-13 13:34 ` Otavio Salvador
  2012-06-13 14:02 ` Burton, Ross
  1 sibling, 0 replies; 8+ messages in thread
From: Otavio Salvador @ 2012-06-13 13:34 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Wed, Jun 13, 2012 at 10:19 AM, Stefano Babic <sbabic@denx.de> wrote:
> +PR = "r0"

Please drop the PR when using r0 as this is the default.

-- 
Otavio Salvador                             O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br



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

* Re: [PATCH] Added recipe for libconfig
  2012-06-13 13:19 [PATCH] Added recipe for libconfig Stefano Babic
  2012-06-13 13:34 ` Otavio Salvador
@ 2012-06-13 14:02 ` Burton, Ross
  2012-06-13 14:22   ` Stefano Babic
  1 sibling, 1 reply; 8+ messages in thread
From: Burton, Ross @ 2012-06-13 14:02 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On 13 June 2012 14:19, 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.

Is there a package that's actually going to use this in oe-core?

Ross



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

* Re: [PATCH] Added recipe for libconfig
  2012-06-13 14:02 ` Burton, Ross
@ 2012-06-13 14:22   ` Stefano Babic
  2012-06-13 14:24     ` Burton, Ross
  0 siblings, 1 reply; 8+ messages in thread
From: Stefano Babic @ 2012-06-13 14:22 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On 13/06/2012 16:02, Burton, Ross wrote:
> On 13 June 2012 14:19, 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.
> 
> Is there a package that's actually going to use this in oe-core?
> 

Hi Ross,

no, there is not yet. I add the libconfig to my image and my apllication
make use of it. However, I see it as a general purpose library, that one
can decide to add or not to the own rootfs.

Is there some constraints in OE requiring that a lib can be merged only
if a provided package make use of it ?

Stefano

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic@denx.de
=====================================================================



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

* Re: [PATCH] Added recipe for libconfig
  2012-06-13 14:22   ` Stefano Babic
@ 2012-06-13 14:24     ` Burton, Ross
  2012-06-14  8:00       ` Stefano Babic
  0 siblings, 1 reply; 8+ messages in thread
From: Burton, Ross @ 2012-06-13 14:24 UTC (permalink / raw)
  To: Stefano Babic; +Cc: Patches and discussions about the oe-core layer

On 13 June 2012 15:22, Stefano Babic <sbabic@denx.de> wrote:
> no, there is not yet. I add the libconfig to my image and my apllication
> make use of it. However, I see it as a general purpose library, that one
> can decide to add or not to the own rootfs.
>
> Is there some constraints in OE requiring that a lib can be merged only
> if a provided package make use of it ?

Surely meta-oe would be a better place for this then?

Ross



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

* Re: [PATCH] Added recipe for libconfig
  2012-06-13 14:24     ` Burton, Ross
@ 2012-06-14  8:00       ` Stefano Babic
  2012-06-14 12:58         ` Philip Balister
  0 siblings, 1 reply; 8+ messages in thread
From: Stefano Babic @ 2012-06-14  8:00 UTC (permalink / raw)
  To: Burton, Ross; +Cc: Patches and discussions about the oe-core layer

On 13/06/2012 16:24, Burton, Ross wrote:
> On 13 June 2012 15:22, Stefano Babic <sbabic@denx.de> wrote:
>> no, there is not yet. I add the libconfig to my image and my apllication
>> make use of it. However, I see it as a general purpose library, that one
>> can decide to add or not to the own rootfs.
>>
>> Is there some constraints in OE requiring that a lib can be merged only
>> if a provided package make use of it ?
> 
> Surely meta-oe would be a better place for this then?

Understood. Or maybe under meta-yocto/recipes-core ? I will prefer this
one because meta-oe is not part of the yocto distribution. Am I right to
post patches here or am I completely off-topic ?

Stefano

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic@denx.de
=====================================================================



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

* Re: [PATCH] Added recipe for libconfig
  2012-06-14  8:00       ` Stefano Babic
@ 2012-06-14 12:58         ` Philip Balister
  2012-06-14 14:27           ` Stefano Babic
  0 siblings, 1 reply; 8+ messages in thread
From: Philip Balister @ 2012-06-14 12:58 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On 06/14/2012 04:00 AM, Stefano Babic wrote:
> On 13/06/2012 16:24, Burton, Ross wrote:
>> On 13 June 2012 15:22, Stefano Babic <sbabic@denx.de> wrote:
>>> no, there is not yet. I add the libconfig to my image and my apllication
>>> make use of it. However, I see it as a general purpose library, that one
>>> can decide to add or not to the own rootfs.
>>>
>>> Is there some constraints in OE requiring that a lib can be merged only
>>> if a provided package make use of it ?
>>
>> Surely meta-oe would be a better place for this then?
> 
> Understood. Or maybe under meta-yocto/recipes-core ? I will prefer this
> one because meta-oe is not part of the yocto distribution. Am I right to
> post patches here or am I completely off-topic ?

meta-oe is the place for this tyoe of recipe. The Yocto Project is not a
distribution, rather a project to make embedded systems easier :)

Philip



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

* Re: [PATCH] Added recipe for libconfig
  2012-06-14 12:58         ` Philip Balister
@ 2012-06-14 14:27           ` Stefano Babic
  0 siblings, 0 replies; 8+ messages in thread
From: Stefano Babic @ 2012-06-14 14:27 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On 14/06/2012 14:58, Philip Balister wrote:
>> meta-oe is the place for this tyoe of recipe. The Yocto Project is not a
> distribution, rather a project to make embedded systems easier :)


Ok, thanks for clarification - I will send V2 for meta-oe.

Stefano

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic@denx.de
=====================================================================



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

end of thread, other threads:[~2012-06-14 15:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-13 13:19 [PATCH] Added recipe for libconfig Stefano Babic
2012-06-13 13:34 ` Otavio Salvador
2012-06-13 14:02 ` Burton, Ross
2012-06-13 14:22   ` Stefano Babic
2012-06-13 14:24     ` Burton, Ross
2012-06-14  8:00       ` Stefano Babic
2012-06-14 12:58         ` Philip Balister
2012-06-14 14:27           ` Stefano Babic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox