Package: libxpp3-java
Version: 1.1.3.4.O-4
Severity: important
Tags: patch

This is a patch to convert libxpp3-java to use default-jre and also
fixes the lintian error that is being output.

Thanks,

Chris Cheney
diff -u libxpp3-java-1.1.3.4.O/debian/control libxpp3-java-1.1.3.4.O/debian/control
--- libxpp3-java-1.1.3.4.O/debian/control
+++ libxpp3-java-1.1.3.4.O/debian/control
@@ -4,13 +4,13 @@
 Maintainer: Debian Java Maintainers <pkg-java-maintain...@lists.alioth.debian.org>
 Uploaders: Marcus Better <mar...@better.se>
 Build-Depends: debhelper, cdbs, ant, ant-optional
-Build-Depends-Indep: kaffe, junit
+Build-Depends-Indep: default-jdk, junit
 Standards-Version: 3.8.0.1
 Homepage: http://www.extreme.indiana.edu/xgws/xsoap/xpp
 
 Package: libxpp3-java
 Architecture: all
-Depends: kaffe | java1-runtime | java2-runtime
+Depends: default-jre-headless | java2-runtime-headless, ${misc:Depends}
 Description: XML pull parser library for java
  Xml Pull Parser (in short XPP) is a streaming pull XML parser for java.
  This version XPP3 is a successor of XPP2 (see package libxpp2-java) that
diff -u libxpp3-java-1.1.3.4.O/debian/rules libxpp3-java-1.1.3.4.O/debian/rules
--- libxpp3-java-1.1.3.4.O/debian/rules
+++ libxpp3-java-1.1.3.4.O/debian/rules
@@ -7,7 +7,7 @@
 
 export UPSTREAM_VERSION = $(shell head -1 debian/changelog | cut -f2 -d\( | cut -f1 -d\) | cut -f1 -d\-)
 
-JAVA_HOME := /usr/lib/kaffe
+JAVA_HOME := /usr/lib/jvm/default-java
 ANT_HOME := /usr/share/ant
 DEB_JARS := $(ANT_HOME)/lib/ant-launcher.jar junit
 DEB_ANT_BUILD_TARGET := xpp3 junit apidoc

Reply via email to