Skip to contentSkip to conversation

log4cplus: new package

PATCH New Peter Seiderer 2 participants 2 messages Nov 7, 2013 – Nov 8, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 log4cplus: new package

---
 package/Config.in              |  1 +
 package/log4cplus/Config.in    | 15 +++++++++++++++
 package/log4cplus/log4cplus.mk | 14 ++++++++++++++
 3 files changed, 30 insertions(+)
 create mode 100644 package/log4cplus/Config.in
 create mode 100644 package/log4cplus/log4cplus.mk
package/Config.in +1 -0
index c0a3f20..7c0eb94 100644
@@ -706,6 +706,7 @@ source "package/libtpl/Config.in"
 source "package/libunwind/Config.in"
 source "package/liburcu/Config.in"
 source "package/linux-pam/Config.in"
+source "package/log4cplus/Config.in"
 source "package/log4cxx/Config.in"
 source "package/lttng-libust/Config.in"
 source "package/mpc/Config.in"
package/log4cplus/Config.in new file +15 -0
new file mode 100644
index 0000000..8a112a4
@@ -0,0 +1,15 @@
+config BR2_PACKAGE_LOG4CPLUS
+	bool "log4cplus"
+	depends on BR2_INSTALL_LIBSTDCPP
+	depends on BR2_USE_WCHAR
+	depends on BR2_TOOLCHAIN_HAS_THREADS
+	help
+	  log4cplus is a simple to use C++ logging API providing
+	  thread-safe, flexible, and arbitrarily granular control
+	  over log management and configuration. It is modelled
+	  after the Java log4j API.
+
+	  http://sourceforge.net/projects/log4cplus
+
+comment "log4cplus needs a toolchain w/ C++, wchar, threads"
+	depends on !(BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS)
package/log4cplus/log4cplus.mk new file +14 -0
new file mode 100644
index 0000000..292fa66
@@ -0,0 +1,14 @@
+################################################################################
+#
+# log4cplus
+#
+################################################################################
+
+LOG4CPLUS_VERSION = 1.1.2
+LOG4CPLUS_SOURCE = log4cplus-$(LOG4CPLUS_VERSION).tar.xz
+LOG4CPLUS_SITE = http://downloads.sourceforge.net/project/log4cplus/log4cplus-stable/$(LOG4CPLUS_VERSION)
+LOG4CPLUS_LICENSE = Apache-2.0
+LOG4CPLUS_LICENSE_FILES = LICENSE
+LOG4CPLUS_INSTALL_STAGING = YES
+
+$(eval $(autotools-package))
Signature · 1 line
1.8.1.4
#1 lore raw

PATCH 1/1 log4cplus: new package

Quoted 1 line · Peter Seiderer
Quoted 13 lines
---
  package/Config.in              |  1 +
  package/log4cplus/Config.in    | 15 +++++++++++++++
  package/log4cplus/log4cplus.mk | 14 ++++++++++++++
  3 files changed, 30 insertions(+)

create mode 100644 package/log4cplus/Config.in create mode 100644 package/log4cplus/log4cplus.mk

package/Config.in +0 -0
index c0a3f20..7c0eb94 100644

package/Config.in source "package/libtpl/Config.in" · line 710

Quoted 5 lines
package/Config.in +1 -0
@@ -706,6 +706,7 @@ source "package/libtpl/Config.in"
  source "package/libunwind/Config.in"
  source "package/liburcu/Config.in"
  source "package/linux-pam/Config.in"
+source "package/log4cplus/Config.in"
  source "package/log4cxx/Config.in"

Does log4cplus replace log4cxx? The API looks a bit similar at first sight.

Regards,
Arnout

Quoted 44 lines
package/Config.in +0 -0
  source "package/lttng-libust/Config.in"
  source "package/mpc/Config.in"
package/log4cplus/Config.in new file +15 -0
new file mode 100644
index 0000000..8a112a4
@@ -0,0 +1,15 @@
+config BR2_PACKAGE_LOG4CPLUS
+	bool "log4cplus"
+	depends on BR2_INSTALL_LIBSTDCPP
+	depends on BR2_USE_WCHAR
+	depends on BR2_TOOLCHAIN_HAS_THREADS
+	help
+	  log4cplus is a simple to use C++ logging API providing
+	  thread-safe, flexible, and arbitrarily granular control
+	  over log management and configuration. It is modelled
+	  after the Java log4j API.
+
+	  http://sourceforge.net/projects/log4cplus
+
+comment "log4cplus needs a toolchain w/ C++, wchar, threads"
+	depends on !(BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS)
package/log4cplus/log4cplus.mk new file +14 -0
new file mode 100644
index 0000000..292fa66
@@ -0,0 +1,14 @@
+################################################################################
+#
+# log4cplus
+#
+################################################################################
+
+LOG4CPLUS_VERSION = 1.1.2
+LOG4CPLUS_SOURCE = log4cplus-$(LOG4CPLUS_VERSION).tar.xz
+LOG4CPLUS_SITE = http://downloads.sourceforge.net/project/log4cplus/log4cplus-stable/$(LOG4CPLUS_VERSION)
+LOG4CPLUS_LICENSE = Apache-2.0
+LOG4CPLUS_LICENSE_FILES = LICENSE
+LOG4CPLUS_INSTALL_STAGING = YES
+
+$(eval $(autotools-package))
Signature · 6 lines
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F