debian/0000775000000000000000000000000011756730652007204 5ustar debian/rules0000775000000000000000000000355211754754421010267 0ustar #!/usr/bin/make -f # debian/rules for batik (uses CDBS) # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 export JITC_PROCESSOR_TYPE=6 include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/ant.mk export VERSION = $(shell echo $(DEB_UPSTREAM_VERSION) | sed s/\.ubuntu//) arch = $(shell dpkg-architecture -qDEB_HOST_ARCH) JAVA_HOME_DIRS := /usr/lib/jvm/java-7-openjdk-$(arch) \ /usr/lib/jvm/java-6-openjdk-$(arch) /usr/lib/jvm/java-6-openjdk \ /usr/lib/jvm/java-1.5.0-sun /usr/lib/jvm/java-6-sun ANT_HOME := /usr/share/ant DEB_JARS := $(ANT_HOME)/lib/ant-launcher.jar bfs \ gnujaxp js xalan2 xml-apis-ext DEB_ANT_COMPILER := modern DEB_ANT_BUILD_TARGET := all-jar libs-jar ext-jar transcoder-jar DEB_BUILDDIR := . DEB_ANT_BUILDFILE := build.xml DEB_ANT_CLEAN_TARGET := clean # Increasing memory of the compiler ANT_OPTS := -Xms256m -Xmx256m LIBRARY=batik LIB_NAMES = all libs install/libbatik-java:: # Install poms ant maven-artifacts for jar in batik-$(VERSION)/maven/*/$(VERSION)/*.jar; do \ pom=$$(dirname $$jar)/$$(basename $$jar .jar).pom; \ mh_installpom -v -plibbatik-java $$pom; \ mh_installjar -plibbatik-java -l $$pom $$jar; \ done # Install batik-all.jar and batik-libs.jar for name in $(LIB_NAMES); do \ install -m 644 batik-$(VERSION)/lib/batik-$$name.jar debian/libbatik-java/usr/share/java/batik-$$name-$(VERSION).jar; \ ln -s batik-$$name-$(VERSION).jar debian/libbatik-java/usr/share/java/batik-$$name.jar; \ done ln -s batik-all-$(VERSION).jar debian/libbatik-java/usr/share/java/batik-$(VERSION).jar; \ ln -s batik-all-$(VERSION).jar debian/libbatik-java/usr/share/java/batik.jar; \ # Install wrapper scripts install -d debian/libbatik-java/usr/bin for prog in debian/wrappers/* ; do \ install -t debian/libbatik-java/usr/bin/ $$prog ; \ done debian/NEWS0000664000000000000000000000051011754754142007675 0ustar batik (1.6-4) unstable; urgency=low rasterizer now launches by default with -scriptSecurityOff, as it fails to run most of the times if that is not the case. Beware when running rasterizer over untrusted sources. See rasterizer(1) for details -- Vincent Fourmond Wed, 02 Jan 2008 21:43:47 +0100 debian/control0000664000000000000000000000355111754755304010612 0ustar Source: batik Section: java Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian Java Maintainers Uploaders: Wolfgang Baer , Michael Koch , Vincent Fourmond , Onkar Shinde Standards-Version: 3.9.2 Build-Depends: debhelper (>= 5.0), cdbs Build-Depends-Indep: default-jdk, ant, libbsf-java, libxalan2-java, rhino, libavalon-framework-java (>= 4.2.0), libcommons-io-java, libcommons-logging-java, libxml-commons-external-java, maven-repo-helper Homepage: http://xml.apache.org/batik/ XS-Debian-Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/batik XS-Debian-Vcs-Browser: http://svn.debian.org/viewsvn/pkg-java/trunk/batik Package: libbatik-java Architecture: all Depends: default-jre-headless | java2-runtime-headless, libxalan2-java, libbsf-java, libavalon-framework-java (>= 4.2.0), libcommons-io-java, libcommons-logging-java, java-wrappers (>= 0.1.12), libxml-commons-external-java, ${misc:Depends} Recommends: fop (>= 1:0.94), rhino, default-jre | java2-runtime Description: xml.apache.org SVG Library Batik is a toolkit for applications or applets that want to use images in the Scalable Vector Graphics (SVG) format for various purposes, such as viewing, generation or manipulation. . Batik provides several modules to be used in applications: * A SVG generator module, usable to export graphics into the SVG format. * A SVG processor and SVG Viewing component for integrating SVG viewing. * A module to convert SVG to various formats, such as raster images (JPEG, PNG or Tiff) and PS, PDF. . fop is necessary for PDF output of rasterizer. . rhino is necessary for using the SVG browser, squiggle. . For detailed information, go to http://xml.apache.org/batik/ debian/wrappers/0000775000000000000000000000000011756730652011047 5ustar debian/wrappers/ttf2svg0000775000000000000000000000027711754754142012400 0ustar #!/bin/sh # Include the wrappers utility script . /usr/lib/java-wrappers/java-wrappers.sh find_java_runtime find_jars xercesImpl batik-all run_java org.apache.batik.apps.ttf2svg.Main "$@" debian/wrappers/rasterizer0000775000000000000000000000116411754754142013167 0ustar #!/bin/sh # Include the wrappers utility script . /usr/lib/java-wrappers/java-wrappers.sh # We need sun runtime. find_java_runtime openjdk sun find_jars xercesImpl batik-all find_jars xml-apis-ext batik-transcoder # fop-transcoder.jar # We need FOP for PDF output if locate_jar fop; then find_jars fop xmlgraphics-commons fi find_jars avalon-framework commons-logging commons-io # We see if there is a -scriptSecurityOn in the commandline if [ "$1" != -scriptSecurityOn ]; then extra_args="-scriptSecurityOff" else shift extra_args="" fi run_java org.apache.batik.apps.rasterizer.Main $extra_args "$@" debian/wrappers/svgpp0000775000000000000000000000027511754754142012136 0ustar #!/bin/sh # Include the wrappers utility script . /usr/lib/java-wrappers/java-wrappers.sh find_java_runtime find_jars xercesImpl batik-all run_java org.apache.batik.apps.svgpp.Main "$@" debian/wrappers/squiggle0000775000000000000000000000033011754754142012607 0ustar #!/bin/sh # Include the wrappers utility script . /usr/lib/java-wrappers/java-wrappers.sh find_java_runtime java6 find_jars xercesImpl batik-all xml-apis-ext js run_java org.apache.batik.apps.svgbrowser.Main "$@" debian/copyright0000664000000000000000000000220711754754142011136 0ustar Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196 Upstream-Source: http://xml.apache.org/batik Upstream-Name: batik Upstream-Maintainer: Apache Software Foundation This package was debianized by Jeff Bailey on Tue, 11 Jun 2002 10:52:34 -0400. Files: * Copyright: Apache Foundation License: Apache-2.0 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. The full text of the Apache License version 2.0 can be found at /usr/share/common-licenses/Apache-2.0 on debian systems. Files: debian/* Copyright: 2002-2009 Debian Java Maintainers License: Apache-2.0 debian/libbatik-java.README.Debian0000664000000000000000000000061411754754142013743 0ustar batik for Debian ---------------- Batik in Debian consists of the following jar files in /usr/share/java: batik.jar (full batik library - link to batik-all.jar) batik-all.jar (full batik library) batik-ext.jar (batik dom and sax bindings) batik-libs.jar (batik without dom and sax bindings) fop-transcoder.jar (the ps/pdf transcoder for batik from the fop project) debian/libbatik-java.dirs0000664000000000000000000000001711754754142012563 0ustar usr/share/java debian/watch0000664000000000000000000000016711754754142010237 0ustar version=3 http://archive.apache.org/dist/xmlgraphics/batik/ batik-src-([0123456789.]*).zip debian debian/new-upstream debian/changelog0000664000000000000000000002474211756727772011100 0ustar batik (1.7.ubuntu-8ubuntu2) quantal; urgency=low * Switch package to use default-jdk instead of openjdk-6: - d/control: Updated BDI's to use default-jdk instead of openjdk-6. - d/control: Updated to use default-jre-headless as runtime. -- James Page Wed, 16 May 2012 17:50:14 +0100 batik (1.7.ubuntu-8ubuntu1) precise; urgency=low * Merge from Debian testing (LP: #946158), remaining changes: + fix upstream version since we're stuck with this fake upstream version until the next upstream release - update debian/rules * Drop debian/patches/series diff as Debian now has their own version which works fine * Mark Vcs-* as XS-Debian-Vcs-* - update debian/control -- Micah Gersten Sun, 04 Mar 2012 02:36:50 -0600 batik (1.7-8) unstable; urgency=low * Fix FTBS with recent openjdk (closes: #643508) * Bump to newer standards version, no changes required -- Vincent Fourmond Thu, 29 Sep 2011 21:35:31 +0200 batik (1.7-7) unstable; urgency=low * Re-enable all patches that had mistakenly been disabled by switching to source format 3.0 (quilt) (closes: #604871) * Already conforms to standards 3.9.1 -- Vincent Fourmond Thu, 25 Nov 2010 16:24:33 +0100 batik (1.7.ubuntu-6ubuntu1) natty; urgency=low * Fakesync from Debian unstable. (LP: #681078) * Add a debian/patches/series file so patches are applied (also reported in Debian #604871, however since we can't currently sync their version we should fix it in Ubuntu too). * Debian changes from 1.7-5 to 1.7-6 are: [ Vincent Fourmond ] * Really fix the dependency on java runtime to only pull headless runtimes [ Gabriele Giacone ] * Added Maven support * Standards-Version to 3.8.4 * Source format 3.0 (quilt) * Debian changes from 1.7-4 to 1.7-5 are: [ Vincent Fourmond ] * Dropped the dependency on openjdk-6-jre, in profit for openjdk-6-jre-headless, so we won't pull the whole Gtk libraries just for using fop (closes: #551545). * Already conforms to standards 3.8.3 * Removing Arnaud Vandyck from Uploaders as he did retire. Many thanks for your work on batik ! -- Andrew Ross Wed, 24 Nov 2010 21:37:30 +0000 batik (1.7.ubuntu-4ubuntu1) karmic; urgency=low * Fakesync from Debian unstable. Version number bumped because the previous Ubuntu version 1.7.dfsg is greater than 1.7. * debian/rules: - Added a VERSION variable to strip .ubuntu from DEB_UPSTREAM_VERSION, to ensure correct version (1.7) in jar names. -- Maia Kozheva Thu, 07 May 2009 20:42:20 +0700 batik (1.7-4) unstable; urgency=low * Porting fixes from Ubuntu (1.7.dfsg-0ubuntu3) by Onkar Shinde : - add xml-apis-ext and js to classpath for debian/wrappers/squiggle - promote rhino to a Recommends, as squiggle depends on it - debian/patches/06_fix_paths_in_policy_files.patch to fix the paths of the security policy files * This finally makes squiggle work for Debian ! (closes: #499852) Many thanks again to Onkar... -- Vincent Fourmond Mon, 20 Apr 2009 21:22:26 +0200 batik (1.7-3) unstable; urgency=low [ Onkar Shinde ] * debian/rules - Use DEB_UPSTREAM_VERSION at all places. - Add symlinks batik-.jar and batik.jar pointing to batik-all-.jar. (Closes: #522340) * debian/control - Add myself to 'Uploaders'. [ Vincent Fourmond ] * Changed section to java, what currently is in the archive * Already conforms to standard 3.8.1 * Bumped debhelper compatibility level to 5, and bumped Build-depends accordingly -- Vincent Fourmond Mon, 13 Apr 2009 20:42:00 +0200 batik (1.7-2) unstable; urgency=low * Adding xmlgraphics-commons-1.2 and xml-apis-ext to the jars for the build + corresponding build-deps * Added Vcs-* fields [ Sylvestre Ledru ] * Build class version 49 (instead of 50) [ Vincent Fourmond ] * Minor updates to the debian/copyright file * It seems time has come for an upload to unstable... * Adding ${misc:Depends} for potential debhelper-induced dependencies * Tweaking rasterizer.1 to avoid unbreakable lines -- Vincent Fourmond Wed, 18 Feb 2009 22:58:36 +0100 batik (1.7-1) experimental; urgency=low * New upstream release (Closes: #417888, #490556) * Switched to using java-wrappers for executables; dropping the /usr/lib/java/wrappers.sh script * Switched debian/copyright to a machine-readable format * Added ANT_OPTS to fix the compiler out of memory problem * Removing 02_fix_jar_target, no longer applicable * Removing 01_build_xml, as the created target (pdf-transcoder) cannot be built anymore * Fixed JAVA_HOME_DIRS so it can build with Sun's java 5 * Strip the full text of the Apache-2.0 license, as it now is in the common licenses * Switch to openjdk-6-jdk for building (closes: #397562) * Several tweaks in debian/rules to build and install all the jars, based on a patch by Sylvestre Ledru * Now depends also on libxml-commons-external-java for SVG parsing * Conforms to standards 3.8.0 * Updated rasterizer.sh to work with libxml-commons-external-java and openjdk (closes: #490621) * Move wrapper scripts to debian/wrappers, updating debian/rules accordingly * Recommend fop for PDF output of rasterizer * Removed README.Debian-source: we don't add the fop sources anymore as those are already packaged in the fop debian package * Uploading to experimental, as there are potentially much too many disruptive changes to this package. -- Vincent Fourmond Wed, 17 Sep 2008 20:14:33 +0200 batik (1.6-4) unstable; urgency=low [ Mark Howard ] * debian/watch: added. [ Vincent Fourmond ] * Created a /usr/lib/java/wrappers.sh for the various programs provided by libbatik-java, to make them work in more various environments. * Manual pages for svgpp, rasterizer, squiggle and ttf2svg (Closes: #458021) * rasterizer now launches by default with -scriptSecurityOff so it works again (Closes: #413103). Added an option to turn security back on. * Comply with policy 3.7.3 * Changed build-deps to sun-j2sdk1.4, to reflect the current make-jpkg output. -- Vincent Fourmond Thu, 03 Jan 2008 01:20:15 +0100 batik (1.6-3) unstable; urgency=low * Add wrapper scripts (rasterizer.sh squiggle.sh svgpp.sh ttf2svg.sh) to start batik applications. Install them without the .sh prefix in /usr/bin/. (Closes: #152180) * Removed build dependency on libgnujaxp-java (Closes: #385293). * Build-Depends on debhelper and cdbs (instead of Build-Depends-Indep). * Build-Depends-Indep on java-gcj-compat-dev. * Updated Standards-Version to 3.7.2. * Added myself to Uploaders. -- Michael Koch Mon, 18 Sep 2006 21:11:49 +0000 batik (1.6-2) unstable; urgency=low * Re-Introduce lost link batik.jar and add 02_fix_jar_target.patch to fix library content (closes: #334878) * Thighten depends on avalon-framework (closes: #335883) * Corrected README.Debian -- Wolfgang Baer Thu, 20 Oct 2005 17:17:28 +0200 batik (1.6-1) unstable; urgency=low * New upstream release + Updated copyright to Apache 2.0 License * libant1.6-java to ant transition * Use JAVA_HOME dirs as generated by java-package (closes: #306639) * Include, build and ship the pdf-transcoder from fop CVS (closes: #327354) + See README.Debian-source for details about the transcoder source + Added build-deps and depends on libavalon-framework-java, libcommons-io-java and libcommons-logging-java for the pdf-transcoder + Patched build.xml to call the pdf-transcoder build target * Removed Ola and Stephan from uploaders * Extended description a little bit * Standards-Version 3.6.2 (no changes) -- Wolfgang Baer Mon, 3 Oct 2005 19:29:22 +0200 batik (1.5.1-1) unstable; urgency=low * New upstream release - security fix [CAN-2005-0508] (closes: #288009) * Added rhino as build dependency * Added rhino to Suggests * Switched to jdk modern compiler because jikes fails * Updated README.Debian explaining why built with non-free jdk * Updated standards version to 3.6.1 - no changes * avdyk: I added Wolfgang to the uploaders -- Wolfgang Baer Sun, 6 Mar 2005 20:30:08 +0100 batik (1.5final-3) unstable; urgency=low * expand SVG in description (closes: #173105). -- Arnaud Vandyck Thu, 12 Feb 2004 16:30:26 +0100 batik (1.5final-2) unstable; urgency=low * added the dependency and the path to j2sdk1.3 to build batik (closes: #192539). You got to know that I have not been able to build batik with j2sdk1.3. I've been obliged to build it with IBMJDK1.4.1. * added gnujaxp as a dependency and in the classpath (closes: #192542) -- Arnaud Vandyck Thu, 12 Feb 2004 14:54:05 +0100 batik (1.5final-1) unstable; urgency=low * New upstream release * Build system is now CDBS * Added build-dependencies libxalan2-java and libbsf-java * Changed Stefan Gybas email * j2sdk to build and j2re to run because of swing * Debian Java Maintainers is now the new maintainer, added Ola Lundqvist , Takashi Okamoto , Stefan Gybas , Arnaud Vandyck as uploaders -- Arnaud Vandyck Sat, 25 Oct 2003 15:14:49 +0200 batik (1.5beta2-4) unstable; urgency=low * Renamed the batik jar file, closes: #171327. -- Ola Lundqvist Mon, 2 Dec 2002 08:51:17 +0100 batik (1.5beta2-3) unstable; urgency=low * Jars in /usr/share/java not in /usr/share/java/lib, closes: #170791. -- Ola Lundqvist Wed, 27 Nov 2002 09:00:31 +0100 batik (1.5beta2-2) unstable; urgency=low * New maintainer. * Fixed dependencies, closes: #158221. * Fixed build problem. * Added two other people as co-maintainers. * Fixed so that building wont take that long time if -nc option is used. * Now can use kaffe instead of j2sdk. Workaround for a bug in kaffe. On the other hand it seems not like the classic compiler so I still have to set that damn JAVA_HOME to the j2sdk... -- Ola Lundqvist Thu, 21 Nov 2002 08:24:39 +0100 batik (1.5beta2-1) unstable; urgency=low * Initial Upload (Closes: #149676) -- Jeff Bailey Tue, 11 Jun 2002 10:52:34 -0400 debian/manpages/0000775000000000000000000000000011756730652010777 5ustar debian/manpages/ttf2svg.10000664000000000000000000000334211754754142012460 0ustar .\" Man page for svgpp, based on the output of help2man .\" .\" Copyright 2007 by Vincent Fourmond .\" .\" You may distribute, copy and modify this manual page under the same .\" terms as batik itself. .\" .TH TTF2SVG "1" "January 2008" "Font converter for SVG" "User Commands" .SH NAME svgpp \- font converter for SVG .SH .B ttf2svg .I [-l ] [-h ] [-autorange] [-ascii] [-id ] [-o ] [-testcard] .SH DESCRIPTION Converts a true type font into a SVG font. .I is the path of the font file to convert. .SH OPTIONS .TP .BI -l \ range-begin \ -h \ range-end specifies the range of characters (by codepoint, in decimal) to be converted, .TP .B -ascii forces usage of the ASCII character map in the font, instead of the Unicode character map, .TP .BI -id \ id specifies the value for the id attribute of the generated font element, .TP .BI -o \ output-path specifies the pathname of the output SVG document containing the generated SVG font .TP .B -testcard specifies that a sequence of SVG text elements should be appended to the output SVG file to test the characters in the SVG font, providing an easy way to validate that generated SVG font visually. .SH JAVA-WRAPPERS NOTE This program is a shell script wrapper based on .BR java-wrappers (7). You therefore benefit from several features; please see the .BR java-wrappers (7) manual page for more information about them. .SH AUTHORS .B ttf2svg is part of .BR batik , written by the Apache Software Foundation. This manual page was written by Vincent Fourmond for the Debian Project, but may be used by others. .SH SEE ALSO The web page of .BR batik , http://xml.apache.org/batik .BR java-wrappers (7) debian/manpages/squiggle.10000664000000000000000000000176211754754142012705 0ustar .\" Man page for squiggle .\" .\" Copyright 2007 by Vincent Fourmond .\" .\" You may distribute, copy and modify this manual page under the same .\" terms as batik itself. .\" .TH SQUIGGLE "1" "January 2008" "Browser for SVG files" "User Commands" .SH NAME squiggle \- browser for SVG files .SH .B squiggle .SH DESCRIPTION .B squiggle is a graphical browser for SVG files. .SH BUGS .B squiggle is currently broken in debian. Startup will fail with a security error. .SH JAVA-WRAPPERS NOTE This program is a shell script wrapper based on .BR java-wrappers (7). You therefore benefit from several features; please see the .BR java-wrappers (7) manual page for more information about them. .SH AUTHORS .B squiggle is part of .BR batik , written by the Apache Software Foundation. This manual page was written by Vincent Fourmond for the Debian Project, but may be used by others. .SH SEE ALSO The web page of .BR batik , http://xml.apache.org/batik .BR java-wrappers (7) debian/manpages/rasterizer.10000664000000000000000000001506211754754142013255 0ustar .\" Man page for rasterizer, based on the output of help2man .\" .\" Copyright 2007 by Vincent Fourmond .\" .\" You may distribute, copy and modify this manual page under the same .\" terms as batik itself. .\" .TH RASTERIZER "1" "January 2008" "SVG conversion" "User Commands" .SH NAME rasterizer \- SVG conversion .SH SYNOPSIS .B rasterizer .I [options] files .SH DESCRIPTION Rasterizer is a program to convert SVG files to various formats, namely PNG, JPEG and PDF. .SH OPTIONS .TP \fB\-d\fR .IP output directory. If there is a single input file, this can be a file. .TP \fB\-m\fR .IP output mime type. Should be one of .IR image/jpg , .IR image/jpeg , .IR image/jpe , .IR image/png , .I image/tiff or .IR application/pdf . .TP \fB\-w\fR .IP output width. This is a floating point value. .TP \fB\-h\fR .IP output height. This is a floating point value. .TP \fB\-maxw\fR .IP Maximum output width. This is a floating point value. .TP \fB\-maxh\fR .IP Maximum output height. This is a floating point value. .TP \fB\-a\fR .IP output area. The format for is x,y,w,h, where x, y, w and h are floating point values. .TP \fB\-bg\fR .IP ouput color. The format for is a.r.g.b, where a, r, g and b are integer values. .TP \fB\-cssMedia\fR .IP CSS media type for which the source SVG files should be converted. .TP \fB\-cssAlternate\fR .IP CSS alternate stylesheet to use when converting the source SVG files. .TP \fB\-cssUser\fR .IP CSS user stylesheet URI to apply to converted SVG documents in addition to any other referened or embeded stylesheets. .TP \fB\-font\-family\fR .IP Value used as a default when no font\-family value is specified. .TP \fB\-lang\fR .IP User language to use when converting SVG documents. .TP \fB\-q\fR .IP Quality for the output image. This is only relevant for the image/jpeg mime type. .TP \fB\-indexed\fR (1|2|4|8) .IP Reduces the image to given number of bits per pixel using an adaptive pallete, resulting in an Indexed image. This is currently only supported for PNG conversion. .TP \fB\-dpi\fR .IP Resolution for the ouptut image. .TP \fB\-validate\fR .IP Controls whether the source SVG files should be validated. .TP \fB\-onload\fR .IP Controls if the source SVG files must be rasterize after dispatching the 'onload' event. .TP \fB\-scriptSecurityOff\fR removes any security check on the scripts running .IP as a result of dispatching the onload event. .TP \fB\-anyScriptOrigin\fR controls whether scripts can be loaded from .IP any location. By default, scripts can only be loaded from .IP the same location as the document referencing them. .TP \fB\-scripts\fR List of script types (i.e., .IP values for the type attribute in the