batik-rasterizer-windows 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. data/.gitignore +2 -0
  2. data/README.rdoc +233 -0
  3. data/Rakefile +17 -0
  4. data/VERSION +1 -0
  5. data/lib/batik/rasterizer.rb +40 -0
  6. data/vendor/batik-1.7/LICENSE +201 -0
  7. data/vendor/batik-1.7/batik-rasterizer.jar +0 -0
  8. data/vendor/batik-1.7/batik.jar +0 -0
  9. data/vendor/batik-1.7/lib/LICENSE.dom-documentation.txt +86 -0
  10. data/vendor/batik-1.7/lib/LICENSE.dom-software.txt +74 -0
  11. data/vendor/batik-1.7/lib/LICENSE.js.txt +890 -0
  12. data/vendor/batik-1.7/lib/LICENSE.pdf-transcoder.txt +2 -0
  13. data/vendor/batik-1.7/lib/LICENSE.sax.txt +23 -0
  14. data/vendor/batik-1.7/lib/LICENSE.xalan-2.6.0.txt +2 -0
  15. data/vendor/batik-1.7/lib/LICENSE.xerces_2_5_0.txt +60 -0
  16. data/vendor/batik-1.7/lib/README.js.txt +23 -0
  17. data/vendor/batik-1.7/lib/README.pdf-transcoder.txt +8 -0
  18. data/vendor/batik-1.7/lib/README.xalan-2.6.0.txt +4 -0
  19. data/vendor/batik-1.7/lib/README.xerces_2_5_0.txt +4 -0
  20. data/vendor/batik-1.7/lib/README.xml-apis-ext.txt +19 -0
  21. data/vendor/batik-1.7/lib/README.xml-apis.txt +30 -0
  22. data/vendor/batik-1.7/lib/batik-anim.jar +0 -0
  23. data/vendor/batik-1.7/lib/batik-awt-util.jar +0 -0
  24. data/vendor/batik-1.7/lib/batik-bridge.jar +0 -0
  25. data/vendor/batik-1.7/lib/batik-codec.jar +0 -0
  26. data/vendor/batik-1.7/lib/batik-css.jar +0 -0
  27. data/vendor/batik-1.7/lib/batik-dom.jar +0 -0
  28. data/vendor/batik-1.7/lib/batik-ext.jar +0 -0
  29. data/vendor/batik-1.7/lib/batik-extension.jar +0 -0
  30. data/vendor/batik-1.7/lib/batik-gui-util.jar +0 -0
  31. data/vendor/batik-1.7/lib/batik-gvt.jar +0 -0
  32. data/vendor/batik-1.7/lib/batik-parser.jar +0 -0
  33. data/vendor/batik-1.7/lib/batik-script.jar +0 -0
  34. data/vendor/batik-1.7/lib/batik-svg-dom.jar +0 -0
  35. data/vendor/batik-1.7/lib/batik-svggen.jar +0 -0
  36. data/vendor/batik-1.7/lib/batik-swing.jar +0 -0
  37. data/vendor/batik-1.7/lib/batik-transcoder.jar +0 -0
  38. data/vendor/batik-1.7/lib/batik-util.jar +0 -0
  39. data/vendor/batik-1.7/lib/batik-xml.jar +0 -0
  40. data/vendor/batik-1.7/lib/js.jar +0 -0
  41. data/vendor/batik-1.7/lib/make-squiggle-app.sh +87 -0
  42. data/vendor/batik-1.7/lib/xml-apis-ext.jar +0 -0
  43. data/vendor/batik-1.7/lib/xml-apis.jar +0 -0
  44. metadata +109 -0
@@ -0,0 +1,2 @@
1
+ The pdf-transcoder.jar file is licensed under the Apache License 2.0, which
2
+ can be found in the distribution root directory in the LICENSE file.
@@ -0,0 +1,23 @@
1
+ xml-commons/java/external/LICENSE.sax.txt $Id: LICENSE.sax.txt 201084 2002-12-09 16:15:21Z vhardy $
2
+
3
+
4
+ This license came from: http://www.megginson.com/SAX/copying.html
5
+ However please note future versions of SAX may be covered
6
+ under http://saxproject.org/?selected=pd
7
+
8
+
9
+ This page is now out of date -- see the new SAX site at
10
+ http://www.saxproject.org/ for more up-to-date
11
+ releases and other information. Please change your bookmarks.
12
+
13
+
14
+ SAX2 is Free!
15
+
16
+ I hereby abandon any property rights to SAX 2.0 (the Simple API for
17
+ XML), and release all of the SAX 2.0 source code, compiled code, and
18
+ documentation contained in this distribution into the Public Domain.
19
+ SAX comes with NO WARRANTY or guarantee of fitness for any
20
+ purpose.
21
+
22
+ David Megginson, david@megginson.com
23
+ 2000-05-05
@@ -0,0 +1,2 @@
1
+ The xalan-2.6.0.jar file is licensed under the Apache License 2.0, which
2
+ can be found in the distribution root directory in the LICENSE file.
@@ -0,0 +1,60 @@
1
+ The xerces_2_5_0.jar file comes from the Apache Xerces project
2
+ (http://xmlapache.org/dist/xerces-j/), and is licensed under the
3
+ Apache Software License, Version 1.1, which is reproduced below.
4
+
5
+ /*
6
+ * The Apache Software License, Version 1.1
7
+ *
8
+ *
9
+ * Copyright (c) 1999-2002 The Apache Software Foundation. All rights
10
+ * reserved.
11
+ *
12
+ * Redistribution and use in source and binary forms, with or without
13
+ * modification, are permitted provided that the following conditions
14
+ * are met:
15
+ *
16
+ * 1. Redistributions of source code must retain the above copyright
17
+ * notice, this list of conditions and the following disclaimer.
18
+ *
19
+ * 2. Redistributions in binary form must reproduce the above copyright
20
+ * notice, this list of conditions and the following disclaimer in
21
+ * the documentation and/or other materials provided with the
22
+ * distribution.
23
+ *
24
+ * 3. The end-user documentation included with the redistribution,
25
+ * if any, must include the following acknowledgment:
26
+ * "This product includes software developed by the
27
+ * Apache Software Foundation (http://www.apache.org/)."
28
+ * Alternately, this acknowledgment may appear in the software itself,
29
+ * if and wherever such third-party acknowledgments normally appear.
30
+ *
31
+ * 4. The names "Xerces" and "Apache Software Foundation" must
32
+ * not be used to endorse or promote products derived from this
33
+ * software without prior written permission. For written
34
+ * permission, please contact apache@apache.org.
35
+ *
36
+ * 5. Products derived from this software may not be called "Apache",
37
+ * nor may "Apache" appear in their name, without prior written
38
+ * permission of the Apache Software Foundation.
39
+ *
40
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
41
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
42
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
43
+ * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
44
+ * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
45
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
46
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
47
+ * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
48
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
49
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
50
+ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
51
+ * SUCH DAMAGE.
52
+ * ====================================================================
53
+ *
54
+ * This software consists of voluntary contributions made by many
55
+ * individuals on behalf of the Apache Software Foundation and was
56
+ * originally based on software copyright (c) 1999, International
57
+ * Business Machines, Inc., http://www.ibm.com. For more
58
+ * information on the Apache Software Foundation, please see
59
+ * <http://www.apache.org/>.
60
+ */
@@ -0,0 +1,23 @@
1
+ This distribution includes a binary distribution of Mozilla Rhino 1.6 release 5
2
+ plus one patch.
3
+
4
+ You can get the unpatched 1.6R5 release of Rhino from the following URL:
5
+
6
+ ftp://ftp.mozilla.org/pub/mozilla.org/js/rhino1_6R5.zip
7
+
8
+ To obtain the source code for the 1.6R5 release of Rhino, issue the following
9
+ commands:
10
+
11
+ cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot \
12
+ co -D2006-11-20 mozilla/js/rhino
13
+
14
+ The patch is available here:
15
+
16
+ https://bugzilla.mozilla.org/attachment.cgi?id=288467
17
+
18
+ which is attached to this bug:
19
+
20
+ https://bugzilla.mozilla.org/show_bug.cgi?id=367627
21
+
22
+ Rhino is licensed under both the MPL (Mozilla Public License) 1.1 and the
23
+ GPL (GNU General Public License) 2.0, which are in the LICENSE.js.txt file.
@@ -0,0 +1,8 @@
1
+ The pdf-transcoder.jar file is built from the Apache FOP project
2
+ (http://xmlgraphics.apache.org/fop), version 0.94.
3
+
4
+ This is only needed if you want to transcode to PDF, otherwise it can
5
+ be removed.
6
+
7
+ The pdf-transcoder.jar file is licensed under the Apache License 2.0, which
8
+ can be found in the distribution root directory in the LICENSE file.
@@ -0,0 +1,4 @@
1
+ The xalan-2.6.0.jar file comes from the Apache Xalan project
2
+ (http://xml.apache.org/xalan-j/), and is licensed under the
3
+ Apache License 2.0, which can be found in the distribution root directory
4
+ in the LICENSE file.
@@ -0,0 +1,4 @@
1
+ The xerces_2_5_0.jar file comes from the Apache Xerces project
2
+ (http://xml.apache.org/dist/xerces-j/), and is licensed under the
3
+ Apache Software License, Version 1.1, which is in the
4
+ LICENSE.xerces_2_5_0.txt file.
@@ -0,0 +1,19 @@
1
+ This distribution includes xml-apis-ext.jar from the XML Commons External
2
+ 1.3.04 binary distribution, which can also be obtained from:
3
+
4
+ http://xml.apache.org/mirrors.cgi
5
+
6
+ Source code is available from the XML Commons web site:
7
+
8
+ http://xml.apache.org/commons/
9
+
10
+ xml-apis-ext.jar contains:
11
+
12
+ - SAC 1.3
13
+ - SMIL Java bindings
14
+ - SVG 1.1 Java bindings
15
+
16
+ SAC 1.3, the SMIL Java bindings and the SVG 1.1 Java bindings are licensed
17
+ under the W3C Software License. Related documentation is licensed under the
18
+ W3C Document License. See LICENSE.dom-software.txt and
19
+ LICENSE.dom-documentation.txt.
@@ -0,0 +1,30 @@
1
+ This distribution includes xml-apis.jar from the XML Commons External
2
+ 1.3.04 binary distribution, which can also be obtained from:
3
+
4
+ http://xml.apache.org/mirrors.cgi
5
+
6
+ Source code is available from the XML Commons web site:
7
+
8
+ http://xml.apache.org/commons/
9
+
10
+ xml-apis.jar contains:
11
+
12
+ - DOM Level 2 Events
13
+ - DOM Level 2 HTML
14
+ - DOM Level 2 Style
15
+ - DOM Level 2 Traversal and Range
16
+ - DOM Level 2 Views
17
+ - DOM Level 3 Core
18
+ - DOM Level 3 Load and Save
19
+ - DOM Level 3 XPath
20
+ - JAXP 1.3 (JSR 206)
21
+ - SAX
22
+
23
+ All DOM code is licensed under the W3C Software License, and DOM documentation
24
+ under the W3C Document License. See LICENSE.dom-software.txt and
25
+ LICENSE.dom-documentation.txt.
26
+
27
+ The JAXP 1.3 code is licensed under the Apache Software License 2.0, which is
28
+ in the LICENSE in the root directory of this distribution.
29
+
30
+ SAX is public domain. See LICENSE.sax.txt.
@@ -0,0 +1,87 @@
1
+ #!/bin/bash
2
+ # -----------------------------------------------------------------------------
3
+ #
4
+ # Licensed to the Apache Software Foundation (ASF) under one or more
5
+ # contributor license agreements. See the NOTICE file distributed with
6
+ # this work for additional information regarding copyright ownership.
7
+ # The ASF licenses this file to You under the Apache License, Version 2.0
8
+ # (the "License"); you may not use this file except in compliance with
9
+ # the License. You may obtain a copy of the License at
10
+ #
11
+ # http://www.apache.org/licenses/LICENSE-2.0
12
+ #
13
+ # Unless required by applicable law or agreed to in writing, software
14
+ # distributed under the License is distributed on an "AS IS" BASIS,
15
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ # See the License for the specific language governing permissions and
17
+ # limitations under the License.
18
+ #
19
+ # make-squiggle-app.sh
20
+ #
21
+ # Creates a Mac OS X application bundle for Squiggle, then opens a Finder
22
+ # window for the current directory so that the user can drag the icon
23
+ # into their desired installation location (probably /Applications).
24
+ #
25
+ # $Id$
26
+ # -----------------------------------------------------------------------------
27
+
28
+ trap 'echo Error creating application bundle.; exit 1' ERR
29
+
30
+ cd `dirname "$0"`/..
31
+
32
+ APP=Squiggle.app
33
+ CON=$APP/Contents
34
+ MAC=$CON/MacOS
35
+ RES=$CON/Resources
36
+
37
+ [ -e $APP ] && echo $APP already exists: please move it out of the way before running this script. && exit 1
38
+
39
+ echo Creating $APP in `pwd`...
40
+
41
+ mkdir $APP $CON $MAC $RES
42
+
43
+ cat >$CON/Info.plist <<EOF
44
+ <?xml version="1.0" encoding="UTF-8"?>
45
+ <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
46
+ <plist version="1.0">
47
+ <dict>
48
+ <key>CFBundleExecutable</key>
49
+ <string>Squiggle</string>
50
+ <key>CFBundleVersion</key>
51
+ <string>1.7+r608262</string>
52
+ <key>CFBundleShortVersionString</key>
53
+ <string>1.7+r608262</string>
54
+ <key>CFBundleIconFile</key>
55
+ <string>Squiggle.icns</string>
56
+ <key>CFBundleIdentifier</key>
57
+ <string>org.apache.batik</string>
58
+ <key>CFBundleInfoDictionaryVersion</key>
59
+ <string>6.0</string>
60
+ <key>CFBundleName</key>
61
+ <string>Squiggle</string>
62
+ <key>CFBundlePackageType</key>
63
+ <string>APPL</string>
64
+ <key>CFBundleSignature</key>
65
+ <string>????</string>
66
+ <key>NSHumanReadableCopyright</key>
67
+ <string>Copyright © 2008 Apache Software Foundation. All Rights Reserved.</string>
68
+ </dict>
69
+ </plist>
70
+ EOF
71
+
72
+ cat >$MAC/Squiggle <<EOF
73
+ #!/bin/sh
74
+
75
+ JAVA=/usr/bin/java
76
+ [ -e "$JAVA_HOME/bin/java" ] && JAVA="$JAVA_HOME/bin/java"
77
+
78
+ "$JAVA" -Dcom.apple.mrj.application.apple.menu.about.name=Squiggle -jar "\`dirname \$0\`/../Resources/batik-squiggle.jar"
79
+ EOF
80
+ chmod a+x $MAC/Squiggle
81
+
82
+ cp -r *.jar lib extensions $RES/
83
+ mv $RES/lib/Squiggle.icns $RES/
84
+
85
+ echo Done.
86
+
87
+ open .
metadata ADDED
@@ -0,0 +1,109 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: batik-rasterizer-windows
3
+ version: !ruby/object:Gem::Version
4
+ hash: 27
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 1
9
+ - 0
10
+ version: 0.1.0
11
+ platform: ruby
12
+ authors:
13
+ - Periyasamy
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2012-08-24 00:00:00 +05:30
19
+ default_executable:
20
+ dependencies: []
21
+
22
+ description: Exposes API to use the Batik Rasterizer from Ruby
23
+ email: periyasamy.r@gmail.com
24
+ executables: []
25
+
26
+ extensions: []
27
+
28
+ extra_rdoc_files:
29
+ - README.rdoc
30
+ files:
31
+ - .gitignore
32
+ - README.rdoc
33
+ - Rakefile
34
+ - VERSION
35
+ - lib/batik/rasterizer.rb
36
+ - vendor/batik-1.7/LICENSE
37
+ - vendor/batik-1.7/batik-rasterizer.jar
38
+ - vendor/batik-1.7/batik.jar
39
+ - vendor/batik-1.7/lib/LICENSE.dom-documentation.txt
40
+ - vendor/batik-1.7/lib/LICENSE.dom-software.txt
41
+ - vendor/batik-1.7/lib/LICENSE.js.txt
42
+ - vendor/batik-1.7/lib/LICENSE.pdf-transcoder.txt
43
+ - vendor/batik-1.7/lib/LICENSE.sax.txt
44
+ - vendor/batik-1.7/lib/LICENSE.xalan-2.6.0.txt
45
+ - vendor/batik-1.7/lib/LICENSE.xerces_2_5_0.txt
46
+ - vendor/batik-1.7/lib/README.js.txt
47
+ - vendor/batik-1.7/lib/README.pdf-transcoder.txt
48
+ - vendor/batik-1.7/lib/README.xalan-2.6.0.txt
49
+ - vendor/batik-1.7/lib/README.xerces_2_5_0.txt
50
+ - vendor/batik-1.7/lib/README.xml-apis-ext.txt
51
+ - vendor/batik-1.7/lib/README.xml-apis.txt
52
+ - vendor/batik-1.7/lib/batik-anim.jar
53
+ - vendor/batik-1.7/lib/batik-awt-util.jar
54
+ - vendor/batik-1.7/lib/batik-bridge.jar
55
+ - vendor/batik-1.7/lib/batik-codec.jar
56
+ - vendor/batik-1.7/lib/batik-css.jar
57
+ - vendor/batik-1.7/lib/batik-dom.jar
58
+ - vendor/batik-1.7/lib/batik-ext.jar
59
+ - vendor/batik-1.7/lib/batik-extension.jar
60
+ - vendor/batik-1.7/lib/batik-gui-util.jar
61
+ - vendor/batik-1.7/lib/batik-gvt.jar
62
+ - vendor/batik-1.7/lib/batik-parser.jar
63
+ - vendor/batik-1.7/lib/batik-script.jar
64
+ - vendor/batik-1.7/lib/batik-svg-dom.jar
65
+ - vendor/batik-1.7/lib/batik-svggen.jar
66
+ - vendor/batik-1.7/lib/batik-swing.jar
67
+ - vendor/batik-1.7/lib/batik-transcoder.jar
68
+ - vendor/batik-1.7/lib/batik-util.jar
69
+ - vendor/batik-1.7/lib/batik-xml.jar
70
+ - vendor/batik-1.7/lib/js.jar
71
+ - vendor/batik-1.7/lib/make-squiggle-app.sh
72
+ - vendor/batik-1.7/lib/xml-apis-ext.jar
73
+ - vendor/batik-1.7/lib/xml-apis.jar
74
+ has_rdoc: true
75
+ homepage:
76
+ licenses: []
77
+
78
+ post_install_message:
79
+ rdoc_options:
80
+ - --charset=UTF-8
81
+ require_paths:
82
+ - lib
83
+ required_ruby_version: !ruby/object:Gem::Requirement
84
+ none: false
85
+ requirements:
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ hash: 3
89
+ segments:
90
+ - 0
91
+ version: "0"
92
+ required_rubygems_version: !ruby/object:Gem::Requirement
93
+ none: false
94
+ requirements:
95
+ - - ">="
96
+ - !ruby/object:Gem::Version
97
+ hash: 3
98
+ segments:
99
+ - 0
100
+ version: "0"
101
+ requirements: []
102
+
103
+ rubyforge_project:
104
+ rubygems_version: 1.3.7
105
+ signing_key:
106
+ specification_version: 3
107
+ summary: Rasterize SVG files using Batik
108
+ test_files: []
109
+