Author: rockclimb-guest Date: 2011-01-19 19:04:42 +0000 (Wed, 19 Jan 2011) New Revision: 13235
Added: trunk/libitext5-java/debian/ trunk/libitext5-java/debian/changelog trunk/libitext5-java/debian/compat trunk/libitext5-java/debian/control trunk/libitext5-java/debian/copyright trunk/libitext5-java/debian/patches/ trunk/libitext5-java/debian/patches/01_allow_standard_input.diff trunk/libitext5-java/debian/patches/debian-specifics.diff trunk/libitext5-java/debian/patches/series trunk/libitext5-java/debian/rules trunk/libitext5-java/debian/source/ trunk/libitext5-java/debian/source/format trunk/libitext5-java/debian/watch Log: [svn-inject] Applying Debian modifications (5.0.5-1) to trunk Property changes on: trunk/libitext5-java/debian ___________________________________________________________________ Added: mergeWithUpstream + 1 Added: trunk/libitext5-java/debian/changelog =================================================================== --- trunk/libitext5-java/debian/changelog (rev 0) +++ trunk/libitext5-java/debian/changelog 2011-01-19 19:04:42 UTC (rev 13235) @@ -0,0 +1,159 @@ +libitext5-java (5.0.5-1) unstable; urgency=low + + * New upstream release. (Closes: #609840) + * Updated standards version to 3.9.1 + * Updated debian/copyright + + -- Andrew Ross <[email protected]> Tue, 30 Nov 2010 22:22:37 +0000 + +libitext-java (2.1.7-2) unstable; urgency=low + + [ Michael Koch ] + * Removed Gerardo Curiel from Uploaders (Closes: #553081). + + [ Onkar Shinde ] + * Move -gcj package from 'Recommends' to 'Suggests' as discussed on Debian + Java mailing list. + * Update standards version to 3.8.4. + * Convert direct code changes to patch. + * Remove simple-patchsys inclusion from rules file. + * Convert package to source format 3.0. + + -- Debian Java Maintainers <[email protected]> Tue, 18 May 2010 20:08:26 +0530 + +libitext-java (2.1.7-1) unstable; urgency=low + + * New upstream release (Closes: #549347). + * Build-Depends on libbctsp-java. + * Build-Depends on debhelper (>= 7). + * Added missing Depends on ${misc:Depends}. + * Added Vcs-Svn and Vcs-Browser fields. + * Updated Standards-Version 3.8.3. + + -- Michael Koch <[email protected]> Fri, 02 Oct 2009 21:23:15 +0200 + +libitext-java (2.1.5-1) unstable; urgency=low + + * New upstream version. + * Build packages natively compiled for gcj. + * Handle reading PDF's from stdin. + + -- Matthias Klose <[email protected]> Mon, 27 Apr 2009 23:59:05 +0200 + +libitext-java (2.1.4-1) unstable; urgency=low + + * New upstream release + + -- Adriaan Peeters <[email protected]> Sun, 23 Nov 2008 12:26:51 +0100 + +libitext-java (2.1.3-1) unstable; urgency=low + + [Adriaan Peeters] + * New upstream release (Closes: #447359) + * Removed patches: + - debian/patches/01_jpeg_encoder_classpath.patch + - debian/patches/02_ant_properties.patch + * debian/control: + - Added libitext-rtf-java and libitext-rups-java binary packages + - Added myself to Uploaders + - Added Homepage + - Bumped Standards-Version from 3.7.2 to 3.8.0, no changes needed + - Increased dephelper Build-Depends to >= 5.0.0 + - Only use Build-Depends, do not depend on libservlet2.3-java, ecj + - Rewrote short and long descriptions + * debian/rules: + - Added DEB_ANT_BUILDFILE + - Removed ANT_ARGS + - Removed API_VERSION, use DEB_UPSTREAM_VERSION instead + - Compiled iText.jar is in lib/ instead of build/bin/ + - Use dh_link instead of ln -s + - Added build targets for libitext-rtf-java and libitext-rups-java + * Bumped debian/compat from 4 to 5 + * Added debian/watch + + [Matthias Klose] + * (Build-)depend on default-jre/-jdk. + + [ Torsten Werner ] + * Add missing Build-Depends. + * Add myself to Uploaders. + * Add copyright statement to debian/copyright. + * Some lintian fixes. + * Add more copyright and license information to debian/copyright. + + -- Torsten Werner <[email protected]> Sun, 31 Aug 2008 01:03:45 +0200 + +libitext-java (1.4.5-3) unstable; urgency=low + + * Build-Depend on ecj instead of ecj-bootstrap. Closes: #442958. + + -- Michael Koch <[email protected]> Tue, 18 Sep 2007 20:57:45 +0200 + +libitext-java (1.4.5-2) unstable; urgency=low + + * Removed Suggests on libitext-java-doc. This package doesn't exist. + * Removed two trailing empty lines. + * Added myself to Uploaders. + + -- Michael Koch <[email protected]> Thu, 02 Aug 2007 07:30:43 +0200 + +libitext-java (1.4.5-1) unstable; urgency=low + + * New upstream release + * debian/rules modified due to a new build.xml file + * Patched Pdfgraphics2d.java to remove privative dependencie on com.sun.image.codec.jpeg.* + (more information on + http://developer.classpath.org/mediation/ClasspathMigration#head-d4ee9efe53a641e29ffdcd96e985bf38bbc671c1 ) + * ant/.ant.properties paths fixed + * Build package with the packages provided by java-gcj-compat-dev + * Removed unused README.Debian + * Removed unused debian/patches/01libitext-java-addbuildscript.patch + + + -- Gerardo Curiel <[email protected]> Thu, 21 Sep 2006 00:08:53 -0400 + +libitext-java (1.02b-5) unstable; urgency=low + + + * debian/rules,debian/control: Build package with Kaffe to be able + to move the package to main. + * debian/rules: Converted rules to the cdbs + * debian/libitext-java-doc.docs,libitext-java.dirs: Removed partly + generated files, and used the debhelpers direct in the rules. + * debian/patches/01libitext-java-addbuildscript.patch: Used a patch + instead to have this file direct to the diff.gz + * debian/rules: Renamed jar files like iTextXML.jar to + itext-xml-1.02b.jar + * debian/rules,debian/control: Depending on libservlet2.3-java + + -- Stephan Michels <[email protected]> Thu, 23 Feb 2006 07:28:32 +0100 + +libitext-java (1.02b-4) unstable; urgency=high + + * Applied patch proposed by Andreas Jochens related to + FTBFS: JAVA_HOME is not defined correctly. (Closes: Bug#306296) + + -- Christian Bayle <[email protected]> Mon, 25 Apr 2005 21:56:25 +0200 + +libitext-java (1.02b-3) unstable; urgency=low + + * Rebuild with .orig tarball + + -- Christian Bayle <[email protected]> Thu, 19 Feb 2004 21:13:08 +0100 + +libitext-java (1.02b-1) unstable; urgency=low + + * Removed depend on gij-3.2 (closes #232871) + * New upstream version + + -- Christian Bayle <[email protected]> Thu, 19 Feb 2004 20:40:48 +0100 + +libitext-java (1.00-1) unstable; urgency=low + + * Initial Release. + + -- Christian Bayle <[email protected]> Mon, 7 Jul 2003 00:47:01 +0200 + +Local variables: +mode: debian-changelog +End: Added: trunk/libitext5-java/debian/compat =================================================================== --- trunk/libitext5-java/debian/compat (rev 0) +++ trunk/libitext5-java/debian/compat 2011-01-19 19:04:42 UTC (rev 13235) @@ -0,0 +1 @@ +7 Added: trunk/libitext5-java/debian/control =================================================================== --- trunk/libitext5-java/debian/control (rev 0) +++ trunk/libitext5-java/debian/control 2011-01-19 19:04:42 UTC (rev 13235) @@ -0,0 +1,48 @@ +Source: libitext5-java +Section: java +Priority: optional +Maintainer: Debian Java Maintainers <[email protected]> +Uploaders: Andrew Ross <[email protected]> +Build-Depends: debhelper (>= 7), javahelper (>=0.32~), cdbs, default-jdk-builddep, + ant, libbcprov-java, libbcmail-java, libbctsp-java, libdom4j-java, libpdfrenderer-java, + libbcprov-java-doc, libbcmail-java-doc, libbctsp-java-doc, libdom4j-java-doc +Build-Depends-Indep: default-jdk, default-jdk-doc +Standards-Version: 3.9.1 +Homepage: http://itextpdf.com/ +Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libitext5-java +Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libitext5-java + +Package: libitext5-java +Architecture: all +Depends: ${java:Depends}, ${misc:Depends} +Recommends: ${java:Recommends} +Description: Java Library to create and manipulate PDF on the fly + iText is a library that allows you to generate PDF files on the fly. + The iText classes are very useful for people who need to generate read-only, + platform independent documents containing text, lists, tables and images. + The library is especially useful in combination with Java(TM) + technology-based Servlets: The look and feel of HTML is browser dependent; + with iText and PDF you can control exactly how your servlet's output will look. + +Package: libitext5-rups-java +Architecture: all +Depends: ${java:Depends}, libitext5-java (= ${binary:Version}), ${misc:Depends} +Recommends: ${java:Recommends} +Description: graphical tool for Reading and Updating PDF Syntax (RUPS) + iText RUPS provides a GUI for visualizing PDF files and investigating their + internal structure. + +Package: libitext5-java-doc +Section: doc +Architecture: all +Depends: ${java:Depends}, ${misc:Depends} +Recommends: ${java:Recommends} +Description: Java Library to create and manipulate PDF on the fly (documentation) + iText is a library that allows you to generate PDF files on the fly. + The iText classes are very useful for people who need to generate read-only, + platform independent documents containing text, lists, tables and images. + The library is especially useful in combination with Java(TM) + technology-based Servlets: The look and feel of HTML is browser dependent; + with iText and PDF you can control exactly how your servlet's output will look. + . + This package contains the documentation. Added: trunk/libitext5-java/debian/copyright =================================================================== --- trunk/libitext5-java/debian/copyright (rev 0) +++ trunk/libitext5-java/debian/copyright 2011-01-19 19:04:42 UTC (rev 13235) @@ -0,0 +1,306 @@ +This package was debianized by Christian Bayle +<[email protected]>, Mon, 7 Jul 2003 00:47:01 +0200 + +The debian packaging was updated by Andrew Ross +<[email protected]> Tue, 30 Nov 2010 22:22:37 +0000 + + +It was downloaded from http://itextpdf.com/download.php + + +Copyright (c) 1998-2009 1T3XT BVBA +Authors: Bruno Lowagie, Paulo Soares, et al. + + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License version 3 +as published by the Free Software Foundation with the addition of the +following permission added to Section 15 as permitted in Section 7(a): +FOR ANY PART OF THE COVERED WORK IN WHICH THE COPYRIGHT IS OWNED BY +1T3XT, 1T3XT DISCLAIMS THE WARRANTY OF NON INFRINGEMENT OF THIRD PARTY +RIGHTS. + +This program is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Affero General Public License for more details. You should have +received a copy of the GNU Affero General Public License along with +this program; if not, see http://www.gnu.org/licenses or write to the +Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA, 02110-1301 USA, or download the license from the following +URL: + +http://itextpdf.com/terms-of-use/ + +The interactive user interfaces in modified source and object code +versions of this program must display Appropriate Legal Notices, as +required under Section 5 of the GNU Affero General Public License. + +In accordance with Section 7(b) of the GNU Affero General Public +License, you must retain the producer line in every PDF that is +created or manipulated using iText. + +You can be released from the requirements of the license by purchasing +a commercial license. Buying such a license is mandatory as soon as +you develop commercial activities involving the iText software without +disclosing the source code of your own applications. These activities +include: offering paid services to customers as an ASP, serving PDFs +on the fly in a web application, shipping iText with a closed source +product. + +For more information, please contact iText Software Corp. at this +address: [email protected] + +----------------------------------------------------------------------- + +The following are under different licenses: + +(1) + +ExceptionConverter: +The original version of this class was published in an article by Heinz Kabutz. +Read http://www.javaspecialists.co.za/archive/newsletter.do?issue=033&print=yes&locale=en_US +"This material from The Java(tm) Specialists' Newsletter by Maximum Solutions +(South Africa). Please contact Maximum Solutions for more information. + +(2) + +SimpleXMLParser: +The original version of this class was published in a JavaWorld article by Steven Brandt: +http://www.javaworld.com/javaworld/javatips/jw-javatip128.html +Jennifer Orr (JavaWorld) wrote: "You have permission to use the code appearing in +Steven Brandt's JavaWorld article, 'Java Tip 128: Create a quick-and-dirty XML parser.' +We ask that you reference the author as the creator and JavaWorld as the original publisher +of the code." Steven Brandt also agreed with the use of this class. + +(3) + +The following files contain material that was copyrighted by SUN: + +com/itextpdf/text/pdf/LZWDecoder.java (first appearance in iText: 2002-02-08) +com/itextpdf/text/pdf/codec/BmpImage.java (first appearance in iText: 2003-06-20) +com/itextpdf/text/pdf/codec/PngImage.java (first appearance in iText: 2003-04-25) +com/itextpdf/text/pdf/codec/TIFFDirectory.java (first appearance in iText: 2003-04-09) +com/itextpdf/text/pdf/codec/TIFFFaxDecoder.java (first appearance in iText: 2003-04-09) +com/itextpdf/text/pdf/codec/TIFFField.java (first appearance in iText: 2003-04-09) +com/itextpdf/text/pdf/codec/TIFFLZWDecoder.java (first appearance in iText: 2003-04-09) + +The original code was released under the BSD license, and contained the following +extra restriction: "You acknowledge that Software is not designed, licensed or intended +for use in the design, construction, operation or maintenance of any nuclear facility." + +In a mail sent to Bruno Lowagie on January 23, 2008, Brian Burkhalter (@sun.com) +writes: "This code is under a BSD license and supersedes the older codec packages +on which your code is based. It also includes numerous fixes among them being the +ability to handle a lot of 'broken' TIFFs." + +Note that numerous fixes were applied to the code used in iText by Paulo Soares, +but apart from the fixes there were no essential changes between the code that +was originally adapted and the code that is now available under the following +license: + + Copyright (c) 2005 Sun Microsystems, Inc. All Rights Reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistribution of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistribution in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + + Neither the name of Sun Microsystems, Inc. or the names of + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + This software is provided "AS IS," without a warranty of any + kind. ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND + WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY + EXCLUDED. SUN MIDROSYSTEMS, INC. ("SUN") AND ITS LICENSORS SHALL + NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF + USING, MODIFYING OR DISTRIBUTING THIS SOFTWARE OR ITS + DERIVATIVES. IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE FOR + ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, INDIRECT, SPECIAL, + CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED AND + REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF THE USE OF OR + INABILITY TO USE THIS SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE + POSSIBILITY OF SUCH DAMAGES. + + You acknowledge that this software is not designed or intended for + use in the design, construction, operation or maintenance of any + nuclear facility. + +The main difference can be found in the final paragraph: the restriction +that the source code is not "licensed" in this particular situation has +been removed. + +FYI: Brian also added: "A bit of history might be in order. +The codec classes that you used originally were based on some +classes included with JAI but not strictly part of JAI. +As of Java SE 1.4 an official Image I/O framework was +added in javax.imageio.... This frameork supports these formats: + +Java 1.4: GIF (read only), JPEG, PNG +Java 1.5: Added support for BMP and WBMP +Java 1.6: Added support for writing GIF + +The JAI Image I/O Tools packages (jai-imageio-core) were created +to support formats handled by JAI but not included in Java SE +as well as some new things like JPEG2000." + +(4) the file com/itextpdf/text/pdf/codec/TIFFConstants +and some other TIFF related code is derived from LIBTIFF: + + Copyright (c) 1988-1997 Sam Leffler + Copyright (c) 1991-1997 Silicon Graphics, Inc. + + Permission to use, copy, modify, distribute, and sell this software and + its documentation for any purpose is hereby granted without fee, provided + that (i) the above copyright notices and this permission notice appear in + all copies of the software and related documentation, and (ii) the names of + Sam Leffler and Silicon Graphics may not be used in any advertising or + publicity relating to the software without the specific, prior written + permission of Sam Leffler and Silicon Graphics. + + THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, + EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY + WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. + + IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR + ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, + OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, + WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF + LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE + OF THIS SOFTWARE. + +(5) + +BidiOrder: +As stated in the Javadoc comments, materials from Unicode.org +are used in the class com/itextpdf/text/pdf/BidiOrder.java +The following license applies to these materials: + http://www.unicode.org/copyright.html#Exhibit1 + + EXHIBIT 1 + UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE + + Unicode Data Files include all data files under the directories + http://www.unicode.org/Public/, http://www.unicode.org/reports/, + and http://www.unicode.org/cldr/data/ . + Unicode Software includes any source code published in the Unicode Standard + or under the directories http://www.unicode.org/Public/, http://www.unicode.org/reports/, + and http://www.unicode.org/cldr/data/. + + NOTICE TO USER: Carefully read the following legal agreement. BY DOWNLOADING, + INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S DATA FILES ("DATA FILES"), + AND/OR SOFTWARE ("SOFTWARE"), YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, + ALL OF THE TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT + DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE. + + COPYRIGHT AND PERMISSION NOTICE + Copyright (C) 1991-2007 Unicode, Inc. All rights reserved. Distributed under + the Terms of Use in http://www.unicode.org/copyright.html. + + Permission is hereby granted, free of charge, to any person obtaining a copy + of the Unicode data files and any associated documentation (the "Data Files") + or Unicode software and any associated documentation (the "Software") to deal + in the Data Files or Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, and/or sell copies + of the Data Files or Software, and to permit persons to whom the Data Files + or Software are furnished to do so, provided that (a) the above copyright + notice(s) and this permission notice appear with all copies of the Data Files + or Software, (b) both the above copyright notice(s) and this permission notice + appear in associated documentation, and (c) there is clear notice in each + modified Data File or in the Software as well as in the documentation associated + with the Data File(s) or Software that the data or software has been modified. + + THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE + LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY + DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN + CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA FILES OR SOFTWARE. + + Except as contained in this notice, the name of a copyright holder shall not + be used in advertising or otherwise to promote the sale, use or other dealings + in these Data Files or Software without prior written authorization of the + copyright holder. + +(6) +Some files use code from different Apache projects. +The source code of these files contains the appropriate copyright notices +as described in the Appendix of http://www.apache.org/licenses/LICENSE-2.0 + +They are + + Copyright 1999-2004 The Apache Software Foundation. + +and + + 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. + +On Debian systems, the complete text of the Apache License can be found +in `/usr/share/common-licenses/Apache-2.0'. + +(7) +Source files in src/rups are + + Copyright 2007 Bruno Lowagie. + +and licensed as follows: + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + + GNU LESSER GENERAL PUBLIC LICENSE + Version 2.1, February 1999 + +The full text of the license can be found at +'/usr/share/common-licenses/LGPL-2.1'. + +(8) +The icons in rups/com/itextpdf/rups/view/icons/ are licensed as +follows: + +Silk icon set 1.3 + +_________________________________________ +Mark James +http://www.famfamfam.com/lab/icons/silk/ +_________________________________________ + +This work is licensed under a +Creative Commons Attribution 2.5 License. +[ http://creativecommons.org/licenses/by/2.5/ ] + +This means you may use it for any purpose, +and make any changes you like. +All I ask is that you include a link back +to this page in your credits. + +Are you using this icon set? Send me an email +(including a link or picture if available) to +mjames at gmail dot com + +Any other questions about this icon set please +contact mjames at gmail dot com + Added: trunk/libitext5-java/debian/patches/01_allow_standard_input.diff =================================================================== --- trunk/libitext5-java/debian/patches/01_allow_standard_input.diff (rev 0) +++ trunk/libitext5-java/debian/patches/01_allow_standard_input.diff 2011-01-19 19:04:42 UTC (rev 13235) @@ -0,0 +1,26 @@ +The information above should follow the Patch Tagging Guidelines, please +checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here +are templates for supplementary fields that you might want to add: + +Origin: <vendor|upstream|other>, <url of original patch> +Bug: <url in upstream bugtracker> +Bug-Debian: http://bugs.debian.org/<bugnumber> +Forwarded: <no|not-needed|url proving that it has been forwarded> +Reviewed-By: <name and email of someone who approved the patch> +Last-Update: <YYYY-MM-DD> + +--- libitext-java-2.1.7.orig/core/com/lowagie/text/pdf/RandomAccessFileOrArray.java ++++ libitext-java-2.1.7/core/com/lowagie/text/pdf/RandomAccessFileOrArray.java +@@ -99,7 +99,11 @@ public class RandomAccessFileOrArray imp + } + } + else { +- InputStream is = BaseFont.getResourceStream(filename); ++ InputStream is; ++ if( filename.equals("-")) ++ is = System.in; ++ else ++ is = BaseFont.getResourceStream(filename); + if (is == null) + throw new IOException(filename + " not found as file or resource."); + try { Added: trunk/libitext5-java/debian/patches/debian-specifics.diff =================================================================== --- trunk/libitext5-java/debian/patches/debian-specifics.diff (rev 0) +++ trunk/libitext5-java/debian/patches/debian-specifics.diff 2011-01-19 19:04:42 UTC (rev 13235) @@ -0,0 +1,42 @@ +Description: Build the rups jar and link to debian path for javadoc. +--- libitext5-java-5.0.5.orig/build.xml ++++ libitext5-java-5.0.5/build.xml +@@ -15,6 +15,10 @@ + <ant antfile="ant/compile.xml" inheritAll="false" target="jar" /> + </target> + ++ <target name="jar.rups"> ++ <ant antfile="ant/compile.xml" inheritAll="false" target="jar.rups" /> ++ </target> ++ + <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> + <!-- Make a new release after exporting the modules src/www from CVS --> + <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> +--- libitext5-java-5.0.5.orig/ant/.ant.properties ++++ libitext5-java-5.0.5/ant/.ant.properties +@@ -18,7 +18,7 @@ lib.bctsp=bctsp-${bc.jdk}-1${bc.version} + lib.dom4j=dom4j-1.6.1.jar + + itext.bin=${itext.build}/bin +-itext.docs=${itext.build}/docs ++itext.docs=${itext.build}/api + itext.release=${itext.build}/release + itext.downloads=${itext.build}/downloads + itext.dist=${itext.release}/dist +--- libitext5-java-5.0.5.orig/ant/release.xml ++++ libitext5-java-5.0.5/ant/release.xml +@@ -58,9 +58,11 @@ + <packageset dir="${itext.src}/rups" defaultexcludes="yes"> + <include name="com/itextpdf/**" /> + </packageset> +- <classpath refid="itext.classpath"/> +- <link href="http://java.sun.com/j2se/1.5.0/docs/api/" /> +- <link href="http://www.bouncycastle.org/docs/docs1.5/" /> ++<!-- <classpath refid="itext.classpath"/>--> ++ <link href="/usr/share/doc/default-jdk-doc/api" /> ++ <link href="/usr/share/doc/libbcprov-java-doc/api" /> ++ <link href="/usr/share/doc/libbcmail-java-doc/api" /> ++ <link href="/usr/share/doc/libbctsp-java-doc/api" /> + <header><a href="http://itextpdf.com/book/" target="_blank"><img src="http://itextpdf.com/img/book/iia2.jpg" border="0" /></a></header> + <footer>Hosted by <a href="http://www.openminds.be/">openminds</a></footer> + </javadoc> Added: trunk/libitext5-java/debian/patches/series =================================================================== --- trunk/libitext5-java/debian/patches/series (rev 0) +++ trunk/libitext5-java/debian/patches/series 2011-01-19 19:04:42 UTC (rev 13235) @@ -0,0 +1,2 @@ +#01_allow_standard_input.diff +debian-specifics.diff Added: trunk/libitext5-java/debian/rules =================================================================== --- trunk/libitext5-java/debian/rules (rev 0) +++ trunk/libitext5-java/debian/rules 2011-01-19 19:04:42 UTC (rev 13235) @@ -0,0 +1,40 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/javahelper.mk +include /usr/share/cdbs/1/class/ant.mk + +JAVA_HOME := /usr/lib/jvm/default-java +ANT_HOME := /usr/share/ant +DEB_ANT_BUILD_TARGET := jar jar.rups javadoc +DEB_ANT_CLEAN_TARGET := clean +DEB_ANT_BUILDFILE := src/build.xml +DEB_JARS := bcprov bcmail bctsp dom4j pdfrenderer +# export CLASSPATH = /usr/share/java/bcprov.jar:/usr/share/java/bcmain.jar:/usr/share/java/bctsp.jar:/usr/share/java/dom4j.jar:/usr/share/java/pdfrenderer.jar + + +LIBRARY_PACKAGE := itext5 + +makebuilddir/lib$(LIBRARY_PACKAGE)-java:: debian/stamp-makebuilddir +debian/stamp-makebuilddir: + ln -s . src + mkdir lib + touch $@ + +install/lib$(LIBRARY_PACKAGE)-java:: + dh_installdirs -plib$(LIBRARY_PACKAGE)-java usr/share/java + install -m 644 lib/iText.jar debian/lib$(LIBRARY_PACKAGE)-java/usr/share/java/$(LIBRARY_PACKAGE)-$(DEB_UPSTREAM_VERSION).jar + dh_link -plib$(LIBRARY_PACKAGE)-java usr/share/java/$(LIBRARY_PACKAGE)-$(DEB_UPSTREAM_VERSION).jar usr/share/java/$(LIBRARY_PACKAGE).jar + +install/lib$(LIBRARY_PACKAGE)-rups-java:: + dh_installdirs -plib$(LIBRARY_PACKAGE)-rups-java usr/share/java + install -m 644 lib/iText-rups.jar debian/lib$(LIBRARY_PACKAGE)-rups-java/usr/share/java/$(LIBRARY_PACKAGE)-rups-$(DEB_UPSTREAM_VERSION).jar + dh_link -plib$(LIBRARY_PACKAGE)-rups-java usr/share/java/$(LIBRARY_PACKAGE)-rups-$(DEB_UPSTREAM_VERSION).jar usr/share/java/$(LIBRARY_PACKAGE)-rups.jar + +install/lib$(LIBRARY_PACKAGE)-java-doc:: + jh_installjavadoc -plib$(LIBRARY_PACKAGE)-java-doc build/api + +clean:: + dh_testdir + dh_testroot + -rm -rf build src lib debian/stamp-* Property changes on: trunk/libitext5-java/debian/rules ___________________________________________________________________ Added: svn:executable + * Added: trunk/libitext5-java/debian/source/format =================================================================== --- trunk/libitext5-java/debian/source/format (rev 0) +++ trunk/libitext5-java/debian/source/format 2011-01-19 19:04:42 UTC (rev 13235) @@ -0,0 +1 @@ +3.0 (quilt) Added: trunk/libitext5-java/debian/watch =================================================================== --- trunk/libitext5-java/debian/watch (rev 0) +++ trunk/libitext5-java/debian/watch 2011-01-19 19:04:42 UTC (rev 13235) @@ -0,0 +1,2 @@ +version=3 +http://sf.net/itext/iText-src-([0-9\.]*)\.tar\.gz _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/pkg-java-commits

