I started to package some Java applications to put these up in the repository.
The idea is to write scripts which allow the easy and reproducible creation of *.deb files for upload to the repository.
The scripts are available at https://garage.maemo.org/projects/instant-coffee/
So far I uploaded the Cambridge Software Labs version of the OpenJDK to extras-devel non-free (package name icedtea6) and Ant to extras-devel.
Reason for calling the OpenJDK version "icedtea6" is that the output of "java -version" reports it as "icedtea6".
I hope that everything is correct so far.
Especially licensing issues are not that easy to grasp.
Why OpenJDK and non-free?
Isn't Sun Java fully open now?
I uploaded the JDK to non-free because only non-free allows to upload *.deb files directly.
I built all the packages using py2deb but for some reason the autobuilder did not like the package I set up for the JDK.
You can see the relevant build log here https://garage.maemo.org/builder/fre...log.FAILED.txt
As you can see in the control file I specified libpulse0 (>= 0.9.15~test5) as dependency but somehow the autobuilder did not pick up the .so file correctly.
Also specifying libpulse-dev did not help. So I decided to build the deb here in Scratchbox and go the way via non-free.
As for "really" compiling the whole thing from source: I simply don't have the time to figure this out at the moment. Afaik this involves quite some work to get even the "buildchain" required for building icedtea right.
I uploaded the JDK to non-free because only non-free allows to upload *.deb files directly.
I built all the packages using py2deb but for some reason the autobuilder did not like the package I set up for the JDK.
You can see the relevant build log here https://garage.maemo.org/builder/fre...log.FAILED.txt
As you can see in the control file I specified libpulse0 (>= 0.9.15~test5) as dependency but somehow the autobuilder did not pick up the .so file correctly.
If you're sure the package works you might be able to remove dpkg-shlibdeps from debian/rules and see if it works in free.
Many thanks! I'm most interested in this (as a fairly regular Java programmer when I'm not doing client-side work) and it'd be great to see Java stuff easily portable. There's another thread somewhere where someone has ported SWT, too. An installable combination of those two would be ideal from my perspective.
If you're sure the package works you might be able to remove dpkg-shlibdeps from debian/rules and see if it works in free.
Thanks, I will try this.
Originally Posted by mrebanza
Could adding Java Support to Maemo lead to running Android Apps Natively on the n900????
I have no clue what is necessary to run Android Apps.
Maybe you find an answer in the following thread: http://talk.maemo.org/showthread.php?t=37405
Or, if you are sure there is no other thread about that yet, open a thread about running Android Apps on the N900 yourself.
This thread has the focus on packaging Java applications.
Originally Posted by shiny
There's another thread somewhere where someone has ported SWT, too. An installable combination of those two would be ideal from my perspective.
That someone would be me
I'm working on packaging that one too.