[libitext-java] 16/76: Removed patches

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Jul 28 22:46:31 UTC 2016


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository libitext-java.

commit 89b5b35b558940b72a99e8d0c673031e38940cf8
Author: Adriaan Peeters <apeeters at lashout.net>
Date:   Thu Jun 5 18:52:38 2008 +0000

    Removed patches
---
 debian/changelog                               |  3 ++
 debian/patches/01_jpeg_encoder_classpath.patch | 40 --------------------------
 debian/patches/02_ant_properties.patch         | 18 ------------
 3 files changed, 3 insertions(+), 58 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 01b33c6..0c67cfc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -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
 
diff --git a/debian/patches/01_jpeg_encoder_classpath.patch b/debian/patches/01_jpeg_encoder_classpath.patch
deleted file mode 100644
index 2c33356..0000000
--- a/debian/patches/01_jpeg_encoder_classpath.patch
+++ /dev/null
@@ -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());
diff --git a/debian/patches/02_ant_properties.patch b/debian/patches/02_ant_properties.patch
deleted file mode 100644
index 531db1d..0000000
--- a/debian/patches/02_ant_properties.patch
+++ /dev/null
@@ -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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libitext-java.git



More information about the pkg-java-commits mailing list