From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39598) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eiPPW-0006OF-41 for guix-patches@gnu.org; Sun, 04 Feb 2018 13:53:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eiPPS-0003Md-RU for guix-patches@gnu.org; Sun, 04 Feb 2018 13:53:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:49434) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eiPPS-0003MW-Mf for guix-patches@gnu.org; Sun, 04 Feb 2018 13:53:02 -0500 Subject: [bug#29359] [PATCH 15/31] gnu: Add java-apache-xml-commons-resolver. Resent-Message-ID: Date: Sun, 4 Feb 2018 19:52:47 +0100 From: =?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?= Message-ID: <20180204195247.5f97dfa0@alma-ubu> In-Reply-To: <20171119175805.902-15-julien@lepiller.eu> References: <20171119175805.902-1-julien@lepiller.eu> <20171119175805.902-15-julien@lepiller.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Julien Lepiller Cc: 29359@debbugs.gnu.org On Sun, 19 Nov 2017 18:57:49 +0100 Julien Lepiller wrote: > * gnu/packages/java.scm (java-apache-xml-commons-resolver): New > variable. > --- > gnu/packages/java.scm | 29 +++++++++++++++++++++++++++++ > 1 file changed, 29 insertions(+) >=20 > diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm > index f1a425418..886a71f23 100644 > --- a/gnu/packages/java.scm > +++ b/gnu/packages/java.scm > @@ -7963,3 +7963,32 @@ the Xerces-J XML parser and Xalan-J XSLT > processor and specifies these APIs: @item JSR 206 Java API for XML > Processing @end itemize") > (license license:asl2.0))) > + > +(define-public java-apache-xml-commons-resolver > + (package > + (name "java-apache-xml-commons-resolver") > + (version "1.2") > + (source > + (origin > + (method url-fetch) > + (uri (string-append "mirror://apache/xerces/xml-commons/" > + "xml-commons-resolver-" version > ".tar.gz")) > + (sha256 > + (base32 > "1zhy4anc3fg9f8y348bj88vmab15aavrg6nf419ifb25asyygnsm")) > + (modules '((guix build utils))) > + (snippet > + '(begin > + (for-each delete-file (find-files "." ".*\\.(jar|zip)")) > + #t)))) > + (build-system ant-build-system) > + (arguments > + `(#:jar-name (string-append "xml-resolver.jar") > + #:tests? #f)); no tests > + (native-inputs > + `(("java-junit" ,java-junit))) > + (home-page "http://xerces.apache.org/xml-commons/") > + (synopsis "Xml-related utilities and code") > + (description "Xml-commons mainly focuses on providing code and > services +to other xml.apache.org projects instead of shipping it's > own \"standalone\" +project.") > + (license license:asl2.0))) The package is good, except of: The synopsis/descriptions is for the general xml-commons project. For the specific resolver, I would suggest the text found here: https://xerces.apache.org/xml-commons/components/apidocs/resolver/index.html Synopsis: The Apache XML Commons Resolver classes implement Catalog-based entity and URI resolution. The Apache XML Commons Resolver classes implement Catalog-based entity and URI resolution.=20 Description: The resolver class implements the full semantics of OASIS Technical Resolution 9401:1997 (Amendment 2 to TR 9401) catalogs and the 06 Aug 2001 Committee Specification of OASIS XML Catalogs. It also includes a framework of classes designed to read catalog files in a number of formats: The plain-text flavor described by TR9401. The XCatalog XML format defined by John Cowan The XML Catalog format defined by the OASIS Entity Resolution Technical Committee.=20 Bj=C3=B6rn