GNU bug report logs - #27588
[PATCH] Add java-commons-cli-1.2.

Previous Next

Package: guix-patches;

Reported by: Gábor Boskovits <boskovits <at> gmail.com>

Date: Wed, 5 Jul 2017 15:51:01 UTC

Severity: normal

Tags: patch

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 27588 in the body.
You can then email your comments to 27588 AT debbugs.gnu.org in the normal way.

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#27588; Package guix-patches. (Wed, 05 Jul 2017 15:51:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Gábor Boskovits <boskovits <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 05 Jul 2017 15:51:02 GMT) Full text and rfc822 format available.

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

From: Gábor Boskovits <boskovits <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Gábor Boskovits <boskovits <at> gmail.com>
Subject: [PATCH] Add java-commons-cli-1.2.
Date: Wed,  5 Jul 2017 17:48:51 +0200
* gnu/packages/java.scm(java-commons-cli-1.2): New variable.
---
 gnu/packages/java.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index e074dab46..c39c85177 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -4570,3 +4570,27 @@ generate classes, directly in binary form.  The provided common
 transformations and analysis algorithms allow to easily assemble custom
 complex transformations and code analysis tools.")
     (license license:bsd-3)))
+
+;;maven2 bootstrap dependecies
+(define-public java-commons-cli-1.2
+  (package (inherit java-commons-cli)
+    (name "java-commons-cli-1.2")
+    (version "1.2")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "http://archive.apache.org/dist/commons/cli/"
+                                  "source/commons-cli-" version "-src.tar.gz"))
+              (sha256
+               (base32
+                "0rvfgzgv2pc1m091dfj3ih9ddsjjppr1f1wf0qmc3bk6b1kwv2dm"))))
+    (arguments
+     `(#:jar-name "commons-cli.jar"
+       #:phases
+       (modify-phases %standard-phases
+         (add-before 'check 'fix-build-xml
+           (lambda* (#:key inputs #:allow-other-keys)
+             (substitute* "build.xml"
+               (("dir=\"\\$\\{test.home\\}/java\"") "dir=\"${test.home}\"")))))))
+    (native-inputs
+     `(("java-junit",java-junit)))))
+;;end of maven2 bootstrap dependecies
-- 
2.13.1





Information forwarded to guix-patches <at> gnu.org:
bug#27588; Package guix-patches. (Wed, 05 Jul 2017 15:59:01 GMT) Full text and rfc822 format available.

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

From: Gábor Boskovits <boskovits <at> gmail.com>
To: 27588 <at> debbugs.gnu.org
Subject: Re: bug#27588: Acknowledgement ([PATCH] Add java-commons-cli-1.2.)
Date: Wed, 5 Jul 2017 17:58:32 +0200
[Message part 1 (text/plain, inline)]
This package version is needed to bootstrap the current maven2 (version
2.2.1).
I don't know what the current policy rearding different versions is, but I
hope I've done my best to add this.
I will wait for a reply regarding this before I start to package the rest
of the dependecies.
Most of the needed software is packaged, but the current packages are of
different versions from what the maven build needs.

2017-07-05 17:51 GMT+02:00 GNU bug Tracking System <help-debbugs <at> gnu.org>:

> Thank you for filing a new bug report with debbugs.gnu.org.
>
> This is an automatically generated reply to let you know your message
> has been received.
>
> Your message is being forwarded to the package maintainers and other
> interested parties for their attention; they will reply in due course.
>
> Your message has been sent to the package maintainer(s):
>  guix-patches <at> gnu.org
>
> If you wish to submit further information on this problem, please
> send it to 27588 <at> debbugs.gnu.org.
>
> Please do not send mail to help-debbugs <at> gnu.org unless you wish
> to report a problem with the Bug-tracking system.
>
> --
> 27588: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=27588
> GNU Bug Tracking System
> Contact help-debbugs <at> gnu.org with problems
>
[Message part 2 (text/html, inline)]

Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Thu, 20 Jul 2017 09:02:01 GMT) Full text and rfc822 format available.

Notification sent to Gábor Boskovits <boskovits <at> gmail.com>:
bug acknowledged by developer. (Thu, 20 Jul 2017 09:02:02 GMT) Full text and rfc822 format available.

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

From: ludo <at> gnu.org (Ludovic Courtès)
To: Gábor Boskovits <boskovits <at> gmail.com>
Cc: 27588-done <at> debbugs.gnu.org
Subject: Re: [bug#27588] [PATCH] Add java-commons-cli-1.2.
Date: Thu, 20 Jul 2017 11:00:48 +0200
[Message part 1 (text/plain, inline)]
Hi Gábor,

Gábor Boskovits <boskovits <at> gmail.com> skribis:

> * gnu/packages/java.scm(java-commons-cli-1.2): New variable.

I made the cosmetic changes shown below and committed.

Thanks,
Ludo’.

[Message part 2 (text/x-patch, inline)]
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index fa8bd4be3..de992c649 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -4673,15 +4673,15 @@ transformations and analysis algorithms allow to easily assemble custom
 complex transformations and code analysis tools.")
     (license license:bsd-3)))
 
-;;maven2 bootstrap dependecies
 (define-public java-commons-cli-1.2
-  (package (inherit java-commons-cli)
-    (name "java-commons-cli-1.2")
+  ;; This is a bootstrap dependency for Maven2.
+  (package
+    (inherit java-commons-cli)
     (version "1.2")
     (source (origin
               (method url-fetch)
-              (uri (string-append "http://archive.apache.org/dist/commons/cli/"
-                                  "source/commons-cli-" version "-src.tar.gz"))
+              (uri (string-append "mirror://apache/commons/cli/source/"
+                                  "commons-cli-" version "-src.tar.gz"))
               (sha256
                (base32
                 "0rvfgzgv2pc1m091dfj3ih9ddsjjppr1f1wf0qmc3bk6b1kwv2dm"))))
@@ -4692,7 +4692,8 @@ complex transformations and code analysis tools.")
          (add-before 'check 'fix-build-xml
            (lambda* (#:key inputs #:allow-other-keys)
              (substitute* "build.xml"
-               (("dir=\"\\$\\{test.home\\}/java\"") "dir=\"${test.home}\"")))))))
+               (("dir=\"\\$\\{test.home\\}/java\"")
+                "dir=\"${test.home}\""))
+             #t)))))
     (native-inputs
      `(("java-junit" ,java-junit)))))
-;;end of maven2 bootstrap dependecies

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 17 Aug 2017 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years ago.

Previous Next


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