summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMatthew Elwin <elwin@northwestern.edu>2025-05-12 12:00:51 -0500
committerAndreas Enge <andreas@enge.fr>2025-06-02 16:19:40 +0200
commit757aefeaa4df338e0564044ba344f1daa81c5f10 (patch)
treeb725cff1c5fa55acd50ab5bcdb344067bf756fa2 /gnu/packages
parentbcd204560048db1339c2799c4167631ef39a02f9 (diff)
gnu: Add log4cxx.
* gnu/packages/logging.scm (log4cxx): New variable. Change-Id: I486d2968a434c0b26fac49164797b3ff193b1934 Signed-off-by: Andreas Enge <andreas@enge.fr>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/logging.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/logging.scm b/gnu/packages/logging.scm
index 0e72480a877..a1cf1739ac7 100644
--- a/gnu/packages/logging.scm
+++ b/gnu/packages/logging.scm
@@ -8,6 +8,7 @@
;;; Copyright © 2019 Meiyo Peng <meiyo@riseup.net>
;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
+;;; Copyright © 2025 Matthew Elwin <elwin@northwestern.edu>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -35,6 +36,7 @@
#:use-module (guix build-system gnu)
#:use-module (guix build-system python)
#:use-module (gnu packages)
+ #:use-module (gnu packages apr)
#:use-module (gnu packages autotools)
#:use-module (gnu packages bison)
#:use-module (gnu packages c)
@@ -94,6 +96,27 @@ staying as close to their API as is reasonable.")
(home-page "https://log4cpp.sourceforge.net/")
(license license:lgpl2.1+)))
+(define-public log4cxx
+ (package
+ (name "log4cxx")
+ (version "1.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://apache/logging/log4cxx/" version
+ "/apache-log4cxx-" version ".tar.gz"))
+ (sha256
+ (base32 "15kgxmqpbg8brf7zd8mmzr7rvm9zrigz3ak34xb18v2ld8siyb9x"))))
+ (build-system cmake-build-system)
+ (native-inputs (list apr apr-util pkg-config zip))
+ (home-page "https://logging.apache.org/log4cxx/")
+ (synopsis "C++ logging library patterned after Apache log4j")
+ (description
+ "The log4cxx packages provides a C++ logging framework patterned
+after Apache log4j which uses the Apache Portable Runtime for most
+platform-specific code.")
+ (license license:asl2.0)))
+
(define-public glog
(package
(name "glog")