[pkg-java] r6530 - in trunk/libitext-java/debian: . patches
apeeters-guest at alioth.debian.org
apeeters-guest at alioth.debian.org
Thu Jun 5 18:52:39 UTC 2008
Author: apeeters-guest
Date: 2008-06-05 18:52:38 +0000 (Thu, 05 Jun 2008)
New Revision: 6530
Removed:
trunk/libitext-java/debian/patches/01_jpeg_encoder_classpath.patch
trunk/libitext-java/debian/patches/02_ant_properties.patch
Modified:
trunk/libitext-java/debian/changelog
Log:
Removed patches
Modified: trunk/libitext-java/debian/changelog
===================================================================
--- trunk/libitext-java/debian/changelog 2008-06-05 17:52:03 UTC (rev 6529)
+++ trunk/libitext-java/debian/changelog 2008-06-05 18:52:38 UTC (rev 6530)
@@ -1,6 +1,9 @@
libitext-java (2.1.2u-1) UNRELEASED; urgency=low
* New upstream release
+ * Removed patches:
+ - debian/patches/01_jpeg_encoder_classpath.patch
+ - debian/patches/02_ant_properties.patch
-- Adriaan Peeters <apeeters at lashout.net> Thu, 05 Jun 2008 19:50:55 +0200
Deleted: trunk/libitext-java/debian/patches/01_jpeg_encoder_classpath.patch
===================================================================
--- trunk/libitext-java/debian/patches/01_jpeg_encoder_classpath.patch 2008-06-05 17:52:03 UTC (rev 6529)
+++ trunk/libitext-java/debian/patches/01_jpeg_encoder_classpath.patch 2008-06-05 18:52:38 UTC (rev 6530)
@@ -1,40 +0,0 @@
---- 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());
Deleted: trunk/libitext-java/debian/patches/02_ant_properties.patch
===================================================================
--- trunk/libitext-java/debian/patches/02_ant_properties.patch 2008-06-05 17:52:03 UTC (rev 6529)
+++ trunk/libitext-java/debian/patches/02_ant_properties.patch 2008-06-05 18:52:38 UTC (rev 6530)
@@ -1,18 +0,0 @@
---- 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
More information about the pkg-java-commits
mailing list