From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58380) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g8SNq-0000y9-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-00087d-QW for guix-patches@gnu.org; Fri, 05 Oct 2018 11:51:14 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:33858) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g8SNi-00085t-CH 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 1g8SNi-0001dg-9O for guix-patches@gnu.org; Fri, 05 Oct 2018 11:51:10 -0400 Subject: [bug#32948] [PATCH 18/21] gnu: Add java-batik-bridge. Resent-Message-ID: From: Danny Milosavljevic Date: Fri, 5 Oct 2018 17:50:19 +0200 Message-Id: <20181005155020.10239-18-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-bridge): New variable. --- gnu/packages/batik.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/batik.scm b/gnu/packages/batik.scm index 71417ec50..e61d9bb67 100644 --- a/gnu/packages/batik.scm +++ b/gnu/packages/batik.scm @@ -392,3 +392,41 @@ from @code{batik}).") (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))))))))) + +(define-public java-batik-bridge + (let ((base-package + (java-batik-package "batik-bridge" + `(("java-batik-anim" ,java-batik-anim) + ("java-batik-awt-util" ,java-batik-awt-util) + ("java-batik-constants" ,java-batik-constants) + ("java-batik-css" ,java-batik-css) + ("java-batik-dom" ,java-batik-dom) + ("java-batik-ext" ,java-batik-ext) + ("java-batik-gvt" ,java-batik-gvt) + ("java-batik-i18n" ,java-batik-i18n) + ("java-batik-parser" ,java-batik-parser) + ("java-batik-script" ,java-batik-script) + ("java-batik-svg-dom" ,java-batik-svg-dom) + ("java-batik-util" ,java-batik-util) + ("java-batik-xml" ,java-batik-xml) + ("java-w3c-smil" ,java-w3c-smil-3.0) + ("java-w3c-svg" ,java-w3c-svg-1.0) + ("java-xalan" ,java-xalan) + ("java-xmlgraphics-commons" ,java-xmlgraphics-commons))))) + (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 "batik-bridge/src/main/java/org/apache/batik/bridge/RhinoInterpreter.java") + (delete-file "batik-bridge/src/main/java/org/apache/batik/bridge/BatikWrapFactory.java") + (delete-file "batik-bridge/src/main/java/org/apache/batik/bridge/EventTargetWrapper.java") + (delete-file "batik-bridge/src/main/java/org/apache/batik/bridge/WindowWrapper.java") + (delete-file "batik-bridge/src/main/java/org/apache/batik/bridge/GlobalWrapper.java") + (delete-file "batik-bridge/src/main/java/org/apache/batik/bridge/SVG12RhinoInterpreter.java") + (delete-file "batik-bridge/src/main/java/org/apache/batik/bridge/RhinoInterpreterFactory.java") + #t)))))))))