unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Danny Milosavljevic <dannym@scratchpost.org>
To: 32948@debbugs.gnu.org
Subject: [bug#32948] [PATCH 09/21] gnu: Add java-xmlgraphics-commons.
Date: Fri,  5 Oct 2018 17:50:10 +0200	[thread overview]
Message-ID: <20181005155020.10239-9-dannym@scratchpost.org> (raw)
In-Reply-To: <20181005155020.10239-1-dannym@scratchpost.org>

* gnu/packages/batik.scm (java-xmlgraphics-commons): New variable.
---
 gnu/packages/batik.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/batik.scm b/gnu/packages/batik.scm
index 05ca234ea..1fa36c1ac 100644
--- a/gnu/packages/batik.scm
+++ b/gnu/packages/batik.scm
@@ -262,3 +262,39 @@ public interface EventListenerInitializer {
           "0jicqcrxav8ggs37amgvvwgc2f0qp1c5wns4rb2i3si83s2m09ns"))))
     (propagated-inputs
      `())))
+
+(define java-xmlgraphics-commons
+  (package
+    (name "java-xmlgraphics-commons")
+    (version "2.3")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append "mirror://apache/xmlgraphics/commons/source/xmlgraphics-commons-"
+                            version "-src.tar.gz"))
+        (sha256
+         (base32
+          "0a432a4ca3vgnbada5cy9mlmfzmq6hi4i176drfxrp17q2d43w23"))))
+    (build-system ant-build-system)
+    (arguments
+     `(#:build-target "jar-main"
+       #:test-target "junit-basic"
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'make-reproducible
+           (lambda _
+             (substitute* "build.xml"
+              (("<attribute name=\"Build-Id\" value=\"[^\"]*\"")
+               "<attribute name=\"Build-Id\" value=\"\""))
+             #t))
+         (replace 'install
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out"))
+                    (out-share (string-append out "/share/java")))
+             (install-file "build/xmlgraphics-commons-2.3.jar" out-share)
+             #t))))))
+    (home-page "https://xmlgraphics.apache.org/commons/")
+    (synopsis "XMLGraphics constants.")
+    (description "This package provides XMLGraphics constants (originally
+from @code{batik}).")
+    (license license:asl2.0)))

  parent reply	other threads:[~2018-10-05 15:51 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-05 15:44 [bug#32948] [PATCH 00/21] Add batik Danny Milosavljevic
2018-10-05 15:50 ` [bug#32948] [PATCH 01/21] gnu: Add java-batik-i18n Danny Milosavljevic
2018-10-05 15:50   ` [bug#32948] [PATCH 02/21] gnu: Add java-batik-constants Danny Milosavljevic
2018-10-05 15:50   ` [bug#32948] [PATCH 03/21] gnu: Add java-batik-util Danny Milosavljevic
2018-10-05 15:50   ` [bug#32948] [PATCH 04/21] gnu: Add java-batik-xml Danny Milosavljevic
2018-10-05 15:50   ` [bug#32948] [PATCH 05/21] gnu: Add java-batik-ext Danny Milosavljevic
2018-10-05 15:50   ` [bug#32948] [PATCH 06/21] gnu: Add java-w3c-smil Danny Milosavljevic
2018-10-05 15:50   ` [bug#32948] [PATCH 07/21] gnu: Add java-w3c-sac Danny Milosavljevic
2018-10-05 15:50   ` [bug#32948] [PATCH 08/21] gnu: Add java-w3c-svg Danny Milosavljevic
2018-10-09 12:47     ` Björn Höfling
2018-10-05 15:50   ` Danny Milosavljevic [this message]
2018-10-05 15:50   ` [bug#32948] [PATCH 10/21] gnu: Add java-batik-css Danny Milosavljevic
2018-10-05 15:50   ` [bug#32948] [PATCH 11/21] gnu: Add java-batik-dom Danny Milosavljevic
2018-10-05 15:50   ` [bug#32948] [PATCH 12/21] gnu: Add java-batik-awt-util Danny Milosavljevic
2018-10-05 15:50   ` [bug#32948] [PATCH 13/21] gnu: Add java-batik-parser Danny Milosavljevic
2018-10-05 15:50   ` [bug#32948] [PATCH 14/21] gnu: Add java-batik-svg-dom Danny Milosavljevic
2018-10-05 15:50   ` [bug#32948] [PATCH 15/21] gnu: Add java-batik-anim Danny Milosavljevic
2018-10-05 15:50   ` [bug#32948] [PATCH 16/21] gnu: Add java-batik-gvt Danny Milosavljevic
2018-10-05 15:50   ` [bug#32948] [PATCH 17/21] gnu: Add java-batik-script Danny Milosavljevic
2018-10-05 15:50   ` [bug#32948] [PATCH 18/21] gnu: Add java-batik-bridge Danny Milosavljevic
2018-10-05 15:50   ` [bug#32948] [PATCH 19/21] gnu: Add java-batik-svggen Danny Milosavljevic
2018-10-05 15:54   ` [bug#32948] [PATCH 01/21] gnu: Add java-batik-i18n Danny Milosavljevic
2018-10-05 16:28   ` Julien Lepiller
2018-10-05 18:49     ` Danny Milosavljevic
2018-10-06 11:06       ` Julien Lepiller
2018-10-05 15:51 ` [bug#32948] [PATCH 20/21] gnu: Add java-batik-transcoder Danny Milosavljevic
2018-10-05 15:51   ` [bug#32948] [PATCH 21/21] gnu: Add batik Danny Milosavljevic
2018-10-05 16:37     ` Julien Lepiller
2024-02-21 16:54 ` bug#32948: close bug #32948 Steve George

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=20181005155020.10239-9-dannym@scratchpost.org \
    --to=dannym@scratchpost.org \
    --cc=32948@debbugs.gnu.org \
    /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).