Active Topics

 


Reply
Thread Tools
Posts: 456 | Thanked: 1,580 times | Joined on Dec 2009
#1
Hi,

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.

Every feedback/support is highly appreciated.


Best regards

Wonko
 

The Following 24 Users Say Thank You to Wonko For This Useful Post:
Posts: 456 | Thanked: 1,580 times | Joined on Dec 2009
#2
Added jline and clojure to extras-devel.
 

The Following 4 Users Say Thank You to Wonko For This Useful Post:
Posts: 13 | Thanked: 81 times | Joined on Apr 2010
#3
That's a great initiative, thanks.

Did you upload the binaries from the website or were you able to get the source and recompile it?

Specifically, it would be great to compile the browser plugin with a compatible version of libc++.
 
smoku's Avatar
Posts: 1,716 | Thanked: 3,007 times | Joined on Dec 2009 @ Warsaw, Poland
#4
Why OpenJDK and non-free?
Isn't Sun Java fully open now?
__________________
smoku @xiaoka.com (SMTP/XMPP) ...:.:....:... pebbled . Poky Fish : sixaxis . psx4m . uae4all
Jolla Phone post-mortem . . . . . . . . . . -> 1+1 VGN-UX390N
 
Posts: 456 | Thanked: 1,580 times | Joined on Dec 2009
#5
Originally Posted by atnnn View Post
That's a great initiative, thanks.

Did you upload the binaries from the website or were you able to get the source and recompile it?

Specifically, it would be great to compile the browser plugin with a compatible version of libc++.
I used the binaries from http://camswl.com

Originally Posted by smoku
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.
 
MohammadAG's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#6
Originally Posted by Wonko View Post
I used the binaries from http://camswl.com


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.
 

The Following 2 Users Say Thank You to MohammadAG For This Useful Post:
mrebanza's Avatar
Posts: 290 | Thanked: 132 times | Joined on Jan 2010 @ New York City
#7
Could adding Java Support to Maemo lead to running Android Apps Natively on the n900????
 

The Following User Says Thank You to mrebanza For This Useful Post:
shiny's Avatar
Posts: 147 | Thanked: 53 times | Joined on Dec 2009 @ West London, UK
#8
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.
 
kevloral's Avatar
Posts: 134 | Thanked: 247 times | Joined on Sep 2009 @ Spain, EU
#9
Originally Posted by mrebanza View Post
Could adding Java Support to Maemo lead to running Android Apps Natively on the n900????
Not so easy. Android applications are written using the Java language syntax, but most of the API is different, as well as the bytecode format.
 

The Following User Says Thank You to kevloral For This Useful Post:
Posts: 456 | Thanked: 1,580 times | Joined on Dec 2009
#10
Originally Posted by MohammadAG
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.
 
Reply


 
Forum Jump


All times are GMT. The time now is 16:16.