From ae893be01b3adc0382a30df55c4bf3797554a70f Mon Sep 17 00:00:00 2001
From: Jeremias Maerki
Date: Mon, 17 Mar 2008 12:24:33 +0000
Subject: [PATCH] Partially reverted revision 637791: Restored JAI as a
required dependency for distribution builds (used for error diffusion
dithering in the PCL Renderer). It is optional otherwise. Updated the
licensing info and release notes to make the changes clear.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-0_95@637857 13f79535-47bb-0310-9956-ffa450edef68
---
build.xml | 27 +++++++++++++++++++++++++--
lib/README.txt | 12 ++++++++++--
status.xml | 12 +++++++-----
3 files changed, 42 insertions(+), 9 deletions(-)
diff --git a/build.xml b/build.xml
index 70094292c..94987dfa1 100644
--- a/build.xml
+++ b/build.xml
@@ -131,6 +131,11 @@ list of possible build targets.
+
+
+
+
+
@@ -215,6 +220,18 @@ list of possible build targets.
+
+
+
+
+
+
+
+
+
+
+
@@ -355,6 +372,7 @@ list of possible build targets.
+
@@ -379,6 +397,7 @@ list of possible build targets.
source="${javac.source}" target="${javac.target}">
+
@@ -1160,11 +1179,15 @@ NOTE:
-
+
+
+
+
+
+
-
diff --git a/lib/README.txt b/lib/README.txt
index 46c716b77..2f307b2cf 100644
--- a/lib/README.txt
+++ b/lib/README.txt
@@ -142,8 +142,16 @@ Please make sure you've read the license of each package.
https://jai-imageio.dev.java.net/
BSD license
- Note: Not the whole JAI is needed, only the ImageIO-compatible codecs
- packaged as "Image I/O Tools". The name may be misleading.
+ Note: This is not the same as JAI! Only the ImageIO-compatible codecs
+ are packaged as "Image I/O Tools". The name may be misleading.
+
+ - JAI (Java Advanced Imaging API)
+
+ http://java.sun.com/products/java-media/jai
+ Java Research License and Java Distribution License (Check which one applies to you!)
+
+ Currently used for:
+ - Grayscale error diffusion dithering in the PCL Renderer
- JEuclid (MathML implementation, for the MathML extension)
diff --git a/status.xml b/status.xml
index 8864a8dc4..2db86838c 100644
--- a/status.xml
+++ b/status.xml
@@ -108,11 +108,13 @@
- The image libraries Jimi and JAI are no longer needed (and used). Instead we rely
- completely on the Image I/O API that has been introduced with Java 1.4. If you still
- need support for bitmap image formats that do not work out-of-the-box, we recommend
- adding JAI Image I/O Tools
- (an Image I/O compatible image codec package) to the classpath.
+ The image libraries Jimi and JAI are no longer needed (and used) for image loading.
+ Instead we rely completely on the Image I/O API that has been introduced with
+ Java 1.4. If you still need support for bitmap image formats that do not work
+ out-of-the-box, we recommend adding
+ JAI Image I/O Tools
+ (an Image I/O compatible image codec package) to the classpath. JAI is still required
+ for building the FOP distribution but it is optional for normal builds and at run-time.