From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60373) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dQuzu-0006FK-JF for guix-patches@gnu.org; Fri, 30 Jun 2017 08:26:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dQuzq-0001XW-Jj for guix-patches@gnu.org; Fri, 30 Jun 2017 08:26:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:42908) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dQuzq-0001X3-FK for guix-patches@gnu.org; Fri, 30 Jun 2017 08:26:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dQuzq-0007ge-2w for guix-patches@gnu.org; Fri, 30 Jun 2017 08:26:02 -0400 Subject: [bug#27537] [PATCH 1/6] gnu: Add java-classpathx-servletapi References: <20170630120402.27877-1-rekado@elephly.net> In-Reply-To: <20170630120402.27877-1-rekado@elephly.net> Resent-Message-ID: From: Ricardo Wurmus Date: Fri, 30 Jun 2017 14:25:18 +0200 Message-Id: <20170630122523.30510-1-rekado@elephly.net> 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: 27537@debbugs.gnu.org Cc: Ricardo Wurmus * gnu/packages/java.scm (java-classpathx-servletapi): New variable. --- gnu/packages/java.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index e074dab46..572a22767 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -1868,6 +1868,41 @@ designs.") license:asl2.0 license:cpl1.0))))) +(define-public java-classpathx-servletapi + (package + (name "java-classpathx-servletapi") + (version "3.0") + (source (origin + (method url-fetch) + (uri (string-append "mirror://gnu/classpathx/servletapi/" + "servletapi-" version ".tar.gz")) + (sha256 + (base32 + "0y9489pk4as9q6x300sk3ycc0psqfxcd4b0xvbmf3rhgli8q1kx3")))) + (build-system ant-build-system) + (arguments + `(#:tests? #f ; there is no test target + #:build-target "compile" + ;; NOTE: This package does not build with Java 8 because of a type + ;; mismatch in + ;; "source/javax/servlet/jsp/el/ImplicitObjectELResolver.java". It + ;; defines the return value of ScopeMap's "remove" method to be of type + ;; "Object", whereas Map's "remove" method returns boolean. + #:make-flags + (list "-Dbuild.compiler=javac1.7" + (string-append "-Ddist=" (assoc-ref %outputs "out"))) + #:phases + (modify-phases %standard-phases + (replace 'install + (lambda* (#:key make-flags #:allow-other-keys) + (zero? (apply system* `("ant" "dist" ,@make-flags)))))))) + (home-page "https://www.gnu.org/software/classpathx/") + (synopsis "Java servlet API implementation") + (description "This is the GNU servlet API distribution, part of the +ClasspathX project. It provides implementations of version 3.0 of the servlet +API and version 2.1 of the Java ServerPages API.") + (license license:gpl3+))) + (define-public java-swt (package (name "java-swt") -- 2.12.2