summaryrefslogtreecommitdiff
path: root/libre/ditaa/ditaa-fix_imports.patch
blob: 6c868103c6d601809ac53781c367b61c8601af37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
--- ditaa.orig/src/org/stathissideris/ascii2image/graphics/ImageHandler.java	2016-12-04 23:55:12.419269000 -0500
+++ ditaa/src/org/stathissideris/ascii2image/graphics/ImageHandler.java	2016-12-04 23:58:20.550824890 -0500
@@ -42,10 +42,10 @@
 import org.apache.batik.bridge.BridgeContext;
 import org.apache.batik.bridge.GVTBuilder;
 import org.apache.batik.bridge.UserAgentAdapter;
-import org.apache.batik.dom.svg.SAXSVGDocumentFactory;
+import org.apache.batik.anim.dom.SAXSVGDocumentFactory;
 import org.apache.batik.dom.util.DocumentFactory;
-import org.apache.batik.ext.awt.image.codec.PNGEncodeParam;
-import org.apache.batik.ext.awt.image.codec.PNGImageEncoder;
+import org.apache.batik.ext.awt.image.codec.png.PNGEncodeParam;
+import org.apache.batik.ext.awt.image.codec.png.PNGImageEncoder;
 import org.apache.batik.gvt.GraphicsNode;
 import org.apache.batik.gvt.renderer.ConcreteImageRendererFactory;
 import org.apache.batik.gvt.renderer.ImageRenderer;
--- ditaa.orig/src/org/stathissideris/ascii2image/graphics/OffScreenSVGRenderer.java	2016-12-04 23:55:12.419269000 -0500
+++ ditaa/src/org/stathissideris/ascii2image/graphics/OffScreenSVGRenderer.java	2016-12-04 23:58:59.452412093 -0500
@@ -29,7 +29,7 @@
 import org.apache.batik.bridge.BridgeContext;
 import org.apache.batik.bridge.GVTBuilder;
 import org.apache.batik.bridge.UserAgentAdapter;
-import org.apache.batik.dom.svg.SAXSVGDocumentFactory;
+import org.apache.batik.anim.dom.SAXSVGDocumentFactory;
 import org.apache.batik.gvt.GraphicsNode;
 import org.apache.batik.gvt.renderer.ConcreteImageRendererFactory;
 import org.apache.batik.gvt.renderer.ImageRenderer;