mirror of https://gitee.com/openkylin/batik.git
Import Debian changes 1.16-ok1
batik (1.16-ok1) yangtze; urgency=medium * Build for openKylin.
This commit is contained in:
parent
59332cc043
commit
1826e1444c
|
@ -0,0 +1,5 @@
|
|||
batik (1.16-ok1) yangtze; urgency=medium
|
||||
|
||||
* Build for openKylin.
|
||||
|
||||
-- zhouganqing <zhouganqing@kylinos.cn> Wed, 16 Nov 2022 16:06:03 +0800
|
|
@ -0,0 +1,46 @@
|
|||
Source: batik
|
||||
Section: java
|
||||
Priority: optional
|
||||
Maintainer: OpenKylin Developers <packaging@lists.openkylin.top>
|
||||
Build-Depends:
|
||||
ant,
|
||||
debhelper-compat (= 13),
|
||||
default-jdk,
|
||||
javahelper,
|
||||
libmaven-assembly-plugin-java,
|
||||
libmaven-dependency-plugin-java,
|
||||
libxalan2-java,
|
||||
libxml-commons-external-java,
|
||||
libxmlgraphics-commons-java,
|
||||
maven-debian-helper,
|
||||
rhino
|
||||
Standards-Version: 4.6.1
|
||||
Vcs-Git: https://gitee.com/openkylin/batik.git
|
||||
Vcs-Browser: https://gitee.com/openkylin/batik
|
||||
Homepage: https://xmlgraphics.apache.org/batik/
|
||||
Rules-Requires-Root: no
|
||||
|
||||
Package: libbatik-java
|
||||
Architecture: all
|
||||
Depends: java-wrappers, ${maven:Depends}, ${misc:Depends}
|
||||
Suggests: ${maven:OptionalDepends}
|
||||
Recommends: default-jre-headless | java7-runtime-headless
|
||||
Breaks:
|
||||
elki (<= 0.6.5),
|
||||
libfop-java (<< 2.0)
|
||||
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/
|
|
@ -0,0 +1,447 @@
|
|||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: batik
|
||||
Upstream-Contact: Apache Software Foundation
|
||||
Source: https://xmlgraphics.apache.org/batik
|
||||
Files-Excluded: lib/*.jar
|
||||
documentation-sources/content/demo/*.jar
|
||||
Comment:
|
||||
The source tarball was repackaged to remove pre-compiled binary JAR files
|
||||
and to remove non-DFSG ICC profiles using the script found in
|
||||
debian/repack.local in debian sources.
|
||||
.
|
||||
This package was debianized by Jeff Bailey <jbailey@debian.org> on
|
||||
Tue, 11 Jun 2002 10:52:34 -0400.
|
||||
|
||||
Files: *
|
||||
Copyright: 1999-2022 Apache Foundation
|
||||
License: Apache-2.0
|
||||
|
||||
Files: debian/*
|
||||
Copyright: 2002-2022 Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
|
||||
License: Apache-2.0
|
||||
|
||||
Files: debian/manpages/rasterizer.1
|
||||
debian/manpages/squiggle.1
|
||||
debian/manpages/svgpp.1
|
||||
debian/manpages/ttf2svg.1
|
||||
Copyright: 2007 Vincent Fourmond <fourmond@debian.org>
|
||||
License: Apache-2.0
|
||||
|
||||
Files: batik-svg-dom/src/main/resources/org/apache/batik/dom/svg/resources/*
|
||||
Copyright: 2000-2001 World Wide Web Consortium (Massachusetts Institute of Technology, Institut National de Recherche en Informatique et en Automatique, Keio University)
|
||||
License: W3C-Documentation
|
||||
|
||||
Files: batik-dom/src/main/java/org/apache/batik/dom/xbl/NodeXBL.java
|
||||
batik-dom/src/main/java/org/apache/batik/dom/xbl/OriginalEvent.java
|
||||
batik-dom/src/main/java/org/apache/batik/dom/xbl/ShadowTreeEvent.java
|
||||
batik-dom/src/main/java/org/apache/batik/dom/xbl/XBLShadowTreeElement.java
|
||||
batik-ext/src/main/java/org/apache/batik/w3c/dom/events/*
|
||||
batik-svg-dom/src/main/java/org/apache/batik/dom/svg12/Global.java
|
||||
batik-svg-dom/src/main/java/org/apache/batik/dom/svg12/SVGGlobal.java
|
||||
Copyright: 2005-2006 World Wide Web Consortium (Massachusetts Institute of Technology, Institut National de Recherche en Informatique et en Automatique, Keio University)
|
||||
License: W3C-Software
|
||||
|
||||
Files: batik-svg-dom/src/main/resources/org/apache/batik/dom/svg/resources/svg11-basic-flat.dtd
|
||||
batik-svg-dom/src/main/resources/org/apache/batik/dom/svg/resources/svg11-basic.dtd
|
||||
batik-svg-dom/src/main/resources/org/apache/batik/dom/svg/resources/svg11-flat.dtd
|
||||
batik-svg-dom/src/main/resources/org/apache/batik/dom/svg/resources/svg11-tiny-flat.dtd
|
||||
batik-svg-dom/src/main/resources/org/apache/batik/dom/svg/resources/svg11-tiny.dtd
|
||||
batik-svg-dom/src/main/resources/org/apache/batik/dom/svg/resources/svg11.dtd
|
||||
batik-svg-dom/src/main/resources/org/apache/batik/dom/svg/resources/svg12-flat.dtd
|
||||
Copyright: 2001-2002 World Wide Web Consortium
|
||||
License: otherDTD
|
||||
|
||||
Files: batik-svgbrowser/src/main/resources/org/apache/batik/apps/svgbrowser/resources/document-open.png
|
||||
batik-svgbrowser/src/main/resources/org/apache/batik/apps/svgbrowser/resources/document-print.png
|
||||
batik-svgbrowser/src/main/resources/org/apache/batik/apps/svgbrowser/resources/edit-find.png
|
||||
batik-svgbrowser/src/main/resources/org/apache/batik/apps/svgbrowser/resources/go-next.png
|
||||
batik-svgbrowser/src/main/resources/org/apache/batik/apps/svgbrowser/resources/go-previous.png
|
||||
batik-svgbrowser/src/main/resources/org/apache/batik/apps/svgbrowser/resources/icon-general.png
|
||||
batik-svgbrowser/src/main/resources/org/apache/batik/apps/svgbrowser/resources/icon-language.png
|
||||
batik-svgbrowser/src/main/resources/org/apache/batik/apps/svgbrowser/resources/icon-network.png
|
||||
batik-svgbrowser/src/main/resources/org/apache/batik/apps/svgbrowser/resources/icon-security.png
|
||||
batik-svgbrowser/src/main/resources/org/apache/batik/apps/svgbrowser/resources/icon-stylesheet.png
|
||||
batik-svgbrowser/src/main/resources/org/apache/batik/apps/svgbrowser/resources/media-playback-pause.png
|
||||
batik-svgbrowser/src/main/resources/org/apache/batik/apps/svgbrowser/resources/media-playback-start.png
|
||||
batik-svgbrowser/src/main/resources/org/apache/batik/apps/svgbrowser/resources/process-stop.png
|
||||
batik-svgbrowser/src/main/resources/org/apache/batik/apps/svgbrowser/resources/redo.png
|
||||
batik-svgbrowser/src/main/resources/org/apache/batik/apps/svgbrowser/resources/system-search.png
|
||||
batik-gui-util/src/main/resources/org/apache/batik/util/gui/resources/text-html.png
|
||||
batik-svgbrowser/src/main/resources/org/apache/batik/apps/svgbrowser/resources/undo.png
|
||||
batik-svgbrowser/src/main/resources/org/apache/batik/apps/svgbrowser/resources/utilities-system-monitor.png
|
||||
batik-svgbrowser/src/main/resources/org/apache/batik/apps/svgbrowser/resources/view-refresh.png
|
||||
batik-svgbrowser/src/main/resources/org/apache/batik/apps/svgbrowser/resources/window-new.png
|
||||
Copyright: Tango Desktop Project
|
||||
License: CC-BY-SA-2.5
|
||||
|
||||
Files: batik-svgbrowser/src/main/resources/org/apache/batik/apps/svgbrowser/resources/zoom-in.png
|
||||
batik-svgbrowser/src/main/resources/org/apache/batik/apps/svgbrowser/resources/zoom-out.png
|
||||
Copyright: Pasodoble Icon Theme
|
||||
License: CC-BY-SA-2.5
|
||||
|
||||
Files: samples/tests/resources/icc/changeColor.icm
|
||||
Copyright: 1999 Eastman Kodak Company
|
||||
License: Apache-2.0
|
||||
Comment: License inferred from inclusion in project
|
||||
|
||||
|
||||
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.
|
||||
|
||||
License: W3C-Documentation
|
||||
http://www.w3.org/Consortium/Legal/copyright-documents-19990405
|
||||
W3C® DOCUMENT NOTICE AND LICENSE
|
||||
Copyright © 1994-2001 World Wide Web Consortium, http://www.w3.org/,
|
||||
(http://www.lcs.mit.edu/ Massachusetts Institute of Technology,
|
||||
http://www.inria.fr/ Institut National de Recherche en Informatique et en
|
||||
Automatique, http://www.keio.ac.jp/ Keio University). All Rights Reserved.
|
||||
http://www.w3.org/Consortium/Legal/
|
||||
.
|
||||
Public documents on the W3C site are provided by the copyright
|
||||
holders under the following license. The software or Document Type
|
||||
Definitions (DTDs) associated with W3C specifications are governed
|
||||
by the Software Notice. By using and/or copying this document, or the
|
||||
W3C document from which this statement is linked, you (the
|
||||
licensee) agree that you have read, understood, and will comply
|
||||
with the following terms and conditions:
|
||||
.
|
||||
Permission to use, copy, and distribute the contents of this
|
||||
document, or the W3C document from which this statement is linked,
|
||||
in any medium for any purpose and without fee or royalty is hereby
|
||||
granted, provided that you include the following on ALL
|
||||
copies of the document, or portions thereof, that you use:
|
||||
.
|
||||
A link or URL to the original W3C document.
|
||||
.
|
||||
The pre-existing copyright notice of the original author, or if it doesn't
|
||||
exist, a notice of the form: "Copyright © [$date-of-document] World Wide Web
|
||||
Consortium, (Massachusetts Institute of Technology, Institut National de
|
||||
Recherche en Informatique et en Automatique, Keio University). All Rights
|
||||
Reserved.
|
||||
http://www.w3.org/Consortium/Legal/" (Hypertext is preferred, but a
|
||||
textual representation is permitted.)
|
||||
.
|
||||
If it exists, the STATUS of the W3C document.
|
||||
.
|
||||
When space permits, inclusion of the full text of this NOTICE
|
||||
should be provided. We request that authorship
|
||||
attribution be provided in any software, documents, or other items
|
||||
or products that you create pursuant to the implementation of the
|
||||
contents of this document, or any portion thereof.
|
||||
.
|
||||
No right to create modifications or derivatives of W3C documents
|
||||
is granted pursuant to this license. However, if additional
|
||||
requirements (documented in the Copyright
|
||||
FAQ) are satisfied, the right to create modifications or
|
||||
derivatives is sometimes granted by the W3C to individuals
|
||||
complying with those requirements.
|
||||
.
|
||||
THIS DOCUMENT IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO
|
||||
REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT
|
||||
NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
||||
PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS
|
||||
OF THE DOCUMENT ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE
|
||||
IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY
|
||||
PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
|
||||
COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE
|
||||
DOCUMENT OR THE PERFORMANCE OR IMPLEMENTATION OF THE CONTENTS
|
||||
THEREOF.
|
||||
.
|
||||
The name and trademarks of copyright holders may NOT be used in
|
||||
advertising or publicity pertaining to this document or its
|
||||
contents without specific, written prior permission. Title to
|
||||
copyright in this document will at all times remain with copyright
|
||||
holders.
|
||||
|
||||
License: W3C-Software
|
||||
http://www.w3.org/Consortium/Legal/copyright-software-19980720
|
||||
.
|
||||
W3C® SOFTWARE NOTICE AND LICENSE
|
||||
Copyright © 1994-2001 World Wide Web Consortium, http://www.w3.org/,
|
||||
(http://www.lcs.mit.edu/ Massachusetts Institute of Technology,
|
||||
http://www.inria.fr/ Institut National de Recherche en Informatique et en
|
||||
Automatique, http://www.keio.ac.jp/ Keio University). All Rights Reserved.
|
||||
http://www.w3.org/Consortium/Legal/
|
||||
.
|
||||
This W3C work (including software, documents, or other related
|
||||
items) is being provided by the copyright holders under the
|
||||
following license. By obtaining, using and/or copying this work,
|
||||
you (the licensee) agree that you have read, understood, and will
|
||||
comply with the following terms and conditions:
|
||||
Permission to use, copy, modify, and distribute this software
|
||||
and its documentation, with or without modification, for any
|
||||
purpose and without fee or royalty is hereby granted, provided that
|
||||
you include the following on ALL copies of the software and
|
||||
documentation or portions thereof, including modifications, that
|
||||
you make:
|
||||
.
|
||||
The full text of this NOTICE in a location viewable to users of
|
||||
the redistributed or derivative work.
|
||||
.
|
||||
Any pre-existing intellectual property disclaimers, notices, or
|
||||
terms and conditions. If none exist, a short notice of the
|
||||
following form (hypertext is preferred, text is permitted) should
|
||||
be used within the body of any redistributed or derivative code:
|
||||
"Copyright © [$date-of-software] World Wide Web Consortium, (Massachusetts
|
||||
Institute of Technology, Institut National de Recherche en Informatique et en
|
||||
Automatique, Keio University). All Rights Reserved.
|
||||
http://www.w3.org/Consortium/Legal/"
|
||||
.
|
||||
Notice of any changes or modifications to the W3C files,
|
||||
including the date changes were made. (We recommend you provide
|
||||
URIs to the location from which the code is derived.)
|
||||
.
|
||||
THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND
|
||||
COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF
|
||||
MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE
|
||||
USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD
|
||||
PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
|
||||
COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE
|
||||
SOFTWARE OR DOCUMENTATION.
|
||||
.
|
||||
The name and trademarks of copyright holders may NOT be used in
|
||||
advertising or publicity pertaining to the software without
|
||||
specific, written prior permission. Title to copyright in this
|
||||
software and any associated documentation will at all times remain
|
||||
with copyright holders.
|
||||
|
||||
License: CC-BY-SA-2.5
|
||||
THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS
|
||||
PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR
|
||||
OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS
|
||||
LICENSE OR COPYRIGHT LAW IS PROHIBITED.
|
||||
.
|
||||
BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE
|
||||
BOUND BY THE TERMS OF THIS LICENSE. THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED
|
||||
HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.
|
||||
.
|
||||
1. Definitions
|
||||
.
|
||||
a. "Collective Work" means a work, such as a periodical issue, anthology or
|
||||
encyclopedia, in which the Work in its entirety in unmodified form, along
|
||||
with a number of other contributions, constituting separate and
|
||||
independent works in themselves, are assembled into a collective whole. A
|
||||
work that constitutes a Collective Work will not be considered a
|
||||
Derivative Work (as defined below) for the purposes of this License.
|
||||
b. "Derivative Work" means a work based upon the Work or upon the Work and
|
||||
other pre-existing works, such as a translation, musical arrangement,
|
||||
dramatization, fictionalization, motion picture version, sound recording,
|
||||
art reproduction, abridgment, condensation, or any other form in which the
|
||||
Work may be recast, transformed, or adapted, except that a work that
|
||||
constitutes a Collective Work will not be considered a Derivative Work
|
||||
for the purpose of this License. For the avoidance of doubt, where the
|
||||
Work is a musical composition or sound recording, the synchronization of
|
||||
the Work in timed-relation with a moving image ("synching") will be
|
||||
considered a Derivative Work for the purpose of this License.
|
||||
c. "Licensor" means the individual or entity that offers the Work under the
|
||||
terms of this License.
|
||||
d. "Original Author" means the individual or entity who created the Work.
|
||||
e. "Work" means the copyrightable work of authorship offered under the terms
|
||||
of this License.
|
||||
f. "You" means an individual or entity exercising rights under this License
|
||||
who has not previously violated the terms of this License with respect to
|
||||
the Work, or who has received express permission from the Licensor to
|
||||
exercise rights under this License despite a previous violation.
|
||||
g. "License Elements" means the following high-level license attributes as
|
||||
selected by Licensor and indicated in the title of this License:
|
||||
Attribution, ShareAlike.
|
||||
.
|
||||
2. Fair Use Rights.
|
||||
.
|
||||
Nothing in this license is intended to reduce, limit, or restrict any rights
|
||||
arising from fair use, first sale or other limitations on the exclusive rights
|
||||
of the copyright owner under copyright law or other applicable laws.
|
||||
.
|
||||
3. License Grant.
|
||||
.
|
||||
Subject to the terms and conditions of this License, Licensor hereby grants
|
||||
You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of
|
||||
the applicable copyright) license to exercise the rights in the Work as stated
|
||||
below:
|
||||
.
|
||||
a. to reproduce the Work, to incorporate the Work into one or more Collective
|
||||
Works, and to reproduce the Work as incorporated in the Collective Works;
|
||||
b. to create and reproduce Derivative Works;
|
||||
c. to distribute copies or phonorecords of, display publicly, perform
|
||||
publicly, and perform publicly by means of a digital audio transmission
|
||||
the Work including as incorporated in Collective Works;
|
||||
d. to distribute copies or phonorecords of, display publicly, perform
|
||||
publicly, and perform publicly by means of a digital audio transmission
|
||||
Derivative Works.
|
||||
e. For the avoidance of doubt, where the work is a musical composition:
|
||||
i. Performance Royalties Under Blanket Licenses. Licensor waives the
|
||||
exclusive right to collect, whether individually or via a
|
||||
performance rights society (e.g. ASCAP, BMI, SESAC), royalties for
|
||||
the public performance or public digital performance (e.g. webcast)
|
||||
of the Work.
|
||||
ii. Mechanical Rights and Statutory Royalties. Licensor waives the
|
||||
exclusive right to collect, whether individually or via a music
|
||||
rights society or designated agent (e.g. Harry Fox Agency),
|
||||
royalties for any phonorecord You create from the Work ("cover
|
||||
version") and distribute, subject to the compulsory license created
|
||||
by 17 USC Section 115 of the US Copyright Act (or the equivalent in
|
||||
other jurisdictions).
|
||||
f. Webcasting Rights and Statutory Royalties. For the avoidance of doubt,
|
||||
where the Work is a sound recording, Licensor waives the exclusive right
|
||||
to collect, whether individually or via a performance-rights society (e.g.
|
||||
SoundExchange), royalties for the public digital performance (e.g.
|
||||
webcast) of the Work, subject to the compulsory license created by 17 USC
|
||||
Section 114 of the US Copyright Act (or the equivalent in other
|
||||
jurisdictions).
|
||||
.
|
||||
The above rights may be exercised in all media and formats whether now known or
|
||||
hereafter devised. The above rights include the right to make such modifications
|
||||
as are technically necessary to exercise the rights in other media and formats.
|
||||
All rights not expressly granted by Licensor are hereby reserved.
|
||||
.
|
||||
4. Restrictions.
|
||||
.
|
||||
The license granted in Section 3 above is expressly made subject to and limited
|
||||
by the following restrictions:
|
||||
.
|
||||
a. You may distribute, publicly display, publicly perform, or publicly
|
||||
digitally perform the Work only under the terms of this License, and You
|
||||
must include a copy of, or the Uniform Resource Identifier for, this
|
||||
License with every copy or phonorecord of the Work You distribute,
|
||||
publicly display, publicly perform, or publicly digitally perform. You may
|
||||
not offer or impose any terms on the Work that alter or restrict the terms
|
||||
of this License or the recipients' exercise of the rights granted
|
||||
hereunder. You may not sublicense the Work. You must keep intact all
|
||||
notices that refer to this License and to the disclaimer of warranties.
|
||||
You may not distribute, publicly display, publicly perform, or publicly
|
||||
digitally perform the Work with any technological measures that control
|
||||
access or use of the Work in a manner inconsistent with the terms of this
|
||||
License Agreement. The above applies to the Work as incorporated in a
|
||||
Collective Work, but this does not require the Collective Work apart from
|
||||
the Work itself to be made subject to the terms of this License. If You
|
||||
create a Collective Work, upon notice from any Licensor You must, to the
|
||||
extent practicable, remove from the Collective Work any credit as required
|
||||
by clause 4(c), as requested. If You create a Derivative Work, upon notice
|
||||
from any Licensor You must, to the extent practicable, remove from the
|
||||
Derivative Work any credit as required by clause 4(c), as requested.
|
||||
b. You may distribute, publicly display, publicly perform, or publicly
|
||||
digitally perform a Derivative Work only under the terms of this License,
|
||||
a later version of this License with the same License Elements as this
|
||||
License, or a Creative Commons iCommons license that contains the same
|
||||
License Elements as this License (e.g. Attribution-ShareAlike 2.5 Japan).
|
||||
You must include a copy of, or the Uniform Resource Identifier for, this
|
||||
License or other license specified in the previous sentence with every
|
||||
copy or phonorecord of each Derivative Work You distribute, publicly
|
||||
display, publicly perform, or publicly digitally perform. You may not
|
||||
offer or impose any terms on the Derivative Works that alter or restrict
|
||||
the terms of this License or the recipients' exercise of the rights
|
||||
granted hereunder, and You must keep intact all notices that refer to
|
||||
this License and to the disclaimer of warranties. You may not distribute,
|
||||
publicly display, publicly perform, or publicly digitally perform the
|
||||
Derivative Work with any technological measures that control access or
|
||||
use of the Work in a manner inconsistent with the terms of this License
|
||||
Agreement. The above applies to the Derivative Work as incorporated in
|
||||
a Collective Work, but this does not require the Collective Work apart
|
||||
from the Derivative Work itself to be made subject to the terms of this
|
||||
License.
|
||||
c. If you distribute, publicly display, publicly perform, or publicly
|
||||
digitally perform the Work or any Derivative Works or Collective Works,
|
||||
You must keep intact all copyright notices for the Work and provide,
|
||||
reasonable to the medium or means You are utilizing: (i) the name of the
|
||||
Original Author (or pseudonym, if applicable) if supplied, and/or (ii) if
|
||||
the Original Author and/or Licensor designate another party or parties
|
||||
(e.g. a sponsor institute, publishing entity, journal) for attribution
|
||||
in Licensor's copyright notice, terms of service or by other reasonable
|
||||
means, the name of such party or parties; the title of the Work if
|
||||
supplied; to the extent reasonably practicable, the Uniform Resource
|
||||
Identifier, if any, that Licensor specifies to be associated with the
|
||||
Work, unless such URI does not refer to the copyright notice or licensing
|
||||
information for the Work; and in the case of a Derivative Work, a credit
|
||||
identifying the use of the Work in the Derivative Work (e.g., "French
|
||||
translation of the Work by Original Author," or "Screenplay based on
|
||||
original Work by Original Author"). Such credit may be implemented in any
|
||||
reasonable manner; provided, however, that in the case of a Derivative
|
||||
Work or Collective Work, at a minimum such credit will appear where any
|
||||
other comparable authorship credit appears and in a manner at least as
|
||||
prominent as such other comparable authorship credit.
|
||||
.
|
||||
5. Representations, Warranties and Disclaimer
|
||||
.
|
||||
UNLESS OTHERWISE AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE
|
||||
WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING
|
||||
THE MATERIALS, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT
|
||||
LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR
|
||||
PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY,
|
||||
OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME
|
||||
JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH
|
||||
EXCLUSION MAY NOT APPLY TO YOU.
|
||||
.
|
||||
6. Limitation on Liability.
|
||||
.
|
||||
EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE
|
||||
LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL,
|
||||
PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE
|
||||
WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
||||
.
|
||||
7. Termination
|
||||
.
|
||||
a. This License and the rights granted hereunder will terminate automatically
|
||||
upon any breach by You of the terms of this License. Individuals or
|
||||
entities who have received Derivative Works or Collective Works from You
|
||||
under this License, however, will not have their licenses terminated
|
||||
provided such individuals or entities remain in full compliance
|
||||
with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any
|
||||
termination of this License.
|
||||
b. Subject to the above terms and conditions, the license granted here is
|
||||
perpetual (for the duration of the applicable copyright in the Work).
|
||||
Notwithstanding the above, Licensor reserves the right to release the
|
||||
Work under different license terms or to stop distributing the Work at
|
||||
any time; provided, however that any such election will not serve to
|
||||
withdraw this License (or any other license that has been, or is required
|
||||
to be, granted under the terms of this License), and this License will
|
||||
continue in full force and effect unless terminated as stated above.
|
||||
.
|
||||
8. Miscellaneous
|
||||
.
|
||||
a. Each time You distribute or publicly digitally perform the Work or a
|
||||
Collective Work, the Licensor offers to the recipient a license to the
|
||||
Work on the same terms and conditions as the license granted to You under
|
||||
this License.
|
||||
b. Each time You distribute or publicly digitally perform a Derivative Work,
|
||||
Licensor offers to the recipient a license to the original Work on the
|
||||
same terms and conditions as the license granted to You under this
|
||||
License.
|
||||
c. If any provision of this License is invalid or unenforceable under
|
||||
applicable law, it shall not affect the validity or enforceability of the
|
||||
remainder of the terms of this License, and without further action by
|
||||
the parties to this agreement, such provision shall be reformed to the
|
||||
minimum extent necessary to make such provision valid and enforceable.
|
||||
d. No term or provision of this License shall be deemed waived and no breach
|
||||
consented to unless such waiver or consent shall be in writing and signed
|
||||
by the party to be charged with such waiver or consent.
|
||||
e. This License constitutes the entire agreement between the parties with
|
||||
respect to the Work licensed here. There are no understandings,
|
||||
agreements or representations with respect to the Work not specified
|
||||
here. Licensor shall not be bound by any additional provisions that may
|
||||
appear in any communication from You. This License may not be modified
|
||||
without the mutual written agreement of the Licensor and You.
|
||||
|
||||
License: otherDTD
|
||||
Permission to use, copy, modify and distribute the SVG DTD and its
|
||||
accompanying documentation for any purpose and without fee is hereby
|
||||
granted in perpetuity, provided that the above copyright notice and
|
||||
this paragraph appear in all copies. The copyright holders make no
|
||||
representation about the suitability of the DTD for any purpose.
|
||||
.
|
||||
It is provided "as is" without expressed or implied warranty.
|
|
@ -0,0 +1,23 @@
|
|||
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)
|
||||
|
||||
The class SVGDOMImplementation has been moved in the package.
|
||||
See for more information:
|
||||
|
||||
https://bugs.debian.org/794214
|
||||
|
||||
The patch should simply be:
|
||||
|
||||
- import org.apache.batik.dom.svg.SVGDOMImplementation;
|
||||
+ import org.apache.batik.anim.dom.SVGDOMImplementation;
|
|
@ -0,0 +1 @@
|
|||
README
|
|
@ -0,0 +1 @@
|
|||
debian/wrappers/* /usr/bin/
|
|
@ -0,0 +1,2 @@
|
|||
/usr/share/java/batik-all.jar /usr/share/java/batik-libs.jar
|
||||
/usr/share/java/batik-all.jar /usr/share/java/batik.jar
|
|
@ -0,0 +1,20 @@
|
|||
# There is no code in this jar, we don't care for the automated classpath.
|
||||
classpath-contains-relative-path * [usr/share/java/batik-squiggle.jar]
|
||||
|
||||
# There is no code in this jar, we don't care for the automated classpath.
|
||||
classpath-contains-relative-path * [usr/share/java/batik-rasterizer.jar]
|
||||
|
||||
# This jar is designed to be empty.
|
||||
codeless-jar [usr/share/java/batik-rasterizer-ext.jar]
|
||||
|
||||
# This jar is designed to be empty.
|
||||
codeless-jar [usr/share/java/batik-rasterizer.jar]
|
||||
|
||||
# This jar is designed to be empty.
|
||||
codeless-jar [usr/share/java/batik-shared-resources.jar]
|
||||
|
||||
# This jar is designed to be empty.
|
||||
codeless-jar [usr/share/java/batik-squiggle-ext.jar]
|
||||
|
||||
# This jar is designed to be empty.
|
||||
codeless-jar [usr/share/java/batik-squiggle.jar]
|
|
@ -0,0 +1,4 @@
|
|||
debian/manpages/rasterizer.1
|
||||
debian/manpages/squiggle.1
|
||||
debian/manpages/svgpp.1
|
||||
debian/manpages/ttf2svg.1
|
|
@ -0,0 +1,63 @@
|
|||
# List of POM files for the package
|
||||
# Format of this file is:
|
||||
# <path to pom file> [option]*
|
||||
# where option can be:
|
||||
# --ignore: ignore this POM and its artifact if any
|
||||
# --ignore-pom: don't install the POM. To use on POM files that are created
|
||||
# temporarily for certain artifacts such as Javadoc jars. [mh_install, mh_installpoms]
|
||||
# --no-parent: remove the <parent> tag from the POM
|
||||
# --package=<package>: an alternative package to use when installing this POM
|
||||
# and its artifact
|
||||
# --has-package-version: to indicate that the original version of the POM is the same as the upstream part
|
||||
# of the version for the package.
|
||||
# --keep-elements=<elem1,elem2>: a list of XML elements to keep in the POM
|
||||
# during a clean operation with mh_cleanpom or mh_installpom
|
||||
# --artifact=<path>: path to the build artifact associated with this POM,
|
||||
# it will be installed when using the command mh_install. [mh_install]
|
||||
# --java-lib: install the jar into /usr/share/java to comply with Debian
|
||||
# packaging guidelines
|
||||
# --usj-name=<name>: name to use when installing the library in /usr/share/java
|
||||
# --usj-version=<version>: version to use when installing the library in /usr/share/java
|
||||
# --no-usj-versionless: don't install the versionless link in /usr/share/java
|
||||
# --dest-jar=<path>: the destination for the real jar.
|
||||
# It will be installed with mh_install. [mh_install]
|
||||
# --classifier=<classifier>: Optional, the classifier for the jar. Empty by default.
|
||||
# --site-xml=<location>: Optional, the location for site.xml if it needs to be installed.
|
||||
# Empty by default. [mh_install]
|
||||
#
|
||||
pom.xml --has-package-version
|
||||
batik-all/pom.xml --has-package-version --java-lib
|
||||
batik-anim/pom.xml --has-package-version --java-lib
|
||||
batik-awt-util/pom.xml --has-package-version --java-lib
|
||||
batik-bridge/pom.xml --has-package-version --java-lib
|
||||
batik-codec/pom.xml --has-package-version --java-lib
|
||||
batik-constants/pom.xml --has-package-version --java-lib
|
||||
batik-css/pom.xml --has-package-version --java-lib
|
||||
batik-dom/pom.xml --has-package-version --java-lib
|
||||
batik-extension/pom.xml --has-package-version --java-lib
|
||||
batik-ext/pom.xml --has-package-version --java-lib
|
||||
batik-gui-util/pom.xml --has-package-version --java-lib
|
||||
batik-gvt/pom.xml --has-package-version --java-lib
|
||||
batik-i18n/pom.xml --has-package-version --java-lib
|
||||
batik-parser/pom.xml --has-package-version --java-lib
|
||||
batik-rasterizer-ext/pom.xml --has-package-version --java-lib
|
||||
batik-rasterizer/pom.xml --has-package-version --java-lib
|
||||
batik-script/pom.xml --has-package-version --java-lib
|
||||
batik-shared-resources/pom.xml --has-package-version --java-lib
|
||||
batik-slideshow/pom.xml --has-package-version --java-lib
|
||||
batik-squiggle-ext/pom.xml --has-package-version --java-lib
|
||||
batik-squiggle/pom.xml --has-package-version --java-lib
|
||||
batik-svgbrowser/pom.xml --has-package-version --java-lib
|
||||
batik-svg-dom/pom.xml --has-package-version --java-lib
|
||||
batik-svggen/pom.xml --has-package-version --java-lib
|
||||
batik-svgpp/pom.xml --has-package-version --java-lib
|
||||
batik-svgrasterizer/pom.xml --has-package-version --java-lib
|
||||
batik-swing/pom.xml --has-package-version --java-lib
|
||||
batik-test/pom.xml --ignore
|
||||
batik-test-svg/pom.xml --ignore
|
||||
batik-test-swing/pom.xml --ignore
|
||||
batik-test-old/pom.xml --ignore
|
||||
batik-transcoder/pom.xml --has-package-version --java-lib
|
||||
batik-ttf2svg/pom.xml --has-package-version --java-lib
|
||||
batik-util/pom.xml --has-package-version --java-lib
|
||||
batik-xml/pom.xml --has-package-version --java-lib
|
|
@ -0,0 +1,152 @@
|
|||
usr/share/java/batik-all.jar:
|
||||
Class-Path: /usr/share/java/jaxp-1.4.jar /usr/share/java/rhino.jar /usr/share/java/xalan2.jar /usr/share/java/xmlgraphics-commons.jar
|
||||
|
||||
usr/share/java/batik-anim.jar:
|
||||
Class-Path: /usr/share/java/batik-css.jar /usr/share/java/batik-dom.jar /usr/share/java/batik-ext.jar /usr/share/java/batik-i18n.jar /usr/share/java/batik-parser.jar /usr/share/java/batik-util.jar /usr/share/java/jaxp-1.4.jar
|
||||
|
||||
usr/share/java/batik-awt-util.jar:
|
||||
Bundle-ManifestVersion: 2
|
||||
Bundle-Name: Batik AWT Util
|
||||
Bundle-Vendor: Debian.org
|
||||
Bundle-SymbolicName: org.apache.batik.ext.awt
|
||||
Bundle-Version: 1.12.0
|
||||
Class-Path: /usr/share/java/batik-ext.jar /usr/share/java/batik-i18n.jar /usr/share/java/batik-util.jar /usr/share/java/xmlgraphics-commons.jar
|
||||
Export-Package: org.apache.batik.ext.awt,org.apache.batik.ext.awt.color,org.apache.batik.ext.awt.font,org.apache.batik.ext.awt.g2d,org.apache.batik.ext.awt.geom,org.apache.batik.ext.awt.image,org.apache.batik.ext.awt.image.renderable,org.apache.batik.ext.awt.image.rendered,org.apache.batik.ext.awt.image.spi,org.apache.batik.ext.swing
|
||||
|
||||
usr/share/java/batik-bridge.jar:
|
||||
Bundle-ManifestVersion: 2
|
||||
Bundle-Name: Batik Bridge
|
||||
Bundle-Vendor: Debian.org
|
||||
Bundle-SymbolicName: org.apache.batik.bridge
|
||||
Bundle-Version: 1.12.0
|
||||
Class-Path: /usr/share/java/batik-anim.jar /usr/share/java/batik-awt-util.jar /usr/share/java/batik-constants.jar /usr/share/java/batik-css.jar /usr/share/java/batik-dom.jar /usr/share/java/batik-ext.jar /usr/share/java/batik-gvt.jar /usr/share/java/batik-i18n.jar /usr/share/java/batik-parser.jar /usr/share/java/batik-script.jar /usr/share/java/batik-util.jar /usr/share/java/batik-xml.jar /usr/share/java/jaxp-1.4.jar /usr/share/java/rhino.jar /usr/share/java/xalan2.jar /usr/share/java/xmlgraphics-commons.jar
|
||||
Export-Package: org.apache.batik.bridge,org.apache.batik.bridge.svg12
|
||||
|
||||
usr/share/java/batik-codec.jar:
|
||||
Class-Path: /usr/share/java/batik-ext.jar /usr/share/java/batik-i18n.jar /usr/share/java/batik-transcoder.jar /usr/share/java/batik-util.jar /usr/share/java/jaxp-1.4.jar
|
||||
|
||||
usr/share/java/batik-css.jar:
|
||||
Bundle-ManifestVersion: 2
|
||||
Bundle-Name: Batik CSS
|
||||
Bundle-Vendor: Debian.org
|
||||
Bundle-SymbolicName: org.apache.batik.css
|
||||
Bundle-Version: 1.12.0
|
||||
Class-Path: /usr/share/java/batik-constants.jar /usr/share/java/batik-i18n.jar /usr/share/java/batik-util.jar /usr/share/java/jaxp-1.4.jar /usr/share/java/xmlgraphics-commons.jar
|
||||
Require-Bundle: org.apache.batik.util;bundle-version="[1.7.0,1.12.1)",org.w3c.css.sac,org.apache.batik.i18n
|
||||
Export-Package: org.apache.batik.css.dom,org.apache.batik.css.engine,org.apache.batik.css.engine.sac,org.apache.batik.css.engine.value,org.apache.batik.css.engine.value.css2,org.apache.batik.css.engine.value.svg,org.apache.batik.css.engine.value.svg12,org.apache.batik.css.parser
|
||||
|
||||
usr/share/java/batik-dom.jar:
|
||||
Bundle-ManifestVersion: 2
|
||||
Bundle-Name: Batik DOM
|
||||
Bundle-Vendor: Debian.org
|
||||
Bundle-SymbolicName: org.apache.batik.dom
|
||||
Bundle-Version: 1.12.0
|
||||
Class-Path: /usr/share/java/batik-constants.jar /usr/share/java/batik-css.jar /usr/share/java/batik-ext.jar /usr/share/java/batik-i18n.jar /usr/share/java/batik-util.jar /usr/share/java/jaxp-1.4.jar /usr/share/java/xalan2.jar
|
||||
Export-Package: org.apache.batik.dom,org.apache.batik.dom.events,org.apache.batik.dom.traversal,org.apache.batik.dom.util,org.apache.batik.dom.xbl
|
||||
|
||||
usr/share/java/batik-ext.jar:
|
||||
Class-Path: /usr/share/java/jaxp-1.4.jar
|
||||
|
||||
usr/share/java/batik-extension.jar:
|
||||
Class-Path: /usr/share/java/batik-anim.jar /usr/share/java/batik-bridge.jar /usr/share/java/batik-constants.jar /usr/share/java/batik-css.jar /usr/share/java/batik-dom.jar /usr/share/java/batik-ext.jar /usr/share/java/batik-gvt.jar /usr/share/java/batik-util.jar /usr/share/java/jaxp-1.4.jar
|
||||
|
||||
usr/share/java/batik-gui-util.jar:
|
||||
Bundle-ManifestVersion: 2
|
||||
Bundle-Name: Batik GUI Util
|
||||
Bundle-Vendor: Debian.org
|
||||
Bundle-SymbolicName: org.apache.batik.util.gui
|
||||
Bundle-Version: 1.12.0
|
||||
Class-Path: /usr/share/java/batik-util.jar /usr/share/java/batik-xml.jar
|
||||
Export-Package: org.apache.batik.util.gui,org.apache.batik.util.gui.resource,org.apache.batik.util.gui.xmleditor
|
||||
|
||||
usr/share/java/batik-gvt.jar:
|
||||
Class-Path: /usr/share/java/batik-ext.jar /usr/share/java/batik-util.jar
|
||||
|
||||
usr/share/java/batik-i18n.jar:
|
||||
Bundle-ManifestVersion: 2
|
||||
Bundle-Name: Batik i18n
|
||||
Bundle-Vendor: Debian.org
|
||||
Bundle-SymbolicName: org.apache.batik.i18n
|
||||
Bundle-Version: 1.12.0
|
||||
Export-Package: org.apache.batik.i18n
|
||||
|
||||
usr/share/java/batik-parser.jar:
|
||||
Bundle-ManifestVersion: 2
|
||||
Bundle-Name: Batik Parser
|
||||
Bundle-Vendor: Debian.org
|
||||
Bundle-SymbolicName: org.apache.batik.parser
|
||||
Bundle-Version: 1.12.0
|
||||
Class-Path: /usr/share/java/batik-ext.jar /usr/share/java/batik-i18n.jar /usr/share/java/batik-util.jar /usr/share/java/batik-xml.jar /usr/share/java/jaxp-1.4.jar
|
||||
Export-Package: org.apache.batik.parser
|
||||
|
||||
usr/share/java/batik-script.jar:
|
||||
Class-Path: /usr/share/java/batik-anim.jar /usr/share/java/batik-i18n.jar /usr/share/java/batik-util.jar /usr/share/java/jaxp-1.4.jar /usr/share/java/rhino.jar
|
||||
|
||||
usr/share/java/batik-slideshow.jar:
|
||||
Class-Path: /usr/share/java/batik-bridge.jar /usr/share/java/batik-gvt.jar /usr/share/java/jaxp-1.4.jar
|
||||
Main-Class: org.apache.batik.apps.slideshow.Main
|
||||
|
||||
usr/share/java/batik-svg-dom.jar:
|
||||
Bundle-ManifestVersion: 2
|
||||
Bundle-Name: Batik SVG DOM
|
||||
Bundle-Vendor: Debian.org
|
||||
Bundle-SymbolicName: org.apache.batik.dom.svg
|
||||
Bundle-Version: 1.12.0
|
||||
Class-Path: /usr/share/java/batik-css.jar /usr/share/java/batik-dom.jar /usr/share/java/batik-ext.jar /usr/share/java/batik-parser.jar /usr/share/java/batik-util.jar /usr/share/java/jaxp-1.4.jar
|
||||
Export-Package: org.apache.batik.dom.anim,org.apache.batik.dom.svg,org.apache.batik.dom.svg12
|
||||
|
||||
usr/share/java/batik-svgbrowser.jar:
|
||||
Class-Path: /usr/share/java/batik-anim.jar /usr/share/java/batik-bridge.jar /usr/share/java/batik-constants.jar /usr/share/java/batik-dom.jar /usr/share/java/batik-ext.jar /usr/share/java/batik-gvt.jar /usr/share/java/batik-i18n.jar /usr/share/java/batik-swing.jar /usr/share/java/batik-transcoder.jar /usr/share/java/batik-util.jar /usr/share/java/jaxp-1.4.jar
|
||||
Main-Class: org.apache.batik.apps.svgbrowser.Main
|
||||
|
||||
usr/share/java/batik-svggen.jar:
|
||||
Bundle-ManifestVersion: 2
|
||||
Bundle-Name: Batik SVG Gen
|
||||
Bundle-Vendor: Debian.org
|
||||
Bundle-SymbolicName: org.apache.batik.svggen
|
||||
Bundle-Version: 1.12.0
|
||||
Class-Path: /usr/share/java/batik-constants.jar /usr/share/java/batik-ext.jar /usr/share/java/batik-i18n.jar /usr/share/java/batik-util.jar /usr/share/java/jaxp-1.4.jar
|
||||
Export-Package: org.apache.batik.svggen,org.apache.batik.svggen.font,org.apache.batik.svggen.font.table
|
||||
|
||||
usr/share/java/batik-svgpp.jar:
|
||||
Class-Path: /usr/share/java/batik-i18n.jar /usr/share/java/batik-transcoder.jar
|
||||
Main-Class: org.apache.batik.apps.svgpp.Main
|
||||
|
||||
usr/share/java/batik-svgrasterizer.jar:
|
||||
Class-Path: /usr/share/java/batik-i18n.jar /usr/share/java/batik-parser.jar /usr/share/java/batik-transcoder.jar /usr/share/java/batik-util.jar
|
||||
Main-Class: org.apache.batik.apps.rasterizer.Main
|
||||
|
||||
usr/share/java/batik-swing.jar:
|
||||
Class-Path: /usr/share/java/batik-anim.jar /usr/share/java/batik-bridge.jar /usr/share/java/batik-constants.jar /usr/share/java/batik-css.jar /usr/share/java/batik-dom.jar /usr/share/java/batik-ext.jar /usr/share/java/batik-gvt.jar /usr/share/java/batik-i18n.jar /usr/share/java/batik-script.jar /usr/share/java/batik-util.jar /usr/share/java/jaxp-1.4.jar
|
||||
|
||||
usr/share/java/batik-transcoder.jar:
|
||||
Bundle-ManifestVersion: 2
|
||||
Bundle-Name: Batik Parser
|
||||
Bundle-Vendor: Debian.org
|
||||
Bundle-SymbolicName: org.apache.batik.transcoder
|
||||
Bundle-Version: 1.12.0
|
||||
Class-Path: /usr/share/java/batik-anim.jar /usr/share/java/batik-bridge.jar /usr/share/java/batik-codec.jar /usr/share/java/batik-dom.jar /usr/share/java/batik-ext.jar /usr/share/java/batik-gvt.jar /usr/share/java/batik-i18n.jar /usr/share/java/batik-svggen.jar /usr/share/java/batik-svg-dom.jar /usr/share/java/batik-transcoder.jar /usr/share/java/batik-util.jar /usr/share/java/batik-xml.jar /usr/share/java/jaxp-1.4.jar
|
||||
Export-Package: org.apache.batik.transcoder,org.apache.batik.transcoder.image,org.apache.batik.transcoder.keys,org.apache.batik.transcoder.print,org.apache.batik.transcoder.svg2svg,org.apache.batik.transcoder.wmf,org.apache.batik.transcoder.wmf.tosvg
|
||||
|
||||
usr/share/java/batik-ttf2svg.jar:
|
||||
Class-Path: /usr/share/java/batik-svggen.jar
|
||||
Main-Class: org.apache.batik.apps.ttf2svg.Main
|
||||
|
||||
usr/share/java/batik-util.jar:
|
||||
Bundle-ManifestVersion: 2
|
||||
Bundle-Name: Batik Util
|
||||
Bundle-Vendor: Debian.org
|
||||
Bundle-SymbolicName: org.apache.batik.util
|
||||
Bundle-Version: 1.12.0
|
||||
Class-Path: /usr/share/java/batik-constants.jar /usr/share/java/batik-i18n.jar
|
||||
Require-Bundle: org.apache.batik.util.gui;bundle-version="[1.7.0,1.12.1)"
|
||||
Export-Package: org.apache.batik,org.apache.batik.i18n,org.apache.batik.util,org.apache.batik.util.io,org.apache.batik.util.resources
|
||||
|
||||
usr/share/java/batik-xml.jar:
|
||||
Bundle-ManifestVersion: 2
|
||||
Bundle-Name: Batik XML
|
||||
Bundle-Vendor: Debian.org
|
||||
Bundle-SymbolicName: org.apache.batik.xml
|
||||
Bundle-Version: 1.12.0
|
||||
Class-Path: /usr/share/java/batik-i18n.jar /usr/share/java/batik-util.jar
|
||||
Export-Package: org.apache.batik.xml
|
|
@ -0,0 +1,280 @@
|
|||
.\" 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 <dir|file>
|
||||
.IP
|
||||
output directory. If there is a single input file, this can be a file.
|
||||
.TP
|
||||
\fB\-m\fR <mimeType>
|
||||
.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 <width>
|
||||
.IP
|
||||
output width. This is a floating point value.
|
||||
.TP
|
||||
\fB\-h\fR <height>
|
||||
.IP
|
||||
output height. This is a floating point value.
|
||||
.TP
|
||||
\fB\-maxw\fR <width>
|
||||
.IP
|
||||
Maximum output width. This is a floating point value.
|
||||
.TP
|
||||
\fB\-maxh\fR <height>
|
||||
.IP
|
||||
Maximum output height. This is a floating point value.
|
||||
.TP
|
||||
\fB\-a\fR <area>
|
||||
.IP
|
||||
output area. The format for <area> is x,y,w,h, where x, y, w and h
|
||||
are floating point values.
|
||||
.TP
|
||||
\fB\-bg\fR <color>
|
||||
.IP
|
||||
output color. The format for <color> is a.r.g.b, where a, r, g and b
|
||||
are integer values.
|
||||
.TP
|
||||
\fB\-cssMedia\fR <media>
|
||||
.IP
|
||||
CSS media type for which the source SVG files should be
|
||||
converted.
|
||||
.TP
|
||||
\fB\-cssAlternate\fR <alternate>
|
||||
.IP
|
||||
CSS alternate stylesheet to use when converting the source
|
||||
SVG files.
|
||||
.TP
|
||||
\fB\-cssUser\fR <userStylesheet>
|
||||
.IP
|
||||
CSS user stylesheet URI to apply to converted SVG documents
|
||||
in addition to any other referened or embedded stylesheets.
|
||||
.TP
|
||||
\fB\-font\-family\fR <defaultFontFamily>
|
||||
.IP
|
||||
Value used as a default when no font\-family value
|
||||
is specified.
|
||||
.TP
|
||||
\fB\-lang\fR <userLanguage>
|
||||
.IP
|
||||
User language to use when converting SVG documents.
|
||||
.TP
|
||||
\fB\-q\fR <quality>
|
||||
.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 palette, resulting in an Indexed image. This is
|
||||
currently only supported for PNG conversion.
|
||||
.TP
|
||||
\fB\-dpi\fR <resolution>
|
||||
.IP
|
||||
Resolution for the output 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 <listOfAllowedScripts> List of script types (i.e.,
|
||||
.IP
|
||||
values for the type attribute in the <script> tag) which
|
||||
should be loaded.
|
||||
.TP
|
||||
\fB\-d\fR <dir|file>
|
||||
.IP
|
||||
output directory. If there is a single input file, this can be a file.
|
||||
.TP
|
||||
\fB\-m\fR <mimeType>
|
||||
.IP
|
||||
output mime type.
|
||||
.TP
|
||||
\fB\-w\fR <width>
|
||||
.IP
|
||||
output width. This is a floating point value.
|
||||
.TP
|
||||
\fB\-h\fR <height>
|
||||
.IP
|
||||
output height. This is a floating point value.
|
||||
.TP
|
||||
\fB\-maxw\fR <width>
|
||||
.IP
|
||||
Maximum output width. This is a floating point value.
|
||||
.TP
|
||||
\fB\-maxh\fR <height>
|
||||
.IP
|
||||
Maximum output height. This is a floating point value.
|
||||
.TP
|
||||
\fB\-a\fR <area>
|
||||
.IP
|
||||
output area. The format for <area> is x,y,w,h, where x, y, w and h
|
||||
are floating point values.
|
||||
.TP
|
||||
\fB\-bg\fR <color>
|
||||
.IP
|
||||
output color. The format for <color> is a.r.g.b, where a, r, g and b
|
||||
are integer values.
|
||||
.TP
|
||||
\fB\-cssMedia\fR <media>
|
||||
.IP
|
||||
CSS media type for which the source SVG files should be
|
||||
converted.
|
||||
.TP
|
||||
\fB\-cssAlternate\fR <alternate>
|
||||
.IP
|
||||
CSS alternate stylesheet to use when converting the source
|
||||
SVG files.
|
||||
.TP
|
||||
\fB\-cssUser\fR <userStylesheet>
|
||||
.IP
|
||||
CSS user stylesheet URI to apply to converted SVG documents
|
||||
in addition to any other referened or embedded stylesheets.
|
||||
.TP
|
||||
\fB\-font\-family\fR <defaultFontFamily>
|
||||
.IP
|
||||
Value used as a default when no font\-family value
|
||||
is specified.
|
||||
.TP
|
||||
\fB\-lang\fR <userLanguage>
|
||||
.IP
|
||||
User language to use when converting SVG documents.
|
||||
.TP
|
||||
\fB\-q\fR <quality>
|
||||
.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 palette, resulting in an Indexed image. This is
|
||||
currently only supported for PNG conversion.
|
||||
.TP
|
||||
\fB\-dpi\fR <resolution>
|
||||
.IP
|
||||
Resolution for the output 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
|
||||
.B \-scriptSecurityOff
|
||||
removes any security check on the scripts running
|
||||
as a result of dispatching the onload event. Always enabled, as in
|
||||
most cases,
|
||||
.B rasterizer
|
||||
just fails to run without this option. See
|
||||
.I \-scriptSecurityOn
|
||||
|
||||
.TP
|
||||
.B \-scriptSecurityOn
|
||||
If this is the
|
||||
.I first
|
||||
argument on the command-line, turn security back on. You'll most
|
||||
likely be hit by the possible bug mentioned below.
|
||||
|
||||
.TP
|
||||
.B \-anyScriptOrigin
|
||||
controls whether scripts can be loaded from
|
||||
any location. By default, scripts can only be loaded from
|
||||
the same location as the document referencing them.
|
||||
.TP
|
||||
.B \-scripts\fR <listOfAllowedScripts>
|
||||
List of script types (i.e.,
|
||||
values for the type attribute in the <script> tag) which
|
||||
should be loaded.
|
||||
|
||||
.SH BUGS
|
||||
|
||||
If
|
||||
.B rasterizer
|
||||
fails with an error in the spirit of:
|
||||
|
||||
Exception in thread "main" java.security.AccessControlException: access denied (java.util.PropertyPermission java.security.policy write)
|
||||
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
|
||||
at java.security.AccessController.checkPermission(AccessController.java:546)
|
||||
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
|
||||
at java.lang.System.setProperty(System.java:727)
|
||||
|
||||
Run it with the
|
||||
.I -scriptSecurityOff
|
||||
option on. It seems in some cases the security design is slighlty too
|
||||
strong. This might become the default some day.
|
||||
|
||||
.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 rasterizer
|
||||
is part of
|
||||
.BR batik ,
|
||||
written by the Apache Software Foundation.
|
||||
|
||||
This manual page was written by Vincent Fourmond <fourmond@debian.org>
|
||||
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)
|
|
@ -0,0 +1,51 @@
|
|||
.\" 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 <fourmond@debian.org>
|
||||
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)
|
|
@ -0,0 +1,84 @@
|
|||
.\" 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 SVGPP "1" "January 2008" "Pretty printer for SVG" "User Commands"
|
||||
.SH NAME
|
||||
svgpp \- pretty-printer for SVG files
|
||||
|
||||
.SH
|
||||
.B svgpp
|
||||
.I [options] <input file> [<output file>]
|
||||
|
||||
.SH DESCRIPTION
|
||||
|
||||
.B svgpp
|
||||
pretty-prints SVG code to standard output.
|
||||
|
||||
|
||||
.SH OPTIONS
|
||||
|
||||
.TP
|
||||
\fB\-xml\-decl\fR <string>
|
||||
The value to set to the XML declaraction.
|
||||
|
||||
.TP
|
||||
\fB\-system\-id\fR <string>
|
||||
|
||||
The value to set to the system ID of the doctype.
|
||||
.TP
|
||||
\fB\-tab\-width\fR <number>
|
||||
|
||||
Sets the tabulation width. The default is 4.
|
||||
|
||||
.TP
|
||||
\fB\-doc\-width\fR <number>
|
||||
Sets the document preferred number of columns. The default is 80.
|
||||
|
||||
.TP
|
||||
\fB\-no\-format\fR
|
||||
Disables any formatting. Useful for doctype modifications,
|
||||
newline conversion, ...
|
||||
|
||||
.TP
|
||||
\fB\-public\-id\fR <string>
|
||||
The value to set to the public ID of the doctype.
|
||||
.TP
|
||||
\fB\-newline\fR (cr | cr\-lf | lf)
|
||||
Specifies the type of newline to output. Possible values are:
|
||||
cr (mac), cr\-lf (dos), lf (unix \- the default).
|
||||
.TP
|
||||
\fB\-doctype\fR (change | remove)
|
||||
Removes or changes the DOCTYPE declaration. change is used
|
||||
in conjonction with the \fB\-public\-id\fR and \fB\-system\-id\fR
|
||||
options.
|
||||
|
||||
.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 svgpp
|
||||
is part of
|
||||
.BR batik ,
|
||||
written by the Apache Software Foundation.
|
||||
|
||||
This manual page was written by Vincent Fourmond <fourmond@debian.org>
|
||||
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)
|
|
@ -0,0 +1,77 @@
|
|||
.\" 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 <ttf-path> [-l <range-begin>] [-h <range-end>] [-autorange] [-ascii] [-id <id>] [-o <output-path>] [-testcard]
|
||||
|
||||
|
||||
.SH DESCRIPTION
|
||||
|
||||
Converts a true type font into a SVG font.
|
||||
.I <ttf-path>
|
||||
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 <fourmond@debian.org>
|
||||
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)
|
|
@ -0,0 +1,2 @@
|
|||
* * * * * test
|
||||
org.python jython * * * *
|
|
@ -0,0 +1,5 @@
|
|||
# Include here properties to pass to Maven during the build.
|
||||
# For example:
|
||||
# maven.test.skip=true
|
||||
|
||||
maven.test.skip=true
|
|
@ -0,0 +1,94 @@
|
|||
Description: fixing paths in policy files
|
||||
Author: Vincent Fourmond <fourmond@debian.org>
|
||||
Forwarded: not-needed
|
||||
Last-Update: 2013-10-14
|
||||
|
||||
Index: batik/batik-svgrasterizer/src/main/resources/org/apache/batik/apps/rasterizer/resources/rasterizer.policy
|
||||
===================================================================
|
||||
--- batik.orig/batik-svgrasterizer/src/main/resources/org/apache/batik/apps/rasterizer/resources/rasterizer.policy
|
||||
+++ batik/batik-svgrasterizer/src/main/resources/org/apache/batik/apps/rasterizer/resources/rasterizer.policy
|
||||
@@ -18,27 +18,27 @@
|
||||
// $Id: rasterizer.policy 1855026 2019-03-08 09:57:56Z ssteiner $
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
-grant codeBase "${app.dev.base}/classes/" {
|
||||
+grant codeBase "file:/usr/share/java/batik-all.jar" {
|
||||
permission java.security.AllPermission;
|
||||
};
|
||||
|
||||
-grant codeBase "${app.dev.base}/lib/xml-apis-dom3.jar" {
|
||||
+grant codeBase "file:/usr/share/java/xml-apis-dom3.jar" {
|
||||
permission java.security.AllPermission;
|
||||
};
|
||||
|
||||
-grant codeBase "${app.dev.base}/lib/xerces_2_5_0.jar" {
|
||||
+grant codeBase "file:/usr/share/java/xercesImpl.jar" {
|
||||
permission java.security.AllPermission;
|
||||
};
|
||||
|
||||
-grant codeBase "${app.dev.base}/lib/fop-transcoder-allinone-${xmlgraphics.commons.version}.jar" {
|
||||
+grant codeBase "file:/usr/share/java/fop-transcoder-allinone.jar" {
|
||||
permission java.security.AllPermission;
|
||||
};
|
||||
|
||||
-grant codeBase "${app.dev.base}/lib/xmlgraphics-commons-${xmlgraphics.commons.version}.jar" {
|
||||
+grant codeBase "file:/usr/share/java/xmlgraphics-commons.jar" {
|
||||
permission java.security.AllPermission;
|
||||
};
|
||||
|
||||
-grant codeBase "${app.dev.base}/lib/js.jar" {
|
||||
+grant codeBase "file:/usr/share/java/js.jar" {
|
||||
permission java.lang.RuntimePermission "createClassLoader";
|
||||
permission java.net.SocketPermission "*", "listen, connect, resolve, accept";
|
||||
permission java.lang.RuntimePermission "accessDeclaredMembers";
|
||||
Index: batik/batik-svgbrowser/src/main/resources/org/apache/batik/apps/svgbrowser/resources/svgbrowser.policy
|
||||
===================================================================
|
||||
--- batik.orig/batik-svgbrowser/src/main/resources/org/apache/batik/apps/svgbrowser/resources/svgbrowser.policy
|
||||
+++ batik/batik-svgbrowser/src/main/resources/org/apache/batik/apps/svgbrowser/resources/svgbrowser.policy
|
||||
@@ -18,19 +18,19 @@
|
||||
// $Id: svgbrowser.policy 1855026 2019-03-08 09:57:56Z ssteiner $
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
-grant codeBase "${app.jar.base}/xml-apis-ext-${xmlapis.version}.jar" {
|
||||
+grant codeBase "file:/usr/share/java/xml-apis-ext.jar" {
|
||||
permission java.security.AllPermission;
|
||||
};
|
||||
|
||||
-grant codeBase "${app.jar.base}/xml-apis-${xmlapis.version}.jar" {
|
||||
+grant codeBase "file:/usr/share/java/xml-apis.jar" {
|
||||
permission java.security.AllPermission;
|
||||
};
|
||||
|
||||
-grant codeBase "${app.jar.base}/xalan-${xalan.version}.jar" {
|
||||
+grant codeBase "file:/usr/share/java/xalan2.jar" {
|
||||
permission java.security.AllPermission;
|
||||
};
|
||||
|
||||
-grant codeBase "${app.jar.base}/xercesImpl-2.9.1.jar" {
|
||||
+grant codeBase "file:/usr/share/java/xercesImpl.jar" {
|
||||
permission java.security.AllPermission;
|
||||
};
|
||||
|
||||
@@ -98,11 +98,11 @@ grant codeBase "${app.jar.base}/batik-xm
|
||||
permission java.security.AllPermission;
|
||||
};
|
||||
|
||||
-grant codeBase "${app.jar.base}/fop-transcoder-allinone-${xmlgraphics.commons.version}.jar" {
|
||||
+grant codeBase "file:/usr/share/java/fop-transcoder-allinone.jar" {
|
||||
permission java.security.AllPermission;
|
||||
};
|
||||
|
||||
-grant codeBase "${app.jar.base}/xmlgraphics-commons-${xmlgraphics.commons.version}.jar" {
|
||||
+grant codeBase "file:/usr/share/java/xmlgraphics-commons.jar" {
|
||||
permission java.security.AllPermission;
|
||||
};
|
||||
|
||||
@@ -126,7 +126,7 @@ grant codeBase "${app.jar.base}/batik-sv
|
||||
permission java.security.AllPermission;
|
||||
};
|
||||
|
||||
-grant codeBase "${app.jar.base}/js.jar" {
|
||||
+grant codeBase "file:/usr/share/java/js.jar" {
|
||||
permission java.lang.RuntimePermission "createClassLoader";
|
||||
permission java.net.SocketPermission "*", "listen, connect, resolve, accept";
|
||||
permission java.lang.RuntimePermission "accessDeclaredMembers";
|
|
@ -0,0 +1,144 @@
|
|||
Description: Jython is optional at runtime but required at build time
|
||||
Disable it because we don't want to support it.
|
||||
Author: Markus Koschany <apo@debian.org>
|
||||
Bug-Debian: https://bugs.debian.org/884536
|
||||
Forwarded: not-needed
|
||||
Last-Update: 2018-05-25
|
||||
---
|
||||
.../batik/script/jpython/JPythonInterpreter.java | 105 ---------------------
|
||||
.../script/jpython/JPythonInterpreterFactory.java | 4 +-
|
||||
2 files changed, 2 insertions(+), 107 deletions(-)
|
||||
delete mode 100644 batik-script/src/main/java/org/apache/batik/script/jpython/JPythonInterpreter.java
|
||||
|
||||
diff --git a/batik-script/src/main/java/org/apache/batik/script/jpython/JPythonInterpreter.java b/batik-script/src/main/java/org/apache/batik/script/jpython/JPythonInterpreter.java
|
||||
deleted file mode 100644
|
||||
index 7065386..0000000
|
||||
--- a/batik-script/src/main/java/org/apache/batik/script/jpython/JPythonInterpreter.java
|
||||
+++ /dev/null
|
||||
@@ -1,105 +0,0 @@
|
||||
-/*
|
||||
-
|
||||
- Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
- contributor license agreements. See the NOTICE file distributed with
|
||||
- this work for additional information regarding copyright ownership.
|
||||
- The ASF licenses this file to You 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.
|
||||
-
|
||||
- */
|
||||
-package org.apache.batik.script.jpython;
|
||||
-
|
||||
-import java.io.IOException;
|
||||
-import java.io.Reader;
|
||||
-import java.io.Writer;
|
||||
-import java.util.Locale;
|
||||
-
|
||||
-import org.apache.batik.script.InterpreterException;
|
||||
-import org.python.util.PythonInterpreter;
|
||||
-
|
||||
-/**
|
||||
- * A simple implementation of <code>Interpreter</code> interface to use
|
||||
- * JPython python parser.
|
||||
- * @author <a href="mailto:cjolif@ilog.fr">Christophe Jolif</a>
|
||||
- * @version $Id: JPythonInterpreter.java 1733416 2016-03-03 07:07:13Z gadams $
|
||||
- */
|
||||
-public class JPythonInterpreter implements org.apache.batik.script.Interpreter {
|
||||
- private PythonInterpreter interpreter = null;
|
||||
-
|
||||
- public JPythonInterpreter() {
|
||||
- interpreter = new PythonInterpreter();
|
||||
- }
|
||||
-
|
||||
- // org.apache.batik.script.Intepreter implementation
|
||||
-
|
||||
- /**
|
||||
- * Returns the content types of the scripting languages this interpreter
|
||||
- * handles.
|
||||
- */
|
||||
- public String[] getMimeTypes() {
|
||||
- return JPythonInterpreterFactory.JPYTHON_MIMETYPES;
|
||||
- }
|
||||
-
|
||||
- public Object evaluate(Reader scriptreader)
|
||||
- throws IOException {
|
||||
- return evaluate(scriptreader, "");
|
||||
- }
|
||||
-
|
||||
- public Object evaluate(Reader scriptreader, String description)
|
||||
- throws IOException {
|
||||
-
|
||||
- // oups jpython doesn't accept reader in its eval method :-(
|
||||
- StringBuffer sbuffer = new StringBuffer();
|
||||
- char[] buffer = new char[1024];
|
||||
- int val = 0;
|
||||
- while ((val = scriptreader.read(buffer)) != -1) {
|
||||
- sbuffer.append(buffer,0, val);
|
||||
- }
|
||||
- String str = sbuffer.toString();
|
||||
- return evaluate(str);
|
||||
- }
|
||||
-
|
||||
- public Object evaluate(String script) {
|
||||
- try {
|
||||
- interpreter.exec(script);
|
||||
- } catch (org.python.core.PyException e) {
|
||||
- throw new InterpreterException(e, e.getMessage(), -1, -1);
|
||||
- } catch (RuntimeException re) {
|
||||
- throw new InterpreterException(re, re.getMessage(), -1, -1);
|
||||
- }
|
||||
- return null;
|
||||
- }
|
||||
-
|
||||
- public void dispose() {
|
||||
- }
|
||||
-
|
||||
- public void bindObject(String name, Object object) {
|
||||
- interpreter.set(name, object);
|
||||
- }
|
||||
-
|
||||
- public void setOut(Writer out) {
|
||||
- interpreter.setOut(out);
|
||||
- }
|
||||
-
|
||||
- // org.apache.batik.i18n.Localizable implementation
|
||||
-
|
||||
- public Locale getLocale() {
|
||||
- return null;
|
||||
- }
|
||||
-
|
||||
- public void setLocale(Locale locale) {
|
||||
- }
|
||||
-
|
||||
- public String formatMessage(String key, Object[] args) {
|
||||
- return null;
|
||||
- }
|
||||
-}
|
||||
diff --git a/batik-script/src/main/java/org/apache/batik/script/jpython/JPythonInterpreterFactory.java b/batik-script/src/main/java/org/apache/batik/script/jpython/JPythonInterpreterFactory.java
|
||||
index 3004921..a80c7a8 100644
|
||||
--- a/batik-script/src/main/java/org/apache/batik/script/jpython/JPythonInterpreterFactory.java
|
||||
+++ b/batik-script/src/main/java/org/apache/batik/script/jpython/JPythonInterpreterFactory.java
|
||||
@@ -56,7 +56,7 @@ public class JPythonInterpreterFactory implements InterpreterFactory {
|
||||
* @param svg12 whether the document is an SVG 1.2 document
|
||||
*/
|
||||
public Interpreter createInterpreter(URL documentURL, boolean svg12) {
|
||||
- return new JPythonInterpreter();
|
||||
+ return null;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -69,6 +69,6 @@ public class JPythonInterpreterFactory implements InterpreterFactory {
|
||||
*/
|
||||
public Interpreter createInterpreter(URL documentURL, boolean svg12,
|
||||
ImportInfo imports) {
|
||||
- return new JPythonInterpreter();
|
||||
+ return null;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,2 @@
|
|||
06_fix_paths_in_policy_files.patch
|
||||
no-Jython-support.patch
|
|
@ -0,0 +1,6 @@
|
|||
#!/usr/bin/make -f
|
||||
|
||||
export JAVA_HOME = /usr/lib/jvm/default-java
|
||||
|
||||
%:
|
||||
dh $@ --buildsystem=maven --with javahelper
|
|
@ -0,0 +1 @@
|
|||
3.0 (quilt)
|
|
@ -0,0 +1,4 @@
|
|||
version=4
|
||||
opts="pgpsigurlmangle=s/$/.asc/, \
|
||||
repack, repacksuffix=+dfsg, dversionmangle=auto, compression=xz" \
|
||||
https://archive.apache.org/dist/xmlgraphics/batik/source/batik-src-([\d.]+)\.tar\.gz
|
|
@ -0,0 +1,28 @@
|
|||
#!/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 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 "$@"
|
|
@ -0,0 +1,9 @@
|
|||
#!/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 xmlgraphics-commons
|
||||
|
||||
run_java org.apache.batik.apps.svgbrowser.Main "$@"
|
|
@ -0,0 +1,9 @@
|
|||
#!/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 "$@"
|
|
@ -0,0 +1,9 @@
|
|||
#!/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 "$@"
|
Loading…
Reference in New Issue