[pkg-java] r2613 - in trunk: . libitext-java-doc libitext-java-doc/debian libitext-java-doc/debian/patches

Gerardo Curiel gerardo-guest at costa.debian.org
Thu Oct 12 20:04:39 UTC 2006


Author: gerardo-guest
Date: 2006-10-12 20:04:35 +0000 (Thu, 12 Oct 2006)
New Revision: 2613

Added:
   trunk/libitext-java-doc/
   trunk/libitext-java-doc/debian/
   trunk/libitext-java-doc/debian/changelog
   trunk/libitext-java-doc/debian/compat
   trunk/libitext-java-doc/debian/control
   trunk/libitext-java-doc/debian/copyright
   trunk/libitext-java-doc/debian/patches/
   trunk/libitext-java-doc/debian/patches/01_jpeg_encoder_classpath.patch
   trunk/libitext-java-doc/debian/patches/02_ant_properties.patch
   trunk/libitext-java-doc/debian/rules
Log:
new import


Added: trunk/libitext-java-doc/debian/changelog
===================================================================
--- trunk/libitext-java-doc/debian/changelog	                        (rev 0)
+++ trunk/libitext-java-doc/debian/changelog	2006-10-12 20:04:35 UTC (rev 2613)
@@ -0,0 +1,60 @@
+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 <gcuriel at debianvenezuela.org>  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 <stephan at apache.org>  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 <bayle at debian.org>  Mon, 25 Apr 2005 21:56:25 +0200
+
+libitext-java (1.02b-3) unstable; urgency=low
+
+  * Rebuild with .orig tarball
+
+ -- Christian Bayle <bayle at debian.org>  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 <bayle at debian.org>  Thu, 19 Feb 2004 20:40:48 +0100
+
+libitext-java (1.00-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Christian Bayle <bayle at debian.org>  Mon,  7 Jul 2003 00:47:01 +0200
+
+Local variables:
+mode: debian-changelog
+End:

Added: trunk/libitext-java-doc/debian/compat
===================================================================
--- trunk/libitext-java-doc/debian/compat	                        (rev 0)
+++ trunk/libitext-java-doc/debian/compat	2006-10-12 20:04:35 UTC (rev 2613)
@@ -0,0 +1 @@
+4

Added: trunk/libitext-java-doc/debian/control
===================================================================
--- trunk/libitext-java-doc/debian/control	                        (rev 0)
+++ trunk/libitext-java-doc/debian/control	2006-10-12 20:04:35 UTC (rev 2613)
@@ -0,0 +1,24 @@
+Source: libitext-java
+Section: libs
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Gerardo Curiel <gcuriel at debianvenezuela.org>
+Build-Depends-Indep: java-gcj-compat-dev (>= 1.0.65), ant, libservlet2.3-java, ecj-bootstrap
+Build-Depends: cdbs, debhelper (>= 4.1.0)
+Standards-Version: 3.7.2
+
+Package: libitext-java
+Architecture: all
+Section: libs
+Suggests: libitext-java-doc
+Depends:  java-gcj-compat (>= 1.0.65) | java2-runtime
+Description: Java Library to generate 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.
+ iText requires JDK 1.2. It's available for free under a multiple license:
+ MPL and LGPL.
+

Added: trunk/libitext-java-doc/debian/copyright
===================================================================
--- trunk/libitext-java-doc/debian/copyright	                        (rev 0)
+++ trunk/libitext-java-doc/debian/copyright	2006-10-12 20:04:35 UTC (rev 2613)
@@ -0,0 +1,22 @@
+This package was debianized by Christian Bayle <bayle at debian.org>, Mon,  7 Jul 2003 00:47:01 +0200
+
+It was downloaded from http://www.lowagie.com/iText/download.html
+using ant download.site command on downloaded build.xml
+
+Upstream Authors: Bruno Lowagie and the co-developer Paulo Soares
+
+Copyright:
+
+    This package 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 of the License, or (at your option) any later version.
+
+    This package 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
+    Lesser General Public License for more details.
+
+On Debian systems, the complete text of the GNU Lesser General
+Public License can be found in `/usr/share/common-licenses/LGPL'.
+

Added: trunk/libitext-java-doc/debian/patches/01_jpeg_encoder_classpath.patch
===================================================================
--- trunk/libitext-java-doc/debian/patches/01_jpeg_encoder_classpath.patch	                        (rev 0)
+++ trunk/libitext-java-doc/debian/patches/01_jpeg_encoder_classpath.patch	2006-10-12 20:04:35 UTC (rev 2613)
@@ -0,0 +1,40 @@
+--- PdfGraphics2D.java.orig	2006-09-23 20:12:50.000000000 -0400
++++ com/lowagie/text/pdf/PdfGraphics2D.java	2006-09-23 20:57:36.000000000 -0400
+@@ -101,6 +101,13 @@
+ import java.util.Iterator;
+ import java.awt.font.TextAttribute;
+ 
++//For Gnu-Classpath compatibility
++
++import javax.imageio.*;
++import javax.imageio.metadata.*;
++import javax.imageio.plugins.jpeg.JPEGImageWriteParam;
++
++
+ public class PdfGraphics2D extends Graphics2D {
+     
+     private static final int FILL = 1;
+@@ -1344,10 +1351,19 @@
+                 g3.dispose();
+                 
+                 ByteArrayOutputStream baos = new ByteArrayOutputStream();
+-                com.sun.image.codec.jpeg.JPEGImageEncoder encoder = com.sun.image.codec.jpeg.JPEGCodec.createJPEGEncoder(baos);
+-                com.sun.image.codec.jpeg.JPEGEncodeParam param = com.sun.image.codec.jpeg.JPEGCodec.getDefaultJPEGEncodeParam(scaled);
+-                param.setQuality(jpegQuality, true);
+-                encoder.encode(scaled, param);
++                //com.sun.image.codec.jpeg.JPEGImageEncoder encoder = com.sun.image.codec.jpeg.JPEGCodec.createJPEGEncoder(baos);
++                //com.sun.image.codec.jpeg.JPEGEncodeParam param = com.sun.image.codec.jpeg.JPEGCodec.getDefaultJPEGEncodeParam(scaled);
++
++                ImageWriter encoder = (ImageWriter)ImageIO.getImageWritersByFormatName("JPEG").next();
++		JPEGImageWriteParam param = new JPEGImageWriteParam(null);
++                
++	        param.setCompressionMode(ImageWriteParam.MODE_EXPLICIT);
++		param.setCompressionQuality(jpegQuality);
++		encoder.setOutput(baos);
++		encoder.write((IIOMetadata) null, new IIOImage(scaled,null,null), param);
++				
++		//param.setQuality(jpegQuality, true);
++                //encoder.encode(scaled, param);
+                 scaled.flush();
+                 scaled = null;
+                 image = com.lowagie.text.Image.getInstance(baos.toByteArray());

Added: trunk/libitext-java-doc/debian/patches/02_ant_properties.patch
===================================================================
--- trunk/libitext-java-doc/debian/patches/02_ant_properties.patch	                        (rev 0)
+++ trunk/libitext-java-doc/debian/patches/02_ant_properties.patch	2006-10-12 20:04:35 UTC (rev 2613)
@@ -0,0 +1,18 @@
+--- itext.orig/ant/.ant.properties	2006-09-14 06:19:00.000000000 -0400
++++ itext/ant.properties	2006-09-23 21:07:51.000000000 -0400
+@@ -1,6 +1,6 @@
+-itext.home=../..
++itext.home=../
+ 
+-itext.src=${itext.home}/src
++itext.src=${itext.home}/
+ itext.www=${itext.home}/www
+ itext.build=${itext.home}/build
+ 
+@@ -24,4 +24,4 @@
+ releasenumber=1.4.5
+ releasedate=2006-09-14
+ earlyaccesslowagie=1.4.5
+-itext.cvsroot=:pserver:anonymous at itext.cvs.sourceforge.net:/cvsroot/itext
+\ No hay ningún carácter de nueva línea al final del fichero
++itext.cvsroot=:pserver:anonymous at itext.cvs.sourceforge.net:/cvsroot/itext

Added: trunk/libitext-java-doc/debian/rules
===================================================================
--- trunk/libitext-java-doc/debian/rules	                        (rev 0)
+++ trunk/libitext-java-doc/debian/rules	2006-10-12 20:04:35 UTC (rev 2613)
@@ -0,0 +1,31 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/ant.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+JAVA_HOME            := /usr/lib/jvm/java-gcj
+ANT_HOME             := /usr/share/ant
+DEB_JARS             := servlet-2.3.jar ant-optional ecj $(ANT_HOME)/lib/ant-launcher.jar
+DEB_ANT_BUILD_TARGET := jar
+DEB_ANT_CLEAN_TARGET :=
+
+# Additional command-line arguments for Ant
+ANT_ARGS             := -Dcompile.optimize=false -D debian/ant.properties 
+
+#ANT_ARGS             := -Dbuild.sysclasspath=first -Dj2ee.jar=/usr/share/java/servlet-api.jar
+
+LIBRARY_PACKAGE      := itext
+API_VERSION          := 1.4.5
+
+install/lib$(LIBRARY_PACKAGE)-java::
+	dh_installdirs -plib$(LIBRARY_PACKAGE)-java usr/share/java
+	install -m 644 build/bin/iText.jar debian/lib$(LIBRARY_PACKAGE)-java/usr/share/java/$(LIBRARY_PACKAGE)-$(API_VERSION).jar
+	ln -s $(LIBRARY_PACKAGE)-$(API_VERSION).jar debian/lib$(LIBRARY_PACKAGE)-java/usr/share/java/$(LIBRARY_PACKAGE).jar
+
+
+clean::
+	dh_testdir
+	dh_testroot
+	-rm -rf build
+


Property changes on: trunk/libitext-java-doc/debian/rules
___________________________________________________________________
Name: svn:executable
   + 




More information about the pkg-java-commits mailing list