Patchwork [meta-oe] log4cplus: add recipe

login
register
mail settings
Submitter Maxin B. John
Date Aug. 26, 2013, 11:06 a.m.
Message ID <1377515179-56257-1-git-send-email-maxin.john@enea.com>
Download mbox | patch
Permalink /patch/56623/
State Superseded, archived
Headers show

Comments

Maxin B. John - Aug. 26, 2013, 11:06 a.m.
From: "Maxin B. John" <maxin.john@enea.com>

log4cplus provides a simple C++ logging API for log management.

Signed-off-by: Maxin B. John <maxin.john@enea.com>
---
 .../recipes-devtools/log4cplus/log4cplus_1.1.1.bb    |   18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/log4cplus/log4cplus_1.1.1.bb
Paul Eggleton - Aug. 26, 2013, 6:59 p.m.
Hi Maxin,

On Monday 26 August 2013 13:06:19 maxin.john@enea.com wrote:
> From: "Maxin B. John" <maxin.john@enea.com>
> 
> log4cplus provides a simple C++ logging API for log management.
> 
> Signed-off-by: Maxin B. John <maxin.john@enea.com>
> ---
>  .../recipes-devtools/log4cplus/log4cplus_1.1.1.bb    |   18
> ++++++++++++++++++ 1 file changed, 18 insertions(+)
>  create mode 100644 meta-oe/recipes-devtools/log4cplus/log4cplus_1.1.1.bb
> 
> diff --git a/meta-oe/recipes-devtools/log4cplus/log4cplus_1.1.1.bb
> b/meta-oe/recipes-devtools/log4cplus/log4cplus_1.1.1.bb new file mode
> 100644
> index 0000000..5a6d7eb
> --- /dev/null
> +++ b/meta-oe/recipes-devtools/log4cplus/log4cplus_1.1.1.bb
> @@ -0,0 +1,18 @@
> +DESCRIPTION = "log4cplus provides a simple C++ logging API for log
> management" 

If you're setting a short description only, please set it in SUMMARY rather 
than DESCRIPTION.

> +SECTION = "libs"
> +HOMEPAGE = "http://sourceforge.net/projects/liblog4cplus/"

This HOMEPAGE value is incorrect.

Cheers,
Paul
Maxin B. John - Aug. 27, 2013, 7:23 a.m.
On Mon, Aug 26, 2013 at 07:59:57PM +0100, Paul Eggleton wrote:

Hi Paul,

> Hi Maxin,
> On Monday 26 August 2013 13:06:19 maxin.john@enea.com wrote:
> > From: "Maxin B. John" <maxin.john@enea.com>
> > log4cplus provides a simple C++ logging API for log management.
> > Signed-off-by: Maxin B. John <maxin.john@enea.com>
> > ---
> >  .../recipes-devtools/log4cplus/log4cplus_1.1.1.bb    |   18
> > ++++++++++++++++++ 1 file changed, 18 insertions(+)
<snip>
> If you're setting a short description only, please set it in SUMMARY ratherĀ·
> than DESCRIPTION.
Ok, I will set it in SUMMARY.

> > +SECTION = "libs"
> > +HOMEPAGE = "http://sourceforge.net/projects/liblog4cplus/"
> This HOMEPAGE value is incorrect.
ouch. Will correct it.

Thank you very much for reviewing this. I will send the updated
version soon.
> Cheers,
> Paul

Thanks and Regards,
Maxin

Patch

diff --git a/meta-oe/recipes-devtools/log4cplus/log4cplus_1.1.1.bb b/meta-oe/recipes-devtools/log4cplus/log4cplus_1.1.1.bb
new file mode 100644
index 0000000..5a6d7eb
--- /dev/null
+++ b/meta-oe/recipes-devtools/log4cplus/log4cplus_1.1.1.bb
@@ -0,0 +1,18 @@ 
+DESCRIPTION = "log4cplus provides a simple C++ logging API for log management"
+SECTION = "libs"
+HOMEPAGE = "http://sourceforge.net/projects/liblog4cplus/"
+BUGTRACKER = "http://sourceforge.net/p/log4cplus/bugs/"
+
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://INSTALL;md5=fd3fffde3e364ca1fb46c81b741a766a "
+
+PR = "r0"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/project/log4cplus/log4cplus-stable/${PV}/log4cplus-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "104bd6dd07ee71bc52ee9adca4d4d5fc"
+SRC_URI[sha256sum] = "96905e763fc6f1e3a854c3d1964c21e877de909bdddd0aed99806c62a68be838"
+
+inherit autotools pkgconfig
+
+BBCLASSEXTEND += "native"