Package: libxml-commons-resolver1.1-java
Version: 1.1-6
Severity: wishlist
Tags: patch

Please consider switching from kaffe to java-gcj since this seems to
be the 'canonical' standard now. We have done this in Ubuntu for quite
a while now without any problems.

Thank you!

Martin
-- 
Martin Pitt        http://www.piware.de
Ubuntu Developer   http://www.ubuntu.com
Debian Developer   http://www.debian.org

In a world without walls and fences, who needs Windows and Gates?
--- libxml-commons-resolver1.1-java-1.1/debian/rules
+++ libxml-commons-resolver1.1-java-1.1/debian/rules
@@ -7,13 +7,19 @@
 API_VERSION := 1.1
 
 # These two must be specified
-JAVACMD  := /usr/bin/kaffe
+JAVACMD  := /usr/lib/jvm/java-gcj/bin/java
 ANT_HOME := /usr/share/ant
 
+PATH := /usr/lib/jvm/java-gcj/bin:$(PATH)
+export PATH
+
 # Additional JARs to add to the class path, either full path or just the
 # basename for JARs in /usr/share/java. The ".jar" suffix may also be ommitted
 DEB_JARS := xerces $(ANT_HOME)/lib/ant-launcher.jar jaxp-1.2
 
+# Build compiler
+DEB_ANT_COMPILER := gcj
+
 # Defaults to debian/ant.properties
 #DEB_ANT_PROPERTYFILE := build.properties
 
diff -u libxml-commons-resolver1.1-java-1.1/debian/control 
libxml-commons-resolver1.1-java-1.1/debian/control
--- libxml-commons-resolver1.1-java-1.1/debian/control
+++ libxml-commons-resolver1.1-java-1.1/debian/control
@@ -3,13 +3,13 @@
 Priority: optional
 Maintainer: Debian Java Maintainers 
<pkg-java-maintainers@lists.alioth.debian.org>
 Uploaders: Stefan Gybas <[EMAIL PROTECTED]>, Arnaud Vandyck <[EMAIL 
PROTECTED]>, Wolfgang Baer <[EMAIL PROTECTED]>
-Build-Depends-Indep: cdbs (>= 0.4.8), debhelper (>= 4.2.0), kaffe, ant, 
libxerces-java, libjaxp1.2-java
+Build-Depends-Indep: cdbs (>= 0.4.8), debhelper (>= 4.2.0), 
java-gcj-compat-dev, ant, libjaxp1.2-java
 Standards-Version: 3.6.2
 
 Package: libxml-commons-resolver1.1-java
 Architecture: all
 Section: libs
-Depends: classpath-common | java1-runtime | java2-runtime
+Depends: java-gcj-compat | java1-runtime | java2-runtime
 Suggests: libxml-commons-resolver1.1-java-doc
 Description: XML entity and URI resolver library
  Apache XML Commons Resolver simplifies the task of using XML catalog files to

Attachment: signature.asc
Description: Digital signature

Reply via email to