From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58381) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g8SNq-0000yA-V6 for guix-patches@gnu.org; Fri, 05 Oct 2018 11:51:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g8SNi-00087S-Q7 for guix-patches@gnu.org; Fri, 05 Oct 2018 11:51:14 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:33857) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g8SNh-00085e-Sg for guix-patches@gnu.org; Fri, 05 Oct 2018 11:51:10 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g8SNh-0001dZ-PV for guix-patches@gnu.org; Fri, 05 Oct 2018 11:51:09 -0400 Subject: [bug#32948] [PATCH 17/21] gnu: Add java-batik-script. Resent-Message-ID: From: Danny Milosavljevic Date: Fri, 5 Oct 2018 17:50:18 +0200 Message-Id: <20181005155020.10239-17-dannym@scratchpost.org> In-Reply-To: <20181005155020.10239-1-dannym@scratchpost.org> References: <20181005154453.10159-1-dannym@scratchpost.org> <20181005155020.10239-1-dannym@scratchpost.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: 32948@debbugs.gnu.org * gnu/packages/batik.scm (java-batik-script): New variable. --- gnu/packages/batik.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/batik.scm b/gnu/packages/batik.scm index 65d813e98..71417ec50 100644 --- a/gnu/packages/batik.scm +++ b/gnu/packages/batik.scm @@ -367,3 +367,28 @@ from @code{batik}).") `(("java-batik-awt-util" ,java-batik-awt-util) ("java-batik-constants" ,java-batik-constants) ("java-batik-util" ,java-batik-util)))) + +(define-public java-batik-script + (let ((base-package + (java-batik-package "batik-script" + `(("java-batik-anim" ,java-batik-anim) + ("java-batik-constants" ,java-batik-constants) + ("java-batik-css" ,java-batik-css) + ("java-batik-dom" ,java-batik-dom) + ("java-batik-i18n" ,java-batik-i18n) + ("java-batik-svg-dom" ,java-batik-svg-dom) + ("java-batik-util" ,java-batik-util) + ("java-w3c-svg" ,java-w3c-svg-1.0))))) + (package + (inherit base-package) + (arguments + (substitute-keyword-arguments (package-arguments base-package) + ((#:phases phases) + `(modify-phases ,phases + (add-after 'unpack 'remove-unsupported-features + (lambda _ + ;; TODO: Implement those. + (delete-file-recursively "batik-script/src/main/java/org/apache/batik/script/jacl") + (delete-file-recursively "batik-script/src/main/java/org/apache/batik/script/jpython") + (delete-file-recursively "batik-script/src/main/java/org/apache/batik/script/rhino") + #t)))))))))