GNU bug report logs - #78395
[PATCH] gnu: Add log4cxx

Previous Next

Package: guix-patches;

Reported by: Matthew Elwin <elwin <at> northwestern.edu>

Date: Mon, 12 May 2025 17:02:02 UTC

Severity: normal

Tags: patch

Done: Andreas Enge <andreas <at> enge.fr>

To reply to this bug, email your comments to 78395 AT debbugs.gnu.org.
There is no need to reopen the bug first.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#78395; Package guix-patches. (Mon, 12 May 2025 17:02:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Matthew Elwin <elwin <at> northwestern.edu>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 12 May 2025 17:02:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Matthew Elwin <elwin <at> northwestern.edu>
To: guix-patches <at> gnu.org
Cc: Matthew Elwin <elwin <at> northwestern.edu>
Subject: [PATCH] gnu: Add log4cxx
Date: Mon, 12 May 2025 12:00:51 -0500
* gnu/packages/logging.scm (log4cxx): New variable.

Change-Id: I486d2968a434c0b26fac49164797b3ff193b1934
---
 gnu/packages/logging.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/logging.scm b/gnu/packages/logging.scm
index 0e72480a87..cdf56b4746 100644
--- a/gnu/packages/logging.scm
+++ b/gnu/packages/logging.scm
@@ -35,6 +35,7 @@ (define-module (gnu packages logging)
   #: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 +95,27 @@ (define-public log4cpp
     (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
+     "A C++ logging framework patterned after Apache
+log4j which uses Apache Portable Runtime for most platform-specific code
+and should be usable on any platform supported by APR")
+    (license license:asl2.0)))
+
 (define-public glog
   (package
     (name "glog")

base-commit: bf11e3327b64dbaaab9b6a688f2f1f9871c9d63d
-- 
2.43.0





Reply sent to Andreas Enge <andreas <at> enge.fr>:
You have taken responsibility. (Mon, 02 Jun 2025 14:22:01 GMT) Full text and rfc822 format available.

Notification sent to Matthew Elwin <elwin <at> northwestern.edu>:
bug acknowledged by developer. (Mon, 02 Jun 2025 14:22:02 GMT) Full text and rfc822 format available.

Message #10 received at 78395-done <at> debbugs.gnu.org (full text, mbox):

From: Andreas Enge <andreas <at> enge.fr>
To: Matthew Elwin <elwin <at> northwestern.edu>
Cc: 78395-done <at> debbugs.gnu.org
Subject: Re: [PATCH] gnu: Add log4cxx
Date: Mon, 2 Jun 2025 16:21:35 +0200
Hello Matthew,

thanks for the patch! I have added a copyright line for you and slightly
changed the description so that it consists of a full sentence (it is a
bit short, but I am not very inspired to add more...) Pushed to master!

Andreas





This bug report was last modified 4 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.