From 64bab5e5b44bf5d18f75677179cd6315432b5d64 Mon Sep 17 00:00:00 2001 Message-ID: <64bab5e5b44bf5d18f75677179cd6315432b5d64.1708869840.git.gabriel@erlikon.ch> In-Reply-To: References: From: Gabriel Wicki Date: Sun, 25 Feb 2024 14:58:56 +0100 Subject: [PATCH 1/2] gnu: Add log4cplus. * gnu/packages/logging.scm (log4cplus): New variable. Change-Id: I83f55dd2ee86ec798e3a8bc17659cc209fdf8533 --- gnu/packages/logging.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/logging.scm b/gnu/packages/logging.scm index 47e8cd39c2..40916aaf7e 100644 --- a/gnu/packages/logging.scm +++ b/gnu/packages/logging.scm @@ -59,6 +59,30 @@ (define-module (gnu packages logging) #:use-module (gnu packages tcl) #:use-module (gnu packages tls)) +(define-public log4cplus + (package + (name "log4cplus") + (version "2.1.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/log4cplus/log4cplus") + (commit (string-append + "REL_" + (string-replace-substring version "." "_"))) + (recursive? #t))) + (sha256 + (base32 + "1h3inzfrg5j8wb3m7nf2bpyzwyzpxzg5mzxqwwqgkbplnl5whzfd")))) + (build-system gnu-build-system) + (home-page "https://log4cplus.github.io/log4cplus/") + (synopsis "Log library for C++") + (description + "log4cplus is a C++ library providing a logging API providing +thread-safe, flexible and arbitrarily granular control over log management and +configuration. It is modeled after the Log4j Java API.") + (license license:expat))) + (define-public log4cpp (package (name "log4cpp") -- 2.41.0