Hi Dear Java packages maintainers,

recently I have talked with Wolfgang about a backport of kaffe 1.1.7rc1
(aka 1.1.6.91-2) to sarge on powerpc. 
Here I just want to report my experiences, you can never know if
this is useful at some point and it also shows that there is
interest in your work.

Attached the patch which made it compile for me on ppc.
I have removed the following patched:
        01_RemoveJikesBuildCompilerSetting.patch.
        02_IncludeEcjCompilerInToolsJar_Makefile.patch.
        02_IncludeEcjCompilerInToolsJar.patch.
As you can see, I also had the problem of the comments in the shell
lcommand of the makefile.

And I have used some other packages backported.
The reason for using jikes is that I did not want to do the full move to gcc 4,
because it would have had a major effect on my system.

I have enabled the build of the kaffe-xlib-awt, because I have
noticed a bug in the classpath awt implementation:
mouse coordinates, buttons and key events were not working correctly.
Using kaffe -Xkaffe-xlib-awt they worked, so I guess this is a bug
in the gtk-peer code which contains a few bit shifts.
If you can, please try a few gui things on ppc even on testing/unstable.
Maybe somebody from debian-powerpc can assist.

Naturally appletviewer also did not work, 
because I think it is broken within kaffe itself.
It could be an easy fix, if the righ class would be called by the script.

Regards,
Bernhard


Am 31. Jan 2006 um 09:57:38 schrieb Bernhard Reiter:
> Am 31. Jan 2006 um 09:35:46 schrieb Wolfgang Baer:
> > > Eigentlch müßte jikes ja auch gehen, oder?
> 
> > Wofür braucht ihr den den Backuport und wie dringend ist es ?
> 
> Es ist nicht dringend oder wichtig, 
> sondern ich möchte etwas ausprobieren, insofern Studie.
diff -ur kaffe-1.1.6.91/debian/control kaffe-1.1.6.91.gebaut/debian/control
--- kaffe-1.1.6.91/debian/control       2006-03-06 19:42:15.936000000 +0100
+++ kaffe-1.1.6.91.gebaut/debian/control        2006-03-06 00:34:04.859039000 
+0100
@@ -25,7 +25,7 @@
 Package: kaffe-jthreads
 Architecture: any
 Pre-Depends: kaffe-common (= ${Source-Version})
-Depends: ${shlibs:Depends}, ecj-bootstrap, gjdoc, fastjar
+Depends: ${shlibs:Depends}, gjdoc, fastjar
 Provides: java-virtual-machine, java-runtime, java1-runtime, java-compiler, 
kaffe
 Description: A green threads enabled version of the Kaffe VM
  Green threads enabled compiler for the Kaffe VM for situations where native
@@ -34,7 +34,7 @@
 Package: kaffe-pthreads
 Architecture: any
 Pre-Depends: kaffe-common (= ${Source-Version})
-Depends: ${shlibs:Depends}, ecj-bootstrap, gjdoc, fastjar
+Depends: ${shlibs:Depends}, gjdoc, fastjar
 Provides: java-virtual-machine, java-runtime, java1-runtime, java-compiler, 
kaffe
 Description: A POSIX threads enabled version of the Kaffe VM
  This will allow your multithreaded Java programs take advantage of native 

Nur in kaffe-1.1.6.91/debian/patches: 01_RemoveJikesBuildCompilerSetting.patch.
Nur in kaffe-1.1.6.91/debian/patches: 
02_IncludeEcjCompilerInToolsJar_Makefile.patch.
Nur in kaffe-1.1.6.91/debian/patches: 02_IncludeEcjCompilerInToolsJar.patch.
Nur in kaffe-1.1.6.91.gebaut/debian: patches.out.
diff -ur kaffe-1.1.6.91/debian/rules kaffe-1.1.6.91.gebaut/debian/rules
--- kaffe-1.1.6.91/debian/rules 2006-03-06 19:42:15.932000000 +0100
+++ kaffe-1.1.6.91.gebaut/debian/rules  2006-03-06 19:20:41.576000000 +0100
@@ -16,8 +16,8 @@
 
 
 # these values can be overwritten in the rules.$(DEB_BUILD_GNU_TYPE) files
-COMPILER_JIKES := 
-COMPILER_ECJ   := 1
+COMPILER_JIKES := 1
+COMPILER_ECJ   := 
 ENABLE_SOUND   := yes
 SYSTEMS                := jthreads pthreads
 INTRP_ENGINE   := yes
@@ -35,8 +35,8 @@
                --host=$(DEB_HOST_GNU_TYPE) \
                --build=$(DEB_BUILD_GNU_TYPE) \
                --with-jni-library-path='/usr/lib/jni' \
-               --without-kaffe-qt-awt \
-               --without-kaffe-x-awt \
+               --with-kaffe-qt-awt \
+               --with-kaffe-x-awt \
                --disable-nls \
                --enable-gtk-cairo
 
@@ -147,15 +147,12 @@
        install -m 755 $(CURDIR)/debian/wrappers/jikes-kaffe 
$(CURDIR)/debian/jikes-kaffe/usr/bin/jikes-kaffe
         # Various reorganization to use system provided tools  
        for i in $(SYSTEMS); do \
-         # Remove javadoc and make it a symlink to gjdoc \
          install -m 755 $(CURDIR)/debian/wrappers/javadoc 
$(CURDIR)/debian/install/usr/lib/kaffe/$$i/bin/javadoc; \
-         # Remove jar/javac and make it a symlink to fastjar,ecj \
          rm $(CURDIR)/debian/install/usr/lib/kaffe/$$i/bin/jar; \
          ln -s ../../../../bin/fastjar 
$(CURDIR)/debian/install/usr/lib/kaffe/$$i/bin/jar; \
          rm $(CURDIR)/debian/install/usr/lib/kaffe/$$i/bin/javac; \
          ln -s ../../../../bin/ecj 
$(CURDIR)/debian/install/usr/lib/kaffe/$$i/bin/javac; \
-         # make a rt.jar symlink to glibj.zip \
-         ln -sf ../../../../../share/kaffe-common/lib/glibj.zip 
$(CURDIR)/debian/install/usr/lib/kaffe/$$i/jre/lib/rt.jar; \
+         ln -sf ../../../../../share/kaffe-common/lib/glibj.zip 
$(CURDIR)/debian/install/usr/lib/kaffe/$$i/jre/lib/rt.jar ; \
        done
        # install lintian overrides
        install -d $(CURDIR)/debian/kaffe/usr/share/lintian/overrides/

Attachment: pgps2iK1C7hmR.pgp
Description: PGP signature

_______________________________________________
pkg-java-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers

Reply via email to