tags 529505 + patch
thanks

Hi

I have created a patch that fixes this problem and also replaces kaffe
with "default java" as (Build-)Depends.

~Niels

diff -u nice-deb-orig/control nice-deb-mod/control
--- a/debian/control	2009-09-13 00:10:58.000000000 +0200
+++ b/debian/control	2009-09-13 00:09:56.693008403 +0200
@@ -3,12 +3,13 @@
 Priority: optional
 Maintainer: Daniel Bonniot <bonn...@users.sf.net>
 Build-Depends: debhelper (>= 5)
-Build-Depends-Indep: jikes-classpath, kaffe (>= 2:1.1.8), javacc, groff, ant, zip, unzip
+Build-Depends-Indep: default-jdk, javacc, groff, ant, zip, unzip
 Standards-Version: 3.7.3
 
 Package: nice
 Architecture: all
-Depends: kaffe | java-virtual-machine, kaffe | java1-runtime | java2-runtime
+Depends: default-jre-headles | java-virtual-machine, 
+ default-jre-headless | java1-runtime | java2-runtime
 Suggests: emacsen, ant, gcj
 Description: Extension of Java with parametric types, multi-methods, and more
  Nice is a new object-oriented programming language.
diff -u nice-deb-orig/rules nice-deb-mod/rules
--- a/debian/rules	2009-09-13 00:10:58.000000000 +0200
+++ b/debian/rules	2009-09-13 00:10:08.957403367 +0200
@@ -21,7 +21,7 @@
 	# Ask javac to produce optimized code, but no debugging info
         # so that the package is smaller.
 	chmod a+x debian/jar
-	$(MAKE) complete JAVAC_FLAGS="-O" java="kaffe" javac="jikes-classpath -nowarn" jar="debian/jar" NICE_ANTJAR=/usr/share/java/ant.jar
+	$(MAKE) complete JAVAC_FLAGS="-O" java="java" javac="javac -nowarn" jar="debian/jar" NICE_ANTJAR=/usr/share/java/ant.jar
 
 	#/usr/bin/docbook-to-man debian/nice.sgml > nice.1
 

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to