From: Ricardo Wurmus <rekado@elephly.net>
To: 26861@debbugs.gnu.org
Cc: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
Subject: bug#26861: [PATCH 27/31] gnu: Add java-log4j-api.
Date: Tue, 9 May 2017 23:28:44 +0200 [thread overview]
Message-ID: <20170509212848.14688-27-rekado@elephly.net> (raw)
In-Reply-To: <20170509212848.14688-1-rekado@elephly.net>
From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
* gnu/packages/java.scm (java-log4j-api): New variable.
---
gnu/packages/java.scm | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 639364f6d..5247414ea 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -2942,6 +2942,45 @@ and contributes the Eclipse default text editor.")
development tools.")
(license license:epl1.0)))
+(define-public java-log4j-api
+ (package
+ (name "java-log4j-api")
+ (version "2.4.1")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://apache/logging/log4j/" version
+ "/apache-log4j-" version "-src.tar.gz"))
+ (sha256
+ (base32
+ "0j5p9gik0jysh37nlrckqbky12isy95cpwg2gv5fas1rcdqbraxd"))))
+ (build-system ant-build-system)
+ (arguments
+ `(#:tests? #f ; tests require unpackaged software
+ #:jar-name "log4j-api.jar"
+ #:make-flags
+ (list (string-append "-Ddist.dir=" (assoc-ref %outputs "out")
+ "/share/java"))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'enter-dir
+ (lambda _ (chdir "log4j-api") #t))
+ ;; FIXME: The tests require additional software that has not been
+ ;; packaged yet, such as
+ ;; * org.apache.maven
+ ;; * org.apache.felix
+ (add-after 'enter-dir 'delete-tests
+ (lambda _ (delete-file-recursively "src/test") #t)))))
+ (inputs
+ `(("java-osgi-core" ,java-osgi-core)
+ ("java-hamcrest-core" ,java-hamcrest-core)
+ ("java-junit" ,java-junit)))
+ (home-page "http://logging.apache.org/log4j/2.x/")
+ (synopsis "API module of the Log4j logging framework for Java")
+ (description
+ "This package provides the API module of the Log4j logging framework for
+Java.")
+ (license license:asl2.0)))
+
(define-public java-commons-cli
(package
(name "java-commons-cli")
--
2.12.2
next prev parent reply other threads:[~2017-05-09 21:31 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-09 21:07 bug#26861: [PATCH 00/31] Even more Java things Ricardo Wurmus
2017-05-09 21:28 ` bug#26861: [PATCH 01/31] gnu: Add libusb4java Ricardo Wurmus
2017-05-09 21:28 ` bug#26861: [PATCH 02/31] gnu: Add java-usb4java Ricardo Wurmus
2017-05-09 21:28 ` bug#26861: [PATCH 03/31] gnu: Add java-rsyntaxtextarea Ricardo Wurmus
2017-05-09 21:28 ` bug#26861: [PATCH 04/31] gnu: Add java-simple-xml Ricardo Wurmus
2017-05-09 21:28 ` bug#26861: [PATCH 05/31] gnu: Add java-osgi-annotation Ricardo Wurmus
2017-05-09 21:28 ` bug#26861: [PATCH 06/31] gnu: Add java-osgi-core Ricardo Wurmus
2017-05-09 21:28 ` bug#26861: [PATCH 07/31] gnu: Add java-eclipse-osgi Ricardo Wurmus
2017-05-09 21:28 ` bug#26861: [PATCH 08/31] gnu: Add java-eclipse-equinox-common Ricardo Wurmus
2017-05-09 21:28 ` bug#26861: [PATCH 09/31] gnu: Add java-osgi-service-event Ricardo Wurmus
2017-05-09 21:28 ` bug#26861: [PATCH 10/31] gnu: Add java-eclipse-core-jobs Ricardo Wurmus
2017-05-09 21:28 ` bug#26861: [PATCH 11/31] gnu: Add java-eclipse-equinox-registry Ricardo Wurmus
2017-05-09 21:28 ` bug#26861: [PATCH 12/31] gnu: Add java-eclipse-equinox-app Ricardo Wurmus
2017-05-09 21:28 ` bug#26861: [PATCH 13/31] gnu: Add java-eclipse-equinox-preferences Ricardo Wurmus
2017-05-09 21:28 ` bug#26861: [PATCH 14/31] gnu: Add java-eclipse-core-contenttype Ricardo Wurmus
2017-05-09 21:28 ` bug#26861: [PATCH 15/31] gnu: Add java-eclipse-core-runtime Ricardo Wurmus
2017-05-09 21:28 ` bug#26861: [PATCH 16/31] gnu: Add java-eclipse-core-filesystem Ricardo Wurmus
2017-05-09 21:28 ` bug#26861: [PATCH 17/31] gnu: Add java-eclipse-core-expressions Ricardo Wurmus
2017-05-09 21:28 ` bug#26861: [PATCH 18/31] gnu: Add java-eclipse-core-variables Ricardo Wurmus
2017-05-09 21:28 ` bug#26861: [PATCH 19/31] gnu: Add java-eclipse-ant-core Ricardo Wurmus
2017-05-09 21:28 ` bug#26861: [PATCH 20/31] gnu: Add java-eclipse-core-resources Ricardo Wurmus
2017-05-09 21:28 ` bug#26861: [PATCH 21/31] gnu: Add java-icu4j Ricardo Wurmus
2017-05-09 21:28 ` bug#26861: [PATCH 22/31] gnu: Add java-eclipse-compare-core Ricardo Wurmus
2017-05-09 21:28 ` bug#26861: [PATCH 23/31] gnu: Add java-eclipse-team-core Ricardo Wurmus
2017-05-09 21:28 ` bug#26861: [PATCH 24/31] gnu: Add java-eclipse-core-commands Ricardo Wurmus
2017-05-09 21:28 ` bug#26861: [PATCH 25/31] gnu: Add java-eclipse-text Ricardo Wurmus
2017-05-09 21:28 ` bug#26861: [PATCH 26/31] gnu: Add java-eclipse-jdt-core Ricardo Wurmus
2017-05-09 21:28 ` Ricardo Wurmus [this message]
2017-05-09 21:28 ` bug#26861: [PATCH 28/31] licenses: Add EDL 1.0 Ricardo Wurmus
2017-05-10 4:25 ` Leo Famulari
2017-05-10 5:32 ` Ricardo Wurmus
2017-05-09 21:28 ` bug#26861: [PATCH 29/31] gnu: Add java-javax-mail Ricardo Wurmus
2017-05-09 21:28 ` bug#26861: [PATCH 30/31] gnu: Add jikes Ricardo Wurmus
2017-05-09 21:28 ` bug#26861: [PATCH 31/31] gnu: Add classpath-minimal-0.93 Ricardo Wurmus
2017-05-10 13:32 ` Ricardo Wurmus
2017-05-15 20:32 ` bug#26861: [PATCH 00/31] Even more Java things Ricardo Wurmus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170509212848.14688-27-rekado@elephly.net \
--to=rekado@elephly.net \
--cc=26861@debbugs.gnu.org \
--cc=ricardo.wurmus@mdc-berlin.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).