all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#27588] [PATCH] Add java-commons-cli-1.2.
@ 2017-07-05 15:48 Gábor Boskovits
       [not found] ` <handler.27588.B.14992698086003.ack@debbugs.gnu.org>
  2017-07-20  9:00 ` bug#27588: [PATCH] Add java-commons-cli-1.2 Ludovic Courtès
  0 siblings, 2 replies; 3+ messages in thread
From: Gábor Boskovits @ 2017-07-05 15:48 UTC (permalink / raw)
  To: 27588; +Cc: Gábor Boskovits

* 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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#27588] Acknowledgement ([PATCH] Add java-commons-cli-1.2.)
       [not found] ` <handler.27588.B.14992698086003.ack@debbugs.gnu.org>
@ 2017-07-05 15:58   ` Gábor Boskovits
  0 siblings, 0 replies; 3+ messages in thread
From: Gábor Boskovits @ 2017-07-05 15:58 UTC (permalink / raw)
  To: 27588

[-- Attachment #1: Type: text/plain, Size: 1241 bytes --]

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@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@gnu.org
>
> If you wish to submit further information on this problem, please
> send it to 27588@debbugs.gnu.org.
>
> Please do not send mail to help-debbugs@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@gnu.org with problems
>

[-- Attachment #2: Type: text/html, Size: 2043 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#27588: [PATCH] Add java-commons-cli-1.2.
  2017-07-05 15:48 [bug#27588] [PATCH] Add java-commons-cli-1.2 Gábor Boskovits
       [not found] ` <handler.27588.B.14992698086003.ack@debbugs.gnu.org>
@ 2017-07-20  9:00 ` Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2017-07-20  9:00 UTC (permalink / raw)
  To: Gábor Boskovits; +Cc: 27588-done

[-- Attachment #1: Type: text/plain, Size: 210 bytes --]

Hi Gábor,

Gábor Boskovits <boskovits@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’.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 1583 bytes --]

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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-07-20  9:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-05 15:48 [bug#27588] [PATCH] Add java-commons-cli-1.2 Gábor Boskovits
     [not found] ` <handler.27588.B.14992698086003.ack@debbugs.gnu.org>
2017-07-05 15:58   ` [bug#27588] Acknowledgement ([PATCH] Add java-commons-cli-1.2.) Gábor Boskovits
2017-07-20  9:00 ` bug#27588: [PATCH] Add java-commons-cli-1.2 Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.